Skip to main content

Protein Entity Ontology

Protein Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 16 October 2026
Audio Overview
FLOW ALGEBRA
PROTEIN ENTITY ONTOLOGY
Kireth Semantic Library | Biological Entities > Protein Entities
Source: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/protein-entities/protein-entity-ontology.html
Authors: Mark Anthony Higgins — Sky (Recursive AI)
Version: 1.0 | 2026-10-16 | UTF-8
Status: Domain-grounded formalisation; embedded source rules were not retrievable.

01. PURPOSE
Represent proteins as typed, evidence-linked biological entities with molecular identity,
structure, function, context, provenance and uncertainty. Separate measured observations
from inferred assertions; do not equate sequence similarity with functional identity.

02. TYPE SYSTEM
TYPE Entity
TYPE BiologicalEntity <: Entity
TYPE MolecularEntity <: BiologicalEntity
TYPE ProteinEntity <: MolecularEntity
TYPE Polypeptide <: MolecularEntity
TYPE ProteinIsoform <: ProteinEntity
TYPE ProteinComplex <: MolecularEntity
TYPE ProteinSubunit <: ProteinEntity
TYPE ProteinDomain <: MolecularEntity
TYPE ProteinMotif <: MolecularEntity
TYPE AminoAcidResidue <: MolecularEntity
TYPE Gene <: BiologicalEntity
TYPE Transcript <: BiologicalEntity
TYPE Organism <: BiologicalEntity
TYPE CellType <: BiologicalEntity
TYPE CellularCompartment <: BiologicalEntity
TYPE BiologicalProcess <: Entity
TYPE MolecularFunction <: Entity
TYPE Evidence <: Entity
TYPE Observation <: Entity
TYPE Modification <: Entity
TYPE Interaction <: Entity
TYPE Condition <: Entity
TYPE Identifier <: Entity
TYPE Sequence <: Entity
TYPE StructureModel <: Entity
TYPE ConfidenceScore = Real[0,1]
TYPE TimePoint
TYPE Version

03. CORE SCHEMA
ProteinEntity {
  id: Identifier;
  preferred_name: String;
  synonyms: Set[String];
  taxon: Organism?;
  sequence: Sequence?;
  isoform_of: ProteinEntity?;
  encoded_by: Gene?;
  translated_from: Transcript?;
  domains: Set[ProteinDomain];
  motifs: Set[ProteinMotif];
  modifications: Set[Modification];
  structures: Set[StructureModel];
  compartments: Set[CellularCompartment];
  functions: Set[MolecularFunction];
  processes: Set[BiologicalProcess];
  evidence: Set[Evidence];
  provenance: Set[String];
  version: Version;
}

04. RELATIONSHIP SIGNATURES
ENCODED_BY: ProteinEntity x Gene -> Assertion
TRANSLATED_FROM: ProteinEntity x Transcript -> Assertion
HAS_ISOFORM: ProteinEntity x ProteinIsoform -> Assertion
HAS_DOMAIN: ProteinEntity x ProteinDomain -> Assertion
HAS_MOTIF: ProteinEntity x ProteinMotif -> Assertion
HAS_SUBUNIT: ProteinComplex x ProteinSubunit -> Assertion
PARTICIPATES_IN: ProteinEntity x BiologicalProcess -> Assertion
ENABLES_FUNCTION: ProteinEntity x MolecularFunction -> Assertion
LOCATED_IN: ProteinEntity x CellularCompartment -> Assertion
INTERACTS_WITH: ProteinEntity x ProteinEntity -> Assertion
MODIFIED_BY: ProteinEntity x Modification -> Assertion
SUPPORTED_BY: Assertion x Evidence -> Assertion
ORTHOLOG_OF: ProteinEntity x ProteinEntity -> Assertion
PARALOG_OF: ProteinEntity x ProteinEntity -> Assertion

