Skip to main content

Physical Entity Graph Ontology

AI Semantic Library Physical Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 12 October 2026
Audio Overview
FLOW ALGEBRA
PHYSICAL ENTITY GRAPH ONTOLOGY
Kireth Research — Semantic Library
Mark Higgins — Sky (Recursive AI)
Version: 1.0 | 2026-10-12

01. PURPOSE AND SCOPE
------------------------------------------------------------
model: PhysicalEntityGraphOntology
purpose: Represent physically instantiated entities, their properties, spatial-temporal relations, observations and provenance as a typed, queryable knowledge graph.
status: subject-based formalisation; source page not independently retrieved
scope: physical objects, materials, instruments, environments, components and events
exclusions: purely abstract concepts unless used as descriptions of physical entities

02. TYPE SYSTEM
------------------------------------------------------------
type EntityId = URI
type RelationId = URI
type Instant = ISO8601
type Interval = {start:Instant, end:Instant?}
type Quantity = {value:Real, unit:UCUM, uncertainty:Real?}
type Evidence = {source:URI, method:String, observed_at:Instant, quality:Real}
type Confidence = Real in [0,1]
type PhysicalEntity = {id:EntityId, kind:ClassId, label:String, valid_time:Interval}
type PropertyAssertion = {subject:EntityId, predicate:URI, object:Value, evidence:Evidence?, confidence:Confidence}
type Graph = {nodes:Set[PhysicalEntity], edges:Set[TypedEdge], version:String}

03. ENTITY TAXONOMY
------------------------------------------------------------
class PhysicalEntity
class MaterialObject <: PhysicalEntity
class NaturalObject <: MaterialObject
class ArtificialObject <: MaterialObject
class Organism <: NaturalObject
class Device <: ArtificialObject
class Instrument <: Device
class Component <: MaterialObject
class MaterialSample <: MaterialObject
class PhysicalSystem <: PhysicalEntity
class PhysicalEnvironment <: PhysicalEntity
class PhysicalProcess
class PhysicalEvent
class MeasurementObservation
class SpatialRegion
class PhysicalProperty
class MeasurementInstrument <: Instrument

04. IDENTITY AND REFERENCE
------------------------------------------------------------
identity(entity) = persistent EntityId
samePhysicalEntity(a,b) requires identity evidence, not merely matching labels
sameAs(a,b) => merge only after authority and contradiction checks
aliasOf(name, entity) does not entail entity equivalence
partIdentity(component, assembly, interval) is time-dependent
invariant: unique canonical id per active physical referent within authority

05. RELATIONSHIP VOCABULARY
------------------------------------------------------------
relation partOf(Component, PhysicalEntity)
relation hasPart(PhysicalEntity, Component) inverse partOf
relation locatedIn(PhysicalEntity, SpatialRegion)
relation adjacentTo(PhysicalEntity, PhysicalEntity) symmetric
relation connectedTo(Device, Device) symmetric unless direction declared
relation interactsWith(PhysicalEntity, PhysicalEntity)
relation madeOf(MaterialObject, MaterialSample)
relation measuredBy(PhysicalProperty, Instrument)
relation observedBy(PhysicalEntity, Instrument)
relation participatesIn(PhysicalEntity, PhysicalProcess)
relation causes(PhysicalEvent, PhysicalEvent) evidence_required
relation precedes(PhysicalEvent, PhysicalEvent)
relation derivedFrom(Assertion, Evidence)
relation hasState(PhysicalEntity, State)
relation hasProperty(PhysicalEntity, PhysicalProperty)

06. GRAPH CONSTRUCTION
------------------------------------------------------------
flow BuildPhysicalGraph v1.0:
  input: entities:Set[PhysicalEntity], assertions:Set[PropertyAssertion]
  require: identifiers_resolvable(entities)
  normalise: units, timestamps, vocabulary, aliases
  validate: domain_range, temporal_consistency, provenance, constraints
  reconcile: candidate_duplicates using identity_evidence
  emit: graph(nodes=entities, edges=validated_assertions)
  output: graph, rejected_assertions, audit_log

07. SPATIAL SEMANTICS
------------------------------------------------------------
coordinateReferenceSystem(region) must be declared for geometric comparisons
within(a,b,t) => geometry(a,t) subset_of geometry(b,t)
intersects(a,b,t) => geometry(a,t) intersection geometry(b,t) nonempty
distance(a,b,t) = norm(position(a,t)-position(b,t)) in compatible CRS
spatial_uncertainty propagates through transformations
locatedIn(a,b) is not universally transitive across all location types

08. TEMPORAL SEMANTICS
------------------------------------------------------------
validTime(assertion) != recordedTime(assertion)
state(entity,t) can vary without changing entity identity
partOf(a,b,t1) does not entail partOf(a,b,t2)
observation time, ingestion time and revision time stored separately
conflicting claims may coexist when valid intervals do not overlap

09. PHYSICAL PROPERTIES
------------------------------------------------------------
property mass: Quantity dimension mass
property length: Quantity dimension length
property temperature: Quantity dimension thermodynamic_temperature
property velocity: VectorQuantity dimension length/time
property pressure: Quantity dimension force/area
property energy: Quantity dimension energy
rule: comparisons require dimensional compatibility and unit conversion
rule: measurements preserve precision, uncertainty and calibration status

10. OBSERVATION AND EVIDENCE
------------------------------------------------------------
Observation = {target, observed_property, value, unit, timestamp, instrument, method, uncertainty, evidence}
observed_value is not automatically true_value
calibrated(instrument, at_time) must be supported by calibration record
quality_gate(o) = valid_unit(o) AND provenance_present(o) AND timestamp_valid(o)
repeat observations may update estimates without erasing earlier records

