query-938b3c5861d8bcb7f7b2e6fe053a10c7
Propertiesdate of death (P570)
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX psv: <http://www.wikidata.org/prop/statement/value/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?date ?prec
{
?item p:P570/psv:P570 ?d_node .
?d_node wikibase:timePrecision ?prec .
?d_node wikibase:timeValue ?date .
FILTER (year(?date) < 1 && ?prec > 8)
SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
}
ORDER BY DESC(?date)
LIMIT 5000
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?d_node")
v1("?date"):::projected
v3("?item"):::projected
v2("?prec"):::projected
a1((" "))
c8(["bd:serviceParam"]):::iri
c10(["en"]):::literal
f0[["year-from-dateTime(?date) < '1^^xsd:integer'?prec > '8^^xsd:integer'"]]
f0 --> v1
f0 --> v2
v3 --"p:P570"--> a1
a1 --"p:statement/value/P570"--> v4
v4 --"wikibase:timePrecision"--> v2
v4 --"wikibase:timeValue"--> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
end