Continuants & materials
ex:cell-batch-17, ex:encapsulant-4, ex:module-0042, ex:laminator-2, and ex:el-camera-1 are typed under obo:BFO_0000040 (material entity).
Need help choosing? Describe your project.
Work / Demonstration · SPARQL 1.1
Knowledge Graph Querying · BFO 2020 + RO
When processes, equipment, materials, and time intervals share a formal upper ontology like Basic Formal Ontology (BFO 2020), a single SPARQL 1.1 query can trace material handoffs, isolate shift participants, and audit unaligned records without brittle table joins.
Sample graph (sample_bfo.ttl)
The playground loads an in-memory RDFLib graph representing two manufacturing processes — ex:lamination-310 (Shift A) and ex:el-inspection-88 (Shift B) — plus two intentionally unaligned records for audit queries.
ex:cell-batch-17, ex:encapsulant-4, ex:module-0042, ex:laminator-2, and ex:el-camera-1 are typed under obo:BFO_0000040 (material entity).
ex:lamination-310 and ex:el-inspection-88 link to ex:shift-a and ex:shift-b via obo:BFO_0000199 (occupies temporal region) and trace inputs/outputs with obo:RO_0002233 and obo:RO_0002234.
ex:supplier-note-7 is typed as ex:Note (not aligned to BFO) and ex:module-0043 has no rdf:type at all — ideal targets for governance queries.
Three built-in queries
Each template demonstrates a common engineering pattern: property-path traversal over BFO classes, multi-hop process lineage, and negative-pattern auditing with FILTER NOT EXISTS.
Finds every continuant (rdf:type/rdfs:subClassOf* obo:BFO_0000002) that participated in a process occupying ex:shift-a.
SELECT ?continuant ?label ?process WHERE {
?process obo:BFO_0000199 ex:shift-a ;
obo:BFO_0000057 ?continuant .
?continuant rdf:type/rdfs:subClassOf* obo:BFO_0000002 ;
rdfs:label ?label .
} ORDER BY ?label
Follows material from ex:lamination-310 into ex:module-0042 and onward into ex:el-inspection-88 via OPTIONAL chaining.
SELECT ?process ?input ?output ?nextProcess WHERE {
?process obo:RO_0002233 ?input ;
obo:RO_0002234 ?output .
OPTIONAL { ?nextProcess obo:RO_0002233 ?output }
} ORDER BY ?process ?input
Surfaces ex:supplier-note-7 and ex:module-0043 — individuals whose class hierarchy never reaches obo:BFO_0000001.
SELECT DISTINCT ?thing ?label WHERE {
?thing rdfs:label ?label .
FILTER(STRSTARTS(STR(?thing), STR(ex:)))
FILTER NOT EXISTS { ?thing rdfs:subClassOf ?any }
FILTER NOT EXISTS { ?thing rdf:type/rdfs:subClassOf* obo:BFO_0000001 }
} ORDER BY ?thing
We design BFO/CCO-aligned schemas and deterministic SPARQL query layers for engineering traceability, compliance audits, and Ontology-Augmented Generation (OAG).
ex: entities, processes, and shifts in sample_bfo.ttl are invented for demonstration.rdfs:subClassOf* property paths rather than full OWL 2 DL materialization.