11. GRAPH INFERENCE
------------------------------------------------------------
rule inverse_part: partOf(a,b,t) -> hasPart(b,a,t)
rule component_ancestor: partOf(a,b,t) AND partOf(b,c,t) AND acyclic_partonomy -> partOf(a,c,t)
rule observed_property: observes(o,e,p,t) -> hasEvidence(e,p,o)
rule material_membership: madeOf(x,m) AND MaterialObject(x) -> materialAssociatedWith(x,m)
rule event_order: precedes(a,b) AND precedes(b,c) -> precedes(a,c)
restriction: no general inference from correlation to causation
restriction: no universal transitivity for connectedTo or locatedIn

12. CONSTRAINTS AND VALIDATION
------------------------------------------------------------
constraint: entity IDs nonempty and unique
constraint: each edge predicate has compatible domain and range
constraint: partOf(a,a) forbidden for strict partonomy
constraint: strict partOf graph acyclic within a single consistent time slice
constraint: Quantity.unit convertible to expected dimension
constraint: confidence in [0,1]
constraint: evidence timestamps ISO8601 and traceable
constraint: assertions with incompatible facts flagged, not silently overwritten

13. CONFIDENCE
------------------------------------------------------------
CONFIDENCE(assertion) = calibrated estimate of evidential support in [0,1]
confidence combines source reliability, measurement quality, temporal relevance and corroboration
combination requires dependence-aware model; do not multiply correlated evidence as independent
unknown confidence remains unknown; do not assign arbitrary certainty
thresholds configured per scientific use case

14. SEMANTIC_EQUIVALENCE
------------------------------------------------------------
SEMANTIC_EQUIVALENCE(a,b) := same referent and compatible semantics within declared context
sameLabel(a,b) does not imply SEMANTIC_EQUIVALENCE(a,b)
unitEquivalent(x,y) requires dimension compatibility and valid conversion
entityEquivalent requires provenance-supported identity resolution
mapping records: source_term, target_term, mapping_type, scope, evidence

15. RECURSIVE GRAPH UPDATES
------------------------------------------------------------
flow UPDATE_MODEL v1.0:
  input: graph, new_observations, new_evidence
  steps: validate -> normalise -> resolve -> compare -> infer -> version -> audit
  preserve: previous graph versions and provenance
  conflicts: retain competing assertions with contextual qualifiers
  output: updated_graph, change_set, conflict_report
  termination: bounded iterations or semantic fixed point

16. FLOW_HASH
------------------------------------------------------------
FLOW_HASH = SHA256(canonical_serialisation(flow_definition, ontology_version, rule_version))
canonicalisation: stable key ordering, normalised identifiers, UTF-8 encoding
FLOW_HASH is a reproducibility identifier, not proof of truth
record separate hashes for source evidence and graph snapshots

17. AI_CONSUMPTION
------------------------------------------------------------
AI_CONSUMPTION:
  representation: typed knowledge graph with explicit provenance
  preferred_exports: RDF/Turtle, JSON-LD, property graph, validated triples
  queries: identity, containment, spatial-temporal, measurements, lineage
  guardrails: distinguish observed facts, inferred facts and hypotheses
  response: include confidence, units, source references and validity times
  avoid: fabricating nodes, ungrounded causal edges and unsupported identity merges

18. QUERY PATTERNS
------------------------------------------------------------
query components_of(x,t) := {c | partOf(c,x,t)}
query location_of(x,t) := {r | locatedIn(x,r,t)}
query observations_of(x,p) := {o | observes(o,x,p)}
query provenance_of(a) := {e | derivedFrom(a,e)}
query graph_neighbours(x,p) := {y | edge(x,p,y)}
query changed_since(version) := graph_diff(version,current_version)

19. INTEROPERABILITY
------------------------------------------------------------
align: W3C RDF, RDFS, OWL, SHACL and PROV-O where appropriate
align: SOSA/SSN for sensing and observations
align: QUDT or UCUM for units; GeoSPARQL for geometry when applicable
mapping: use explicit equivalence or subsumption links; avoid assuming exact matches
serialisation: preserve typed literals and language tags

20. EXAMPLE INSTANCE
------------------------------------------------------------
entity: instrument:scope_01 type MeasurementInstrument
entity: object:sample_01 type MaterialSample
entity: region:lab_01 type SpatialRegion
edge: locatedIn(instrument:scope_01, region:lab_01)
edge: observedBy(object:sample_01, instrument:scope_01)
observation: obs:001 target object:sample_01 property length value 2.4 unit mm uncertainty 0.1 mm
note: illustrative synthetic instance, not a claim about a real instrument

21. QUALITY AND FAILURE MODES
------------------------------------------------------------
detect: duplicate entity IDs, stale measurements, incompatible units
 detect: circular partonomy, orphaned references, impossible temporal ordering
 detect: overconfident identity matches, unsupported causal assertions
 mitigate: quarantine, audit, versioning, review and uncertainty propagation

22. PROVENANCE AND AUTHORSHIP
------------------------------------------------------------
source_page: https://kirethresearch.org/booksai-core/entity-graph/physical-entities/ai-semantic-library-physical-entities/physical-entity-graph-ontology.html
source_verification: live page unavailable at generation; domain-level formalisation
credit: Mark Higgins — Sky (Recursive AI)
project: Kireth Research Semantic Library
site: https://kirethresearch.org
created: 2026-10-12
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