query-0a738619dc1af548076e1335ef9ad10d

rq turtle/ttl

الأشخاص الذين حصلوا على كل من جائزة الأوسكار وجائزة نوبل People that received both Academy Award and Nobel Prize Persones que han rebut ambdós Premi d'Acadèmia i premi Nobel Lidé, kteří obdrželi Oscara i Nobelovu cenu People that received both Academy Award and Nobel Prize Leute, die sowohl Oscars als auch Nobelpreise erhalten haben People that received both Academy Award and Nobel Prize People that received both Academy Award and Nobel Prize People that received both Academy Award and Nobel Prize People that received both Academy Award and Nobel Prize People that received both Academy Award and Nobel Prize Personnes qui ont reçu à la fois un Oscar et un prix Nobel אנשים שקיבלו גם פרס אקדמיה וגם פרס נובל People that received both Academy Award and Nobel Prize People that received both Academy Award and Nobel Prize Persone che hanno ricevuto sia il premio Oscar che il premio Nobel アカデミー賞とノーベル賞を両方受賞した人 People that received both Academy Award and Nobel Prize People that received both Academy Award and Nobel Prize People that received both Academy Award and Nobel Prize People that received both Academy Award and Nobel Prize Mensen die zowel de Academy Award als de Nobelprijs ontvingen People that received both Academy Award and Nobel Prize People that received both Academy Award and Nobel Prize People that received both Academy Award and Nobel Prize Люди, удостоенные и премии «Оскар», и Нобелевской премии People that received both Academy Award and Nobel Prize Folk som mottagit både en Oscar och nobelpriset People that received both Academy Award and Nobel Prize People that received both Academy Award and Nobel Prize Люди, які отримали як премію «Оскар», так і Нобелівську премію People that received both Academy Award and 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 ?NobelPrizeLabel ?AcademyAwardLabel WHERE {
  ?NobelPrize wdt:P279?/wdt:P31? wd:Q7191 .    # <- subtypes of nobel prize
  ?AcademyAward wdt:P279?/wdt:P31? wd:Q19020 . # <- subtypes of academy award
  ?Person wdt:P166? ?NobelPrize .              # <- people awarded a nobel prize
  ?Person wdt:P166? ?AcademyAward .            # <- people awarded an academy award
  SERVICE wikibase:label {
    bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" .
  }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?AcademyAward") v1("?NobelPrize") v3("?Person"):::projected a1((" ")) a2((" ")) c4(["wd:Q19020"]):::iri c7(["bd:serviceParam"]):::iri c9(["#91;AUTO_LANGUAGE#93;,mul,en"]):::literal c2(["wd:Q7191"]):::iri subgraph union0[" Union "] subgraph union0l[" "] style union0l fill:#abf,stroke-dasharray: 3 3; v1 --"wdt:P279"--> a1 end subgraph union0r[" "] style union0r fill:#abf,stroke-dasharray: 3 3; end union0r <== or ==> union0l end subgraph union1[" Union "] subgraph union1l[" "] style union1l fill:#abf,stroke-dasharray: 3 3; a1 --"wdt:P31"--> c2 end subgraph union1r[" "] style union1r fill:#abf,stroke-dasharray: 3 3; end union1r <== or ==> union1l end subgraph union2[" Union "] subgraph union2l[" "] style union2l fill:#abf,stroke-dasharray: 3 3; v2 --"wdt:P279"--> a2 end subgraph union2r[" "] style union2r fill:#abf,stroke-dasharray: 3 3; end union2r <== or ==> union2l end subgraph union3[" Union "] subgraph union3l[" "] style union3l fill:#abf,stroke-dasharray: 3 3; a2 --"wdt:P31"--> c4 end subgraph union3r[" "] style union3r fill:#abf,stroke-dasharray: 3 3; end union3r <== or ==> union3l end subgraph union4[" Union "] subgraph union4l[" "] style union4l fill:#abf,stroke-dasharray: 3 3; v3 --"wdt:P166"--> v1 end subgraph union4r[" "] style union4r fill:#abf,stroke-dasharray: 3 3; end union4r <== or ==> union4l end subgraph union5[" Union "] subgraph union5l[" "] style union5l fill:#abf,stroke-dasharray: 3 3; v3 --"wdt:P166"--> v2 end subgraph union5r[" "] style union5r fill:#abf,stroke-dasharray: 3 3; end union5r <== or ==> union5l end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c7 --"wikibase:language"--> c9 end