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.7.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.7-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: digrdf-0.1.7.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.7.tar.gz
Algorithm Hash digest
SHA256 7c30ca0059a8461a48e8825e1eb82b7aa60ee1e72c1d2b89657dcbbd225425d2
MD5 125f88a63775603227797a520d8ccd5a
BLAKE2b-256 53175a198cb9f282b2cfce684b63cdd41c6dcee33e2d79128e2f6c682d0e5789

See more details on using hashes here.

File details

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

File metadata

  • Download URL: digrdf-0.1.7-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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 7028f60acfcb6dcce1599d997b10039a2f3ce962f2031e2e37e3ff4f8f38f291
MD5 65e97bee7093a1c0a07a0e6b5c994145
BLAKE2b-256 f851f527659fdf70b83a3b23352cfa5de298f721774e6a9204e12b1be831ee33

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