query-0809e9b0c605da114009d4d7c38ea25e

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 ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?illiterate ?literate ?population (?population - ?illiterate - ?literate as ?diff)
WHERE 
{
  ?item wdt:P6498 ?illiterate .
  ?item wdt:P6499 ?literate . 
  ?item wdt:P1082 ?population .
  ?item p:P31/ps:P31 wd:Q6256.   
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } 
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v5("?diff") v2("?illiterate"):::projected v1("?item"):::projected v3("?literate"):::projected v4("?population"):::projected a1((" ")) c8(["bd:serviceParam"]):::iri c10(["#91;AUTO_LANGUAGE#93;,en"]):::literal c6(["wd:Q6256"]):::iri v1 --"p:direct/P6498"--> v2 v1 --"p:direct/P6499"--> v3 v1 --"p:direct/P1082"--> v4 v1 --"p:P31"--> a1 a1 --"p:statement/P31"--> c6 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c8 --"wikibase:language"--> c10 end bind0[/"?population - ?illiterate - ?literate"/] v4 --o bind0 v2 --o bind0 v3 --o bind0 bind0 --as--o v5