RDF Schema Diagram creation tool
Project description
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 -i 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 -i "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 -i "http://myserver.com/sparql" -s "http://myserver.com/objects/1234"
where -s or --subject is a valid iri for an object in the triple store
To see all the cmdline options run
python -m digrdf -h
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file digrdf-0.1.5.tar.gz.
File metadata
- Download URL: digrdf-0.1.5.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.2 Linux/6.8.9-arch1-2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b073d43408b3e20095cfb8f410c9acc9ed484d4afdcae60911eeb0330f079129
|
|
| MD5 |
f794c677c5081bd8ab1dc0ac6bee332b
|
|
| BLAKE2b-256 |
4bf8072918de0c7378978e108b8416df04cf877514d1f3efd095725e1a3c34d3
|
File details
Details for the file digrdf-0.1.5-py3-none-any.whl.
File metadata
- Download URL: digrdf-0.1.5-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.2 Linux/6.8.9-arch1-2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
49437c6008848dca1973ff53f0461c9a005648b3934ffab4f3e034f476fd1d49
|
|
| MD5 |
0d933cd0e6273bf6f4bc7602f81b0120
|
|
| BLAKE2b-256 |
4b3cd8f88fc510bc6d20b87bf83518da341fc66bef3d2750f1f370b54fe46101
|