Skip to main content

AI Entity Validation Ontology

AI Semantic Library Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 05 November 2026
Audio Overview
AI ENTITY VALIDATION — FLOW ALGEBRA
Semantic Library | AI Core | Entity Graph | AI Semantic Library Entities
Authors: Mark Anthony Higgins — Sky Recursive AI
Date: 05 November 2026
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/ai-semantic-library-entities/ai-entity-validation-ontology.html
Status: Companion formalisation; the page's embedded specification is not visible in the public text extraction.

01. PURPOSE
Determine whether an AI semantic-library entity is admissible, coherent, traceable and fit for a specified use, without confusing syntactic validity with factual truth.

02. HST STATE
S_t = (I_t, R_t, B_t, K_t)
I_t: current entity records, evidence and validation requests.
R_t: ontology relations, schema rules and inference constraints.
B_t: permitted domain, authority, privacy and execution boundaries.
K_t: accepted knowledge, provenance and version history.
E_t = expand(I_t, R_t)
V_t = {x in E_t | satisfies(x, B_t) and admissible(x, R_t)}
x*_t = argmax_{x in V_t} P(x | I_t, R_t, B_t, K_t)
I_(t+1) = update(I_t, x*_t, validation_feedback_t)
NOTE: The argmax selects a candidate for examination; it does not itself prove validity.

03. ENTITY MODEL
ValidationRecord = (validation_id, entity_id, entity_version, schema_version,
  validator_id, ruleset_id, evidence_refs, checked_at, findings, outcome)
Entity = (canonical_id, type, attributes, relations, source, version, status)
Finding = (rule_id, severity, observed_value, expected_constraint, evidence_ref)
Outcome in {PASS, FAIL, INDETERMINATE, NOT_APPLICABLE}

04. RELATIONSHIPS
Entity --hasIdentity--> CanonicalIdentity
Entity --classifiedAs--> OntologyClass
Entity --hasMetadata--> MetadataRecord
Entity --supportedBy--> EvidenceSource
Entity --derivedFrom--> ProvenanceRecord
Entity --relatedTo--> Entity
ValidationRecord --validates--> EntityVersion
ValidationRecord --applies--> RuleSetVersion
ValidationRecord --produces--> Finding
ValidationRecord --authorisedBy--> ValidatorAuthority

05. VALIDATION DIMENSIONS
D1 identity: canonical identifier present and uniquely resolved within scope.
D2 structure: required fields, types and cardinalities conform to schema.
D3 semantics: class membership and relation domain/range constraints hold.
D4 referential integrity: referenced entities resolve or are explicitly pending.
D5 provenance: evidence and derivation sources are traceable.
D6 temporal: version, observation time and validity period are coherent.
D7 boundary: privacy, licence, permissions and domain restrictions are respected.
D8 consistency: no unresolved contradiction within the declared validation scope.
D9 confidence: confidence values have a documented meaning and calibration basis.
D10 reproducibility: same versioned inputs and rules yield the same deterministic findings.

06. FORMAL PREDICATES
Exists(e) := canonical_id(e) is present.
SchemaValid(e,s) := every applicable schema constraint of s holds for e.
RelationsValid(e,g) := all applicable domain, range and integrity rules hold in graph g.
ProvenanceValid(e) := every required source reference is resolvable and attributable.
BoundaryValid(e,b) := permitted(e,b) and no applicable prohibition is breached.
TimeValid(e,t) := start(e) <= t and (end(e) absent or t < end(e)).
EvidenceAdequate(e,u) := evidence satisfies requirements for intended use u.
Valid(e,u) := Exists(e) AND SchemaValid(e,s) AND RelationsValid(e,g)
  AND ProvenanceValid(e) AND BoundaryValid(e,b) AND EvidenceAdequate(e,u)
  AND all other mandatory checks for u are PASS.

07. OUTCOME ALGEBRA
mandatory_failures = count(mandatory findings with outcome FAIL)
mandatory_unknowns = count(mandatory findings with outcome INDETERMINATE)
IF mandatory_failures > 0 THEN outcome = FAIL.
ELSE IF mandatory_unknowns > 0 THEN outcome = INDETERMINATE.
ELSE outcome = PASS.
NOT_APPLICABLE must be justified by a recorded applicability rule.
Warnings are retained even when overall outcome is PASS.

