query-3143f831290edfec07af0fdc89d11075

rq turtle/ttl

Uploads with timestamps. So I would like this in SPARQL to make an overview of the number of uploads per day for the last couple of days. recent uploads of my bot I get the this API callWith

Use at

PREFIX mwapi: <http://wikiba.se/ontology#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT * {
  SERVICE wikibase:mwapi {
    bd:serviceParam wikibase:endpoint "commons.wikimedia.org" .
    bd:serviceParam wikibase:api "Generator" .
    bd:serviceParam mwapi:generator "allimages" .
    bd:serviceParam mwapi:gaiuser "BotMultichillT" .
    bd:serviceParam mwapi:gaisort "timestamp" .
    bd:serviceParam mwapi:gaidir "older" .
    ?title wikibase:apiOutput mwapi:title .
    ?timestamp wikibase:apiOutput mwapi:timestamp .
  }

} LIMIT 100

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?timestamp"):::projected v1("?title"):::projected c10(["BotMultichillT"]):::literal c17(["mwapi:timestamp"]):::iri c8(["allimages"]):::literal c2(["bd:serviceParam"]):::iri c14(["older"]):::literal c16(["mwapi:title"]):::iri c4(["commons.wikimedia.org"]):::literal c6(["Generator"]):::literal c12(["timestamp"]):::literal subgraph s1["http://wikiba.se/ontology#mwapi"] style s1 stroke-width:4px; c2 --"mwapi:endpoint"--> c4 c2 --"mwapi:api"--> c6 c2 --"mwapi:generator"--> c8 c2 --"mwapi:gaiuser"--> c10 c2 --"mwapi:gaisort"--> c12 c2 --"mwapi:gaidir"--> c14 v1 --"mwapi:apiOutput"--> c16 v2 --"mwapi:apiOutput"--> c17 end