FLOW ALGEBRA — PATHOLOGICAL PROTEIN ONTOLOGY
Semantic Library | Entity Graph | Biological Entities | Pathological Biological Entities
Version: 1.0 | Date: 2026-10-27 | Encoding: UTF-8
Source: https://kirethresearch.org/booksai-core/entity-graph/biological-entities/pathological-biological-entities/pathological-protein-ontology.html
Status: Original companion formalisation; source page content not independently verified.
Purpose: Represent protein-related pathological states, evidence, mechanisms, uncertainty and biological context for semantic retrieval and inference. Not a diagnostic algorithm.
FLOW "PathologicalProteinEntity" v1.0
AUTHORS:
research: Kireth Research / Semantic Library
flow_assistance: Sky — Recursive AI
citation_backlink: source URL above
STATE_MODEL:
S_t = (I_t, R_t, B_t, K_t)
I_t: observed protein attributes and evidence at time t
R_t: typed biological relations and permitted transitions
B_t: scope, organism, tissue, experimental context and safety boundaries
K_t: curated ontology knowledge, provenance and uncertainty
E_t = expand(I_t, R_t)
V_t = {x in E_t | constraints(x, B_t) and evidence_supported(x, K_t)}
x_star = argmax_{x in V_t} P(x | I_t, R_t, B_t, K_t)
I_(t+1) = update(I_t, x_star, evidence_t+1)
NOTE: Ranking is conceptual; probabilities require a separately calibrated model.
ENTITY_SCHEMA:
PathologicalProtein:
id: stable_identifier
label: string
protein_reference: accession_or_identifier
organism: taxon_identifier
tissue_context: optional_anatomical_identifier
cell_context: optional_cell_identifier
pathological_state: enum
alteration: typed_change
mechanism: hypothesis_or_supported_mechanism
associated_condition: optional_disease_identifier
assay: optional_measurement_method
observation: optional_result
evidence_level: enum
provenance: source_and_date
confidence: calibrated_value_or_unknown
temporal_context: optional_interval
CLASSIFICATION:
- misfolded_protein
- aggregated_protein
- amyloid_associated_protein
- aberrantly_modified_protein
- mutated_protein_with_pathogenic_effect
- truncated_or_cleaved_protein
- abnormally_expressed_protein
- mislocalised_protein
- functionally_impaired_protein
- gain_of_function_pathological_protein
- toxic_protein_species
- protein_with_abnormal_interaction
NOTE: Categories overlap; mutation, abundance or aggregation alone do not prove pathology.
RELATION_GRAPH:
PathologicalProtein --is_state_of--> Protein
PathologicalProtein --may_have_variant--> ProteinVariant
PathologicalProtein --may_aggregate_into--> ProteinAggregate
PathologicalProtein --may_be_detected_by--> Assay
PathologicalProtein --may_affect--> CellularProcess
PathologicalProtein --may_interact_with--> BiologicalEntity
PathologicalProtein --may_be_associated_with--> DiseaseEntity
PathologicalProtein --may_be_localised_in--> CellularCompartment
PathologicalProtein --has_evidence--> EvidenceRecord
EvidenceRecord --derived_from--> Source
ProteinVariant --encoded_by--> GeneVariant
NOTE: 'associated_with' is not equivalent to 'causes'.
PATHWAYS:
folding:
sequence_or_environment_change -> folding_state_change -> quality_control_response
aggregation:
altered_protein_state -> oligomerisation_or_aggregation -> context_dependent_cellular_effect
degradation:
altered_protein -> ubiquitin_proteasome_or_autophagy_pathway -> clearance_or_persistence
signalling:
altered_activity_or_interaction -> pathway_dysregulation -> possible_phenotypic_change
localisation:
trafficking_change -> compartment_mislocalisation -> possible_functional_effect
NOTE: All arrows indicate candidate transitions, not universal deterministic sequences.
INFERENCE_RULES:
R1: IF protein has experimentally supported abnormal folding THEN classify candidate_misfolded_protein.
R2: IF aggregate formation is observed THEN add aggregate relation; do not infer disease automatically.
R3: IF a variant is observed THEN attach variant evidence; do not infer pathogenicity without independent support.
R4: IF altered abundance is observed THEN attach context-specific expression state, not necessarily pathology.
R5: IF functional assays support altered activity THEN infer altered_function with assay provenance.
R6: IF disease association exists THEN preserve study design, organism and evidence strength.
R7: IF tissue or species changes THEN re-evaluate contextual validity of all inferred relationships.
R8: IF contradictory findings exist THEN retain both with source metadata and mark unresolved.
R9: IF causal evidence is absent THEN prohibit causal label.
R10: IF a finding is only computationally predicted THEN label prediction and avoid clinical assertions.
MINI_RECURSION_ENGINE:
input: query, candidate_entities, evidence_graph
initialise: frontier = query_entities; visited = empty_set
repeat while frontier not empty and depth < max_depth:
candidate_relations = expand(frontier, permitted_relations)
filtered = validate(candidate_relations, context, provenance, uncertainty)
record(filtered); visited = visited union filtered
frontier = new_entities(filtered) minus visited_entities
stop: convergence OR no_supported_edges OR resource_limit
output: evidence_linked_subgraph, unresolved_questions, confidence_annotations
guard: prevent cycles, unsupported causal leaps and unbounded recursion
TRI_MAPPING:
semantic: natural_language_concept -> canonical_entity_and_relation
formal: canonical_entity_and_relation -> typed_graph_predicate
operational: typed_graph_predicate -> evidence_checked_query_or_update
example:
semantic: "protein X forms aggregates in tissue Y"
formal: AggregatesIn(ProteinX, TissueY)
operational: check assay, tissue, organism, source and temporal scope
AI_SEARCH_FLOW:
intent: identify | compare | explain | trace_evidence | find_relationships
normalise: synonyms, identifiers, protein names and organism
retrieve: protein, variant, modification, aggregation, assay and disease nodes
filter: organism, tissue, context, date, evidence quality
rank: direct evidence > indirect evidence > computational hypothesis
return: claims_with_sources, alternatives, uncertainties, non_causal_caveats
abstain: if required evidence or identifiers are missing
CONFIDENCE_AND_PROVENANCE:
confidence_fields: evidence_quality, reproducibility, context_match, source_recency
default_confidence: unknown
update_rule: revise claims only after validating new evidence
conflict_rule: preserve competing evidence and explicitly mark disagreement
traceability: every derived assertion must reference supporting source edges
VALIDATION:
V1: every entity has a stable identifier or is flagged unresolved
V2: every relation has declared domain and range
V3: every pathological claim carries context and provenance
V4: predicted, observed, associated and causal states remain distinct
V5: no inference equates a protein alteration with disease diagnosis
V6: recursion terminates at convergence or a defined limit
V7: unknown evidence never becomes positive evidence by default
V8: output records uncertainty and contradictory observations
EXECUTION_GUARANTEE:
Guarantees conditional on valid inputs and a conforming implementation:
- deterministic schema checks
- bounded graph traversal
- provenance-preserving outputs
- explicit abstention on insufficient evidence
Does NOT guarantee biological truth, diagnostic accuracy or treatment suitability.
SEMANTIC_EQUIVALENCE:
pathological_protein != every_mutated_protein
pathological_protein != every_aggregated_protein
protein_disease_association != established_causation
biomarker_detection != diagnosis
UPDATE_MODEL:
versioning: semantic_version
change_log: required
revalidation: on_new_evidence_or_schema_change
source_backlink: retain_original_source_url
END FLOW
Download Code
Copy to Clipboard