Skip to content

UOR-Foundation/UOR-Framework

UOR Framework

DOI

The Universal Object Reference (UOR) Framework is a Rust workspace implementing the UOR Foundation ontology — a mathematical framework for content-addressed, symmetric, multi-metric object spaces with algebraic structure based on Z/(2^n)Z.

Ontology

Version 0.1.0: 16 namespaces · 234 classes · 479 properties · 939 named individuals

All terms are encoded as typed Rust data in spec/ (uor-ontology) and exported as:

  • foundation/ (uor-foundation) — typed Rust traits (published to crates.io)
  • public/uor.foundation.jsonld — JSON-LD 1.1
  • public/uor.foundation.ttl — Turtle 1.1
  • public/uor.foundation.nt — N-Triples
  • public/uor.foundation.owl — OWL 2 RDF/XML
  • public/uor.foundation.schema.json — JSON Schema (Draft 2020-12)
  • public/uor.shapes.ttl — SHACL validation shapes
  • public/uor.term.ebnf — EBNF grammar

Repository Structure

Directory Crate Role
spec/ uor-ontology Ontology source of truth: typed static data + serializers
codegen/ uor-codegen Code generation logic for the Rust trait crate
foundation/ uor-foundation Generated Rust trait crate (published to crates.io)
conformance/ uor-conformance Workspace-wide conformance validators
docs/ uor-docs Documentation generator
website/ uor-website Static site generator
clients/ uor-clients Binaries: build, conformance, docs, website, crate

Building

# Build ontology artifacts
cargo run --bin uor-build

# Generate Rust trait crate
cargo run --bin uor-crate

# Generate documentation
cargo run --bin uor-docs

# Generate website
cargo run --bin uor-website

# Run full conformance suite
cargo run --bin uor-conformance

CI

cargo fmt --check
cargo clippy -- -D warnings
cargo test

Citation

If you use the UOR Framework in academic work, please cite it using the metadata in CITATION.cff.

License

Apache-2.0 — see LICENSE.


This README is machine-generated by uor-docs. Do not edit by hand.