query-37969f80502a81b6941b088b98cd6eca

rq turtle/ttl

Grammatical categories ⟩  (Q980357)grammatical category ⟨  (P971)category combines topics  ⟩should have⟨ All (3075 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 WHERE {
  ?cat wdt:P971 wd:Q980357.
  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:Q980357"]):::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