FLOW ALGEBRA
PROTEIN SUBUNIT ONTOLOGY
Kireth Semantic Library | Version 1.0 | 2026-10-16
Authors: Mark Higgins — Sky (Recursive AI)
Source: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/protein-entities/protein-subunit-ontology.html
Status: Domain-grounded formalisation; source chapter text not independently verified.
01 | SCOPE
flow ProteinSubunitOntology v1.0
DOMAIN: BiologicalEntity > ProteinEntity > ProteinSubunit
PURPOSE: Represent constituent polypeptide chains, their identity, stoichiometry, assembly, interactions and functional roles in protein complexes.
DISTINCTION: A protein subunit is a constituent of an assembly; a protein domain is a structural or functional region within a polypeptide. Subunits and domains are not interchangeable.
02 | TYPE SYSTEM
TYPE ProteinSubunit <: ProteinEntity
TYPE PolypeptideChain <: ProteinEntity
TYPE ProteinComplex <: BiologicalAssembly
TYPE Oligomer <: ProteinComplex
TYPE Homomer <: Oligomer
TYPE Heteromer <: Oligomer
TYPE AssemblyState <: BiologicalState
TYPE BindingInterface <: StructuralRegion
TYPE ProteinDomain <: StructuralRegion
TYPE ProteinIsoform <: ProteinEntity
TYPE Cofactor <: ChemicalEntity
TYPE ProteinFunction <: BiologicalFunction
TYPE Evidence <: ScientificEvidence
TYPE Context <: BiologicalContext
TYPE SequenceIdentifier <: Identifier
TYPE StructureIdentifier <: Identifier
TYPE TaxonIdentifier <: Identifier
TYPE ConfidenceScore = Real[0,1]
TYPE StoichiometricCount = Integer[1,+infinity]
03 | ENTITY SCHEMA
ENTITY ProteinSubunit {
id: Identifier REQUIRED
name: String REQUIRED
sequence_id: SequenceIdentifier OPTIONAL
isoform_id: Identifier OPTIONAL
taxon_id: TaxonIdentifier OPTIONAL
parent_complex_id: Identifier OPTIONAL
chain_label: String OPTIONAL
structure_id: StructureIdentifier OPTIONAL
stoichiometric_count: StoichiometricCount OPTIONAL
assembly_state: AssemblyState OPTIONAL
cellular_location: String OPTIONAL
functional_role: ProteinFunction OPTIONAL
evidence: Evidence[]
confidence: ConfidenceScore
context: Context
}
ENTITY ProteinComplex {
id: Identifier REQUIRED
subunit_members: ProteinSubunit[]
stoichiometry: Map[Identifier,StoichiometricCount]
biological_assembly_evidence: Evidence[]
confidence: ConfidenceScore
}
04 | RELATIONSHIP VOCABULARY
RELATION IS_A(ProteinSubunit,ProteinEntity)
RELATION PART_OF(ProteinSubunit,ProteinComplex)
RELATION HAS_SUBUNIT(ProteinComplex,ProteinSubunit)
RELATION HAS_CHAIN(ProteinSubunit,PolypeptideChain)
RELATION INTERACTS_WITH(ProteinSubunit,ProteinSubunit)
RELATION BINDS_AT(ProteinSubunit,BindingInterface)
RELATION CONTAINS_DOMAIN(ProteinSubunit,ProteinDomain)
RELATION DERIVED_FROM_ISOFORM(ProteinSubunit,ProteinIsoform)
RELATION BINDS_COFACTOR(ProteinSubunit,Cofactor)
RELATION CONTRIBUTES_TO(ProteinSubunit,ProteinFunction)
RELATION LOCATED_IN(ProteinSubunit,Context)
RELATION ASSEMBLES_INTO(ProteinSubunit,ProteinComplex)
RELATION SUPPORTED_BY(Relationship,Evidence)
RELATION HAS_STOICHIOMETRY(ProteinComplex,Map)
RELATION SEMANTIC_EQUIVALENCE(Entity,Entity)
05 | CLASSIFICATION
CLASSIFY complex AS Homomer IF count(distinct(sequence_identity(subunits))) = 1 AND evidence_supports_identity
CLASSIFY complex AS Heteromer IF count(distinct(sequence_identity(subunits))) > 1 AND evidence_supports_identity
CLASSIFY complex AS Dimer IF sum(stoichiometry.values) = 2
CLASSIFY complex AS Trimer IF sum(stoichiometry.values) = 3
CLASSIFY complex AS Tetramer IF sum(stoichiometry.values) = 4
CLASSIFY complex AS Oligomer IF multiple_subunits_form_defined_assembly
NOTE: Identical chain labels alone do not establish molecular identity.
NOTE: Structural model asymmetric units are not necessarily biological assemblies.
NOTE: Different isoforms may constitute distinct molecular species; classification depends on stated identity criterion.
06 | CONSTRAINTS AND INVARIANTS
INVARIANT ProteinSubunit.id IS UNIQUE WITHIN namespace
INVARIANT stoichiometric_count >= 1 WHEN KNOWN
INVARIANT complex.stoichiometry keys REFER_TO declared subunits
INVARIANT HAS_SUBUNIT(c,s) IMPLIES PART_OF(s,c)
INVARIANT PART_OF(s,c) DOES_NOT_IMPLY s has no other assembly membership
INVARIANT protein domain != protein subunit
INVARIANT observed physical contact != proven functional interaction
INVARIANT sequence homology != sequence identity
INVARIANT unknown stoichiometry != zero stoichiometry
INVARIANT evidence context retained for all inferred relationships
07 | ASSEMBLY OPERATIONS
OP REGISTER_SUBUNIT(s,source) -> validated_subunit
REQUIRE s.id AND s.name
CHECK identifier provenance, sequence identity and context
ATTACH source as evidence
RETURN validated_subunit
END
OP ADD_TO_COMPLEX(s,c,count) -> updated_complex
REQUIRE count >= 1
REQUIRE evidence of biological assembly or status = hypothesis
UPDATE c.stoichiometry[s.id] = count
LINK PART_OF(s,c)
RETURN updated_complex
END
OP INFER_ASSEMBLY_CLASS(c) -> classification
REQUIRE c.subunit_members not empty
IF sequence identities unknown THEN RETURN unresolved
EVALUATE homomer/heteromer and oligomeric order
RETURN classification WITH evidence AND confidence
END
08 | STRUCTURAL AND FUNCTIONAL REASONING
RULE R01: experimentally_supported_interface(s1,s2) -> candidate INTERACTS_WITH(s1,s2)
RULE R02: complex_assembly_evidence(c,s) -> PART_OF(s,c)
RULE R03: subunit_contributes_activity(s,c,f) -> CONTRIBUTES_TO(s,f) [context=c]
RULE R04: loss_of_subunit_disrupts_complex(s,c) -> candidate essential_for_assembly(s,c)
RULE R05: mutation_at_interface(s,v) -> candidate altered_binding(s,v)
RULE R06: altered_binding(s,v) AND verified_assay -> candidate changed_complex_function
RULE R07: localisation_match(s,c) -> supportive_evidence_only
RULE R08: coexpression(s1,s2) -> supportive_evidence_only; NOT proof of physical association
RULE R09: subunit_stoichiometry(c) -> assembly_composition(c) WHEN supported
RULE R10: transient_binding(s,c) -> distinguish transient_member from stable_core_member
09 | BIOLOGICAL EXAMPLES
EXAMPLE haemoglobin_A: alpha-globin x2 + beta-globin x2; heterotetramer in adult human haemoglobin A.
EXAMPLE immunoglobulin_G: two heavy chains + two light chains; disulphide-linked heterotetrameric core.
EXAMPLE proteasome_20S: multiple alpha and beta subunits arranged in four heptameric rings in canonical eukaryotic 20S core.
EXAMPLE ATP_synthase: multisubunit complex; exact composition varies by organism and assembly.
EXAMPLE ribosome: ribosomal proteins associate with rRNA; treat as ribonucleoprotein assembly, not protein-only complex.
NOTE: Examples illustrate classes; organism-specific details require matching evidence.
10 | RECURSIVE REASONING
FLOW RECURSIVE_ASSEMBLY_RESOLUTION(seed,visited,depth,max_depth)
IF depth >= max_depth THEN RETURN bounded_result
IF seed.id IN visited THEN RETURN cycle_reference(seed.id)
visited := visited UNION {seed.id}
neighbours := verified PART_OF / HAS_SUBUNIT / INTERACTS_WITH edges
FOR EACH n IN neighbours:
CHECK type, evidence, context, provenance
EMIT edge(seed,n)
RECURSIVE_ASSEMBLY_RESOLUTION(n,visited,depth+1,max_depth)
END
RETURN merged_graph WITH provenance
END
RECURSION_LIMIT: configurable finite integer
CYCLE_HANDLING: preserve valid graph cycles; prevent infinite traversal
11 | CONFIDENCE
CONFIDENCE:
range: [0,1]
evidence_dimensions: [direct_structure,biochemical_assay,interaction_assay,curated_annotation,computational_prediction]
aggregation: calibrated_method_required
missing_evidence: unknown_not_false
source_conflict: preserve_alternatives
predicted_complex: label_as_predicted
direct_observation: retain experimental_conditions
RULE: Confidence values MUST NOT be fabricated; null if uncalibrated.
RULE: Independent evidence can strengthen confidence only with dependency-aware aggregation.
12 | SEMANTIC_EQUIVALENCE
SEMANTIC_EQUIVALENCE:
canonical_concept: ProteinSubunit
aliases: [protein subunit, constituent protein chain, complex subunit]
exact_match_requires: [compatible_sequence_identity,compatible_assembly_context,compatible_taxon,compatible_isoform]
related_not_equivalent: [protein domain, protein motif, protein complex, polypeptide family]
cross_reference: [UniProt,Protein Data Bank,InterPro,Gene Ontology]
RULE: Alias similarity alone does not establish identity.
RULE: PDB chain identifier and biological subunit identity require assembly mapping.
13 | PROVENANCE AND VERSIONING
PROVENANCE:
source_url: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/protein-entities/protein-subunit-ontology.html
source_text_verified: false
generation_basis: established_protein_biology
author_credit: Mark Higgins — Sky (Recursive AI)
version: 1.0
created: 2026-10-16
licence: refer_to_current_kireth_research_licence
14 | FLOW_HASH
FLOW_HASH:
algorithm: SHA-256
canonicalisation: UTF-8 + LF + normalised field ordering
input: canonical_flow_content_excluding_FLOW_HASH_value
value: COMPUTE_ON_PUBLICATION
purpose: integrity_and_version_tracking
NOTE: Hash value is not claimed until computed from the final published artefact.
15 | UPDATE_MODEL
UPDATE_MODEL:
trigger: [new_structure,new_sequence_annotation,new_assembly_evidence,new_interaction_data,ontology_revision]
procedure:
- validate new source and identifiers
- compare previous and candidate entity graphs
- retain conflicting hypotheses and contexts
- recalculate affected classifications and evidence links
- increment version and regenerate FLOW_HASH
- record changelog and provenance
rollback: restore_prior_version_if_validation_fails
16 | AI_CONSUMPTION
AI_CONSUMPTION:
format: typed_flow_algebra_text
encoding: UTF-8
intended_tasks: [entity_resolution,knowledge_graph_ingestion,assembly_reasoning,protein_function_retrieval,scientific_education]
required_controls: [provenance_tracking,uncertainty_preservation,context_validation,cycle_detection]
forbidden_inferences: [coexpression_implies_binding,sequence_similarity_implies_identity,model_contact_implies_function]
outputs: [typed_entities,typed_relationships,confidence_annotations,provenance,validation_warnings]
interoperability: [RDF_mapping_optional,JSON_LD_mapping_optional,ontology_crosswalk_optional]
17 | VALIDATION TESTS
TEST T01: haemoglobin_A(alpha=2,beta=2) -> Heteromer AND Tetramer
TEST T02: identical_chain_dimer(A=2) -> Homomer AND Dimer
TEST T03: unknown_sequence_identity -> assembly_identity_class = unresolved
TEST T04: count=0 -> reject_invalid_stoichiometry
TEST T05: PDB_asymmetric_unit_only -> do_not_assert_biological_assembly
TEST T06: domain_part_of_protein -> not_automatically_protein_subunit
TEST T07: coexpression_only -> no_verified_physical_interaction
TEST T08: missing_evidence -> confidence = null
TEST T09: recursive_graph_cycle -> terminate_with_cycle_reference
TEST T10: conflicting_sources -> preserve_conflict_and_provenance
END FLOW ALGEBRA
Download Code
Copy to Clipboard