query-1b911c9685505fa09864db7fc7654b3e
personnes mortes ces 30 derniers jours, sans nationalitétinyurl.com/zuvhcvw
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
SELECT ?person ?personLabel ?died WHERE {
?person wdt:P31 wd:Q5;
wdt:P570 ?died.
MINUS {
?person wdt:P27 ?nationality.
}
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
FILTER(?died >= ((NOW()) - "P30D"^^xsd:duration))
}
ORDER BY ?died
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?died"):::projected
v3("?nationality")
v2("?person"):::projected
c7(["bd:serviceParam"]):::iri
c3(["wd:Q5"]):::iri
c9(["en"]):::literal
f0[["?died >= NOW() - 'P30D^^xsd:duration'"]]
f0 --> v1
v2 --"wdt:P31"--> c3
v2 --"wdt:P570"--> v1
subgraph minus1["MINUS"]
style minus1 stroke-width:6px,fill:pink,stroke:red;
v2 --"wdt:P27"--> v3
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end