query-0a3982200a01e03f982ce049401bc829
Overview of Dutch GLAMs with their own organisation ID) (P1687)Wikidata property Dutch cultural heritage institution and their organisation id on wikidata (
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 bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?item ?itemLabel ?identifierLabel
#Dutch GLAMs with their own identifier on Wikidata
WHERE
{
{ ?item wdt:P31/wdt:P279* wd:Q33506 .} UNION { ?item wdt:P31/wdt:P279* wd:Q166118 .} UNION { ?item wdt:P31/wdt:P279* wd:Q7075 . } UNION { ?item wdt:P31/wdt:P279* wd:Q207694 . }
?item wdt:P17 wd:Q55 . #in The Netherlands
?item wdt:P1687 ?identifier . #with an identifier
SERVICE wikibase:label { bd:serviceParam wikibase:language "nl,en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?identifier")
v1("?item"):::projected
a1((" "))
a2((" "))
a3((" "))
a4((" "))
c6(["wd:Q207694"]):::iri
c3(["wd:Q33506"]):::iri
c13(["nl,en"]):::literal
c8(["wd:Q55"]):::iri
c5(["wd:Q7075"]):::iri
c4(["wd:Q166118"]):::iri
c11(["bd:serviceParam"]):::iri
subgraph union0[" Union "]
subgraph union0l[" "]
style union0l fill:#abf,stroke-dasharray: 3 3;
subgraph union1[" Union "]
subgraph union1l[" "]
style union1l fill:#abf,stroke-dasharray: 3 3;
subgraph union2[" Union "]
subgraph union2l[" "]
style union2l fill:#abf,stroke-dasharray: 3 3;
v1 --"wdt:P31"--> a4
a4 --"wdt:P279"--> c6
end
subgraph union2r[" "]
style union2r fill:#abf,stroke-dasharray: 3 3;
v1 --"wdt:P31"--> a3
a3 --"wdt:P279"--> c5
end
union2r <== or ==> union2l
end
end
subgraph union1r[" "]
style union1r fill:#abf,stroke-dasharray: 3 3;
v1 --"wdt:P31"--> a2
a2 --"wdt:P279"--> c4
end
union1r <== or ==> union1l
end
end
subgraph union0r[" "]
style union0r fill:#abf,stroke-dasharray: 3 3;
v1 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c3
end
union0r <== or ==> union0l
end
v1 --"wdt:P17"--> c8
v1 --"wdt:P1687"--> v2
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c11 --"wikibase:language"--> c13
end