Skip to main content

Knowledge Constraint Ontology

Knowledge Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 02 November 2026
Audio Overview
KNOWLEDGE CONSTRAINT ONTOLOGY — FLOW ALGEBRA
Semantic Library | AI Core | Entity Graph | AI Entities | Knowledge Entities
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/knowledge-entities/knowledge-constraint-ontology.html
Authors: Mark Anthony Higgins — Sky Recursive AI
Source revised: 29 July 2026
Companion formalisation prepared: 2 November 2026

STATUS AND SCOPE
This is an independently constructed companion Flow Algebra specification. The public page identifies the ontology and states that its specifications are formal structural reasoning rules, but does not expose the complete underlying code in the retrieved HTML. The following rules therefore should not be mistaken for a verbatim transcription.

01. PURPOSE
Represent a knowledge constraint as an explicit, scoped, testable restriction on permissible facts, claims, relationships, inferences or state transitions. Preserve provenance, explain conflicts and prevent unsupported conclusions.

02. ENTITY DEFINITION
KnowledgeConstraint := (id, predicate, scope, modality, priority, provenance, validity, status)
modality ∈ {MUST, MUST_NOT, SHOULD, MAY}
status ∈ {active, suspended, expired, superseded}
A constraint applies only when its scope and validity conditions hold.

03. STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t := candidate knowledge items and current evidence
R_t := constraint rules and permitted transitions
B_t := scope, safety, domain and temporal boundaries
K_t := accepted knowledge and provenance records

04. FORMAL FLOW
E_t = expand(I_t, R_t)
A_t = {x ∈ E_t | applicable(x, B_t) ∧ satisfies_hard_constraints(x, R_t)}
V_t = validate(A_t, K_t, provenance, consistency)
x* = argmax_{x ∈ V_t} P(x | I_t, R_t, B_t, K_t)
I_(t+1) = update(I_t, x*, validation_result)
If V_t = ∅, return an explicit constraint conflict or insufficient-evidence result; do not invent x*.

05. CONSTRAINT CLASSES
Logical: contradiction, entailment, type compatibility.
Structural: schema, cardinality, relationship direction.
Semantic: permitted meaning, domain, identity and equivalence.
Temporal: effective dates, expiry and version precedence.
Epistemic: evidence threshold, source reliability and uncertainty.
Operational: execution preconditions, resource limits and permissions.

06. IMPLEMENTS
Input: candidate claim c, evidence e, knowledge graph G, constraint set C.
1. Select active constraints whose scopes cover c.
2. Resolve types, referenced entities and evidence provenance.
3. Evaluate each applicable predicate with three-valued outcomes: PASS, FAIL, UNKNOWN.
4. Reject c when a binding MUST or MUST_NOT constraint fails.
5. Defer c when required evidence is UNKNOWN.
6. Record advisory SHOULD deviations without silently overriding hard rules.
7. Admit c only after all mandatory checks pass.
8. Record reasons, rule IDs, source IDs and version in the audit trail.
Output: (decision, accepted_claim_or_null, violations, unknowns, audit).

07. INFERENCE RULES
R1: active(r) ∧ in_scope(r,c) ∧ hard(r) ∧ FAIL(r,c) => REJECT(c).
R2: active(r) ∧ in_scope(r,c) ∧ hard(r) ∧ UNKNOWN(r,c) => DEFER(c).
R3: ∀r ∈ applicable_hard(C,c), PASS(r,c) ∧ evidence_sufficient(c) => ELIGIBLE(c).
R4: ELIGIBLE(c) ∧ consistent(c,G) => ACCEPT(c).
R5: ACCEPT(c) ∧ derivation(c,d) => provenance_link(c,d).
R6: conflicting_mandatory_rules(C,c) => ESCALATE_CONFLICT(c).
R7: expired(r) => NOT_APPLICABLE(r) unless a historical query requires it.

08. RECURSIVE ENGINE
F(S_t) := validate(expand(I_t,R_t), C_t, B_t, K_t)
S_(t+1) := commit(F(S_t)) only when validation succeeds.
Stop when a fixed point is reached, a depth/time budget is exhausted, or a conflict is unresolved.
Cycle detection: track (candidate_id, constraint_version, graph_version).
Never treat repeated recursion as additional independent evidence.

09. TRI-MAPPING
Entity layer: KnowledgeConstraint, KnowledgeClaim, KnowledgeFact, KnowledgeRule.
Relationship layer: constrains, applies_to, contradicts, overrides, supported_by.
Execution layer: scope -> evaluate -> decide -> record -> update.

10. MAPPING TABLE
KnowledgeConstraint -> constrains -> KnowledgeClaim
KnowledgeConstraint -> references -> KnowledgeRule
KnowledgeClaim -> supported_by -> EvidenceSource
KnowledgeConstraint -> scoped_to -> KnowledgeDomain
KnowledgeConstraint -> supersedes -> KnowledgeConstraint
ValidationResult -> evaluated_against -> KnowledgeConstraint

11. HOW TO READ
A candidate is not true merely because it passes constraints. Passing means only that the candidate is admissible under the currently applicable rules. Truth, evidential support and confidence require separate assessment.

12. CONFLICT AND PRECEDENCE
Explicit authority and versioning determine precedence only within the relevant domain. No generic priority score may override safety, legal or logically mandatory restrictions. Incomparable hard constraints produce an unresolved conflict, not arbitrary acceptance.

13. CONFIDENCE MODEL
confidence(c) = calibrated_evidence_score(c), where available.
constraint_satisfaction(c) ∈ {PASS, FAIL, UNKNOWN}.
Keep confidence separate from constraint satisfaction; do not convert a rule pass into a probability of truth.

14. SEMANTIC EQUIVALENCE
Equivalent(c1,c2) only if meaning, scope, modality, quantification and temporal context are preserved. Similar wording alone does not establish equivalence.

15. AI SEARCH FLOW
QUERY -> IDENTIFY_ENTITIES -> RETRIEVE_CANDIDATES -> SELECT_CONSTRAINTS -> CHECK_SCOPE -> VALIDATE_EVIDENCE -> APPLY_RULES -> RESOLVE_CONFLICTS -> RETURN_SUPPORTED_RESULT_WITH_PROVENANCE.
No eligible result -> explain the unmet constraint or missing evidence.

16. EXAMPLE
Candidate: "Every verified claim has a source reference."
Constraint: MUST have source_reference for status=verified.
Claim with source_reference => PASS structural check.
Claim without source_reference => FAIL; do not mark verified.
A present reference does not itself establish that the claim is factually correct.

17. EXECUTION CONDITIONS
Deterministic evaluation requires fixed candidate data, constraint versions, scope rules and evaluation semantics. External source changes, ambiguous evidence and probabilistic judgments prevent an unconditional execution guarantee.

18. VALIDATION
Check identifier uniqueness, type correctness, referential integrity, applicability, modality, conflict resolution, evidence sufficiency, provenance traceability and termination conditions.

19. UPDATE MODEL
When a constraint changes: version it, retain its predecessor, identify affected claims, re-evaluate those claims, and publish a change record. Do not silently rewrite prior audit results.

20. FLOW HASH AND CITATION
FLOW_HASH := SHA-256(canonicalised specification bytes), calculated by the publishing system; no hash is asserted here.
Citation: Mark Anthony Higgins — Sky Recursive AI, "Knowledge Constraint Ontology", Kireth Research Semantic Library.
Canonical source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/knowledge-entities/knowledge-constraint-ontology.html

END OF FLOW ALGEBRA
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