Skip to main content

Network Ontology

Graph and Network Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 14 October 2026
Audio Overview
FLOW ALGEBRA
NETWORK ONTOLOGY
Kireth Semantic Library | Graph and Network Entities
Source: https://kirethresearch.org/booksai-core/entity-graph/mathematical-entities/graph-and-network-entities/network-ontology.html
Version: 1.0 | Date: 2026-10-14
Authors: Mark Higgins — Sky (Recursive AI)
Status: Proposed formalisation; source-page text not independently verified.

1. PURPOSE
Represent a network as a typed graph of entities and their connections, with optional direction, weights, capacities, layers, and temporal attributes. Distinguish mathematical network structure from application-specific interpretations.

2. TYPE SYSTEM
TYPE Vertex := Entity with unique identifier.
TYPE Edge := Entity with unique identifier and incident endpoints.
TYPE Network := (V: Set[Vertex], E: Set[Edge], incidence: E -> V x V, directed: Boolean).
TYPE Weight := Real with declared unit and interpretation.
TYPE Capacity := NonNegativeReal with declared unit.
TYPE Path := finite alternating sequence of incident vertices and edges.
TYPE Component := maximal connected vertex-induced subgraph (for undirected networks).
TYPE Layer := identifier for one relation or network slice.
TYPE TimeInterval := [start,end) with start < end.

3. STRUCTURAL AXIOMS
AXIOM N1: Each vertex has a unique stable identifier within its network.
AXIOM N2: Each edge has a unique stable identifier within its network.
AXIOM N3: For all e in E, incidence(e)=(u,v) implies u in V and v in V.
AXIOM N4: For undirected networks, incidence endpoint order does not encode orientation.
AXIOM N5: For directed networks, incidence(e)=(u,v) means source(e)=u and target(e)=v.
AXIOM N6: Parallel edges and self-loops are permitted only when declared by the network schema.
AXIOM N7: An edge weight is not assumed to be distance, cost, strength, probability, or capacity without an explicit semantic type.
AXIOM N8: Any temporal or multilayer relation must carry its relevant time or layer context.

4. MATHEMATICAL OPERATORS
adjacent(u,v) := exists e in E connecting u and v, respecting direction where applicable.
degree(v) := number of incident edge ends; a self-loop counts twice in an undirected multigraph.
in_degree(v) := count of directed edges targeting v.
out_degree(v) := count of directed edges sourced at v.
N(v) := {u in V | adjacent(v,u)} (out-neighbourhood for directed networks unless qualified).
reachable(u,v) := exists a directed path u -> v, or an undirected path between them.
path_length(p) := number of edges in p.
path_cost(p) := sum(weight(e) for e in p), when weights have compatible additive meaning.
connected(G) := all vertex pairs are mutually path-connected in an undirected graph.
strongly_connected(G) := all ordered vertex pairs are reachable in a directed graph.

5. RELATIONSHIPS
Network HAS_VERTEX Vertex.
Network HAS_EDGE Edge.
Edge CONNECTS Vertex.
DirectedEdge HAS_SOURCE Vertex.
DirectedEdge HAS_TARGET Vertex.
WeightedEdge HAS_WEIGHT Weight.
CapacityEdge HAS_CAPACITY Capacity.
Path TRAVERSES Edge.
Path STARTS_AT Vertex.
Path ENDS_AT Vertex.
Component PART_OF Network.
Network HAS_LAYER Layer.
TemporalEdge VALID_DURING TimeInterval.
Network SEMANTICALLY_RELATED_TO GraphOntology.
Network SEMANTICALLY_RELATED_TO VertexOntology.
Network SEMANTICALLY_RELATED_TO EdgeOntology.
Network SEMANTICALLY_RELATED_TO PathOntology.
Network SEMANTICALLY_RELATED_TO ConnectedComponentOntology.

6. INFERENCE FLOWS
RULE R1: edge(u,v) and undirected(G) -> adjacent(u,v) and adjacent(v,u).
RULE R2: directed_edge(u,v) -> out_neighbour(v,u) is FALSE by default; out_neighbour(u,v) is TRUE.
RULE R3: reachable(u,v) and reachable(v,w) -> reachable(u,w).
RULE R4: path(u,v) -> reachable(u,v).
RULE R5: undirected(G) and all vertices mutually reachable -> connected(G).
RULE R6: directed(G) and all ordered vertex pairs mutually reachable -> strongly_connected(G).
RULE R7: weighted_path(p) and compatible_additive_weights(p) -> path_cost(p)=sum(edge_weights(p)).
RULE R8: edge(e) and endpoints_valid(e) -> structurally_valid_edge(e).

7. ALGORITHMIC FLOW
flow NetworkValidation(network):
  require finite_or_explicitly_symbolic(network.V, network.E)
  require unique_ids(network.V) and unique_ids(network.E)
  for e in network.E: require endpoints(e) subset_of network.V
  require schema_consistency(network.directed, network.allow_loops, network.allow_parallel_edges)
  for e in weighted_edges(network): require weight_type_declared(e)
  for e in temporal_edges(network): require valid_time_interval(e)
  emit VALIDATED_NETWORK if all requirements pass else VALIDATION_ERRORS

flow NetworkAnalysis(network, query):
  validated := NetworkValidation(network)
  require validated == VALIDATED_NETWORK
  select query.type:
    case ADJACENCY: return neighbours(query.vertex)
    case REACHABILITY: return traversal(query.source, query.target)
    case COMPONENTS: return weak_components(network) if network.directed else components(network)
    case SHORTEST_PATH: require admissible_weight_semantics(query.algorithm, network); return shortest_path(query)
    case CENTRALITY: require centrality_definition(query.metric); return calculate_centrality(query.metric)
    default: return UNSUPPORTED_QUERY

8. SEMANTIC DISTINCTIONS
Graph: abstract vertices and edges; Network: graph interpreted as interconnected entities, potentially with domain semantics.
Directed vs undirected: asymmetric ordered arcs vs symmetric incidence.
Weighted vs unweighted: explicit quantitative edge attribute vs absent weight.
Connected vs strongly connected: undirected mutual access vs directed mutual reachability.
Path vs walk: a path has no repeated vertices under the simple-path convention; a walk may repeat vertices and edges.
Topology vs geography: adjacency alone does not imply physical proximity.
Correlation vs causation: a network link does not imply causal influence without evidence.

9. VALIDATION AND CONFIDENCE
VALIDATE: endpoint membership; identifier uniqueness; edge orientation; loop and parallel-edge policy; weight units; capacity non-negativity; time and layer context; query preconditions.
CONFIDENCE := evidence-backed score in [0,1], with source, methodology and uncertainty recorded; do not invent scores.
SEMANTIC_EQUIVALENCE := TRUE only when structural and domain-specific interpretations agree under stated assumptions.

10. FLOW HASH AND UPDATE MODEL
FLOW_HASH := SHA256(canonical_utf8(normalised_flow_document_excluding_FLOW_HASH_value)).
UPDATE_MODEL := versioned changes to definitions, axioms, relationships, rules and source provenance.
Require deterministic canonicalisation and preserve previous version hashes for traceability.

11. AI CONSUMPTION
Input: typed network data, declared semantics, optional provenance and query.
Process: parse -> type-check -> validate -> infer -> execute query -> attach provenance and confidence.
Output: network facts, inferred relations, algorithmic results, assumptions, errors and evidence.
Never infer causal meaning, physical distance, or direction from unspecified edges.

12. PROVENANCE
Reference URL as supplied above. This document is an independently constructed proposed Flow Algebra representation, not a verified transcription of the webpage.

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