Skip to main content

Rock Ontology

Geological Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 12 October 2026
Audio Overview
FLOW ALGEBRA
ROCK ONTOLOGY — KIRETH SEMANTIC LIBRARY
Version: 1.1
Date: 2026-10-12
Authors: Mark Higgins — Sky (Recursive AI)
Source URL: https://kirethresearch.org/booksai-core/entity-graph/physical-entities/geological-entities/rock-ontology.html
Source status: Independent scientific synthesis; live page not verified.

01. PURPOSE
Represent rocks as naturally occurring coherent aggregates of minerals, mineraloids, and/or organic material, with explicit composition, texture, origin, history, and evidence.

02. NAMESPACE
ontology_id: kireth:geological:rock
parent: kireth:geological-entities
entity_type: Rock
version: 1.1

03. TYPE SYSTEM
Rock <: GeologicalMaterial
RockSample <: PhysicalSpecimen
Mineral <: CrystallineGeologicalConstituent
Mineraloid <: NoncrystallineGeologicalConstituent
Texture <: RockProperty
Fabric <: RockProperty
GeologicalProcess <: Process
GeologicalEnvironment <: Environment
Observation <: Evidence

04. ROCK ENTITY
Rock(id, name, lithology, origin, composition, texture, fabric, age, locality, evidence)
Required: id, lithology or provisional classification, evidence provenance.
Unknown properties remain unknown; never infer them as absent.

05. CLASSIFICATION
Rock = IgneousRock | SedimentaryRock | MetamorphicRock | UnclassifiedRock
Classes reflect genetic classification and may require revision with evidence.

06. IGNEOUS ROCK
IgneousRock originates by crystallisation or solidification of molten material.
Subtypes: intrusive, extrusive, pyroclastic.
Examples: granite, basalt, gabbro, rhyolite, tuff.

07. SEDIMENTARY ROCK
SedimentaryRock forms through deposition, lithification, precipitation, or biological accumulation.
Subtypes: clastic, chemical, biochemical, organic.
Examples: sandstone, shale, limestone, conglomerate, coal.

08. METAMORPHIC ROCK
MetamorphicRock forms through mineralogical or textural alteration of a pre-existing rock, primarily without bulk melting.
Subtypes: foliated, nonfoliated.
Examples: slate, schist, gneiss, marble, quartzite.

09. CONSTITUENT RELATIONSHIPS
contains_mineral(Rock, Mineral, fraction)
contains_mineraloid(Rock, Mineraloid, fraction)
has_grain_size(Rock, SizeDistribution)
has_texture(Rock, Texture)
has_fabric(Rock, Fabric)
formed_in(Rock, GeologicalEnvironment)
formed_by(Rock, GeologicalProcess)
derived_from(Rock, Protolith)
collected_at(RockSample, Locality)
observed_by(RockSample, Method)

10. COMPOSITION CONSTRAINTS
For a complete non-overlapping constituent inventory: sum_i(volume_fraction_i) = 1.
Mass and volume fractions must not be mixed.
Incomplete mineral inventories may sum to less than 1.

11. TEXTURE
Attributes: grain size, sorting, rounding, crystallinity, vesicularity, porosity, foliation.
Texture and mineral composition are separate classification dimensions.

12. ROCK FABRIC
Fabric describes preferred orientation, layering, lineation, and spatial arrangement.
Foliation may support metamorphic interpretation but is not by itself conclusive.

13. IGNEOUS FORMATION FLOW
magma_or_lava -> cooling -> nucleation -> crystal_growth -> igneous_rock
Cooling history influences texture, but texture alone does not uniquely determine cooling rate.

14. SEDIMENTARY FORMATION FLOW
weathering -> transport -> deposition -> burial -> compaction/cementation -> sedimentary_rock
Chemical and biogenic sedimentary routes may bypass clastic transport.

15. METAMORPHIC FORMATION FLOW
protolith -> changed_pressure_temperature_fluids -> recrystallisation/reaction -> metamorphic_rock
Metamorphic grade and facies require mineral assemblage and geological context.

16. ROCK CYCLE
igneous -> weathering/sedimentation -> sedimentary
sedimentary_or_igneous -> metamorphism -> metamorphic
any_rock -> melting -> magma -> igneous
Paths are possible transitions, not inevitable or strictly sequential stages.

17. PHYSICAL PROPERTIES
Density rho = mass / volume [kg m^-3].
Porosity phi = pore_volume / bulk_volume [dimensionless].
Strength, permeability, hardness, and elastic moduli depend on material and test conditions.

