Skip to main content

semops-system

SemOps System as one Python package:

  • the HOLOS RDF 1.2 store and SPARQL 1.2 engine, with GeoSPARQL, SHACL and the fn:, afn: and spif: function libraries;
  • the SHACL engine;
  • tarka, for mapping tables and data frames to RDF;
  • the 61 ontology quality checks.

One native extension holds them all, built from one commit of the SemOps System workspace.

pip install semops-system
pip install "semops-system[polars]"     # to map Polars data frames with tarka as well
import semops_system as so

store = so.holos.Store()                      # in memory; Store("path") persists to disk
store.update("""
    PREFIX ex: <http://example.org/>
    INSERT DATA { ex:alice ex:age 42 {| ex:source ex:census |} }
""")
store.query("ASK { ?r <http://www.w3.org/1999/02/22-rdf-syntax-ns#reifies> ?t }")   # True

report = so.shacl.Shapes.from_file("shapes.ttl").validate_file("data.ttl")
report.conforms

mapping = so.tarka.Mapping.tarql_file("people.tarql")
mapping.triplify(polars_frame)

run = so.check("ontology.ttl")                # the quality checks, as `semops check` runs them
for finding in run["findings"]:
    print(finding["severity"], finding["check_id"], finding["focus_node"])

so.holos, so.shacl and so.tarka are the modules the holosdb, shacl and tarka-rdf wheels carry, with the same classes and functions, so their documentation applies as it stands: HOLOS, SHACL engine, tarka.

so.check(*paths, engine="both") reads the files into one graph and runs each check as a SHACL shape and as a SPARQL query, merging the findings. so.check_text(text, format) does the same for text, and so.list_checks() lists the registry. A run is a dict: findings, failed (the checks whose query did not run) and complete, which is false when any did not.

The semops command

The wheel installs the semops command, the same command as the binary, with every subcommand: serve, query, load, validate, map, check, diff, repair and the rest. A build that has Python needs nothing else to gate on the quality checks:

