Skip to main content

No project description provided

Project description

Wiring (with Rust)

The code is in active development and subject to frequent changes.

Feedback and PRs are welcome! There is always more to do and things to improve.

wiring reads OWL axioms serialised as thick triples and generates OWL Functional Notation S-expressions (OFN S-expression). For example, the OWL axiom obo:OBI_1110023 equivalentTo obo:RO_0000087 some obo:OBI_1110082 is encoded by the thick triple

{"object":{"owl:onProperty":[{"object":"obo:RO_0000087"}],"owl:someValuesFrom":[{"object":"obo:OBI_1110082"}],"rdf:type":[{"object":"owl:Restriction"}]},"predicate":"owl:equivalentClass","subject":"obo:OBI_1110023"} 

which can be translated with wiring into the OFN S-expression ["EquivalentClasses","obo:OBI_1110023",["ObjectSomeValuesFrom","obo:RO_0000087","obo:OBI_1110082"]].

An OFN S-expression can be processed in wiring, e.g. by replacing named entities with their corresponding labels: ["EquivalentClasses","'immunogen@en'",["ObjectSomeValuesFrom","'has role@en'","obo:OBI_1110082"]]. Such (processed) OFN S-expressions can be serialised into Manchester Syntax: EquivalentClasses: 'immunogen@en', 'has role@en' some obo:OBI_1110082.

tl;dr

The main.rs file contains example code showcasing the basic functionality of wiring by translating thick triples into OFN S-expressions and serialising them in Manchester Syntax.

Things to do

  • wiring currently only supports class expression axioms (excluding data types) and should be extended to all of OWL

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

wiring_rs-0.1.1-cp39-abi3-win_amd64.whl (1.5 MB view hashes)

Uploaded CPython 3.9+ Windows x86-64

wiring_rs-0.1.1-cp39-abi3-manylinux_2_28_x86_64.whl (7.1 MB view hashes)

Uploaded CPython 3.9+ manylinux: glibc 2.28+ x86-64

wiring_rs-0.1.1-cp39-abi3-macosx_10_7_x86_64.whl (2.3 MB view hashes)

Uploaded CPython 3.9+ macOS 10.7+ x86-64

wiring_rs-0.1.1-cp38-abi3-win_amd64.whl (1.4 MB view hashes)

Uploaded CPython 3.8+ Windows x86-64

wiring_rs-0.1.1-cp38-abi3-manylinux_2_28_x86_64.whl (7.1 MB view hashes)

Uploaded CPython 3.8+ manylinux: glibc 2.28+ x86-64

wiring_rs-0.1.1-cp38-abi3-macosx_10_7_x86_64.whl (2.3 MB view hashes)

Uploaded CPython 3.8+ macOS 10.7+ x86-64

wiring_rs-0.1.1-cp37-abi3-win_amd64.whl (1.5 MB view hashes)

Uploaded CPython 3.7+ Windows x86-64

wiring_rs-0.1.1-cp37-abi3-manylinux_2_28_x86_64.whl (7.1 MB view hashes)

Uploaded CPython 3.7+ manylinux: glibc 2.28+ x86-64

wiring_rs-0.1.1-cp37-abi3-macosx_10_7_x86_64.whl (2.3 MB view hashes)

Uploaded CPython 3.7+ macOS 10.7+ x86-64

wiring_rs-0.1.1-cp36-abi3-win_amd64.whl (1.5 MB view hashes)

Uploaded CPython 3.6+ Windows x86-64

wiring_rs-0.1.1-cp36-abi3-musllinux_1_2_x86_64.whl (1.9 MB view hashes)

Uploaded CPython 3.6+ musllinux: musl 1.2+ x86-64

wiring_rs-0.1.1-cp36-abi3-musllinux_1_2_armv7l.whl (2.0 MB view hashes)

Uploaded CPython 3.6+ musllinux: musl 1.2+ ARMv7l

wiring_rs-0.1.1-cp36-abi3-musllinux_1_2_aarch64.whl (1.9 MB view hashes)

Uploaded CPython 3.6+ musllinux: musl 1.2+ ARM64

wiring_rs-0.1.1-cp36-abi3-manylinux_2_28_x86_64.whl (7.1 MB view hashes)

Uploaded CPython 3.6+ manylinux: glibc 2.28+ x86-64

wiring_rs-0.1.1-cp36-abi3-manylinux_2_27_x86_64.whl (1.8 MB view hashes)

Uploaded CPython 3.6+ manylinux: glibc 2.27+ x86-64

wiring_rs-0.1.1-cp36-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl (2.0 MB view hashes)

Uploaded CPython 3.6+ manylinux: glibc 2.17+ s390x

wiring_rs-0.1.1-cp36-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (1.9 MB view hashes)

Uploaded CPython 3.6+ manylinux: glibc 2.17+ ppc64le

wiring_rs-0.1.1-cp36-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl (2.0 MB view hashes)

Uploaded CPython 3.6+ manylinux: glibc 2.17+ ppc64

wiring_rs-0.1.1-cp36-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (1.7 MB view hashes)

Uploaded CPython 3.6+ manylinux: glibc 2.17+ ARMv7l

wiring_rs-0.1.1-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.7 MB view hashes)

Uploaded CPython 3.6+ manylinux: glibc 2.17+ ARM64

wiring_rs-0.1.1-cp36-abi3-macosx_10_7_x86_64.whl (2.3 MB view hashes)

Uploaded CPython 3.6+ macOS 10.7+ 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