query-db15af7a226146066448689c66991e09
title:New entities by user without identifiers. SELECT ?item ?itemLabel ?itemDescription ?timestamp ?size WHERE { SERVICE wikibase:mwapi { bd:serviceParam wikibase:endpoint "www.wikidata.org"; wikibase:limitContinuations "199";
wikibase:api "Generator";
mwapi:generator "allpages";
mwapi:gaplimit "1";
mwapi:list "usercontribs";
mwapi:ucuser "Pmt";
mwapi:ucshow "new";
mwapi:ucnamespace "0";
mwapi:uclimit "1";
mwapi:ucprop "ids|title|timestamp|size" .
?item wikibase:apiOutputItem "//api/query/usercontribs/item/@title" .
?timestamp wikibase:apiOutput "//api/query/usercontribs/item/@timestamp" .
?size wikibase:apiOutput "//api/query/usercontribs/item/@size" .
} FILTER BOUND(?item) ?item wikibase:identifiers "0"^^xsd:integer. SERVICE wikibase:label { bd:serviceParam wikibase:language "nb,nn,no,en". } }
Use at
- https://query.wikidata.org/sparql
PREFIX mwapi: <http://wikiba.se/ontology#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX bd: <http://www.bigdata.com/rdf#>
#title:New entities by user without identifiers.
SELECT ?item ?itemLabel ?itemDescription ?timestamp ?size
WHERE {
SERVICE wikibase:mwapi {
bd:serviceParam wikibase:endpoint "www.wikidata.org";
wikibase:limitContinuations "199";
wikibase:api "Generator";
mwapi:generator "allpages";
mwapi:gaplimit "1";
mwapi:list "usercontribs";
mwapi:ucuser "Pmt";
mwapi:ucshow "new";
mwapi:ucnamespace "0";
mwapi:uclimit "1";
mwapi:ucprop "ids|title|timestamp|size" .
?item wikibase:apiOutputItem "//api/query/usercontribs/item/@title" .
?timestamp wikibase:apiOutput "//api/query/usercontribs/item/@timestamp" .
?size wikibase:apiOutput "//api/query/usercontribs/item/@size" .
}
FILTER BOUND(?item)
?item wikibase:identifiers "0"^^xsd:integer.
SERVICE wikibase:label { bd:serviceParam wikibase:language "nb,nn,no,en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?item"):::projected
v3("?size"):::projected
v2("?timestamp"):::projected
c27(["//api/query/usercontribs/item/@timestamp"]):::literal
c14(["usercontribs"]):::literal
c6(["199"]):::literal
c2(["bd:serviceParam"]):::iri
c10(["allpages"]):::literal
c23(["ids|title|timestamp|size"]):::literal
c4(["www.wikidata.org"]):::literal
c18(["new"]):::literal
c25(["//api/query/usercontribs/item/@title"]):::literal
c33(["nb,nn,no,en"]):::literal
c20(["0"]):::literal
c30(["0^^xsd:integer"]):::literal
c12(["1"]):::literal
c28(["//api/query/usercontribs/item/@size"]):::literal
c16(["Pmt"]):::literal
c8(["Generator"]):::literal
f0[["bound(?item)"]]
f0 --> v1
subgraph s1["http://wikiba.se/ontology#mwapi"]
style s1 stroke-width:4px;
c2 --"mwapi:endpoint"--> c4
c2 --"mwapi:limitContinuations"--> c6
c2 --"mwapi:api"--> c8
c2 --"mwapi:generator"--> c10
c2 --"mwapi:gaplimit"--> c12
c2 --"mwapi:list"--> c14
c2 --"mwapi:ucuser"--> c16
c2 --"mwapi:ucshow"--> c18
c2 --"mwapi:ucnamespace"--> c20
c2 --"mwapi:uclimit"--> c12
c2 --"mwapi:ucprop"--> c23
v1 --"mwapi:apiOutputItem"--> c25
v2 --"mwapi:apiOutput"--> c27
v3 --"mwapi:apiOutput"--> c28
end
v1 --"mwapi:identifiers"--> c30
subgraph s2["http://wikiba.se/ontology#label"]
style s2 stroke-width:4px;
c2 --"mwapi:language"--> c33
end