query-2c23be9dd5d31990ce60aa19e78ffe61
Nobel prize winners who committed suicide SELECT ?author ?authorLabel ?prizeLabel WHERE { ?author wdt:P31 wd:Q5; wdt:P166 ?prize; wdt:P1196 wd:Q10737. ?prize wdt:P361 wd:Q7191. SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } } ORDER BY ?prizeLabel
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#>
# Nobel prize winners who committed suicide
SELECT ?author ?authorLabel ?prizeLabel WHERE {
?author wdt:P31 wd:Q5;
wdt:P166 ?prize;
wdt:P1196 wd:Q10737.
?prize wdt:P361 wd:Q7191.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
ORDER BY ?prizeLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?author"):::projected
v3("?prize")
v1("?prizeLabel"):::projected
c9(["bd:serviceParam"]):::iri
c5(["wd:Q10737"]):::iri
c2(["wd:Q5"]):::iri
c11(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c7(["wd:Q7191"]):::iri
v2 --"wdt:P31"--> c2
v2 --"wdt:P166"--> v3
v2 --"wdt:P1196"--> c5
v3 --"wdt:P361"--> c7
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end