query-16e9eb49b77c30d89f5a1bd3fb141924
Propertiesinstance of (P31)date of death (P570)
Use at
- https://query.wikidata.org/sparql
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?itemDescription ?dod
WHERE {
?item wdt:P31 wd:Q5 .
?item wdt:P570 ?time0 .
?orwiki_sitelink schema:about ?item; schema:isPartOf <https://or.wikipedia.org/> .
FILTER ( ?time0 >= "2017-01-01T00:00:00Z"^^xsd:dateTime && ?time0 < "2018-01-01T00:00:00Z"^^xsd:dateTime )
OPTIONAL { ?item wdt:P570 ?dod }
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" . }
}
ORDER BY ?dod
LIMIT 56
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?dod"):::projected
v3("?item"):::projected
v4("?orwiki_sitelink")
v2("?time0")
c10(["bd:serviceParam"]):::iri
c4(["wd:Q5"]):::iri
c12(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c8([https://or.wikipedia.org/]):::iri
f0[["?time0 >= '2017-01-01T00:00:00Z^^xsd:dateTime'?time0 < '2018-01-01T00:00:00Z^^xsd:dateTime'"]]
f0 --> v2
v3 --"wdt:P31"--> c4
v3 --"wdt:P570"--> v2
v4 --"schema:about"--> v3
v4 --"schema:isPartOf"--> c8
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v3 -."wdt:P570".-> v1
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c10 --"wikibase:language"--> c12
end