query-555f57176836a6c11c484948db90c22d
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX mwapi: <http://wikiba.se/ontology#>
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 WHERE {
SERVICE wikibase:mwapi {
bd:serviceParam wikibase:api "Generator" .
bd:serviceParam wikibase:endpoint "www.wikidata.org" .
bd:serviceParam mwapi:generator "recentchanges" .
bd:serviceParam mwapi:grcprop "ids|title" .
bd:serviceParam mwapi:grclimit "max" .
bd:serviceParam mwapi:grcnamespace "0" .
bd:serviceParam mwapi:grctype "new" .
?qid wikibase:apiOutput mwapi:title .
}
BIND(URI(CONCAT('http://www.wikidata.org/entity/', ?qid)) AS ?item)
?item wdt:P31 wd:Q4167836 .
} ORDER BY DESC(?item) LIMIT 100
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?item"):::projected
v2("?qid")
c6(["www.wikidata.org"]):::literal
c16(["new"]):::literal
c12(["max"]):::literal
c14(["0"]):::literal
c2(["bd:serviceParam"]):::iri
c10(["ids|title"]):::literal
c20(["wd:Q4167836"]):::iri
c18(["mwapi:title"]):::iri
c8(["recentchanges"]):::literal
c4(["Generator"]):::literal
subgraph s1["http://wikiba.se/ontology#mwapi"]
style s1 stroke-width:4px;
c2 --"mwapi:api"--> c4
c2 --"mwapi:endpoint"--> c6
c2 --"mwapi:generator"--> c8
c2 --"mwapi:grcprop"--> c10
c2 --"mwapi:grclimit"--> c12
c2 --"mwapi:grcnamespace"--> c14
c2 --"mwapi:grctype"--> c16
v2 --"mwapi:apiOutput"--> c18
end
bind0[/"concat('http://www.wikidata.org/entity/',?qid)"/]
v2 --o bind0
bind0 --as--o v3
v3 --"wdt:P31"--> c20