Expand description
The vt: runtime ontology module and its SHACL shapes.
The module itself is vertep-rdf/ontology/vt-runtime.ttl (next to the chart module); the
shapes ship with this crate. validate checks any runtime record (a journal entry as read
back from a store, a snapshot, a timer, a dead letter, a mailbox row, a current-state
graph) against them. The runtime’s own queries use only vt: terms; rdfs_closure exists
for tests and tools that want to see the PROV-O view an RDFS-aware store would answer.
Constants§
- RUNTIME_
ONTOLOGY_ TTL - The runtime module of the
vt:ontology, in Turtle. The runtime module of thevt:ontology: actors, journal entries, snapshots, timers, mailboxes and migrations. - RUNTIME_
SHAPES_ TTL - The SHACL shapes of the runtime module, in Turtle.
Functions§
- rdfs_
closure dataclosed under the RDFS subclass and subproperty rules (rdfs5, rdfs7, rdfs9, rdfs11) ofontology: what an RDFS-aware store infers. The runtime never needs this.- runtime_
ontology - The runtime ontology module as a graph: classes for actors (virtual, invoked, stateless worker), addresses, mailboxes, activations, journal entries, macrosteps, snapshots, timers, migrations and dead letters, aligned with PROV-O by subclass and subproperty statements.
- runtime_
shapes - The compiled runtime shapes.
- validate
- Validates runtime records against the runtime shapes.
- validate_
entry - Validates one journal entry, as read back from a journal store.