Toy scenario
A recorded audit of an earlier tunnel graph. This run lifts the saved D3 snapshot into RDF, reconciles it with the earlier ontology file, checks edge provenance with SHACL, applies OWL-RL inference and queries the result. The outputs below belong to that snapshot; they do not audit the current explorer. The supplied confidence scores and provenance checks concern the model's records, not the engineering truth of its assertions.
Only the explicit identity mappings, reviewed against
source identifiers, types, roles and relationships, produce owl:sameAs.
A shared label alone does not establish identity. An edge present in both mapped representations
receives the score 0.9; other lifted edges receive 0.6. These scores describe
cross-representation agreement, not independent evidence, calibrated confidence
or engineering truth: both representations belong to the same example.
Two shapes (see shapes.ttl): every edge assertion
needs an edge-type, a confidence in [0,1] and a source; plan-critical edges
(dependsOn, precedes) additionally need a
use statement and an update trigger — the
contingent-edge discipline from the portfolio AGENTS.md.
Run 1 — raw lift:
Run 2 — after the repair pass added use statements and update triggers to plan-critical edges:
Census by the snapshot’s legacy upper-ontology class — inference
materialised the rdfs:subClassOf bridge from the lifted D3 groups
into the Digital Construction Ontology:
Dependencies found only in the saved D3 representation under the reviewed mapping — candidates for checking coverage, not a ranking of engineering reliability:
Everything SegmentInstallation depends on, via the property path
st:dependsOn+ (one line of SPARQL; no hand-rolled BFS):
The merged graph projected into NetworkX; betweenness centrality names the brokers everything routes through:
The embedded results are a rerun over the saved historical sources using the reviewed mapping.
Use Python 3.12.14 and the recorded package lock:
python3 -m venv .venv-kglab, then
.venv-kglab/bin/python -m pip install -r apps/kglab-ontology-audit/pipeline/requirements.txt, then
.venv-kglab/bin/python apps/kglab-ontology-audit/pipeline/kglab_spike.py.
The script regenerates results.json,
solway_merged.ttl and this page.
Environment of the embedded run: .
The earlier run recorded Python 3.10.12 and kglab 0.6.6, but no complete dependency lock. The recipe above reproduces this rerun; it does not reconstruct that earlier environment. Source hashes in the identity map require another identity review if either input changes.
not_yet_used/tunnel-ontology-visualizer.ttl.txt (ontology layer) ·
results embedded at build time by pipeline/kglab_spike.py.