Skip to main content

Add your description here

Project description

A slightly optionionated common set of 'rules' for creating rdf data using 'rdf-engine':

  • Data Rules:
    • table loader
    • json loader
    • ttl loader
  • Mapping rule: SPARQL construct
  • Ontology rules: TopQuadrant inference and validation

These rules come together in the 'engine'.

Development

Develop with uv sync --all-packages --all-extras.

Design Choices

These are choices given the common use case of mapping data. They are somewhat firm.

  • RDF1.2 annotates tripes with metadata: <<?s ?p ?o>> ?mp ?mo . where ?mp and ?mo correspond to simple (key,value) pairs of metadata.
  • Mappings are in the form of SPARQL constructs stored as files with .mapping.rq extension (can also be .mapping.sparql).
  • Each (specified) ontology will be processed separately

Quick Start

Examine how rules are fed into an engine in the tests.

Project details


Download files

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

Source Distribution

rdf_rules-2026.7.58.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rdf_rules-2026.7.58-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

Details for the file rdf_rules-2026.7.58.tar.gz.

File metadata

  • Download URL: rdf_rules-2026.7.58.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for rdf_rules-2026.7.58.tar.gz
Algorithm Hash digest
SHA256 b63a6a16c17956e0282035a7097ce9bed14ff7581de724965d68245167ea9637
MD5 0ad494338c95ad9358c514aa7ed2266f
BLAKE2b-256 97169d8a194c34a70166c4ce8c39ab8a6740aaddcf4d839276e4e3f17a899a91

See more details on using hashes here.

Provenance

The following attestation bundles were made for rdf_rules-2026.7.58.tar.gz:

Publisher: python-publish.yaml on pnnl/rdf-rules

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rdf_rules-2026.7.58-py3-none-any.whl.

File metadata

  • Download URL: rdf_rules-2026.7.58-py3-none-any.whl
  • Upload date:
  • Size: 12.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for rdf_rules-2026.7.58-py3-none-any.whl
Algorithm Hash digest
SHA256 b91a4cb229671447cd1fbd37e606ed86b0baaf4f3c408be0021027fab7c53a6b
MD5 f77f456ee5fdbf1d613e9e9bd7c1f1d5
BLAKE2b-256 6aac7df05ee5216bd1745cecfc24f4168c0f2330e8ebc4236a20ba7e16981223

See more details on using hashes here.

Provenance

The following attestation bundles were made for rdf_rules-2026.7.58-py3-none-any.whl:

Publisher: python-publish.yaml on pnnl/rdf-rules

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page