query-a223e557aa074cefca3cdabd7dbb699d
People connected with Coventry (born, died, buried...) but no image
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#>
SELECT DISTINCT ?person ?personLabel ?personDescription (YEAR(?dob) AS ?born) WHERE {
?person ?prop wd:Q6225; wdt:P31 wd:Q5.
MINUS {?person wdt:P18 ?image}
OPTIONAL {?person wdt:P569 ?dob}
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
} ORDER BY ?born
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v6("?born")
v5("?dob"):::projected
v4("?image")
v2("?person"):::projected
v3("?prop")
c7(["bd:serviceParam"]):::iri
c3(["wd:Q5"]):::iri
c1(["wd:Q6225"]):::iri
c9(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v2 -->v3--> c1
v2 --"wdt:P31"--> c3
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
v2 --"wdt:P18"--> v4
end
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P569".-> v5
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end
bind1[/"year-from-dateTime(?dob)"/]
v5 --o bind1
bind1 --as--o v6