FLOW ALGEBRA
Crop Plant Ontology — Kireth Semantic Library
Version: 1.0 | Date: 2026-10-19
Source: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/plant-entities/crop-plant-ontology.html
Authors: Mark Higgins — Sky (Recursive AI)
PURPOSE
Represent crop plants as biological organisms managed for agricultural production, with typed taxonomic, anatomical, genetic, environmental, agronomic and provenance-aware relationships. This is a declarative semantic flow specification, not executable software.
FLOW "CropPlantOntology" v1.0
ENTITY TYPES
CropPlant <: CultivatedPlant <: PlantOrganism
CropSpecies <: Taxon
Cultivar <: CultivatedPlantGroup
Landrace <: CultivatedPlantPopulation
CropVariety <: CultivatedPlantGroup
CropIndividual <: PlantOrganism
CropPopulation <: BiologicalPopulation
CropTrait <: BiologicalTrait
CropOrgan <: PlantOrgan
Seed <: ReproductiveStructure
Root <: CropOrgan
Stem <: CropOrgan
Leaf <: CropOrgan
Flower <: CropOrgan
Fruit <: CropOrgan
Tuber <: StorageOrgan
Grain <: HarvestedPlantMaterial
CropField <: AgriculturalSite
Soil <: EnvironmentalMedium
Climate <: EnvironmentalContext
WaterSupply <: AgriculturalResource
NutrientSupply <: AgriculturalResource
Pest <: BiologicalAgent
Pathogen <: BiologicalAgent
Pollinator <: AnimalOrganism
CropManagementPractice <: AgriculturalProcess
Sowing <: CropManagementPractice
Irrigation <: CropManagementPractice
Fertilisation <: CropManagementPractice
Harvesting <: CropManagementPractice
YieldMeasurement <: Observation
CropObservation <: Observation
EvidenceSource <: ProvenanceSource
CROP GROUPS (NON-EXCLUSIVE, PURPOSE-BASED)
CerealCrop, PulseCrop, OilseedCrop, RootCrop, TuberCrop,
VegetableCrop, FruitCrop, FibreCrop, ForageCrop,
SugarCrop, BeverageCrop, MedicinalCrop
RELATIONSHIP TYPES
IS_A(subject:Entity, object:EntityType)
INSTANCE_OF(subject:Entity, object:Taxon)
HAS_CULTIVAR(subject:CropSpecies, object:Cultivar)
HAS_TRAIT(subject:CropPlant, object:CropTrait)
HAS_ORGAN(subject:CropPlant, object:CropOrgan)
GROWN_IN(subject:CropPopulation, object:CropField)
HAS_SOIL(subject:CropField, object:Soil)
EXPERIENCES_CLIMATE(subject:CropField, object:Climate)
REQUIRES_RESOURCE(subject:CropPlant, object:AgriculturalResource)
MANAGED_BY(subject:CropPopulation, object:CropManagementPractice)
AFFECTED_BY(subject:CropPopulation, object:BiologicalAgent)
POLLINATED_BY(subject:CropPlant, object:Pollinator)
PRODUCES(subject:CropPlant, object:PlantMaterial)
MEASURED_BY(subject:CropPopulation, object:YieldMeasurement)
OBSERVED_IN(subject:CropTrait, object:CropObservation)
SUPPORTED_BY(subject:Assertion, object:EvidenceSource)
DERIVED_FROM(subject:Assertion, object:Assertion)
TYPE CONSTRAINTS
CropPlant is a plant organism cultivated or managed for an intended product or service.
Crop status is contextual: wild relatives and non-crop individuals may belong to the same species.
Crop categories describe use and may overlap; they are not formal taxonomic ranks.
Cultivar, species, landrace and individual must remain distinct identity levels.
Pollination relationships are conditional: not all crops require animal pollinators.
Resource requirements depend on genotype, developmental stage and environment.
SEMANTIC RULES
RULE crop_context:
IF PlantOrganism(x) AND CultivatedFor(x, purpose, context)
THEN CropPlant(x, context).
RULE taxon_membership:
IF INSTANCE_OF(individual, species) AND CropSpecies(species)
THEN CandidateCropIndividual(individual);
REQUIRE cultivation evidence before asserting CropPlant(individual).
RULE harvest_product:
IF HAS_ORGAN(crop, organ) AND HarvestedAs(organ, product)
THEN PRODUCES(crop, product) [context-dependent].
RULE environmental_stress:
IF GROWN_IN(population, field) AND StressExposure(field, stress)
THEN PotentiallyAffectedBy(population, stress);
DO NOT infer observed damage without evidence.
RULE yield_observation:
IF MEASURED_BY(population, measurement)
THEN YieldClaim(population, measurement.value, measurement.unit,
measurement.area, measurement.period, measurement.method).
SEMANTIC_EQUIVALENCE
"crop plant" ~ "agricultural crop organism" [contextual]
"cultivar" != "species"
"crop" != "harvested product" [distinguish living organism from output]
"variety" may be ambiguous between botanical rank and cultivated variety;
resolve using source context and nomenclatural standard.
CONFIDENCE
Each assertion carries confidence: real in [0,1].
confidence = evaluate(source_quality, directness, replication,
taxonomic_resolution, spatial_temporal_fit).
Unknown is not equivalent to false.
Derived assertions must not exceed evidence support without explicit justification.
PROVENANCE
assertion_id, source_id, source_uri, author_or_institution,
observation_method, observed_at, recorded_at, location_resolution,
taxon_authority, licence, revision_id.
Distinguish observed, reported, inferred and hypothetical statements.
FLOW_HASH
canonicalise(entity identifiers, typed relationships, rule version,
evidence identifiers, timestamps and ontology version);
FLOW_HASH = SHA256(canonical_serialisation).
Hash denotes content identity, not scientific validity.
UPDATE_MODEL
On new evidence:
validate types -> resolve taxonomic identifiers -> retain earlier version
-> attach provenance -> recompute affected inferences
-> recalculate confidence -> regenerate FLOW_HASH
-> publish versioned change log.
Preserve contradictory observations with their contexts rather than overwriting.
AI_CONSUMPTION
Input: crop question + contextual constraints + versioned evidence graph.
Resolve: crop identity -> relevant traits -> environment -> management
-> observations -> supported inferences.
Output: typed facts, qualifying conditions, provenance, confidence,
unresolved uncertainties and relevant ontology links.
Never convert potential crop response into guaranteed yield or treatment advice.
VALIDATION TESTS
1. A wheat cultivar is not inferred to be a distinct species.
2. A wild plant of a cultivated species is not automatically a managed crop.
3. A tomato may belong to more than one use-based crop category.
4. Yield without units, area and measurement period is incomplete.
5. A suspected pest association is not treated as a confirmed infestation.
6. Evidence updates preserve prior versions and change provenance.
END FLOW
Download Code
Copy to Clipboard