query-abff0591f32394332c25b9257b353519
title: Which are the available referenced structure-organism pairs on Wikidata? (limited to 1mio) SELECT DISTINCT ?structure ?taxon ?reference WHERE { ?structure p:P235 []; p:P703 [ ps:P703 ?taxon; (prov:wasDerivedFrom/pr:P248) ?reference; wikibase:rank wikibase:NormalRank; ] . hint:Prior hint:rangeSafe true. } LIMIT 1000000
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX pr: <http://www.wikidata.org/prop/reference/>
PREFIX p: <http://www.wikidata.org/prop/>
#title: Which are the available referenced structure-organism pairs on Wikidata? (limited to 1mio)
SELECT DISTINCT ?structure ?taxon ?reference WHERE {
?structure p:P235 [];
p:P703 [
ps:P703 ?taxon;
(prov:wasDerivedFrom/pr:P248) ?reference;
wikibase:rank wikibase:NormalRank;
] .
}
LIMIT 1000000
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?reference"):::projected
v1("?structure"):::projected
v2("?taxon"):::projected
a1((" "))
a2((" "))
a3((" "))
c6(["wikibase:NormalRank"]):::iri
v1 --"p:P235"--> a1
a2 --"p:statement/P703"--> v2
a2 --"prov:wasDerivedFrom"--> a3
a3 --"p:reference/P248"--> v3
a2 --"wikibase:rank"--> c6
v1 --"p:P703"--> a2