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


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

Uploaded Python 3

File details

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

File metadata

  • Download URL: digrdf-0.1.4.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.6 Linux/6.8.8-arch1-1

File hashes

Hashes for digrdf-0.1.4.tar.gz
Algorithm Hash digest
SHA256 10dfb3a74eb36a400a91ac0778fc2f6809c3250b25ff534d8db2e2980131e68f
MD5 67658fa313739c9c7771ae77a68748fd
BLAKE2b-256 335474c86c9911be7c4cefd0b2d56990b9e1f0d77bbbf1f9f48b8abd81d32ccf

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for digrdf-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 aebb38b553d90cd30c34a346a16d6586b5bff84f577f2c3e8d176b5ff3bfa7e1
MD5 bba67b376a4d020b086a0ddcbffb971a
BLAKE2b-256 68f81947f3b3414f765152393f8f00e656d10b0d9715945f89f7a96cf42bd12b

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