query-fce43698f4461caba8cd08a67f40ef68
Number of deaths
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?deaths ?injured ?survivors ?time WHERE {
?item wdt:P1120 ?deaths .
OPTIONAL {?item wdt:P1339 ?injured } .
OPTIONAL {?item wdt:P1561 ?survivors } .
?item wdt:P585 ?time
SERVICE wikibase:label {
bd:serviceParam wikibase:language "de,en" .
}
} ORDER BY DESC(?time)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?deaths"):::projected
v4("?injured"):::projected
v2("?item"):::projected
v5("?survivors"):::projected
v1("?time"):::projected
c6(["bd:serviceParam"]):::iri
c8(["de,en"]):::literal
v2 --"wdt:P1120"--> v3
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P1339".-> v4
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P1561".-> v5
end
v2 --"wdt:P585"--> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end