-
Notifications
You must be signed in to change notification settings - Fork 0
ADR 014 Parsimony Layer Build Time Extraction
Status: Accepted Date: 2026-05-16 Deciders: Michael Zargham Related: ADR-002 SysMLv2 Anchoring; ADR-015 GSN Adoption for Adequacy and Sufficiency; ADR-020 Vocabulary Alignment with Zargham 2026; Parsimony Policy; Layered Ontology; Design Spec
flexo-rtm imports vocabulary from multiple upstream ontologies: SysMLv2 (see ADR-002 SysMLv2 Anchoring), PROV-O, EARL, GSN (see ADR-015 GSN Adoption for Adequacy and Sufficiency), OSLC-RM and OSLC-QM (see ADR-010 OSLC-RM and OSLC-QM in v0.1), and the Zargham 2026 vocabulary (see ADR-020 Vocabulary Alignment with Zargham 2026). Importing each upstream ontology in full bloats the v0.1 working ontology with thousands of triples — many of them irrelevant to RTM — and makes reasoning slow, validation noisy, and provenance opaque. The alternative is to extract only the minimum vocabulary needed (MIREOT, SLME) at build time and check the extracts into version control with a documented provenance trail. See Design Spec §6.5 and Parsimony Policy.
flexo-rtm v0.1 uses a parsimony layer: MIREOT / SLME extracts from upstream ontologies are computed at build time, checked into the repo, and loaded as the working ontology. Target size for v0.1 is approximately 2k triples total across all upstream imports. Every imported triple's provenance (source ontology, extraction date, MIREOT/SLME parameters) is recorded for audit.
- Performance: ~2k working triples is small enough that SHACL validation, SPARQL coverage queries, and derived-view CONSTRUCTs all run in single-digit seconds on the v0.1 graph scale
- Clarity: the working ontology contains only vocabulary actually referenced by
flexo-rtm; adopters reading the ontology see exactly what's relevant - Auditable provenance: every imported triple has a documented source and extraction provenance — adopters can verify that the extract correctly represents the upstream ontology
- Build-time extraction is reproducible: the extraction script (or
robotinvocation) is version-controlled, and re-running it produces the same extract from the same upstream version
- Build-time extraction means upstream ontology updates require a manual re-extraction step — automatic upstream sync is not free
- MIREOT/SLME extraction can miss vocabulary that is technically needed but not directly referenced (e.g., transitive subclass parents); mitigated by SHACL validation catching missing-vocabulary errors at CI time
- The ~2k-triple target is a soft cap; v0.1 may bust it slightly without failing acceptance, but maintaining the cap requires periodic parsimony review
- The parsimony layer is the lowest layer of the layered ontology (see Layered Ontology); the project-specific RTM ontology sits on top and imports parsimony-extracted upstream concepts
- Runtime ontology loading: Load full upstream ontologies at runtime from their canonical URLs. Rejected: catastrophic for performance (millions of triples loaded for each cert run), opaque for audit (which triples were imported when?), and fragile (upstream URL availability, upstream version drift). Build-time extraction with checked-in artifacts is the only practical option for institutional adoption.
- Build-time extraction script in
ontology/extract/invokesrobot(the ROBOT ontology tool) with documented MIREOT / SLME parameters per upstream - Extracted artifacts are checked into
ontology/imports/with one file per upstream source - Provenance manifest in
ontology/imports/provenance.ttlrecords source URL, source version, extraction date, MIREOT/SLME parameters per import - CI gate verifies the working ontology size against the ~2k-triple target; busts trigger a parsimony review
- See Parsimony Policy for the policy and Layered Ontology for how the parsimony layer composes with project-specific RTM vocabulary
- Design Spec §6.5 (Parsimony Layer), §6.6 (Build-Time Extraction)
- Parsimony Policy — the canonical parsimony-policy documentation
- Layered Ontology — how parsimony composes into the layered model
- ADR-002 SysMLv2 Anchoring — SysMLv2 is the primary parsimony source
- ROBOT (OBO Tool): http://robot.obolibrary.org/
- MIREOT: doi.org/10.1186/2041-1480-2-S2-S1
- Flexo Git Coexistence
- ADCS Prototype Lessons
- MVC Pattern from RIME TRL ANT
- Human-AI Accountability
- Multi-Agent Discourse Graph Precedent
- OSLC RM and QM Review
- INCOSE V2 Review
- OMG SysMLv2
- PROV EARL GSN P-PLAN
- Dragon Architecture and Mission Enterprise
- Traditional Forward and Backward Analysis
- Attestation Infrastructure in v0.1
- Identity Boundaries and Policy Projections
- External URI References
- Signed Envelopes and Established Standards
- Aspect Coverage with Adequacy and Sufficiency
- Federated Audit and Composition
- Certification Predicate
- Gap Taxonomy
- Quantitative Outcomes
- Engineering Lifecycle Stages (v0.2)
- Topological Framework Future Work (research phase)
- Vertices Edges Faces (research phase)
- Three-Layer Architecture
- Operational Layer UX Discipline
- Storage Layer Flexo Conventions
- Analysis Layer Scope Algebra
- OSLC Roundtrip Acceptance
- Identity Adapter Contract
- Flexo REST Binding
- SysMLv2 Ingestion Contract
- External URI Rules
- Signed Envelope Shapes
- Parsimony Manifest
- Lossless Roundtrip Definition
- Vendor Extension Carry-Through
- OSLC RM Adapter Contract
- OSLC QM Adapter Contract
- ADR Template
- ADR-001 Foundations First Approach
- ADR-002 SysMLv2 Anchoring
- ADR-003 Topological Framework Documented as Future Work
- ADR-003a v0.1 Ships Traditional Analysis Only
- ADR-004 Quantitative Certification Outcome
- ADR-005 Adequacy and Sufficiency as Guidance Subtypes
- ADR-006 Three-Layer Architecture
- ADR-007 Scope as First-Class RDF Resource
- ADR-008 Repo Name and Org Transfer Plan
- ADR-009 Two-Repo Strategy
- ADR-010 OSLC-RM and OSLC-QM in v0.1
- ADR-011 Lossless Criterion A plus C
- ADR-012 Direct RDF Properties over Reified Edges
- ADR-013 Simplicial Complex as Derived View When Built
- ADR-014 Parsimony Layer Build-Time Extraction
- ADR-015 GSN Adoption for Adequacy and Sufficiency
- ADR-016 Composable SHACL Profiles
- ADR-017 knowledgecomplex as Optional Extras
- ADR-018 V minus F Invariant Deferred with Topological Framework
- ADR-019 Derived Binary View from Quantitative Metrics
- ADR-020 Vocabulary Alignment with Zargham 2026
- ADR-021 Three Attestation Subclasses Ship in v0.1
- ADR-022 External URI References as Open-Source Foundation
- ADR-023 Cryptography by Composition of Battle-Tested Standards
- ADR-024 Identity by Thin Projection of External Sources
- ADR-025 Reproducibility is Structural and Local
- ADR-026 Cryptographic Agility via Algorithm Profiles
- ADR-027 Bit-Exactness vs Numerical Tolerances Are Both First-Class
- ADR-028 Scope-Level Adequacy and Sufficiency for Federated Audit
- ADR-029 Engineering Lifecycle Stages as Scope Metadata
- ADR-030 Polycentric ASOT Authority Model
- ADR-031 Attestation Status Pass Fail Deferred Deprecated
- ADR-032 Methodology Agnosticism as Foundational Axiom
- ADR-033 Generalized ASOT Principle for All Identified Things