AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
KIRETH SEMANTIC LIBRARY — SPINAL CORD ONTOLOGY
FULL FLOW ALGEBRA v1.0 | UTF-8 | 2026-10-27
Source topic: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/neurobiological-entities/spinal-cord-ontology.html
Status: Newly authored conceptual specification; source webpage not independently verified.
Authorship: Kireth Research | Flow formalisation: Sky — Recursive AI
01. PURPOSE
Represent spinal cord anatomy, segmental organisation, neural pathways, reflexes, cellular components, physiology and evidence-qualified inferences as typed graph entities and constrained transitions. Distinguish anatomical location, functional projection, observation and inferred effect.
02. STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t = asserted entities, observations and time-indexed measurements
R_t = typed directed relations with provenance
B_t = biological and anatomical constraints
K_t = definitions, taxonomies, evidence, confidence and uncertainty
E_t = expand(I_t, R_t)
V_t = {x in E_t | validate(x, B_t, K_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, evidence_t)
NOTE: These are conceptual operators, not a validated probabilistic inference engine.
03. ENTITY TYPES
SpinalCord: central nervous system anatomical structure
SpinalCordSegment: cervical | thoracic | lumbar | sacral | coccygeal
SpinalNerve: paired peripheral nerve associated with a segment
DorsalRoot: afferent root; contains central processes of sensory neurons
VentralRoot: efferent root; contains motor axons
DorsalRootGanglion: sensory neuron cell-body cluster outside spinal cord
GreyMatter: dorsal_horn | ventral_horn | lateral_horn | intermediate_zone
WhiteMatter: dorsal_funiculus | lateral_funiculus | ventral_funiculus
AscendingTract: dorsal_column_pathway | anterolateral_system | spinocerebellar_pathway | other
DescendingTract: corticospinal | vestibulospinal | reticulospinal | other
Neuron: sensory_afferent | interneuron | motor_neuron | projection_neuron
GlialCell: astrocyte | oligodendrocyte | microglia | ependymal_cell
Synapse: chemical | electrical
Receptor: sensory receptor or molecular receptor (explicitly disambiguate)
ReflexArc: stimulus, afferent, integration, efferent, response
Meninges: dura_mater | arachnoid_mater | pia_mater
CentralCanal: CSF-associated anatomical cavity
Vessel: spinal artery | spinal vein | segmental supply
Observation: imaging | electrophysiology | histology | examination
Condition: injury | inflammation | degeneration | developmental_variant
04. ENTITY ATTRIBUTES
entity_id: globally stable identifier
entity_type: controlled vocabulary term
label: en-GB preferred label
species: taxonomic identifier
location: anatomical reference and laterality where applicable
segment: level or range, with species-specific scheme
state: normal | variant | affected | unknown
valid_time: observation or validity interval
provenance: source, author, method, date
confidence: [0,1] if calibrated; otherwise qualitative
05. RELATIONSHIP GRAPH
SpinalCord PART_OF CentralNervousSystem
SpinalCord HAS_PART GreyMatter
SpinalCord HAS_PART WhiteMatter
SpinalCord HAS_PART SpinalCordSegment
SpinalCord CONTAINS CentralCanal
DorsalRoot CONNECTS_TO SpinalCordSegment
VentralRoot CONNECTS_TO SpinalCordSegment
DorsalRootGanglion ASSOCIATED_WITH DorsalRoot
SensoryAfferent PROJECTS_VIA DorsalRoot
MotorNeuron PROJECTS_VIA VentralRoot
AscendingTract TRANSMITS_TOWARDS Brain
DescendingTract TRANSMITS_FROM Brain
ReflexArc HAS_COMPONENT SensoryAfferent
ReflexArc HAS_COMPONENT IntegrationCircuit
ReflexArc HAS_COMPONENT MotorOutput
Observation SUPPORTS_OR_CONTRADICTS Assertion
Condition AFFECTS AnatomicalEntity
Every relation requires subject, predicate, object and provenance.
06. TYPED PATHWAYS
PATHWAY sensory_entry:
sensory_stimulus -> receptor_activation -> afferent_signal
-> dorsal_root_ganglion_neuron -> dorsal_root -> spinal_processing
-> ascending_projection_or_local_reflex
PATHWAY motor_output:
descending_or_local_input -> spinal_motor_circuit
-> ventral_horn_motor_neuron -> ventral_root -> peripheral_nerve
-> neuromuscular_junction -> muscle_response
PATHWAY spinal_reflex:
stimulus -> sensory_afferent -> spinal_integration
-> motor_efferent -> response
Note: mono- and polysynaptic variants must be distinguished.
07. INFERENCE RULES
R01 IF x is a dorsal horn structure THEN x is spinal grey matter.
R02 IF axon traverses dorsal root THEN infer afferent pathway membership only when anatomy and species support it.
R03 IF axon traverses ventral root THEN infer efferent pathway membership only when anatomy and species support it.
R04 IF neuron is a lower motor neuron with soma in ventral horn THEN its axon may project through a ventral root.
R05 IF pathway is an ascending spinal tract THEN classify its overall direction towards supraspinal structures; do not infer an uninterrupted single axon.
R06 IF segment-level lesion is observed THEN propose candidate affected pathways, not definitive deficits, without examination and supporting evidence.
R07 IF reflex response is recorded THEN do not infer a unique anatomical lesion from that observation alone.
R08 IF two assertions conflict THEN preserve both with evidence and timestamps pending adjudication.
R09 IF evidence is absent THEN state unknown rather than false.
08. QUANTITATIVE MODELS (ILLUSTRATIVE)
Conduction delay: t ≈ L/v, with length L (m), velocity v (m/s), t (s).
Population activity: A(t) = sum_i w_i r_i(t), where weights and firing rates require defined units.
Membrane dynamics (simplified): C_m dV/dt = I_applied - sum_j I_ion,j.
Synaptic integration (illustrative): V_post(t) ≈ sum_i w_i PSP_i(t).
These simplified relations are context-dependent, not universal biological laws.
09. INVARIANTS AND VALIDATION
B01 Each entity has exactly one stable identifier in its namespace.
B02 Anatomical PART_OF edges are acyclic within a defined hierarchy.
B03 A dorsal root ganglion is peripheral, not a spinal grey matter region.
B04 A spinal cord segment is not interchangeable with its vertebral level.
B05 Species-specific anatomy must not be transferred without qualification.
B06 Sensory and motor directions are relative to the CNS; avoid confusing with cranial/caudal spatial direction.
B07 Distinguish structural connectivity from functional activation.
B08 Measurements must carry units, method, uncertainty and time.
B09 Claims of pathology require an evidential basis; no diagnosis from graph topology alone.
B10 Preserve alternative naming schemes and provenance.
10. SEMANTIC EQUIVALENCE
Equivalent only with matching referent, species, context and granularity:
spinal_cord ≡ medulla_spinalis (anatomical synonym)
dorsal_horn ≡ posterior_grey_horn (contextual synonym)
ventral_horn ≡ anterior_grey_horn (contextual synonym)
Not equivalent:
spinal_cord != vertebral_column
spinal_cord_segment != vertebra
dorsal_root != dorsal_root_ganglion
spinal_nerve != dorsal_root
tract != individual_neuron
11. CONFIDENCE AND PROVENANCE
confidence(assertion) depends on evidence quality, anatomical resolution,
species applicability, independent replication and methodological limitations.
Store source_uri, citation, evidence_type, observation_time, reviewer,
confidence_method and uncertainty. Never assign numerical confidence without
an explicit calibration method.
12. TRI-MAPPING
Entity graph: anatomical structure and typed biological relations.
Process graph: stimulus, conduction, synaptic integration and output.
Evidence graph: observations, claims, sources and uncertainty.
Mapping rule: each process node references anatomical participants; each
inferred relation references evidence or a named modelling assumption.
13. MINI RECURSION ENGINE (PSEUDOCODE)
INPUT query, seed_entities, graph, constraints, evidence
frontier := seed_entities
visited := empty_set
REPEAT until frontier empty or resource_limit reached:
candidates := expand(frontier, typed_relations)
valid := validate(candidates, constraints, species, provenance)
scored := rank(valid, evidence_quality, relevance, uncertainty)
emit scored with supporting provenance
frontier := unvisited(scored)
visited := visited union frontier
OUTPUT typed_answer, evidence_trace, unknowns, conflicts
TERMINATION: finite depth/node budget, cycle detection, or no new candidates.
14. AI SEARCH FLOW
QUERY: identify structure, segment, pathway, process, species and scope.
NORMALISE: synonyms, ontology IDs, laterality, measurement units.
RETRIEVE: direct entity definitions and one-hop typed relations.
EXPAND: relevant pathways, segment mappings and supporting evidence.
FILTER: biological invariants, species, time, evidence requirements.
RANK: grounded answers above unverified extrapolations.
RETURN: answer, linked entities, pathway trace, confidence and caveats.
15. UPDATE MODEL
On new evidence, append an immutable observation record; recompute dependent
claims; retain superseded assertions and provenance. Version the ontology
separately from observational data. Flag changes in terminology, species
coverage and anatomical granularity.
16. FLOW HASH SPECIFICATION
Canonicalise UTF-8 text using Unicode NFC, LF line endings, stable field
ordering and explicit ontology version. Compute SHA-256 over canonical bytes.
No digest is asserted here because canonical serialisation is not supplied.
17. EXECUTION GUARANTEE / LIMITS
The graph is well-formed only if IDs, types and constraints validate.
Reasoning terminates under the stated finite traversal limits.
No guarantee of biological completeness, diagnostic accuracy, or executable
behaviour is claimed. All output must remain evidence-qualified.
18. CROSS-ONTOLOGY LINKS
Neurobiological Entity; Neuron Entity; Sensory Neuron; Motor Neuron;
Interneuron; Synapse; Axon; Dendrite; Myelin Sheath; Neurotransmitter;
Neurotransmitter Receptor; Neural Circuit; Brain Region; Nervous System Entity.
END — SPINAL CORD ONTOLOGY FLOW ALGEBRA v1.0