query-d1605114a89b9199549fc1436de89856
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wd: <http://www.wikidata.org/entity/>
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 pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT * WHERE {
?item p:P1343 ?descStmt.
?descStmt ps:P1343 wd:Q98281053.
OPTIONAL { ?descStmt pq:P2699 ?url. }
OPTIONAL { ?descStmt prov:wasDerivedFrom ?refNode.
?refNode pr:P854 ?refUrl. }
}
Query found at
- https://www.wikidata.org/w/index.php?title=Topic:W3zj0seqnzgrx2qp&topic_showPostId=w3zj0seqo3eu56ox#flow-post-w3zj0seqo3eu56ox
- https://www.wikidata.org/wiki/Topic:W3zj0seqnzgrx2qp
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?descStmt"):::projected
v1("?item"):::projected
v4("?refNode"):::projected
v5("?refUrl"):::projected
v3("?url"):::projected
c3(["wd:Q98281053"]):::iri
v1 --"p:P1343"--> v2
v2 --"p:statement/P1343"--> c3
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."p:qualifier/P2699".-> v3
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v2 -."prov:wasDerivedFrom".-> v4
v4 --"p:reference/P854"--> v5
end