query-7bd6c27fb3c9508d279fd38394ffabb2
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?museum
WHERE
{
?museum wdt:P31/wdt:P279* wd:Q33506; # searching for museum inluding its subclasses
wdt:P131/wdt:P279* wd:Q42880; # location is in Tyrol or a sudivision, this works
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?museum"):::projected
a1((" "))
a2((" "))
c3(["wd:Q33506"]):::iri
c5(["wd:Q42880"]):::iri
v1 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c3
v1 --"wdt:P131"--> a2
a2 --"wdt:P279"--> c5