query-114284219acb61c1e93a5ee3f572303c

rq turtle/ttl

BHL page ID (P687): Usage in reference

Use at

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/>
SELECT ?item ?taxonName ?bhlPageId {
  ?item p:P225 ?statement .
  ?statement ps:P225 ?taxonName .
  ?statement prov:wasDerivedFrom ?refnode .
  ?refnode pr:P687 ?bhlPageId
}
ORDER BY ASC(?taxonName)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v5("?bhlPageId"):::projected v2("?item"):::projected v4("?refnode") v3("?statement") v1("?taxonName"):::projected v2 --"p:P225"--> v3 v3 --"p:statement/P225"--> v1 v3 --"prov:wasDerivedFrom"--> v4 v4 --"p:reference/P687"--> v5