query-96f90f742d537ab1b98eb1c608aa1023

rq turtle/ttl

TODO

Use at

PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
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 ?item ?itemLabel ?id
WHERE 
{
  ?item wdt:P31 wd:Q15416.
  BIND(xsd:integer(REPLACE(STR(?item),".*Q","")) AS ?id) 
  filter(?id>100000000)
  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; v3("?id"):::projected v2("?item"):::projected c3(["wd:Q15416"]):::iri c5(["bd:serviceParam"]):::iri c7(["#91;AUTO_LANGUAGE#93;,en"]):::literal f0[["?id > '100000000^^xsd:integer'"]] f0 --> v3 v2 --"wdt:P31"--> c3 bind1[/"http://www.w3.org/2001/XMLSchema#integer(replace(str(?item),'.*Q',''))"/] v2 --o bind1 bind1 --as--o v3 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c5 --"wikibase:language"--> c7 end