query-32b9300955698962d7827608a37742fd

rq turtle/ttl

TODO

Use at

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:Q1356; # location is in West Bengal or a sudivision, not working
    }

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:Q1356"]):::iri v1 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c3 v1 --"wdt:P131"--> a2 a2 --"wdt:P279"--> c5