query-300ad3240d753347af163c592a0b130a

rq turtle/ttl

How to filter after certain item countI want to get all items after 'Q117000000' so I tried making this query:

Use at

PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel WHERE {
  SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
  FILTER(xsd:integer(SUBSTR(?id, 1, STRLEN(?id))) > xsd:integer(117000000))
}
ORDER BY DESC(?item)
LIMIT 100

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?id") v1("?item"):::projected c4(["bd:serviceParam"]):::iri c6(["en"]):::literal f0[["http://www.w3.org/2001/XMLSchema#integer(substring(?id,'1^^xsd:integer',string-length(?id))) > http://www.w3.org/2001/XMLSchema#integer('117000000^^xsd:integer')"]] f0 --> v2 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c4 --"wikibase:language"--> c6 end