# gfse/cascade-ontology architecture

> Architecture diagram of the GitHub repository gfse/cascade-ontology, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-19). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/gfse/cascade-ontology
- Repository: https://github.com/gfse/cascade-ontology

## Overview

CASCaDE is a layered product-lifecycle ontology proposal, distributed in RDF serializations and AASX examples, with a separate desktop RDF/SHACL validator. The documented product scope spans conception through retirement; domain branches below reflect the repository’s ontology areas and AAS activity catalog. The validator workflow is supported by sampled source. The README does not describe links between ontology domains, so those relationships are not inferred.

Main entry points: [`RDFValidator/Controller.cs`](https://github.com/gfse/cascade-ontology/blob/main/RDFValidator/Controller.cs) (Validator controller), [`RDFValidator/RdfGraph.cs`](https://github.com/gfse/cascade-ontology/blob/main/RDFValidator/RdfGraph.cs) (RDF graph loader), [`RDFValidator/RdfValidation.cs`](https://github.com/gfse/cascade-ontology/blob/main/RDFValidator/RdfValidation.cs) (SHACL analysis), [`RDFValidator/XmlSource.cs`](https://github.com/gfse/cascade-ontology/blob/main/RDFValidator/XmlSource.cs) (XML transform source)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_ontology["Ontology layers"]
  node_core["Ontology and metamodel"]
  node_contexts["Context elements"]
end

subgraph group_domains["Lifecycle domains"]
  node_organization["Organization and operation"]
  node_architecture["Systems architecture"]
  node_design["Product design"]
  node_verification["Verification and validation"]
  node_manufacturing["Manufacturing supply chain"]
  node_aas["Lifecycle activity templates<br/>[3.1]"]
end

subgraph group_validator["RDF validator"]
  node_controller["Validator controller<br/>[Controller.cs]"]
  node_dialog["Validator dialog"]
  node_source["XML transform source<br/>[XmlSource.cs]"]
  node_selection["File selection<br/>[FileSelection.cs]"]
  node_graph["RDF graph loader<br/>[RdfGraph.cs]"]
  node_validation["SHACL analysis<br/>[RdfValidation.cs]"]
end

subgraph group_examples["Queries and examples"]
  node_queries["SPARQL queries"]
  node_samples["RDF usage examples"]
end

node_engineer(("Ontology users"))

node_engineer -.->|"uses ontology"| node_core
node_controller -->|"shows"| node_dialog
node_controller -->|"creates sources"| node_source
node_controller -->|"creates graphs"| node_graph
node_controller -->|"creates validators"| node_validation
node_controller -->|"creates selectors"| node_selection
node_controller -->|"dispatches analysis"| node_validation
node_controller -->|"dispatches validation"| node_validation
node_source -->|"selects files"| node_selection
node_source -->|"loads transformed RDF"| node_graph
node_graph -->|"reads selected file"| node_selection
node_validation -->|"reads instance and shapes"| node_graph

click node_core "https://github.com/gfse/cascade-ontology/tree/main/RDF/TTL"
click node_contexts "https://github.com/gfse/cascade-ontology/tree/main/RDF/TTL/ContextElements"
click node_organization "https://github.com/gfse/cascade-ontology/tree/main/RDF/TTL/Organization"
click node_architecture "https://github.com/gfse/cascade-ontology/tree/main/RDF/TTL/SystemsArchitecture"
click node_design "https://github.com/gfse/cascade-ontology/tree/main/RDF/TTL/ProductDesign"
click node_verification "https://github.com/gfse/cascade-ontology/tree/main/RDF/TTL/VerificationValidation"
click node_manufacturing "https://github.com/gfse/cascade-ontology/tree/main/RDF/TTL/ManufacturingSupplyChain"
click node_aas "https://github.com/gfse/cascade-ontology/tree/main/AAS/3.1"
click node_queries "https://github.com/gfse/cascade-ontology/tree/main/SPARQL"
click node_samples "https://github.com/gfse/cascade-ontology/tree/main/Examples"
click node_controller "https://github.com/gfse/cascade-ontology/blob/main/RDFValidator/Controller.cs"
click node_dialog "https://github.com/gfse/cascade-ontology/blob/main/RDFValidator/ControllerDialog.cs"
click node_source "https://github.com/gfse/cascade-ontology/blob/main/RDFValidator/XmlSource.cs"
click node_selection "https://github.com/gfse/cascade-ontology/blob/main/RDFValidator/FileSelection.cs"
click node_graph "https://github.com/gfse/cascade-ontology/blob/main/RDFValidator/RdfGraph.cs"
click node_validation "https://github.com/gfse/cascade-ontology/blob/main/RDFValidator/RdfValidation.cs"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_core,node_contexts,node_engineer toneBlue
class node_organization,node_architecture,node_design,node_verification,node_manufacturing,node_aas toneAmber
class node_controller,node_dialog,node_source,node_selection,node_graph,node_validation toneMint
class node_queries,node_samples toneRose
```

## Components

### Ontology layers

- [Ontology and metamodel](https://github.com/gfse/cascade-ontology/tree/main/RDF/TTL): `RDF/TTL`
- [Context elements](https://github.com/gfse/cascade-ontology/tree/main/RDF/TTL/ContextElements): `RDF/TTL/ContextElements`

### Lifecycle domains

- [Organization and operation](https://github.com/gfse/cascade-ontology/tree/main/RDF/TTL/Organization): `RDF/TTL/Organization`
- [Systems architecture](https://github.com/gfse/cascade-ontology/tree/main/RDF/TTL/SystemsArchitecture): `RDF/TTL/SystemsArchitecture`
- [Product design](https://github.com/gfse/cascade-ontology/tree/main/RDF/TTL/ProductDesign): `RDF/TTL/ProductDesign`
- [Verification and validation](https://github.com/gfse/cascade-ontology/tree/main/RDF/TTL/VerificationValidation): `RDF/TTL/VerificationValidation`
- [Manufacturing supply chain](https://github.com/gfse/cascade-ontology/tree/main/RDF/TTL/ManufacturingSupplyChain): `RDF/TTL/ManufacturingSupplyChain`
- [Lifecycle activity templates](https://github.com/gfse/cascade-ontology/tree/main/AAS/3.1): `AAS/3.1`

### RDF validator

- [Validator controller](https://github.com/gfse/cascade-ontology/blob/main/RDFValidator/Controller.cs): `RDFValidator/Controller.cs`
- [Validator dialog](https://github.com/gfse/cascade-ontology/blob/main/RDFValidator/ControllerDialog.cs): `RDFValidator/ControllerDialog.cs`
- [XML transform source](https://github.com/gfse/cascade-ontology/blob/main/RDFValidator/XmlSource.cs): `RDFValidator/XmlSource.cs`
- [File selection](https://github.com/gfse/cascade-ontology/blob/main/RDFValidator/FileSelection.cs): `RDFValidator/FileSelection.cs`
- [RDF graph loader](https://github.com/gfse/cascade-ontology/blob/main/RDFValidator/RdfGraph.cs): `RDFValidator/RdfGraph.cs`
- [SHACL analysis](https://github.com/gfse/cascade-ontology/blob/main/RDFValidator/RdfValidation.cs): `RDFValidator/RdfValidation.cs`

### Queries and examples

- [SPARQL queries](https://github.com/gfse/cascade-ontology/tree/main/SPARQL): `SPARQL`
- [RDF usage examples](https://github.com/gfse/cascade-ontology/tree/main/Examples): `Examples`

### Other components

- **Ontology users**

## Connections

- Ontology users → Ontology and metamodel: uses ontology (evidence: `README.md`)
- Validator controller → Validator dialog: shows (evidence: `RDFValidator/Controller.cs`)
- Validator controller → XML transform source: creates sources (evidence: `RDFValidator/Controller.cs`)
- Validator controller → RDF graph loader: creates graphs (evidence: `RDFValidator/Controller.cs`)
- Validator controller → SHACL analysis: creates validators (evidence: `RDFValidator/Controller.cs`)
- Validator controller → File selection: creates selectors (evidence: `RDFValidator/Controller.cs`)
- Validator controller → SHACL analysis: dispatches analysis (evidence: `RDFValidator/Controller.cs`)
- Validator controller → SHACL analysis: dispatches validation (evidence: `RDFValidator/Controller.cs`)
- XML transform source → File selection: selects files (evidence: `RDFValidator/XmlSource.cs`)
- XML transform source → RDF graph loader: loads transformed RDF (evidence: `RDFValidator/XmlSource.cs`)
- RDF graph loader → File selection: reads selected file (evidence: `RDFValidator/RdfGraph.cs`)
- SHACL analysis → RDF graph loader: reads instance and shapes (evidence: `RDFValidator/RdfValidation.cs`)
