query-1762047e6a78eb610f899ef2c51f0c1c
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?kategori ?kategorien_kombinerer_emnerneLabel WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
?kategori p:P4224 ?statement.
?statement ps:P4224 wd:Q179049;
pq:P17 wd:Q34.
OPTIONAL { ?kategori wdt:P971 ?kategorien_kombinerer_emnerne. }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?kategori"):::projected
v3("?kategorien_kombinerer_emnerne")
v2("?statement")
c2(["bd:serviceParam"]):::iri
c4(["en"]):::literal
c7(["wd:Q179049"]):::iri
c9(["wd:Q34"]):::iri
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c2 --"wikibase:language"--> c4
end
v1 --"p:P4224"--> v2
v2 --"p:statement/P4224"--> c7
v2 --"p:qualifier/P17"--> c9
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."p:direct/P971".-> v3
end