query-4b6c65839f13f6f0dd588b7d7fe636dc
🪣 Most recently created entities within scope of the WikiProject
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#>
SELECT ?item ?itemLabel {
SERVICE wikibase:mwapi {
bd:serviceParam wikibase:endpoint "www.wikidata.org";
wikibase:api "Generator" ;
wikibase:limit "once" ;
mwapi:generator "search";
mwapi:gsrsearch "haswbstatement:P6104=Q56241615" ;
mwapi:gsrsort "create_timestamp_desc" ;
mwapi:gsrlimit "100".
?item wikibase:apiOutputItem mwapi:title.
}
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
ORDER BY DESC(xsd:integer(SUBSTR(STR(?item), 33)))
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?item"):::projected
c5(["www.wikidata.org"]):::literal
c13(["haswbstatement:P6104=Q56241615"]):::literal
c17(["100"]):::literal
c11(["search"]):::literal
c3(["bd:serviceParam"]):::iri
c9(["once"]):::literal
c22(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c15(["create_timestamp_desc"]):::literal
c19(["mwapi:title"]):::iri
c7(["Generator"]):::literal
subgraph s1["http://wikiba.se/ontology#mwapi"]
style s1 stroke-width:4px;
c3 --"mwapi:endpoint"--> c5
c3 --"mwapi:api"--> c7
c3 --"mwapi:limit"--> c9
c3 --"mwapi:generator"--> c11
c3 --"mwapi:gsrsearch"--> c13
c3 --"mwapi:gsrsort"--> c15
c3 --"mwapi:gsrlimit"--> c17
v1 --"mwapi:apiOutputItem"--> c19
end
subgraph s2["http://wikiba.se/ontology#label"]
style s2 stroke-width:4px;
c3 --"mwapi:language"--> c22
end