Skip to main content

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

Release files for relation-graph 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for relation-graph 0.1.1
File Size Uploaded
relation_graph-0.1.1.tar.gz 11.2 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for relation-graph 0.1.1
File Interpreter ABI Platform
relation_graph-0.1.1-cp39-cp39-macosx_10_7_x86_64.whl CPython 3.9 CPython 3.9 macOS 10.7+ x86-64 Details
relation_graph-0.1.1-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64 Details

Total release size: 12.5 MB

Release files / relation_graph-0.1.1.tar.gz

Download URL relation_graph-0.1.1.tar.gz
Size 11.2 MB
Tags Source
SHA-256 checksum
How to use checksums
2695be0249813628b92cc293475e4e694e46f34135a60400995ce089dffa9779
BLAKE2b-256 checksum
How to use checksums
170eb8b8f55989181a85340e6a084bb499d0023d3d38d16cdcf863949de9d6b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.5

Release files / relation_graph-0.1.1-cp39-cp39-macosx_10_7_x86_64.whl

Download URL relation_graph-0.1.1-cp39-cp39-macosx_10_7_x86_64.whl
Size 263.2 kB
Tags CPython 3.9 macOS 10.7+ x86-64
SHA-256 checksum
How to use checksums
e464ab5facc4b566dd851763e3790000b2f64b7766ccacbdaf0066d23c90e60b
BLAKE2b-256 checksum
How to use checksums
668f21ae5e06736e5e25a32a9f83be48e827ffb6e42ba5fb4d61b4c51e82b2ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.5

Release files / relation_graph-0.1.1-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl

Download URL relation_graph-0.1.1-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Size 1.0 MB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
f9e99269ea064c0000910875c80baa7400c279c9142797660047cac7e12f6404
BLAKE2b-256 checksum
How to use checksums
887a67bccb2b73ab72abdd87527eb907cf39861aea9db8737f478615a9f22c69
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.5

Release history Release notifications | RSS feed

This release

0.1.1 This release

3 release files

0.1.0

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page