query-39a0738005be1aac4be16f8029c72d73

rq turtle/ttl

Who won more than one Nobel Prize??

Use at

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 (COUNT(?nobelpreis) AS ?number)
WHERE
{
  ?person wdt:P166 ?nobelpreis .
  ?nobelpreis wdt:P279 wd:Q7191 .
  SERVICE wikibase:label {bd:serviceParam wikibase:language "de" }
} GROUP BY ?person ?personLabel
HAVING(COUNT(?nobelpreis) > 1)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?_anon_d00291b7e9a143df8ec0be8c8ebd714c1303") v2("?nobelpreis"):::projected v4("?number") v1("?person"):::projected a1((" ")) c8(["de"]):::literal c6(["bd:serviceParam"]):::iri c4(["wd:Q7191"]):::iri f0[[" > '1^^xsd:integer'"]] f0 --> a1 v1 --"wdt:P166"--> v2 v2 --"wdt:P279"--> c4 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c6 --"wikibase:language"--> c8 end bind3[/"count(?nobelpreis)"/] v2 --o bind3 bind3 --as--o v3 bind4[/"count(?nobelpreis)"/] v2 --o bind4 bind4 --as--o v4