Skip to main content

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 -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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

digrdf-0.1.8.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

digrdf-0.1.8-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file digrdf-0.1.8.tar.gz.

File metadata

  • Download URL: digrdf-0.1.8.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.6 Linux/6.8.9-arch1-2

File hashes

Hashes for digrdf-0.1.8.tar.gz
Algorithm Hash digest
SHA256 c7e4dc2024b7cb18e1406cc376a1b9311392e888e3bdfd5d837ed58acbe26298
MD5 193fa51e9ba597842be4eacb40e309f0
BLAKE2b-256 4c511cdd9e2b51c5ff5476f44f27d811101e7cfb5207d2b768eee120ce1aee7c

See more details on using hashes here.

File details

Details for the file digrdf-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: digrdf-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.6 Linux/6.8.9-arch1-2

File hashes

Hashes for digrdf-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 dab4d0688ed895e70b1c53127c810be5e5680c1cc7c24dac60b3deea41fb15ca
MD5 aab30e1defc32904495e5267946f25a1
BLAKE2b-256 4f321e41f1589253ec20538d7df1a61cc21cd3940645a6f5c6be19b9d9417ac9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page