query-edd5b8e22f0a36adfca4d2d00c8ac09c

rq turtle/ttl

Semantic categories ⟩  (Q54662266)field category ⟨  (P971)category combines topics  ⟩should have⟨ All semantic categories (32979 at 15.07.19):

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?cat ?catLabel ?langLabel WHERE {
  ?cat wdt:P971 wd:Q54662266.
  OPTIONAL {?cat wdt:P971 ?lang.
            ?lang wdt:P31/wdt:P279* wd:Q315.}
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],fr,en". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?cat"):::projected v2("?lang") a1((" ")) c7(["bd:serviceParam"]):::iri c5(["wd:Q315"]):::iri c9(["#91;AUTO_LANGUAGE#93;,fr,en"]):::literal c2(["wd:Q54662266"]):::iri v1 --"wdt:P971"--> c2 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P971".-> v2 v2 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c5 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c7 --"wikibase:language"--> c9 end