Skip to main content

Hierarchy Ontology

Structure & Organisation Concepts
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 02 December 2026
Audio Overview
HIERARCHY ONTOLOGY
Standard Flow Algebra | Version 1.0 | 2026-12-02 | UTF-8
Authors: Mark Anthony Higgins — Sky Recursive AI
Publisher attribution: Kireth Research
Licence: Open Research Licence; citation required; consult published terms.
Canonical source: https://kirethresearch.org/booksai-core/entity-graph/abstract-concepts/structure-organisation-concepts/hierarchy-ontology.html
Integration: Semantic Library / AI Core / Entity Graph / Abstract Concepts / Structure and Organisation Concepts / Hierarchy Ontology
Status: Proposed formalisation; live source and exact licence terms not independently verified.

1. DEFINITION AND SCOPE
A hierarchy is an arrangement of entities under a declared ordering relation, such as classification, containment, authority or dependency. Hierarchical position is relative to the ordering criterion and context. A hierarchy need not be a tree, need not have a unique root and need not impose a total order. Different hierarchies may coexist over the same entities. Authority, taxonomic subsumption and physical containment must not be treated as interchangeable relations.

2. CANONICAL REPRESENTATION
H = (id, V, E, K, X, C, P, rev)
V: typed entity references; E: directed child-to-parent edges.
K: ordering criterion and declared relation semantics.
X: domain, viewpoint, temporal interval and granularity.
C: structural constraints; P: provenance; rev: immutable revision.
Edge = (child, parent, relationType, context, interval, evidence, status).
Status ∈ {supported, refuted, unknown, disputed}.
The supported graph for a strict hierarchy is a directed acyclic graph (DAG). A tree is a special case with a single root and exactly one parent for every non-root node. A forest allows multiple roots. A general DAG permits multiple parents.

3. SEMANTIC RELATIONSHIPS
parentOf(p,c,H): supported immediate edge c -> p.
childOf(c,p,H): inverse of parentOf.
ancestorOf(a,c,H): non-empty path from c to a within one compatible hierarchy.
descendantOf(c,a,H): inverse of ancestorOf.
rootOf(r,H): node with no supported parent, provisional unless coverage is complete.
leafOf(l,H): node with no supported child, provisional unless coverage is complete.
siblingOf(x,y,H): distinct nodes sharing at least one immediate parent.
subHierarchyOf(H1,H2): declared inclusion with compatible relation semantics.
represents(m,H): model m describes H; does not assert identity with its referent.

4. TYPED FLOW OPERATORS
Resolve: Descriptor × Context -> EntityReference or Unresolved.
DefineOrder: Criterion × Context -> RelationSchema.
Insert: Hierarchy × EntityReference -> CandidateHierarchy.
Link: Hierarchy × Child × Parent × Evidence -> CandidateHierarchy or Conflict.
Unlink: Hierarchy × Edge × ChangeReason -> CandidateHierarchy.
Ancestors: Hierarchy × Node -> EntitySet × CoverageStatus.
Descendants: Hierarchy × Node -> EntitySet × CoverageStatus.
Rank: Hierarchy × LevelPolicy -> LevelMap or Undefined.
Project: Hierarchy × Boundary -> Subgraph × LossRecord.
Compose: HierarchySet × Mapping × ConstraintSet -> CandidateHierarchy or Conflict.
Validate: CandidateHierarchy × Policy -> ValidationReport.
Refine: Hierarchy × ValidationReport × EvidenceSet -> CandidateHierarchy.
Commit: CandidateHierarchy × Approval × ExpectedRevision -> Hierarchy or Conflict.
These operators manipulate semantic representations, not real-world authority or physical arrangements.

5. COMPOSITE FLOWS
Formation: Resolve -> DefineOrder -> Insert -> Link -> Validate -> Commit.
Traversal: Resolve -> Ancestors or Descendants -> Report coverage and provenance.
Reparenting: Unlink -> Link -> Validate -> Approve -> Commit (atomic revision).
Integration: Resolve mapping -> Compose -> Validate -> Commit.
Recursive refinement: Observe -> Assess -> Refine -> Validate -> Commit or Escalate.
Arrows denote typed sequencing with supplementary inputs supplied. Unresolved and conflicting branches remain explicit.

6. ALGEBRAIC AND LOGICAL RULES
Let R ⊆ V × V denote supported immediate child-to-parent edges in a fixed context. R+ denotes positive-length transitive closure; R* = I ∪ R+.
Strict hierarchy: for every x ∈ V, (x,x) ∉ R+. Consequently R+ is asymmetric and transitive, and R* is a partial order.
R+ = union over n >= 1 of R^n. For a finite DAG with N nodes, paths of length at most N-1 suffice.
Immediate edges need not be transitive. Reachability does not establish immediate parenthood. If edges represent declared direct reporting, retain them even when an alternative path exists; transitive reduction is appropriate only when edges explicitly represent cover relations.
For finite DAGs, define depth(r)=0 for roots and depth(v)=1+max(depth(p): p is a parent of v). This is longest-path depth, not necessarily a unique intrinsic level. Shortest-path depth is a different policy.
For pure compatible maps f:A->B, g:B->C, h:C->D, (h∘g)∘f=h∘(g∘f). Identity maps preserve their domain. Stateful edits are not generally commutative or reversible.
Inheritance: if C is a subclass of P and P is a subclass of Q, then C is a subclass of Q. If x is an instance of C, then x is an instance of P. This rule does not apply to reporting or arbitrary containment relations.

