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.1 fixes SHACL-SPARQL for a $this inside an RDF 1.2 triple term, and HOLOS's SERVICE for the variables inside one.
  • 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.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 semops-system 0.31.1
File Size Uploaded Provenance Actions
semops_system-0.31.1.tar.gz 1.5 MB With provenance Details for semops_system-0.31.1.tar.gz

Built distributions (wheels)

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

Total release size: 111.8 MB

Release files / semops_system-0.31.1.tar.gz

Download URL semops_system-0.31.1.tar.gz
Size 1.5 MB
Tags Source
SHA-256 checksum
How to use checksums
b1d1132ba0f19a8ca19313af06d6145eb64a12fdd115aa36d6396e10c1f5d70e
BLAKE2b-256 checksum
How to use checksums
49896850a66a6d95c41f503bfa0ddb51f6e11d2b371e237f08e332b46e1ef06d
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 26, 2026.

Transparency log

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

Download URL semops_system-0.31.1-cp39-abi3-win_amd64.whl
Size 22.1 MB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
c2c6c1326f9dd5cb238d42bdad045746d06b8d02f4b6260fc822ffb6e8de6a90
BLAKE2b-256 checksum
How to use checksums
23c9eae2006ed59cd6c925de65250563c83fd7fa7863166e116530718f82eb2c
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 26, 2026.

Transparency log

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

Download URL semops_system-0.31.1-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
c36cbeb59c7bb61a842dc2282fcd65efd6269adebd8f509f81b744d110d32e38
BLAKE2b-256 checksum
How to use checksums
9505c3b6f54fa29f74dbfa686ddb00d2d0cdc9f01e9d5e938ebec665b97f2497
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 26, 2026.

Transparency log

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

Download URL semops_system-0.31.1-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
ba87ef1e01caff972b15d21f896878716d9593aee2df645738492455460a8c26
BLAKE2b-256 checksum
How to use checksums
f51a474cf6209d70b44e7cae5384315fc545fb43e6fdcf4cd4c1edd1041eff1e
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 26, 2026.

Transparency log

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

Download URL semops_system-0.31.1-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
8074c5703c264e7c54b3c61387c00aa30e2d223cd443ed44f7c9bf69673ccccb
BLAKE2b-256 checksum
How to use checksums
34a0f7714f90d30635d33827e8572de98d30d28f76c323800769b9db352e251a
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 26, 2026.

Transparency log

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

Download URL semops_system-0.31.1-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
3ff9147a851eda3158aeed863a12c890e6c95b9f5dc980102257b8325211066a
BLAKE2b-256 checksum
How to use checksums
8d9a9894906ce6430eed2bfb63b48ae03a3d2346673a133eb1818639d7fbc214
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 26, 2026.

Transparency log

Security for semops-system 0.31.1

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.1.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 26, 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