-
Notifications
You must be signed in to change notification settings - Fork 0
ADR 013 Simplicial Complex as Derived View When Built
Status: Accepted Date: 2026-05-16 Deciders: Michael Zargham Related: ADR-003 Topological Framework Documented as Future Work; ADR-017 knowledgecomplex as Optional Extras; ADR-018 V minus F Invariant Deferred with Topological Framework; Vertices Edges Faces; Design Spec
Once the topological framework is deferred (see ADR-003 Topological Framework Documented as Future Work), there is still a question of how the simplicial complex view of the RTM (vertices = resources, edges = satisfies/verifies pairs, faces = assurance triples) is represented when it is built — by research users today, or by the future framework when it lands. Two storage options exist: (a) persist the complex — store vertices, edges, faces as first-class RDF resources alongside the underlying RTM graph; or (b) derive the complex on demand — compute it as a SPARQL CONSTRUCT view over the RTM graph, materialize into a separate output graph (e.g., knowledgecomplex — see ADR-017 knowledgecomplex as Optional Extras) only when needed. Persisting it doubles storage and forces the complex representation to be a canonical authority; deriving it keeps storage lean but requires a derivation pipeline. See Design Spec §7 and Vertices Edges Faces.
flexo-rtm v0.1 models the simplicial complex as a derived view: built by SPARQL CONSTRUCT queries from the canonical RTM graph into the optional knowledgecomplex output (see ADR-017 knowledgecomplex as Optional Extras) only when an analysis run requests it. The canonical RTM graph in storage does not persist vertex/edge/face resources; they are derived on demand.
- Storage stays lean — the canonical RTM graph is the operational source of truth and is not bloated with derived complex resources
- The derivation is auditable: every vertex/edge/face is produced by a documented SPARQL CONSTRUCT against the RTM graph; reproduction is just re-running the CONSTRUCT
- Complex representation can evolve independently of the canonical graph — if the future topological framework refines the simplicial-complex vocabulary, the derivation updates without migrating storage
-
knowledgecomplex(see ADR-017 knowledgecomplex as Optional Extras) becomes an opt-in optional extra: adopters who want simplicial-complex analysis install it; adopters who don't aren't burdened
- Each analysis run that needs the complex pays the derivation cost; mitigated by SPARQL CONSTRUCT being fast on the v0.1 graph scale (per ADR-014 Parsimony Layer Build-Time Extraction target of ~2k triples)
- Complex resources cannot be IRI-stable across runs without explicit derivation-IRI minting; mitigated by deriving IRIs deterministically from the underlying RTM resources
- Forward-compatible to the topological framework (see ADR-003 Topological Framework Documented as Future Work): when the framework lands, it consumes the same derived complex (potentially with a richer SPARQL CONSTRUCT) — no migration of the canonical graph
-
Persisted complex (with
knowledgecomplexstorage): Store vertex, edge, and face resources as first-class RDF in the canonical graph (or in a sibling graph) alongside the RTM relations. Rejected: doubles storage with derived data; forces the complex representation to be a canonical authority that must be migrated when the topological framework evolves; bloats the operational graph with analysis-time concerns. Derivation on demand keeps the canonical graph lean and makes the complex view tractable to evolve.
- The SPARQL CONSTRUCT queries that derive the complex live in
oracle/src/oracle/analysis/complex/and emit into theknowledgecomplexoutput (see ADR-017 knowledgecomplex as Optional Extras) - The complex vocabulary (
rtm:AssuranceComplex,rtm:AssuranceFace,rtm:AssuranceTriple— see ADR-020 Vocabulary Alignment with Zargham 2026) ships in v0.1 ontology forward-compatibly - The derivation is parameterized by scope (see ADR-007 Scope as First-Class RDF Resource) so that complex views can be produced per-scope
- See Vertices Edges Faces for the canonical mapping from RTM resources to complex resources
- Design Spec §7.2 (Derived Complex View), §7.3 (SPARQL CONSTRUCT Recipes)
- Vertices Edges Faces — the canonical vertex/edge/face mapping
- ADR-003 Topological Framework Documented as Future Work — the framework that consumes this view
- ADR-017 knowledgecomplex as Optional Extras — the optional package that hosts the derived view
- ADR-018 V minus F Invariant Deferred with Topological Framework — the topological invariant deferred with the framework
- 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