query-a1a3157e7273e254506033785b24e2a5

rq turtle/ttl

Grama Panchayaths in Kerala SELECT ?item ?lml ?len WHERE { ?item wdt:P31 wd:Q2732840. ?item wdt:P131* wd:Q1186. ?item rdfs:label ?len. FILTER(LANG(?len)="en") ?item rdfs:label ?lml. FILTER(LANG(?lml)="ml") } ORDER BY ASC (?len)

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
# Grama Panchayaths in Kerala
SELECT ?item ?lml ?len
WHERE {
 ?item wdt:P31 wd:Q2732840.
  ?item wdt:P131* wd:Q1186.
?item rdfs:label ?len. FILTER(LANG(?len)="en")
?item rdfs:label ?lml. FILTER(LANG(?lml)="ml")
}
ORDER BY ASC (?len)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?item"):::projected v1("?len"):::projected v2("?lml"):::projected c4(["wd:Q2732840"]):::iri c6(["wd:Q1186"]):::iri f0[["?lml = 'ml'"]] f0 --> v2 f1[["?len = 'en'"]] f1 --> v1 v3 --"wdt:P31"--> c4 v3 --"wdt:P131"--> c6 v3 --"rdfs:label"--> v1 v3 --"rdfs:label"--> v2