Diagrammer
Generates Schema Diagrams from RDF
Dependencies
Only required to query local files
TODO: Fallback to rdflib if sparql is not available. Currently not implemented because of performance issues.
Installation
pip install digrdf
Usage
from the command line
python -m digrdf -s myfiles/
This will create a file called diagram.html in the working directory and open it for viewing.
You can query any sparql endpoint as well.
python -m digrdf -s "http://myserver.com/sparql"
This will generate a schema diagram for all triples at that endpoint.
warning The query is intensive and may crash / timeout if the triple store has a lot of triples (like 1.0GB plus)
You can also generate an instance level diagram for a particular iri
python -m rdflib -s "http://myserver.com/sparql" -i "http://myserver.com/objects/1234"
where -i or --iri is a valid iri for an object in the triple store
To see all the cmdline options run
python -m digrdf -h
Release files for digrdf 0.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| digrdf-0.1.8.tar.gz | 4.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| digrdf-0.1.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.6 kB
Release files / digrdf-0.1.8.tar.gz
| Download URL | digrdf-0.1.8.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c7e4dc2024b7cb18e1406cc376a1b9311392e888e3bdfd5d837ed58acbe26298
|
|
BLAKE2b-256 checksum How to use checksums |
4c511cdd9e2b51c5ff5476f44f27d811101e7cfb5207d2b768eee120ce1aee7c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.11.6 Linux/6.8.9-arch1-2
|
Release files / digrdf-0.1.8-py3-none-any.whl
| Download URL | digrdf-0.1.8-py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dab4d0688ed895e70b1c53127c810be5e5680c1cc7c24dac60b3deea41fb15ca
|
|
BLAKE2b-256 checksum How to use checksums |
4f321e41f1589253ec20538d7df1a61cc21cd3940645a6f5c6be19b9d9417ac9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.11.6 Linux/6.8.9-arch1-2
|