query-fd5906c1b6c060d1eeee6a152f7dd0a3

rq turtle/ttl

TODO

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 distinct ?masjid ?masjidLabel WHERE {
  SERVICE wikibase:label { bd:serviceParam wikibase:language "id". }
  ?masjid wdt:P31/wdt:P279* wd:Q32815.
  ?masjid wdt:P131/wdt:P131+ wd:Q2772.
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?masjid"):::projected a1((" ")) a2((" ")) c7(["wd:Q32815"]):::iri c2(["bd:serviceParam"]):::iri c9(["wd:Q2772"]):::iri c4(["id"]):::literal subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c2 --"wikibase:language"--> c4 end v1 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c7 v1 --"wdt:P131"--> a2 a2 --"wdt:P131"--> c9