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.6.tar.gz (4.6 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.6-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: digrdf-0.1.6.tar.gz
  • Upload date:
  • Size: 4.6 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.6.tar.gz
Algorithm Hash digest
SHA256 c3dcbdc9bdee1e25be2bfa2a1eecb68e6e94323f4c4c4d000fe0e4479b77c6fd
MD5 1169c2ec122c372fc33d10fbf49f923e
BLAKE2b-256 678fe129f9bd15c345f1a171c8d1577a72826fe27c1114a4bbdb82daf020af0c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: digrdf-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 5.5 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 cbcdbb8bb7e6e907318f967e1c4442445fc378da244edb0ffb1a0a97e6e8dbdf
MD5 cef9a339cfdce2965c578743973cf35f
BLAKE2b-256 027e30dc2e50d603048d1aacab813bd12fefa45d4db38a4dc1897c195ae90009

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