query-fb01fd9bca10bb31fd48d32f4ef16d60
bad significant events
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?item WHERE {
?item wdt:P170 wd:Q381238 .
?item p:P793 ?statement .
?statement pq:P585 ?date1.
?statement pq:P585 ?date2.
Filter (?date1 > ?date2).
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?date1")
v2("?date2")
v3("?item"):::projected
v4("?statement")
c2(["wd:Q381238"]):::iri
f0[["?date1 > ?date2"]]
f0 --> v1
f0 --> v2
v3 --"p:direct/P170"--> c2
v3 --"p:P793"--> v4
v4 --"p:qualifier/P585"--> v1
v4 --"p:qualifier/P585"--> v2