query-e44bfb6ca645e8935f1c14d9a2a0a71e
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
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 ?item ?itemLabel ?start WHERE {
?item p:P463 ?stat .
?stat ps:P463 wd:Q96376996.
OPTIONAL {?stat pq:P580 ?start . }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en" . }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?item"):::projected
v3("?start"):::projected
v2("?stat")
c6(["bd:serviceParam"]):::iri
c3(["wd:Q96376996"]):::iri
c8(["en"]):::literal
v1 --"p:P463"--> v2
v2 --"p:statement/P463"--> c3
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."p:qualifier/P580".-> v3
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end