query-9d5373e476e0de5a4bc8dfcb97bc0b91
Basis:
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
SELECT DISTINCT ?item ?name ?articleURL
{
?item wdt:P31 wd:Q16521 .
?item wdt:P171* wd:Q5113 .
?item wdt:P105 wd:Q7432 . #species only
FILTER NOT EXISTS { ?item wdt:P141 wd:Q237350 } # not extinct
?articleURL schema:about ?item ; schema:name ?name ; schema:isPartOf <https://fr.wikipedia.org/> . #must have sitelink to frwiki
}
ORDER BY ?name # article name
#OFFSET 0 LIMIT 3000 # first list
#OFFSET 3000 LIMIT 3000 # second list
#OFFSET 6000 LIMIT 3000 # third list
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?articleURL"):::projected
v2("?item"):::projected
v1("?name"):::projected
c8(["wd:Q7432"]):::iri
c12([https://fr.wikipedia.org/]):::iri
c6(["wd:Q5113"]):::iri
c4(["wd:Q16521"]):::iri
c2(["wd:Q237350"]):::iri
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"wdt:P141"--> e0c2
e0v1("?item"):::projected
e0c2(["wd:Q237350"]):::iri
end
f0--EXISTS--> f0e0
f0 --> v2
f0 --> c1
f0 --> c2
v2 --"wdt:P141"--> c2
v2 --"wdt:P31"--> c4
v2 --"wdt:P171"--> c6
v2 --"wdt:P105"--> c8
v3 --"schema:about"--> v2
v3 --"schema:name"--> v1
v3 --"schema:isPartOf"--> c12