query-be7e562984879b169fc10a097ce43d66

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 schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?date WHERE 
{ 
  SERVICE bd:slice {
    ?item wdt:P31 wd:Q5 .
    bd:serviceParam bd:slice.offset 9973759 . # Start at item number (not to be confused with QID)
    bd:serviceParam bd:slice.limit 50000 . # List this many items
  }
  BIND(xsd:integer(strafter(STR(?item),"http://www.wikidata.org/entity/Q")) as ?order)
  ?item schema:dateModified ?date.
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
} ORDER BY DESC(?order)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?date"):::projected v2("?item"):::projected v3("?order") c4(["bd:serviceParam"]):::iri c8(["50000^^xsd:integer"]):::literal c3(["wd:Q5"]):::iri c6(["9973759^^xsd:integer"]):::literal c12(["#91;AUTO_LANGUAGE#93;,en"]):::literal subgraph s1["http://www.bigdata.com/rdf#slice"] style s1 stroke-width:4px; v2 --"wdt:P31"--> c3 c4 --"bd:slice.offset"--> c6 c4 --"bd:slice.limit"--> c8 end bind0[/"http://www.w3.org/2001/XMLSchema#integer(substring-after(str(?item),'http://www.wikidata.org/entity/Q'))"/] v2 --o bind0 bind0 --as--o v3 v2 --"schema:dateModified"--> v3 subgraph s2["http://wikiba.se/ontology#label"] style s2 stroke-width:4px; c4 --"wikibase:language"--> c12 end