# The concept scheme's broader/narrower structure
#
# Only answerable because the query graph includes the SKOS scheme:
# skos:broader is not in the page graphs. A flat result means every
# term is a top concept, which is what an entity with no `extends`
# content links looks like.
#
# Run against https://wallbankindustrial.com's entity graph: every page's triples unioned with
# the SKOS concept scheme. Results ship beside this file as .srj/.srx/.csv.
# Generated by the Schema Engine (BHE-DES-RDF-001 Phase 9).
PREFIX schema:
PREFIX rdf:
PREFIX skos:
PREFIX owl:
SELECT ?concept ?label ?broader ?broaderLabel
WHERE {
?concept a skos:Concept ;
skos:prefLabel ?label .
OPTIONAL {
?concept skos:broader ?broader .
?broader skos:prefLabel ?broaderLabel .
}
}
ORDER BY ?concept ?broader