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
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.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.30.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.30.0
File Size Uploaded Provenance Actions
semops_system-0.30.0.tar.gz 1.6 MB With provenance Details for semops_system-0.30.0.tar.gz

Built distributions (wheels)

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

Total release size: 103.3 MB

Release files / semops_system-0.30.0.tar.gz

Download URL semops_system-0.30.0.tar.gz
Size 1.6 MB
Tags Source
SHA-256 checksum
How to use checksums
7d39b00f0a6498b240e42b8ea27acac04c0f49ac3e7cf12d3351e8f39ac72e6c
BLAKE2b-256 checksum
How to use checksums
09e78c919efa785ba2e142d12638f0b3acdf5a3c53f724b53da9a1dad65e6dfd
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 23, 2026.

Transparency log

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

Download URL semops_system-0.30.0-cp39-abi3-win_amd64.whl
Size 20.4 MB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
b1d953ed2d4494525bea69249e4404ae488415a173c1249c7c63e6e88a8397cb
BLAKE2b-256 checksum
How to use checksums
1708cde64a4c2418dfdc889abf3771a75bc25cacc6d9e0f05df7f00417acd089
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 23, 2026.

Transparency log

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

Download URL semops_system-0.30.0-cp39-abi3-manylinux_2_28_x86_64.whl
Size 21.6 MB
Tags CPython 3.9 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
d285ff87ad96c1cfff75fc6038d49d8ebd55d097a3c7fe222bb8d5fbf6088201
BLAKE2b-256 checksum
How to use checksums
dabb33c50d9a83ab22d39e8a2db503950cff474b98f6070b742335f9d8172ed2
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 23, 2026.

Transparency log

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

Download URL semops_system-0.30.0-cp39-abi3-manylinux_2_28_aarch64.whl
Size 20.6 MB
Tags CPython 3.9 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
fa7613335cb445b634c49ef992ed441d38774eb61f91f301607a6ea9bb4bf2e8
BLAKE2b-256 checksum
How to use checksums
7781e465a8777cd2352ff20ac8193a3b28d5166abbabed632091b350ecab0bbc
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 23, 2026.

Transparency log

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

Download URL semops_system-0.30.0-cp39-abi3-macosx_11_0_arm64.whl
Size 18.9 MB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
7b3a095f0564fbd20601c35813c931f19606929bef4390e0c25303ce2a9f0f91
BLAKE2b-256 checksum
How to use checksums
ce0ab7874d05de7455294fdea50abf50b703fcf0175b00b77cba6e05c7889f36
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 23, 2026.

Transparency log

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

Download URL semops_system-0.30.0-cp39-abi3-macosx_10_13_x86_64.whl
Size 20.3 MB
Tags CPython 3.9 abi3 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
61e35f8f1d0b12a536900039555fcc031eb6a0eb4dc497bb804084e11ea94cf6
BLAKE2b-256 checksum
How to use checksums
91636197ad56d555262ebb1ed62420586afcf617f248bc0fc1285c04f75a8553
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 23, 2026.

Transparency log

Security for semops-system 0.30.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.30.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 23, 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