7. TWELVE STRUCTURAL INVARIANTS
I01 Identity: every node has a stable reference within its namespace.
I02 Closure: every edge endpoint exists in the declared graph.
I03 Typing: every edge satisfies its relation domain and range.
I04 Acyclicity: strict hierarchical edges cannot form directed cycles.
I05 Context: inferred paths use compatible contexts and temporal intervals.
I06 Direction: child-to-parent orientation is consistent.
I07 Multiplicity: single-parent restrictions apply only to declared trees or forests.
I08 Roots: root and leaf completeness claims require adequate coverage.
I09 Inheritance: only declared inheritable properties propagate under applicable rules.
I10 Provenance: asserted and inferred edges retain distinct derivation records.
I11 Revision: committed history is immutable; changes create new revisions.
I12 Uncertainty: missing or disputed edges cannot silently become established facts.

8. RECURSIVE VALIDATION AND REFINEMENT
G_0 = initial validated hierarchy. At iteration n, acquire evidence E_n, propose candidate G'_n = Refine(G_n, report_n, E_n), and validate all affected edges, paths and constraints. Commit only if policy and approval permit; otherwise preserve G_n and record the conflict.
For a fixed finite node set and monotonic edge additions, reachability closure terminates because at most N² ordered pairs exist. This guarantee does not extend to open-ended acquisition or non-monotonic edits. Use iteration limits, repeated-state detection and escalation. A fixed point indicates no further changes under the selected rules, not complete knowledge of reality.
Cycle detection may use topological sorting. A failed sort identifies a structural conflict; do not arbitrarily delete an edge without evidence or authorisation.

9. EVIDENCE AND UNCERTAINTY
Each assertion records source, acquisition time, valid interval, method, author or agent, revision, and evidence status. Confidence, if quantified, must specify its calibration and meaning. Do not multiply path confidences unless the probabilistic model and dependencies justify it. Multiple paths derived from the same source are not independent corroboration. Contradictory edges are retained in a disputed layer pending resolution. Absence of a parent edge under open-world semantics does not establish root status.

10. PRACTICAL EXAMPLES
Taxonomy: centrifugal pump -> pump -> fluid machine. An instance of centrifugal pump inherits class membership in pump and fluid machine, but is not itself a subclass.
Engineering assembly: bearing -> motor -> pump assembly. The containment path supports indirect containment only if the selected parthood relation is transitive; it does not imply direct installation in the pump assembly.
Organisation: technician -> supervisor -> manager. Reporting reachability does not establish direct reporting or unrestricted authority.
Multiple inheritance: electric vehicle may belong to both electric-powered machine and road vehicle classes. The graph remains valid as a DAG, but not as a single-parent tree.
Temporal reorganisation: a component changes parent at t1. Preserve the previous edge's validity interval and create a new revision; do not infer simultaneous membership from historical records.

11. CROSS-ONTOLOGY INTEGRATION
Structure Ontology supplies constituents, boundaries and structural edges.
Organisation Ontology supplies coordination, roles and authority contexts.
Class and Type ontologies supply classification and subsumption semantics.
Membership Ontology distinguishes instance membership from class ordering.
Relation Ontology supplies inverse and composition rules.
Identity and Persistence ontologies preserve references across revisions.
Conceptual Context Ontology scopes hierarchy interpretation.
Engineering Entity Graph supports typed graph integration without conflating ordering criteria.
Mappings must declare source and target semantics, context, direction and information loss.

12. PROPOSED ACCEPTANCE TESTS (NOT EXECUTED)
T01 Insert a valid root and child: accept supported typed edge.
T02 Insert an edge to a missing node: reject or resolve endpoint.
T03 Insert a self-edge in strict hierarchy: reject.
T04 Insert a cycle A->B->C->A: reject candidate.
T05 Insert two parents into a declared DAG: accept if other constraints hold.
T06 Insert two parents into a declared tree: reject.
T07 Traverse A->B->C: infer C as ancestor, not necessarily immediate parent.
T08 Combine edges with non-overlapping valid intervals: do not infer concurrent path.
T09 Apply subclass inheritance to a reporting edge: reject rule application.
T10 Query a node with incomplete parent coverage: root status unknown.
T11 Reparent with stale expected revision: return conflict; preserve committed graph.
T12 Repeat closure on a finite unchanged DAG: obtain identical reachability set.

13. CITATION AND REUSE
Suggested citation: Higgins, Mark Anthony; Sky Recursive AI (2026). Hierarchy Ontology — Standard Flow Algebra, version 1.0. Kireth Research, AI Semantic Library. Canonical source URL above. Cite the ontology and this formalisation separately where appropriate.
Open Research Licence attribution follows the project convention; consult the publisher's actual licence terms before redistribution. This file is a newly proposed formalisation, not a verified transcription of the source page or an executed implementation. Acceptance tests are specifications only.
END OF FLOW ALGEBRA
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