query-90f13b976269fd3d6e6d8dc1bed0e905
Query
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#defaultView:Timeline
SELECT DISTINCT ?language ?languageLabel ?date
WHERE {
?language wdt:P31/wdt:P279* wd:Q17376908 . # find instances of subclasses of langoïd
FILTER (?locutors = 0) . # filter the extinct languages
?language p:P1098 [
ps:P1098 ?locutors ; # get the number of locutors of the language
pq:P585 ?date # get the date of extinction
]
SERVICE wikibase:label {
bd:serviceParam wikibase:language "en" .
}
}
ORDER BY DESC(?date)
LIMIT 300
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?date"):::projected
v3("?language"):::projected
v2("?locutors")
a1((" "))
a2((" "))
c9(["bd:serviceParam"]):::iri
c4(["wd:Q17376908"]):::iri
c11(["en"]):::literal
f0[["?locutors = '0^^xsd:integer'"]]
f0 --> v2
v3 --"p:direct/P31"--> a1
a1 --"p:direct/P279"--> c4
a2 --"p:statement/P1098"--> v2
a2 --"p:qualifier/P585"--> v1
v3 --"p:P1098"--> a2
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end