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

Uploaded Source

Built Distributions

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

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

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

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