Simple Question (Direct)
Simple Question
Q3181111
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Anneke Wills ?
(Q3181111,P27,c(Q15617994))
action filter_type
action find
entity Q3181111
relation P27
type Q15617994
['Q3181111', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q3181111 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Anneke Wills
action filter_type
action find
entity Anneke Wills
relation country of citizenship
type designation for an administrative territorial entity
['Anneke Wills', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Anneke_Wills property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q3181111,P27,c(Q15617994))
action filter_type
action find
entity Q3181111
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Anneke Wills
['Q3181111', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q3181111 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is the country of citizenship of Anneke Wills
United Kingdom
action filter_type
action find
entity Anneke Wills
relation country of citizenship
type designation for an administrative territorial entity
['Anneke Wills', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Anneke_Wills property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3181111
P26
Q502895
USER
Which person is the life partner of Anneke Wills ?
(c(Q502895),P26,Q3181111)
action filter_type
action find
entity Q3181111
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q3181111']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . resource:Q3181111 property:P26 ?x }
Anneke Wills
action filter_type
action find
entity Anneke Wills
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Anneke Wills']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . resource:Anneke_Wills property:spouse ?x }
[]
common name
Q299302
SYSTEM
Michael Gough
Q299302
(c(Q502895),P26,Q3181111)
action filter_type
action find
entity Q3181111
relation P26
type Q502895
[ANSWER] is the life partner of Anneke Wills
[{'concept': 'Q502895'}, 'P26', 'Q3181111']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . resource:Q3181111 property:P26 ?x }
Michael Gough
Michael Gough is the life partner of Anneke Wills
Michael Gough
action filter_type
action find
entity Anneke Wills
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Anneke Wills']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . resource:Anneke_Wills property:spouse ?x }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q299302
P1411
Q618779
USER
Which award did that person receive ?
(Q299302,P1411,c(Q618779))
action filter_type
action find
entity Q299302
relation P1411
type Q618779
['Q299302', 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?r WHERE { resource:Q299302 property:P1411 ?r . ?r rdf:type ontology:Q618779 }
Michael Gough
action filter_type
action find
entity Michael Gough
relation nominated for
type award
['Michael Gough', 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?r WHERE { resource:Michael_Gough property:nominated_for ?r . ?r rdf:type ontology:award }
[]
award
Q1474410
SYSTEM
Tony Award for Best Featured Actor in a Play
Q1474410
(Q299302,P1411,c(Q618779))
action filter_type
action find
entity Q299302
relation P1411
type Q618779
That person received the [ANSWER]
['Q299302', 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?r WHERE { resource:Q299302 property:P1411 ?r . ?r rdf:type ontology:Q618779 }
Tony Award for Best Featured Actor in a Play
That person received the Tony Award for Best Featured Actor in a Play
Tony Award for Best Featured Actor in a Play
action filter_type
action find
entity Michael Gough
relation nominated for
type award
['Michael Gough', 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?r WHERE { resource:Michael_Gough property:nominated_for ?r . ?r rdf:type ontology:award }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P1411
Q618779 Q502895 Q838948
USER
Which awards did greater number of people or works of art receive than that award ?
(c(Q502895)|c(Q838948),P1411,c(Q618779))
action greater
action union
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q502895
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q1474410
relation P1411
type Q502895
type Q838948
[[{'concept': 'Q502895'}, {'concept': 'Q838948'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) ?v WHERE { { ?s property:P1411 ?v . ?v rdf:type ontology:Q618779 . ?s rdf:type ontology:Q502895 } UNION { ?s property:P1411 ?v . ?v rdf:type ontology:Q618779 . ?s rdf:type ontology:Q838948 } } GROUP BY ?v } . FILTER ( ?x > ?h ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { ?i property:P1411 resource:Q1474410 . { { ?i rdf:type ontology:Q502895 } UNION { ?i rdf:type ontology:Q838948 } } } } }
action greater
action union
action find_reverse_tuple_counts
relation nominated for
type award
type common name
action find_reverse_tuple_counts
relation nominated for
type award
type work of art
action count
action filter_multi_types
action find_reverse
entity Tony Award for Best Featured Actor in a Play
relation nominated for
type common name
type work of art
[[{'concept': 'common name'}, {'concept': 'work of art'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) ?v WHERE { { ?s property:nominated_for ?v . ?v rdf:type ontology:award . ?s rdf:type ontology:common_name } UNION { ?s property:nominated_for ?v . ?v rdf:type ontology:award . ?s rdf:type ontology:work_of_art } } GROUP BY ?v } . FILTER ( ?x > ?h ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { ?i property:nominated_for resource:Tony_Award_for_Best_Featured_Actor_in_a_Play . { { ?i rdf:type ontology:common_name } UNION { ?i rdf:type ontology:work_of_art } } } } }
[]
award common name work of art
Q37922 Q1445521 Q185299
SYSTEM
Nobel Prize in Literature, Tony Award for Best Actor in a Play, Tony Award for Best Actress in a Play
Q1445521 Q37922 Q627778 Q185299
(c(Q502895)|c(Q838948),P1411,c(Q618779))
action greater
action union
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q502895
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q1474410
relation P1411
type Q502895
type Q838948
Greater number of people or works of art received the [ANSWERS] than that award
[[{'concept': 'Q502895'}, {'concept': 'Q838948'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) ?v WHERE { { ?s property:P1411 ?v . ?v rdf:type ontology:Q618779 . ?s rdf:type ontology:Q502895 } UNION { ?s property:P1411 ?v . ?v rdf:type ontology:Q618779 . ?s rdf:type ontology:Q838948 } } GROUP BY ?v } . FILTER ( ?x > ?h ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { ?i property:P1411 resource:Q1474410 . { { ?i rdf:type ontology:Q502895 } UNION { ?i rdf:type ontology:Q838948 } } } } }
Tony Award for Best Actor in a Play Nobel Prize in Literature Tony Award for Best Featured Actress in a Play Tony Award for Best Actress in a Play
Greater number of people or works of art received the Nobel Prize in Literature, Tony Award for Best Actor in a Play and Tony Award for Best Actress in a Play than that award
Nobel Prize in Literature Tony Award for Best Actor in a Play Tony Award for Best Actress in a Play
action greater
action union
action find_reverse_tuple_counts
relation nominated for
type award
type common name
action find_reverse_tuple_counts
relation nominated for
type award
type work of art
action count
action filter_multi_types
action find_reverse
entity Tony Award for Best Featured Actor in a Play
relation nominated for
type common name
type work of art
[[{'concept': 'common name'}, {'concept': 'work of art'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) ?v WHERE { { ?s property:nominated_for ?v . ?v rdf:type ontology:award . ?s rdf:type ontology:common_name } UNION { ?s property:nominated_for ?v . ?v rdf:type ontology:award . ?s rdf:type ontology:work_of_art } } GROUP BY ?v } . FILTER ( ?x > ?h ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { ?i property:nominated_for resource:Tony_Award_for_Best_Featured_Actor_in_a_Play . { { ?i rdf:type ontology:common_name } UNION { ?i rdf:type ontology:work_of_art } } } } }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P361
Q198 Q15275719 Q618779
USER
Which awards are a component of more number of wars or recurring events than that award ?
(c(Q618779),P361,c(Q198)|c(Q15275719))
[{'concept': 'Q618779'}, 'P361', [{'concept': 'Q198'}, {'concept': 'Q15275719'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:P361 ?y } UNION { ?z property:P361 ?x } } . ?z rdf:type ontology:Q618779 . ?y rdf:type ontology:Q26883397 . ?x rdf:type ontology:Q15275719 }
[{'concept': 'award'}, 'part of', [{'concept': 'war'}, {'concept': 'recurring event'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:part_of ?y } UNION { ?z property:part_of ?x } } . ?z rdf:type ontology:award . ?y rdf:type ontology:war . ?x rdf:type ontology:recurring_event }
[]
war recurring event award
Comparative|More/Less|Mult. entity type|Clarification
Q37922
SYSTEM
Did you mean Nobel Prize in Literature ?
(c(Q618779),P361,c(Q198)|c(Q15275719))
[ANSWER]
[{'concept': 'Q618779'}, 'P361', [{'concept': 'Q198'}, {'concept': 'Q15275719'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:P361 ?y } UNION { ?z property:P361 ?x } } . ?z rdf:type ontology:Q618779 . ?y rdf:type ontology:Q26883397 . ?x rdf:type ontology:Q15275719 }
Did you mean Nobel Prize in Literature ?
Nobel Prize in Literature
[{'concept': 'award'}, 'part of', [{'concept': 'war'}, {'concept': 'recurring event'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:part_of ?y } UNION { ?z property:part_of ?x } } . ?z rdf:type ontology:award . ?y rdf:type ontology:war . ?x rdf:type ontology:recurring_event }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q618779),P361,c(Q198)|c(Q15275719))
[{'concept': 'Q618779'}, 'P361', [{'concept': 'Q198'}, {'concept': 'Q15275719'}]]
[{'concept': 'award'}, 'part of', [{'concept': 'war'}, {'concept': 'recurring event'}]]
[]
SYSTEM
9
Q1700510 Q674146 Q21071120 Q2547676 Q279820 Q1071326 Q3895781 Q3910742 Q21071119
(c(Q618779),P361,c(Q198)|c(Q15275719))
[ANSWER]
[{'concept': 'Q618779'}, 'P361', [{'concept': 'Q198'}, {'concept': 'Q15275719'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:P361 ?y } UNION { ?z property:P361 ?x } } . ?z rdf:type ontology:Q618779 . ?y rdf:type ontology:Q26883397 . ?x rdf:type ontology:Q15275719 }
Golden Leopard Leopard of Honour Toronto International Film Festival Award for Best Canadian First Feature Film Croix de guerre 1939–1945 Golden Calf Un Certain Regard Best Direction Award Special Jury Prize Toronto International Film Festival Award for Best Canadian Film
9
[{'concept': 'award'}, 'part of', [{'concept': 'war'}, {'concept': 'recurring event'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:part_of ?y } UNION { ?z property:part_of ?x } } . ?z rdf:type ontology:award . ?y rdf:type ontology:war . ?x rdf:type ontology:recurring_event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q37922
P166
Q502895
USER
Who were awarded with Nobel Prize in Literature ?
(c(Q502895),P166,Q37922)
action filter_type
action find_reverse
entity Q37922
relation P166
type Q502895
[{'concept': 'Q502895'}, 'P166', 'Q37922']
SELECT DISTINCT ?k WHERE { ?k property:P166 resource:Q37922 . ?k rdf:type ontology:Q502895 }
Nobel Prize in Literature
action filter_type
action find_reverse
entity Nobel Prize in Literature
relation award received
type common name
[{'concept': 'common name'}, 'award received', 'Nobel Prize in Literature']
SELECT DISTINCT ?k WHERE { ?k property:award_received resource:Nobel_Prize_in_Literature . ?k rdf:type ontology:common_name }
[]
common name
Q37030 Q8016 Q37767
SYSTEM
Thomas Mann, Winston Churchill, T. S. Eliot
Q82248 Q45970 Q42037 Q41042 Q129173 Q7728 Q80871 Q121180 Q33760 Q274334 Q226525 Q38049 Q57074 Q165823 Q132723 Q225554 Q83174 Q392 Q44183 Q6538 Q129155 Q134644 Q43523 Q34189 Q134641 Q40213 Q18143 Q133042 Q80064 Q42247 Q40826 Q127349 Q44593 Q42156 Q160478 Q25351 Q5878 Q131318 Q34743 Q42552 Q47243 Q23434 Q8016 Q42398 Q43440 Q41502 Q83059 Q39212 Q222944 Q80095 Q241248 Q47162 Q39803 Q7176 Q93157 Q131487 Q93137 Q25973 Q132695 Q81685 Q129187 Q7241 Q80321 Q9364 Q132589 Q131326 Q38392 Q83038 Q43293 Q40874 Q131549 Q42747 Q159552 Q37030 Q41488 Q37767 Q83184 Q46739 Q75612 Q72334 Q43736 Q41223 Q47484 Q8998 Q47561 Q42596 Q765 Q37327 Q46405 Q19185 Q102483 Q123469 Q34670 Q132684 Q46602 Q80889 Q34474 Q80900 Q75603 Q1403 Q93356 Q42122 Q42443 Q76487 Q132701 Q234819 Q47755 Q44519 Q47695 Q37060 Q862 Q49747 Q47619
(c(Q502895),P166,Q37922)
action filter_type
action find_reverse
entity Q37922
relation P166
type Q502895
[ANSWERS] were awarded with Nobel Prize in Literature
[{'concept': 'Q502895'}, 'P166', 'Q37922']
SELECT DISTINCT ?k WHERE { ?k property:P166 resource:Q37922 . ?k rdf:type ontology:Q502895 }
John Galsworthy Czesław Miłosz J. M. G. Le Clézio Harold Pinter Verner von Heidenstam Grazia Deledda Gabriela Mistral Władysław Reymont Bertrand Russell Sviatlana Aleksievich Carl Spitteler Herta Müller Nelly Sachs Giorgos Seferis Frans Eemil Sillanpää Henrik Pontoppidan Eugenio Montale Bob Dylan William Golding Günter Grass Roger Martin du Gard Vicente Aleixandre Gerhart Hauptmann Pablo Neruda Erik Axel Karlfeldt William Butler Yeats Gao Xingjian Shmuel Yosef Agnon Elias Canetti Sully Prudhomme Knut Hamsun José Echegaray V. S. Naipaul Henri Bergson Odysseas Elytis Theodor Mommsen Gabriel García Márquez Juan Ramón Jiménes Rudyard Kipling Wisława Szymborska Elfriede Jelinek Ernest Hemingway Winston Churchill Michail Sholokhov Giosuè Carducci Henryk Sienkiewicz Saul Bellow John Steinbeck Patrick Modiano Kenzaburō Ōe Orhan Pamuk Romain Rolland Mario Vargas Llosa Naguib Mahfouz Eugene O'Neill Karl Adolph Gjellerup Pär Lagerkvist Hermann Hesse Harry Martinson François Mauriac Patrick White Rabindranath Tagore Halldór Laxness Jean-Paul Sartre Camilo José Cela Eyvind Johnson William Faulkner Salvatore Quasimodo J. M. Coetzee Doris Lessing Claude Simon Heinrich Böll Johannes V. Jensen Thomas Mann Wole Soyinka T. S. Eliot Jacinto Benavente Octavio Paz Panochudo Isaac Bashevis Singer Toni Morrison Yasunari Kawabata Boris Pasternak André Gide Mo Yan Ivo Andrić Frédéric Mistral Dario Fo Samuel Beckett Bjørnstjerne Bjørnson George Bernard Shaw Jaroslav Seifert Sinclair Lewis Albert Camus Saint-John Perse Ivan Bunin Sigrid Undset Aleksandr Solzhenitsyn Pearl S. Buck Miguel Ángel Asturias Luigi Pirandello Seamus Heaney Tomas Tranströmer Anatole France Paul Heyse Derek Walcott Alice Munro Imre Kertész Selma Lagerlöf Rudolf Christoph Eucken José Saramago Joseph Brodsky Maurice Maeterlinck Nadine Gordimer
Thomas Mann, Winston Churchill and T. S. Eliot were awarded with Nobel Prize in Literature
Thomas Mann Winston Churchill T. S. Eliot
action filter_type
action find_reverse
entity Nobel Prize in Literature
relation award received
type common name
[{'concept': 'common name'}, 'award received', 'Nobel Prize in Literature']
SELECT DISTINCT ?k WHERE { ?k property:award_received resource:Nobel_Prize_in_Literature . ?k rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q37030 Q8016 Q37767
P106
Q151885
USER
Which concepts are the professions of Thomas Mann, Winston Churchill and T. S. Eliot ?
(Q37030,P106,c(Q151885)) (Q8016,P106,c(Q151885)) (Q37767,P106,c(Q151885))
action union
action filter_type
action find
entity Q37030
relation P106
type Q151885
action filter_type
action find
entity Q8016
relation P106
type Q151885
action filter_type
action find
entity Q37767
relation P106
type Q151885
['Q37030', 'P106', {'concept': 'Q151885'}] ['Q8016', 'P106', {'concept': 'Q151885'}] ['Q37767', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?f WHERE { VALUES ( ?n ) { ( resource:Q37030 ) ( resource:Q8016 ) } . ?n property:P106 ?f }
Thomas Mann Winston Churchill T. S. Eliot
action union
action filter_type
action find
entity Thomas Mann
relation occupation
type concept
action filter_type
action find
entity Winston Churchill
relation occupation
type concept
action filter_type
action find
entity T. S. Eliot
relation occupation
type concept
['Thomas Mann', 'occupation', {'concept': 'concept'}] ['Winston Churchill', 'occupation', {'concept': 'concept'}] ['T. S. Eliot', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?f WHERE { VALUES ( ?n ) { ( resource:Thomas_Mann ) ( resource:Winston_Churchill ) } . ?n property:occupation ?f }
[]
concept
Q15978337 Q18814623 Q18814623
SYSTEM
social critic for 1st, autobiographer for 2nd, 3rd
Q15978337 Q18814623 Q18814623 Q15978337 Q214917
(Q37030,P106,c(Q151885)) (Q8016,P106,c(Q151885)) (Q37767,P106,c(Q151885))
action union
action filter_type
action find
entity Q37030
relation P106
type Q151885
action filter_type
action find
entity Q8016
relation P106
type Q151885
action filter_type
action find
entity Q37767
relation P106
type Q151885
[ANSWERS]
['Q37030', 'P106', {'concept': 'Q151885'}] ['Q8016', 'P106', {'concept': 'Q151885'}] ['Q37767', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?f WHERE { VALUES ( ?n ) { ( resource:Q37030 ) ( resource:Q8016 ) } . ?n property:P106 ?f }
social critic autobiographer autobiographer social critic playwright
The social critic, autobiographer and autobiographer are the professions of Thomas Mann, Winston Churchill and T. S. Eliot
social critic autobiographer autobiographer
action union
action filter_type
action find
entity Thomas Mann
relation occupation
type concept
action filter_type
action find
entity Winston Churchill
relation occupation
type concept
action filter_type
action find
entity T. S. Eliot
relation occupation
type concept
['Thomas Mann', 'occupation', {'concept': 'concept'}] ['Winston Churchill', 'occupation', {'concept': 'concept'}] ['T. S. Eliot', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?f WHERE { VALUES ( ?n ) { ( resource:Thomas_Mann ) ( resource:Winston_Churchill ) } . ?n property:occupation ?f }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8016
P607
Q350604
USER
What battle were Winston Churchill a part of ?
(Q8016,P607,c(Q350604))
action filter_type
action find
entity Q8016
relation P607
type Q350604
['Q8016', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?z WHERE { resource:Q8016 property:P607 ?z . ?z rdf:type ontology:Q350604 }
Winston Churchill
action filter_type
action find
entity Winston Churchill
relation conflict
type armed conflict
['Winston Churchill', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?z WHERE { resource:Winston_Churchill property:conflict ?z . ?z rdf:type ontology:armed_conflict }
[]
armed conflict
Q31944 Q215112
SYSTEM
Mahdist War, Second Boer War
Q31944 Q215112
(Q8016,P607,c(Q350604))
action filter_type
action find
entity Q8016
relation P607
type Q350604
Winston Churchill were the [ANSWERS]
['Q8016', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?z WHERE { resource:Q8016 property:P607 ?z . ?z rdf:type ontology:Q350604 }
Mahdist War Second Boer War
Winston Churchill were the Mahdist War and Second Boer War
Mahdist War Second Boer War
action filter_type
action find
entity Winston Churchill
relation conflict
type armed conflict
['Winston Churchill', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?z WHERE { resource:Winston_Churchill property:conflict ?z . ?z rdf:type ontology:armed_conflict }
[]