FLOW ALGEBRA
EXTRACELLULAR PROTEIN ONTOLOGY
Kireth Semantic Library | Biological Entities > Protein Entities
Authors: Mark Higgins — Sky (Recursive AI)
Source: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/protein-entities/extracellular-protein-ontology.html
Version: 1.0 | 2026-10-16 | Encoding: UTF-8
Status: Domain-grounded formalisation; webpage's embedded rules not accessible in retrieved text.
01. DOMAIN
ontology ExtracellularProteinOntology extends ProteinEntityOntology
scope = {extracellular_space, extracellular_matrix, extracellular_fluid, secreted_protein, extracellular_vesicle_associated_protein}
interpretation = typed, context-sensitive, evidence-tracked
02. TYPES
entity Protein {id:IRI, name:String, organism:Taxon?, sequence:Sequence?, isoform:String?}
entity ExtracellularProtein extends Protein
entity SecretedProtein extends ExtracellularProtein
entity MatrixProtein extends ExtracellularProtein
entity SolubleExtracellularProtein extends ExtracellularProtein
entity VesicleAssociatedProtein extends Protein
entity ExtracellularCompartment {id:IRI, kind:CompartmentKind}
entity BiologicalProcess {id:IRI, name:String}
entity MolecularFunction {id:IRI, name:String}
entity ProteinComplex {id:IRI, members:Set<Protein>}
entity Modification {kind:String, residue:String?, position:Int?}
entity Evidence {source:IRI?, method:String, context:String?, observed_at:Date?, quality:Real[0,1]}
entity Claim {subject:IRI, predicate:String, object:IRI|String, evidence:Set<Evidence>, confidence:Real[0,1]}
enum CompartmentKind = {extracellular_region, extracellular_matrix, interstitial_fluid, blood_plasma, lymph, secreted_vesicle, cell_surface}
enum AssociationMode = {soluble, matrix_bound, vesicle_surface, vesicle_lumen, transiently_extracellular}
enum EvidenceStatus = {observed, inferred, predicted, disputed, unknown}
03. CLASSIFICATION
ExtracellularProtein(p) iff Protein(p) AND supported_localisation(p, extracellular_region)
SecretedProtein(p) iff ExtracellularProtein(p) AND supported_export(p, cell_to_extracellular)
MatrixProtein(p) iff ExtracellularProtein(p) AND supported_localisation(p, extracellular_matrix)
SolubleExtracellularProtein(p) iff ExtracellularProtein(p) AND supported_association(p, soluble)
# A signal peptide alone predicts possible secretion; it does not prove extracellular localisation.
# Proteins may occupy multiple compartments; localisation is not mutually exclusive.
# A protein detected outside cells after cell lysis is not automatically secreted.
04. EXAMPLES AND TYPED INSTANCES
instance collagen_type_I : MatrixProtein
instance fibronectin : MatrixProtein
instance laminin : MatrixProtein
instance elastin : MatrixProtein
instance albumin : SolubleExtracellularProtein
instance immunoglobulin_G : SolubleExtracellularProtein
instance fibrinogen : SolubleExtracellularProtein
instance extracellular_protease : ExtracellularProtein
# Examples identify commonly extracellular forms, not every isoform or condition.
05. RELATIONSHIPS
relation located_in(Protein, ExtracellularCompartment)
relation secreted_by(Protein, CellType)
relation binds_to(Protein, Protein|Molecule)
relation component_of(Protein, ProteinComplex|ExtracellularMatrix)
relation supports_process(Protein, BiologicalProcess)
relation has_function(Protein, MolecularFunction)
relation modified_by(Protein, Modification)
relation cleaved_by(Protein, Protein)
relation interacts_with(Protein, Protein)
relation regulates(Protein, BiologicalProcess)
relation derived_from(Protein, Gene)
relation transported_via(Protein, TransportPathway)
relation observed_in(Protein, Sample)
relation supported_by(Claim, Evidence)
relation homologous_to(Protein, Protein)
06. STRUCTURAL MODEL
protein_state(p) = (sequence, folding, modifications, oligomerisation, compartment, binding_partners)
extracellular_state(p,t,c) = (abundance, activity, stability, interactions, localisation, evidence)
# Extracellular function depends on molecular state and biological context.
07. PROCESS FLOW
flow CanonicalSecretion(p):
precondition = translated(p) AND has_ER_targeting_signal(p)
steps = [ER_targeting, translocation, folding_and_quality_control, Golgi_trafficking, vesicular_export, extracellular_release]
result = candidate_extracellular_localisation(p)
exception = {retained_in_ER, retained_in_Golgi, degraded, membrane_anchored}
flow NonCanonicalSecretion(p):
precondition = evidence_of_unconventional_export(p)
steps = [context_dependent_export_mechanism, extracellular_detection, independent_validation]
result = supported_export(p, cell_to_extracellular)
note = 'Mechanisms differ; no universal pathway is assumed.'
flow MatrixAssembly(p):
precondition = MatrixProtein(p) AND extracellular_presence(p)
steps = [molecular_interaction, assembly_or_crosslinking, matrix_incorporation, remodelling]
result = matrix_structure_or_function_change
flow ExtracellularProteolysis(p):
precondition = extracellular_presence(p) AND active_extracellular_protease
steps = [substrate_recognition, cleavage, fragment_release, functional_reassessment]
result = altered_abundance_or_activity(p)
08. BIOLOGICAL FUNCTIONS
function structural_support = {collagen, elastin, laminin, fibronectin}
function transport = {albumin, selected_lipoprotein_associated_proteins}
function immune_defence = {immunoglobulins, complement_components}
function coagulation = {fibrinogen, coagulation_factors}
function extracellular_signalling = {growth_factors, cytokines, extracellular_ligands}
function extracellular_remodelling = {matrix_metalloproteinases, protease_inhibitors}
# Membership of functional sets is context-dependent and non-exhaustive.
09. FORMAL INFERENCE
rule R01:
IF Protein(p) AND observed_in(p, validated_extracellular_fraction)
AND contamination_controls_passed(p)
THEN infer located_in(p, extracellular_region)
WITH confidence = combine_evidence(p)
rule R02:
IF located_in(p, extracellular_matrix) AND component_of(p, extracellular_matrix)
THEN infer MatrixProtein(p)
rule R03:
IF has_ER_targeting_signal(p) AND predicted_export(p)
THEN infer candidate_SecretedProtein(p)
NOT confirmed_SecretedProtein(p)
rule R04:
IF extracellular_detection(p) AND elevated_cell_lysis_markers(sample)
THEN reduce_confidence(located_in(p, extracellular_region))
rule R05:
IF binds_to(p, q) AND located_in(p, extracellular_region)
THEN infer possible_extracellular_interaction(p, q)
ONLY_IF compatible_localisation(q) AND interaction_evidence(p,q)
rule R06:
IF extracellular_proteolysis(p) THEN infer potential_change_in_activity(p)
NOT necessarily loss_of_function(p)
rule R07:
IF extracellular_vesicle_cargo(p) THEN infer extracellular_transport_context(p)
NOT necessarily freely_soluble(p)
10. CONSTRAINTS
constraint C01: every localisation claim requires organism and biological context when available
constraint C02: sequence_prediction != experimentally_observed_localisation
constraint C03: extracellular_detection != active_secretion
constraint C04: cell_surface != extracellular_soluble_fraction
constraint C05: membrane_integral_protein != soluble_secreted_protein
constraint C06: protein_complex_membership does not imply every subunit is independently secreted
constraint C07: associations must distinguish direct binding from indirect co-occurrence
constraint C08: absence_of_detection != proof_of_absence
constraint C09: inferred relationships retain provenance and uncertainty
constraint C10: contradictory evidence must be preserved, not silently overwritten
11. RECURSIVE REASONING
recursive resolve_extracellular_role(p, depth, visited):
IF depth <= 0 OR p IN visited THEN return known_supported_claims(p)
visited := visited UNION {p}
direct := validated_localisation_and_function(p)
partners := supported_interaction_partners(p)
indirect := UNION(resolve_extracellular_role(q, depth-1, visited) FOR q IN partners)
return reconcile(direct, indirect, preserve_provenance=true, avoid_unverified_transitivity=true)
12. CONFIDENCE
CONFIDENCE(claim) : Real[0,1]
confidence_inputs = {experimental_quality, independent_replication, localisation_specificity, contamination_controls, organism_match, context_match, evidence_consistency}
confidence_policy:
experimental_localisation > isolated_sequence_prediction, all_else_equal
independent_evidence increases support without assuming independence
conflict lowers certainty or splits claims by context
unknown remains unknown; no fabricated numerical confidence
13. SEMANTIC_EQUIVALENCE
SEMANTIC_EQUIVALENCE('extracellular protein', 'protein located in extracellular region') = conditional_contextual
SEMANTIC_EQUIVALENCE('secreted protein', 'extracellular protein') = false_as_general_identity
SEMANTIC_EQUIVALENCE('ECM protein', 'extracellular matrix protein') = true_within_defined_context
SEMANTIC_EQUIVALENCE('cell-surface protein', 'soluble extracellular protein') = false
SEMANTIC_EQUIVALENCE('extracellular vesicle cargo', 'classically secreted protein') = false_as_general_identity
14. PROVENANCE
provenance_record = {source_uri, dataset_accession, organism, cell_type, sample_type, experimental_method, date, version, evidence_status}
conflicting_claims = retain_all_with_context
external_identifiers = {UniProt, GeneOntology, ProteinOntology, Reactome} when verified
15. FLOW_HASH
FLOW_HASH = SHA256(canonicalise(ontology_id, version, typed_entities, relationships, constraints, rules, source_references))
canonicalisation = deterministic_ordering + UTF8 + stable_identifier_normalisation
hash_policy = recompute_on_semantic_change
# Hash value is computed by an implementation; none is fabricated here.
16. UPDATE_MODEL
UPDATE_MODEL(new_evidence):
validate_schema(new_evidence)
verify_provenance(new_evidence)
match_entity_identifiers(new_evidence)
assess_context_and_quality(new_evidence)
append_or_revise_supported_claims(new_evidence)
preserve_previous_versions()
recompute_confidence_for_affected_claims()
recompute_FLOW_HASH()
publish_change_log()
17. AI_CONSUMPTION
AI_CONSUMPTION:
ontology_id: 'kireth:biological-entities:protein-entities:extracellular-protein'
root_type: ExtracellularProtein
parsing_mode: typed_relational_rules
output: {entity, class, localisation, mechanism, functions, relations, evidence, confidence, version}
requirements: {preserve_uncertainty, verify_identifiers, retain_provenance, distinguish_prediction_from_observation}
prohibited_inferences: {unverified_secretion, automatic_function_transfer, universal_localisation, false_equivalence}
18. VALIDATION CASES
case A: secreted albumin detected in plasma with controlled evidence -> soluble extracellular protein supported
case B: collagen assembled in extracellular matrix -> matrix protein supported
case C: predicted signal peptide without localisation evidence -> candidate secretion only
case D: cytosolic protein detected in damaged-cell medium -> contamination check required
case E: protein in extracellular vesicle lumen -> vesicle-associated extracellular context, not automatically soluble
19. INTEGRATION
parent = ProteinEntityOntology
related = {StructuralProteinOntology, TransportProteinOntology, MembraneProteinOntology, IntegralMembraneProteinOntology, PeripheralMembraneProteinOntology, GeneProductOntology}
biological_links = {ExtracellularMatrix, CellSignalling, ImmuneResponse, Proteolysis, ProteinTrafficking}
20. END
END FLOW ALGEBRA
Download Code
Copy to Clipboard