query-872537882cfd711805d5d8bd981f236d

rq turtle/ttl

Items created last as an example).(Q39715)lighthouse Since the item creation date seems not to be available for SPARQL queries, here a query for the 10 latest items of a certain class ( Items created last as an example). (Q39715)lighthouse Since the item creation date seems not to be available for SPARQL queries, here a query for the 10 latest items of a certain class ( Items created last as an example).(Q39715)lighthouse Since the item creation date seems not to be available for SPARQL queries, here a query for the 10 latest items of a certain class ( Items created last as an example). (Q39715)lighthouse Since the item creation date seems not to be available for SPARQL queries, here a query for the 10 latest items of a certain class ( Eléments créés récemment par exemple). (Q39715)lighthouse Comme la date de création de l'élément ne semble pas être disponible pour les requêtes SPARQL, voici une requête pour les 10 derniers éléments d'une classe donnée ( Items created last as an example).(Q39715)lighthouse Since the item creation date seems not to be available for SPARQL queries, here a query for the 10 latest items of a certain class ( Laatst aangemaakte items als voorbeeld). (Q39715)lighthouse Aangezien de aanmaakdatum van het item niet beschikbaar lijkt te zijn voor SPARQL-query's, hier een query voor de 10 nieuwste items van een bepaalde klasse ( Items created last as an example).(Q39715)lighthouse Since the item creation date seems not to be available for SPARQL queries, here a query for the 10 latest items of a certain class ( Items created last as an example).(Q39715)lighthouse Since the item creation date seems not to be available for SPARQL queries, here a query for the 10 latest items of a certain class ( Items created last as an example).(Q39715)lighthouse Since the item creation date seems not to be available for SPARQL queries, here a query for the 10 latest items of a certain class ( Items created last as an example). (Q39715)lighthouse Since the item creation date seems not to be available for SPARQL queries, here a query for the 10 latest items of a certain class (

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 bd: <http://www.bigdata.com/rdf#>
select ?item ?itemLabel
where {
  # restrict to some class, or select otherwise
  # (does not work with results too large!)
  ?item wdt:P31 wd:Q39715 .
  bind(xsd:integer(strafter(str(?item), 'Q')) as ?id)
  service wikibase:label { bd:serviceParam wikibase:language "en" .}
}
order by desc(?id )
limit 10

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?id") v2("?item"):::projected c4(["bd:serviceParam"]):::iri c6(["en"]):::literal c2(["wd:Q39715"]):::iri v2 --"wdt:P31"--> c2 bind0[/"http://www.w3.org/2001/XMLSchema#integer(substring-after(str(?item),'Q'))"/] v2 --o bind0 bind0 --as--o v3 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c4 --"wikibase:language"--> c6 end