query-f4d4172e946582ee4b31a7fa60f09397
Uncited dates of death for people who have NYT obituaries in Wikidata
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 prov: <http://www.w3.org/ns/prov#>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?subject ?subjectLabel ?obiturl WHERE
{
?item wdt:P31 wd:Q309481.
?item wdt:P1433 wd:Q9684.
?item wdt:P953 ?obiturl.
?item wdt:P921 ?subject.
?subject p:P570 ?deathStatement.
MINUS {?deathStatement wikibase:rank wikibase:DeprecatedRank}
MINUS {?deathStatement prov:wasDerivedFrom []}
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?deathStatement")
v1("?item")
v2("?obiturl"):::projected
v3("?subject"):::projected
a1((" "))
c2(["wd:Q309481"]):::iri
c9(["wikibase:DeprecatedRank"]):::iri
c4(["wd:Q9684"]):::iri
c12(["bd:serviceParam"]):::iri
c14(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v1 --"p:direct/P31"--> c2
v1 --"p:direct/P1433"--> c4
v1 --"p:direct/P953"--> v2
v1 --"p:direct/P921"--> v3
v3 --"p:P570"--> v4
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
v4 --"wikibase:rank"--> c9
end
subgraph minus1["MINUS"]
style minus1 stroke-width:6px,fill:pink,stroke:red;
v4 --"prov:wasDerivedFrom"--> a1
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c12 --"wikibase:language"--> c14
end