query-a5e2dde1671d9d5d3573c04b411b5e30

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 ?kabupatenkota.
  ?kabupatenkota wdt:P131 wd:Q2772.
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?kabupatenkota") v1("?masjid"):::projected a1((" ")) 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"--> v2 v2 --"wdt:P131"--> c9