pip install semops-system
semops check ontology/*.ttl --format sarif --out semops.sarif

python -m semops_system runs it too. Under semops serve, --max-query-memory is not enforced: an extension module cannot install the counting allocator the binary has. For a server, prefer the binary or the container image.

tarka produces RDF 1.1. To get RDF 1.2 from its output, load it into a store and run SPARQL 1.2. For example, this annotates every mapped triple with its source:

INSERT { ?s ?p ?o {| ex:source ex:spreadsheet |} } WHERE { ?s ?p ?o }

Releases

  • 0.31.0 needs Polars only with [polars], adds upload and download and reads Azure Blob Storage URLs as inputs, and carries the SHACL fix for a computed ?value.
  • 0.30.0 installs the semops command, which now has diff and repair.
  • 0.29.0 was the first native release.
  • 0.29.0.dev1 was a bridge that installed three separately released engines (holosdb 0.27.0, shacl 0.3.9 and tarka-rdf 0.3.1) under these names. Code written against it keeps working.

Wheels are built for Linux (x86_64 and aarch64, glibc 2.28 or later), macOS (Apple Silicon and Intel) and Windows (x64), each for every CPython from 3.11. On other platforms, pip builds from the sdist, which needs a Rust toolchain, a C++ compiler and libclang.

Licence: MIT OR Apache-2.0.

Metadata

Release files for semops-system 0.31.0

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

Source distribution (sdist)

Source distribution for semops-system 0.31.0
File Size Uploaded Provenance Actions
semops_system-0.31.0.tar.gz 1.5 MB With provenance Details for semops_system-0.31.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for semops-system 0.31.0
File Actions
semops_system-0.31.0-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details for semops_system-0.31.0-cp39-abi3-win_amd64.whl
semops_system-0.31.0-cp39-abi3-manylinux_2_28_x86_64.whl CPython 3.9 abi3 Linux glibc 2.28+ x86-64 Details for semops_system-0.31.0-cp39-abi3-manylinux_2_28_x86_64.whl
semops_system-0.31.0-cp39-abi3-manylinux_2_28_aarch64.whl CPython 3.9 abi3 Linux glibc 2.28+ ARM64 Details for semops_system-0.31.0-cp39-abi3-manylinux_2_28_aarch64.whl
semops_system-0.31.0-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details for semops_system-0.31.0-cp39-abi3-macosx_11_0_arm64.whl
semops_system-0.31.0-cp39-abi3-macosx_10_13_x86_64.whl CPython 3.9 abi3 macOS 10.13+ x86-64 Details for semops_system-0.31.0-cp39-abi3-macosx_10_13_x86_64.whl

Total release size: 111.8 MB

Release files / semops_system-0.31.0.tar.gz

Download URL semops_system-0.31.0.tar.gz
Size 1.5 MB
Tags Source
SHA-256 checksum
How to use checksums
cea00cff6857d033d0db16ece2a83f397fef840fd6f62c5ad05118b5c7492208
BLAKE2b-256 checksum
How to use checksums
1a749a81567c82348edea2e462d0dc131838d979bd763d7084fe6cc6c22605b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Release files / semops_system-0.31.0-cp39-abi3-win_amd64.whl

Download URL semops_system-0.31.0-cp39-abi3-win_amd64.whl
Size 22.1 MB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
7bb67ef4c711877ea794447a6c02330ad67d4d8f6c0aa89b1b8f049bd6f861a9
BLAKE2b-256 checksum
How to use checksums
891f88f3587a63d11598387c83224c1c72b8385169cbad25035e10cd77822643
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Release files / semops_system-0.31.0-cp39-abi3-manylinux_2_28_x86_64.whl

Download URL semops_system-0.31.0-cp39-abi3-manylinux_2_28_x86_64.whl
Size 23.4 MB
Tags CPython 3.9 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
cf2b586486d89b46e9237cbcc39035abc21a339bfbd9fbd4762388095c76e8d9
BLAKE2b-256 checksum
How to use checksums
b7253ed6d4b6b4f62a2f45a83934e192f0a6406d46e079caa1a75953dc99574d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Release files / semops_system-0.31.0-cp39-abi3-manylinux_2_28_aarch64.whl

Download URL semops_system-0.31.0-cp39-abi3-manylinux_2_28_aarch64.whl
Size 22.3 MB
Tags CPython 3.9 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
f97f226cfff6120d06098389f291d13567f671fd5156d99f236cb82103fba950
BLAKE2b-256 checksum
How to use checksums
f8f69a1e18511d07494e188164d94b8cadc56b4bdfaa5b7a51aaba58c48fc0db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Release files / semops_system-0.31.0-cp39-abi3-macosx_11_0_arm64.whl

Download URL semops_system-0.31.0-cp39-abi3-macosx_11_0_arm64.whl
Size 20.6 MB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
a3d736bf40e5ef4d2a4d847310d286badd0fee6492e7544087836c56a3562442
BLAKE2b-256 checksum
How to use checksums
a2a067014d3be4b8d4c480f1f625029fbcefabf9740ad1541ab6bf99f2bd7766
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Release files / semops_system-0.31.0-cp39-abi3-macosx_10_13_x86_64.whl

Download URL semops_system-0.31.0-cp39-abi3-macosx_10_13_x86_64.whl
Size 22.0 MB
Tags CPython 3.9 abi3 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
3657287f2209a8bc9ae6be127e11442a30b0e2d8cf2ff6cdd2b4fa6ecc0e340e
BLAKE2b-256 checksum
How to use checksums
a2533dc40f49f30bc91a9ee4e5b000862d6041a4306a82389858c3674d5fb868
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Security for semops-system 0.31.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 6 files in this release have been uploaded with provenance metadata.

Select from 6 files

Attestation for semops_system-0.31.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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