18. DENSITY EXAMPLE
Sample mass = 2.70 kg; bulk volume = 0.001 m^3.
Bulk density = 2700 kg m^-3.
This does not uniquely identify the rock type.

19. POROSITY EXAMPLE
Pore volume = 0.12 L; bulk volume = 1.00 L.
Porosity = 0.12 = 12%.
Distinguish total porosity from connected/effective porosity.

20. GEOCHRONOLOGY
has_formation_age(Rock, AgeEstimate)
has_deposition_age(SedimentaryRock, AgeEstimate)
has_metamorphic_age(MetamorphicRock, AgeEstimate)
A measured mineral age may record crystallisation, cooling, or later resetting; interpretation is required.

21. SPATIAL AND STRATIGRAPHIC CONTEXT
occurs_in(Rock, GeologicalUnit)
overlies(UnitA, UnitB)
intrudes(UnitA, UnitB)
correlates_with(UnitA, UnitB, evidence)
Relative-age conclusions require validated geological relationships and exceptions.

22. OBSERVATION METHODS
field_mapping; hand_specimen; optical_petrography; XRD; XRF; SEM; geochemistry; isotope_dating.
Record detection limits, uncertainty, calibration, and sampling representativeness.

23. INFERENCE RULE: COMPOSITION
IF observed_minerals = {quartz, feldspar, mica}
THEN granite_candidate MAY be considered.
DO NOT assert granite without texture, modal proportions, and classification criteria.

24. INFERENCE RULE: FOSSILS
IF preserved_fossils(Rock)
THEN sedimentary_origin is supported in ordinary geological contexts.
Exception: fossils may occur in metamorphosed sedimentary rocks; provenance is required.

25. INFERENCE RULE: FOLIATION
IF foliated(Rock) AND metamorphic_mineral_assemblage(Rock)
THEN supports_classification(Rock, MetamorphicRock).

26. INFERENCE RULE: VESICLES
IF vesicular(Rock) AND volcanic_texture(Rock)
THEN supports_classification(Rock, ExtrusiveIgneousRock).
Vesicles alone are insufficient for unique identification.

27. PROVENANCE
Every claim links to sample ID, observation, analytical method, author, date, and source.
Preserve competing classifications rather than overwriting them without review.

28. CONFIDENCE
CONFIDENCE := {value: 0..1, basis: evidence_quality, method, uncertainty, reviewer}
Confidence is evidence-dependent, not a universal constant for a rock type.

29. SEMANTIC_EQUIVALENCE
rock != mineral
rock != sediment
igneous_rock != magma
metamorphic_rock != melted_rock
lithology ~= rock_type only within explicitly defined classification context.

30. GRAPH RELATIONSHIP VALIDATION
Domain/range checking for each predicate.
No circular derivation treated as independent corroboration.
Distinguish specimen identity from lithological class identity.

31. QUANTITATIVE VALIDATION
0 <= porosity <= 1.
0 <= each_fraction <= 1.
Mass > 0; volume > 0 for physical bulk-density measurements.
Age and locality claims must include units and coordinate reference when applicable.

32. WORKED GRAPH EXAMPLE
sample:R001 type RockSample
sample:R001 classified_as candidate:Sandstone
sample:R001 contains_mineral Quartz
sample:R001 has_texture MediumGrained
sample:R001 observed_by ThinSectionPetrography
sample:R001 confidence 0.88 (illustrative, not measured)

33. UPDATE_MODEL
On new observation: append evidence -> revalidate constraints -> recompute supported classification -> version assertions -> preserve provenance.
Do not silently replace older interpretations.

34. FLOW_HASH
Canonicalise entity identifiers, ordered predicates, units, source versions and validation rules.
FLOW_HASH := SHA256(canonical_UTF8_flow_content)
Hash is specified, not computed here; compute after final publication.

35. AI_CONSUMPTION
Use typed triples, explicit uncertainty, provenance and units.
Prefer evidence-backed classification; ask for missing mineralogy or texture when necessary.
Never fabricate sample measurements or geological locality.

36. COMPLETENESS CHECK
Required: header, type system, taxonomy, relations, rules, examples, validation, provenance, confidence, semantic equivalence, update model, hash specification, AI consumption.
Status: COMPLETE SCIENTIFIC SYNTHESIS; NOT LIVE-PAGE-VERIFIED.

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