AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
flow "SoilSampleEntity" v1.0
# Kireth Research Semantic Library — Soil Sample Entity
# Original Flow Algebra model; not a verified extraction of the linked ontology.
IDENTITY:
name: "Soil Sample Entity"
class: "EngineeringEntity > GeotechnicalEngineeringEntity > SoilSampleEntity"
domain: [geotechnical_engineering, soil_mechanics, sampling, laboratory_testing]
definition: "A traceable portion of soil collected from a defined ground location and depth for identification, characterisation or testing."
distinguishes_from: [in_situ_soil_mass, rock_core, groundwater_sample, test_specimen]
AUTHORS:
primary: "Mark Higgins — Kireth Research"
collaborator: "Sky — Recursive AI"
licence: "Kireth Open Research Licence — open use with citation required"
SOURCE:
url: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/geotechnical-engineering-entities/soil-sample-entity-ontology.html"
citation_backlink: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/geotechnical-engineering-entities/soil-sample-entity-ontology.html"
source_status: "User-provided URL; this is an independently constructed semantic model, not a verified transcription."
PURPOSE:
- "Represent soil samples as distinct, traceable engineering entities."
- "Connect field origin, collection method, handling, test results and engineering interpretation."
- "Prevent unsupported generalisation from a small specimen to an entire ground layer."
- "Preserve uncertainty, sample disturbance and evidence provenance."
STATE_MODEL:
S = (I, R, B, K)
I: "Sample identity, source position, depth interval, collection time, container, handling and observed properties."
R: "Relations to borehole, trial pit, ground layer, tests, laboratory, project and interpretation."
B: "Physical, procedural, quality, representativeness and safety constraints."
K: "Field logs, chain-of-custody records, laboratory certificates, standards and calibrated observations."
lifecycle: [planned, collected, labelled, transported, received, prepared, tested, archived, disposed]
integrity_states: [unknown, intact, disturbed, degraded, contaminated, lost]
ENTITIES:
SoilSampleEntity:
identifiers: [sample_id, project_id, location_id, container_id, chain_of_custody_id]
origin: [borehole_id, trial_pit_id, coordinates, datum, top_depth_m, bottom_depth_m, collection_datetime]
classification: [bulk, disturbed, undisturbed_intended, block, tube, split_spoon, bag]
collection: [sampler_type, recovery_length_m, recovery_ratio, sampling_method, operator]
physical: [mass_kg, volume_m3, natural_water_content, bulk_density, particle_size_distribution]
descriptive: [colour, texture, plasticity, structure, consistency, odour, inclusions]
storage: [container_type, seal_status, storage_temperature, moisture_protection, elapsed_time]
condition: [disturbance_grade, moisture_loss, segregation, oxidation, contamination, damage]
evidence: [field_log, photographs, custody_events, laboratory_report, calibration_records]
uncertainty: [location_uncertainty, depth_uncertainty, measurement_uncertainty, sampling_bias]
RelatedEntities:
- GroundEntity
- SoilEntity
- GeotechnicalLayer
- Borehole
- TrialPit
- SamplingEquipment
- SoilTest
- Laboratory
- TestSpecimen
- GroundwaterEntity
- GeotechnicalInterpretation
SampleTypes:
disturbed: "Useful for identification and selected index tests; natural fabric may not be preserved."
nominally_undisturbed: "Intended to preserve fabric; actual disturbance must still be assessed."
bulk: "Larger quantity often used for compaction, grading and material assessment."
environmental: "Requires analyte-specific containers, preservation and custody procedures."
PATHWAYS:
- "Project -> GroundInvestigation -> SamplingLocation -> SoilSampleEntity"
- "SoilSampleEntity -> extracted_from -> GeotechnicalLayer"
- "SoilSampleEntity -> collected_using -> SamplingMethod"
- "SoilSampleEntity -> transferred_via -> ChainOfCustodyEvent"
- "SoilSampleEntity -> prepared_as -> TestSpecimen"
- "TestSpecimen -> measured_by -> SoilTest"
- "SoilTest -> produces -> TestResult"
- "TestResult -> informs -> GroundModel"
- "GroundModel -> supports -> EngineeringAssessment"
- "SampleCondition -> constrains -> ValidTestSelection"
- "SampleProvenance -> supports -> EvidenceConfidence"
PHYSICAL_AND_DATA_CONSTRAINTS:
C01: "sample_id must be unique within the project's identifier namespace."
C02: "top_depth_m <= bottom_depth_m; depth reference and units must be declared."
C03: "Coordinates require a coordinate reference system and survey provenance."
C04: "A sample's recorded origin must match the associated field log or be flagged unresolved."
C05: "Sampling can alter soil fabric, stress state, pore pressure and water content."
C06: "A nominally undisturbed sample is not proof of undisturbed condition."
C07: "Laboratory results are valid only for the tested specimen and declared method/conditions."
C08: "A soil sample does not automatically represent all material within its parent stratum."
C09: "Loss of custody or incorrect labelling triggers a traceability review."
C10: "Preservation and holding requirements depend on test purpose and material."
C11: "Tests requiring natural structure need evidence of adequate sample quality."
C12: "Health hazards, including contaminated soils and pressurised sampling systems, require site-specific controls."
MEASUREMENT_MODEL:
water_content: "w = (mass_wet - mass_dry) / mass_dry; use consistent mass units."
bulk_density: "rho = mass_bulk / volume_bulk, where volume is reliably established."
dry_density: "rho_d = rho / (1 + w), where w is a decimal mass ratio."
void_ratio: "e = V_voids / V_solids, if phase volumes are established."
saturation: "S_r = V_water / V_voids, where void volume > 0."
note: "Derived values require compatible specimens, test conditions and recorded uncertainty."
MINI_RECURSION_ENGINE:
state: "S_t = (I_t, R_t, B_t, K_t)"
expand: "E_t = expand(I_t, R_t)"
validate: "V_t = {x in E_t | satisfies(x, B_t) and supported_by(x, K_t)}"
select: "x_star = argmax P(x | I_t, R_t, B_t, K_t) for x in V_t"
update: "I_(t+1) = incorporate(I_t, x_star, new_test_data, provenance)"
stop: "Stop when no justified new inference exists or required evidence is absent."
guard: "Do not infer untested strength, compressibility or contaminant levels from appearance alone."
INFERENCE_RULES:
R01: "IF sample_id missing THEN mark provenance_incomplete."
R02: "IF location or depth missing THEN restrict_stratigraphic_assignment."
R03: "IF seal broken AND moisture-sensitive test planned THEN flag potential_moisture_change."
R04: "IF sampling method disturbs fabric THEN restrict intact_structure_tests."
R05: "IF tube sample shows extrusion damage THEN reduce structure_preservation_confidence."
R06: "IF laboratory sample ID differs from field ID THEN quarantine interpretation until reconciled."
R07: "IF custody timestamps conflict THEN flag custody_anomaly."
R08: "IF sample condition deteriorated during transport THEN require quality review."
R09: "IF particle-size distribution measured THEN permit grading classification under declared scheme."
R10: "IF Atterberg limits measured THEN permit plasticity classification under declared scheme."
R11: "IF moisture content and density are measured compatibly THEN permit derived dry density."
R12: "IF sample quality inadequate for intended strength test THEN reject or qualify result."
R13: "IF neighbouring samples disagree THEN investigate heterogeneity before averaging."
R14: "IF laboratory method or units absent THEN mark result not independently reproducible."
R15: "IF evidence supports a ground-layer assignment THEN record assignment with uncertainty."
R16: "IF contamination suspected THEN apply appropriate handling and laboratory controls."
R17: "IF sample is consumed by testing THEN update remaining quantity and archive status."
R18: "IF engineering conclusion depends on one unrepresentative sample THEN require corroboration."
CONFIDENCE:
evidence_dimensions: [provenance, location_accuracy, preservation, representativeness, test_quality, repeatability]
high: "Traceable collection, appropriate preservation, documented tests and corroborating ground evidence."
medium: "Usable evidence with limited disturbance or spatial uncertainty, explicitly qualified."
low: "Uncertain origin, significant disturbance, missing methods or unresolved contradictory results."
policy: "Confidence is evidence-dependent; never assign numerical certainty without a justified model."
SEMANTIC_EQUIVALENCE:
aliases: [soil_specimen, geotechnical_soil_sample, ground_investigation_soil_sample]
narrower_than: [GeotechnicalSample]
not_equivalent_to: [SoilLayer, Borehole, TestResult, RockCore, GroundwaterSample]
context_rule: "A laboratory test specimen may be a prepared subset of the parent soil sample."
FLOW_HASH:
algorithm: "SHA-256"
canonicalisation: "UTF-8 LF text; exclude FLOW_HASH.value when computing a publication hash."
value: "COMPUTE_ON_PUBLICATION"
UPDATE_MODEL:
version: "1.0"
triggers: [new_sampling_data, revised_depth, custody_correction, laboratory_results, quality_review, standard_revision]
process: "Validate new evidence, preserve previous records, revise inferences, record author and timestamp."
provenance_policy: "Never silently overwrite raw field or laboratory observations."
review_required_for: [engineering_design_use, disputed_sample_origin, conflicting_test_results]
END_FLOW