08. EXECUTION PATHWAY
P0 receive(entity_id, entity_version, intended_use, validation_scope).
P1 resolve canonical identity and retrieve immutable entity snapshot.
P2 resolve versioned schema, ontology graph and validation rules.
P3 check authority, licence and allowed validation scope.
P4 perform structural and semantic validation.
P5 check relations, references, provenance and temporal constraints.
P6 evaluate evidence quality and use-specific restrictions.
P7 classify findings and calculate outcome by outcome algebra.
P8 record findings, input hashes, rule versions and evidence pointers.
P9 return ValidationRecord with no unsupported claim of factual certainty.

09. RECURSIVE VALIDATION
For each referenced entity r required by an applicable relation:
  if r already visited: reuse recorded result; do not recurse indefinitely.
  if depth >= max_depth: mark unresolved dependency INDETERMINATE.
  otherwise validate(r) using the same versioned rule context.
A dependency failure propagates only where the parent rule declares it mandatory.
Cycles are evaluated with a visited set or bounded fixed-point iteration.
Termination requires finite input scope or an explicit recursion bound.

10. INFERENCE RULES
R01: missing canonical ID => FAIL identity.
R02: duplicate canonical IDs in the same namespace/version scope => FAIL identity.
R03: schema type mismatch on mandatory field => FAIL structure.
R04: unresolved mandatory relation => INDETERMINATE unless policy requires FAIL.
R05: absent mandatory provenance => FAIL provenance.
R06: expired evidence => FAIL or INDETERMINATE according to versioned rule.
R07: prohibited disclosure => FAIL boundary; do not expose restricted content.
R08: conflicting evidence => INDETERMINATE pending adjudication unless decisive rule applies.
R09: validated schema alone => no inference of factual truth.
R10: changes to entity or ruleset invalidate cached validation unless equivalence is proven.

11. TRI-MAPPING
Ontology: Entity -> ValidationRecord -> Finding -> Outcome.
Algebra: S_t -> E_t -> V_t -> candidate -> rule evaluation -> I_(t+1).
Execution: resolve -> inspect -> check -> recurse -> decide -> record.
Mappings must preserve entity ID, version, evidence provenance and outcome semantics.

12. UNCERTAINTY AND CONFIDENCE
Separate epistemic uncertainty (insufficient evidence) from execution failure.
Store confidence as (value, scale, method, calibration_reference, timestamp).
Do not invent numerical confidence or treat model likelihood as verified truth.
When evidence is missing, use INDETERMINATE rather than PASS.

13. VALIDATION INVARIANTS
INV1 Every validation refers to an explicit entity version.
INV2 Every finding identifies its applied rule and rule version.
INV3 Every PASS has no failed or unknown mandatory check.
INV4 Every evidence claim has a resolvable provenance reference.
INV5 No validation overrides authorisation or privacy boundaries.
INV6 Any modification to validated content requires revalidation or documented equivalence.
INV7 Validation results are scoped to an intended use and time.

14. TEST CASES
T01 Complete, consistent, sourced entity -> PASS if all mandatory checks pass.
T02 Missing required canonical ID -> FAIL.
T03 Correct syntax but unsupported factual claim -> INDETERMINATE or FAIL per evidence rule.
T04 Circular relations -> bounded evaluation without infinite recursion.
T05 Referenced source becomes unavailable -> recheck provenance; do not retain unjustified PASS.
T06 New ontology version -> revalidate against selected ruleset version.
T07 Restricted evidence -> validate access policy without leaking content.

15. CONDITIONAL EXECUTION GUARANTEE
Given finite versioned inputs, deterministic rule evaluation, bounded recursion,
resolvable dependencies and an available execution environment, the procedure
terminates with a recorded PASS, FAIL or INDETERMINATE result.
It does NOT guarantee that the underlying entity is true, that evidence is complete,
or that an external system will execute without faults.

16. UPDATE MODEL
On entity change, rule change, source revocation or time-bound expiry:
  mark affected validations STALE;
  compute dependency impact;
  revalidate affected entity versions;
  preserve immutable historical ValidationRecords.

17. CITATION AND LICENCE
Research source: Kireth Research, AI Entity Validation Ontology (URL above).
Authors credited: Mark Anthony Higgins — Sky Recursive AI.
Use and redistribution subject to the published Open Research Licence and citation requirements.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