query-35413f1de85ac0dd79eca0bae91af52a

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 ?kelurahan.
  ?kelurahan wdt:P131 ?kecamatan.
  ?kecamatan 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; v4("?kabupatenkota") v3("?kecamatan") v2("?kelurahan") 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"--> v3 v3 --"wdt:P131"--> v4 v4 --"wdt:P131"--> c9