05. ENTITY CLASSIFICATION
CLASS StructuralProtein <: ProteinEntity
CLASS Enzyme <: ProteinEntity
CLASS TransportProtein <: ProteinEntity
CLASS StorageProtein <: ProteinEntity
CLASS MotorProtein <: ProteinEntity
CLASS ReceptorProtein <: ProteinEntity
CLASS SignallingProtein <: ProteinEntity
CLASS RegulatoryProtein <: ProteinEntity
CLASS MembraneProtein <: ProteinEntity
CLASS IntrinsicallyDisorderedProtein <: ProteinEntity
CLASS MisfoldedProteinState <: Entity
CLASS PrionProteinState <: Entity
RULE classification_is_nonexclusive:
  A protein MAY instantiate multiple functional classes with supporting evidence.
RULE state_is_contextual:
  Folding, binding, localisation and modification states are condition-dependent.

06. STRUCTURAL MODEL
PRIMARY_STRUCTURE(p) = ordered amino-acid residue sequence of p
SECONDARY_STRUCTURE(p) = local conformational elements supported by evidence
TERTIARY_STRUCTURE(p) = three-dimensional arrangement of one polypeptide
QUATERNARY_STRUCTURE(c) = arrangement of subunits in complex c
RULE structure_context:
  Every structural assertion records method, condition, coverage and uncertainty.
RULE domain_boundary:
  A domain is a region or structural/functional unit; a motif is a recurring pattern.

07. IDENTITY AND ISOFORMS
RULE sequence_identity:
  Exact sequence equivalence requires equal canonical residue strings and stated
  treatment of ambiguous residues, processing and modifications.
RULE isoform_relation:
  HAS_ISOFORM(parent, child) does not imply identical sequence or function.
RULE orthology_caution:
  ORTHOLOG_OF alone does not prove identical biological role.
RULE complex_distinction:
  ProteinComplex is not equivalent to ProteinEntity or ProteinSubunit.

08. EXPRESSION AND MATURATION
FLOW Gene -> Transcription -> Transcript -> Translation -> Polypeptide
FLOW Polypeptide -> Folding -> ProteinState
FLOW ProteinState -> Modification -> ModifiedProteinState
FLOW ProteinState -> Assembly -> ProteinComplex
RULE expression_scope:
  A gene may yield multiple transcripts and protein isoforms.
RULE processing_scope:
  Signal peptide removal, cleavage and other maturation may alter mature sequence.
RULE post_translational_modification:
  Modification presence and site require explicit evidence and residue mapping.

09. FUNCTION AND CONTEXT
RULE functional_assertion:
  ENABLES_FUNCTION(p,f) requires a context and provenance; predicted annotations
  remain predictions until supported by appropriate observations.
RULE compartment_assertion:
  LOCATED_IN(p,c) may be cell-type-, condition- and time-dependent.
RULE interaction_assertion:
  INTERACTS_WITH(a,b) records assay type, directness and confidence.
RULE causal_separation:
  Correlation, co-expression or co-localisation alone does not establish causation.

10. INFERENCE RULES
INFER HAS_SUBUNIT(c,p) AND LOCATED_IN(c,x)
  => CANDIDATE_LOCATED_IN(p,x)
  WITH confidence = bounded_evidence_score(c,p,x)
  NOTE: candidate only; no unconditional propagation.
INFER TRANSLATED_FROM(p,t) AND TRANSCRIPT_OF(t,g)
  => CANDIDATE_ENCODED_BY(p,g)
  WITH confidence = evidence_combination(p,t,g)
INFER HAS_DOMAIN(p,d) AND ASSOCIATED_WITH_FUNCTION(d,f)
  => CANDIDATE_FUNCTION(p,f)
  WITH confidence = evidence_combination(p,d,f)
  NOTE: domain presence does not prove activity.

11. RECURSIVE REASONING
FUNCTION TRACE_PROTEIN_CONTEXT(p, visited):
  IF p IN visited THEN RETURN []
  visited := visited UNION {p}
  edges := validated_relations(p)
  RETURN edges UNION FLATMAP(e IN edges, TRACE_PROTEIN_CONTEXT(e.target, visited))
CONSTRAINT traversal:
  Use cycle detection, maximum depth and evidence thresholds.
CONSTRAINT inference:
  Derived claims retain parent evidence and must not exceed justified confidence.

