Skip to main content

No project description provided

Project description

Relation Graph, Python Port

This is a minimal implementation of relation-graph in Python

The goal is to reason over a minimal subset

  • subClassOf
  • someValuesFrom
  • transitive properties
  • property chains

To run:

run_relation_graph("tests/input/test.csv", "tests/output/results.csv")
  • input must be csv
  • headers must be subject, predicate, object
  • domain entities can be any syntax, rdf/owl terms must be CURIEs
  • rows are either:
    • relation graph direct edges
    • triples of the form PRED,rdf:type,owl:TransitiveProperty

See tests/input for details

TODO

  • reflexive edges
  • relax equivalence to paired subClassOf
  • compare with scala relation-graph
  • property chains

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

relation_graph-0.1.1.tar.gz (11.2 MB view details)

Uploaded Source

Built Distributions

relation_graph-0.1.1-cp39-cp39-macosx_10_7_x86_64.whl (263.2 kB view details)

Uploaded CPython 3.9 macOS 10.7+ x86-64

relation_graph-0.1.1-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.7m manylinux: glibc 2.5+ x86-64

File details

Details for the file relation_graph-0.1.1.tar.gz.

File metadata

  • Download URL: relation_graph-0.1.1.tar.gz
  • Upload date:
  • Size: 11.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.5

File hashes

Hashes for relation_graph-0.1.1.tar.gz
Algorithm Hash digest
SHA256 2695be0249813628b92cc293475e4e694e46f34135a60400995ce089dffa9779
MD5 1102e633857a4ccc66a729d7f9ea6417
BLAKE2b-256 170eb8b8f55989181a85340e6a084bb499d0023d3d38d16cdcf863949de9d6b7

See more details on using hashes here.

Provenance

File details

Details for the file relation_graph-0.1.1-cp39-cp39-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for relation_graph-0.1.1-cp39-cp39-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 e464ab5facc4b566dd851763e3790000b2f64b7766ccacbdaf0066d23c90e60b
MD5 49cb2cffb3bb158e26640763442b139f
BLAKE2b-256 668f21ae5e06736e5e25a32a9f83be48e827ffb6e42ba5fb4d61b4c51e82b2ca

See more details on using hashes here.

Provenance

File details

Details for the file relation_graph-0.1.1-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for relation_graph-0.1.1-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 f9e99269ea064c0000910875c80baa7400c279c9142797660047cac7e12f6404
MD5 e5adb5da40cf7dab0214746562cdb9dc
BLAKE2b-256 887a67bccb2b73ab72abdd87527eb907cf39861aea9db8737f478615a9f22c69

See more details on using hashes here.

Provenance

Supported by

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