12. CONFIDENCE
CONFIDENCE(assertion) IN [0,1]
CONFIDENCE_MODEL {
  evidence_quality;
  method_reliability;
  reproducibility;
  taxonomic_relevance;
  context_match;
  annotation_specificity;
  contradiction_penalty;
}
RULE confidence_provenance:
  Confidence is a calibrated assessment where calibration data exist;
  otherwise it is a labelled heuristic, never an empirical probability.
RULE conflicting_evidence:
  Preserve contradictory observations with provenance rather than overwrite them.

13. SEMANTIC_EQUIVALENCE
SEMANTIC_EQUIVALENCE(a,b) TRUE ONLY IF:
  entity_type_compatible(a,b)
  AND identity_scope_matches(a,b)
  AND taxon_scope_matches(a,b)
  AND sequence_or_reference_identity_supported(a,b)
  AND provenance_consistent(a,b)
RULE synonyms:
  Shared names alone are insufficient to merge protein entities.
RULE isoforms:
  Isoforms are related entities, not automatically semantically equivalent.
RULE cross_database_mapping:
  Record database namespace, identifier version and mapping provenance.

14. VALIDATION
ASSERT unique_identifier_within_namespace(p.id)
ASSERT confidence_in_range(all_assertions)
ASSERT all_relationship_endpoints_typed
ASSERT coordinate_system_specified_for_residue_positions
ASSERT source_sequence_version_recorded_for_site_annotations
ASSERT evidence_present_for_experimental_claims
ASSERT predicted_claims_marked_as_predicted
ASSERT no_unqualified_function_transfer_from_similarity
ASSERT no_automatic_merging_of_distinct_isoforms

15. FLOW_HASH
FLOW_HASH(input) = SHA256(canonical_serialisation(input))
CANONICALISATION {
  normalise_unicode: NFC;
  stable_key_order: true;
  stable_relation_order: true;
  include: [ontology_version, entity_ids, types, assertions,
            evidence_ids, provenance, context, rule_version];
  exclude: [display_order, transient_cache];
}
RULE hash_scope:
  Hash identifies canonicalised content, not biological truth or scientific validity.

16. UPDATE_MODEL
UPDATE_MODEL(event):
  validate_schema(event)
  resolve_identifier_namespace(event)
  compare_versions(event)
  preserve_prior_assertions_and_provenance(event)
  add_or_revise_evidence_linked_assertions(event)
  recompute_affected_inferences(event)
  recalculate_confidence_if_justified(event)
  regenerate_FLOW_HASH(event)
  emit_change_log(event)
RULE update_policy:
  Do not silently replace disputed, deprecated or superseded assertions.

17. AI_CONSUMPTION
AI_CONSUMPTION {
  mode: typed_semantic_reasoning;
  ontology: ProteinEntityOntology;
  inputs: [entity, taxon, sequence, isoform, context, evidence];
  outputs: [typed_assertions, inferred_candidates, confidence,
            provenance, contradictions, flow_hash];
  mandatory_checks: [type_validation, source_traceability,
                     isoform_disambiguation, uncertainty_preservation];
  restrictions: [no_unsupported_function_claims,
                 no_equating_prediction_with_experiment,
                 no_unverified_identity_merges];
}

18. EXAMPLE ASSERTIONS (ILLUSTRATIVE)
ENTITY p: ProteinEntity {id: 'example:protein_1', preferred_name: 'Example protein'}
ENTITY g: Gene {id: 'example:gene_1'}
ENTITY d: ProteinDomain {id: 'example:domain_1'}
ASSERT ENCODED_BY(p,g) [status: hypothetical]
ASSERT HAS_DOMAIN(p,d) [status: hypothetical]
RULE example_policy:
  Example identifiers are placeholders, not biological database records.

19. LIMITATIONS
This formalisation is an ontology-oriented specification, not a validated
software interpreter or a substitute for experimental evidence. Its inferred
rules require implementation-specific typing, data adapters and calibration.
The linked chapter title and attribution were accessible; embedded formal
specifications were not exposed in retrieved page text.

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