Simple Question (Direct)
Simple Question
Q1685436
P19
Q20667921
USER
Which french administrative division was Jean Clédat born at ?
(Q1685436,P19,c(Q20667921))
action filter_type
action find
entity Q1685436
relation P19
type Q20667921
['Q1685436', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?d WHERE { resource:Q1685436 property:P19 ?d . ?d rdf:type ontology:Q20667921 }
Jean Clédat
action filter_type
action find
entity Jean Clédat
relation place of birth
type type of french administrative division
['Jean Clédat', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?d WHERE { resource:Jean_Clédat property:place_of_birth ?d . ?d rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q6588
SYSTEM
Périgueux
Q6588
(Q1685436,P19,c(Q20667921))
action filter_type
action find
entity Q1685436
relation P19
type Q20667921
Jean Clédat was born in [ANSWER]
['Q1685436', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?d WHERE { resource:Q1685436 property:P19 ?d . ?d rdf:type ontology:Q20667921 }
Périgueux
Jean Clédat was born in Périgueux
Périgueux
action filter_type
action find
entity Jean Clédat
relation place of birth
type type of french administrative division
['Jean Clédat', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?d WHERE { resource:Jean_Clédat property:place_of_birth ?d . ?d rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1685436
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q6588,P27,c(Q15617994))
action filter_type
action find
entity Q1685436
relation P27
type Q15617994
['Q6588', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q1685436 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
Jean Clédat
action filter_type
action find
entity Jean Clédat
relation country of citizenship
type designation for an administrative territorial entity
['Périgueux', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Jean_Clédat property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q6588,P27,c(Q15617994))
action filter_type
action find
entity Q1685436
relation P27
type Q15617994
The [ANSWER] is that person a civilian of
['Q6588', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q1685436 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
France
The France is that person a civilian of
France
action filter_type
action find
entity Jean Clédat
relation country of citizenship
type designation for an administrative territorial entity
['Périgueux', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Jean_Clédat property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1685436
P21
Q290
USER
What is the sex of Jean Clédat ?
(Q1685436,P21,c(Q290))
action filter_type
action find
entity Q1685436
relation P21
type Q290
['Q1685436', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q1685436 property:P21 ?n . ?n rdf:type ontology:Q290 }
Jean Clédat
action filter_type
action find
entity Jean Clédat
relation gender
type sex
['Jean Clédat', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Jean_Clédat property:gender ?n . ?n rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1685436,P21,c(Q290))
action filter_type
action find
entity Q1685436
relation P21
type Q290
The sex of Jean Clédat is the [ANSWER]
['Q1685436', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q1685436 property:P21 ?n . ?n rdf:type ontology:Q290 }
male
The sex of Jean Clédat is the male
male
action filter_type
action find
entity Jean Clédat
relation gender
type sex
['Jean Clédat', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Jean_Clédat property:gender ?n . ?n rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q23542660
P21
Q502895
USER
Is Janita Asma a that sex ?
(Q23542660,P21,Q6581097)
action is_in
entity Q23542660
action find
entity Q6581097
relation P21
['Q23542660', 'P21', 'Q6581097']
ASK WHERE { resource:Q6581097 property:P21 resource:Q23542660 }
male Janita Asma
action is_in
entity Janita Asma
action find
entity male
relation gender
['Janita Asma', 'gender', 'male']
ASK WHERE { resource:male property:gender resource:Janita_Asma }
[]
common name
SYSTEM
NO
(Q23542660,P21,Q6581097)
action is_in
entity Q23542660
action find
entity Q6581097
relation P21
[ANSWER]
['Q23542660', 'P21', 'Q6581097']
ASK WHERE { resource:Q6581097 property:P21 resource:Q23542660 }
No
action is_in
entity Janita Asma
action find
entity male
relation gender
['Janita Asma', 'gender', 'male']
ASK WHERE { resource:male property:gender resource:Janita_Asma }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q983441
P941
Q502895 Q15416 Q502895
USER
Which people were the sources of inspiration for approximately the same number of television programs or people as Thomas Moran ?
(c(Q15416)|c(Q502895),P941,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q15416
action find_reverse_tuple_counts
relation P941
type Q502895
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q983441
relation P941
type Q15416
type Q502895
[[{'concept': 'Q15416'}, {'concept': 'Q502895'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?d ) WHERE { VALUES ( ?i ) { ( ontology:Q15416 ) ( ontology:Q502895 ) } . ?b rdf:type ?i } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { ?l property:P941 resource:Q983441 . { ?l rdf:type ?h . VALUES ( ?h ) { ( ontology:Q15416 ) ( ontology:Q502895 ) } } } } . FILTER ( ?d = ?v ) }
Thomas Moran
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type television program
action find_reverse_tuple_counts
relation inspired by
type common name
type common name
action count
action filter_multi_types
action find_reverse
entity Thomas Moran
relation inspired by
type television program
type common name
[[{'concept': 'television program'}, {'concept': 'common name'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?d ) WHERE { VALUES ( ?i ) { ( ontology:television_program ) ( ontology:common_name ) } . ?b rdf:type ?i } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { ?l property:inspired_by resource:Thomas_Moran . { ?l rdf:type ?h . VALUES ( ?h ) { ( ontology:television_program ) ( ontology:common_name ) } } } } . FILTER ( ?d = ?v ) }
[]
common name television program common name
Q8016 Q352 Q22686
SYSTEM
Winston Churchill, Adolf Hitler, Donald Trump
Q19738291 Q23380 Q3481979 Q40475 Q366380 Q334001 Q42229 Q5296307 Q58801 Q129308 Q42305 Q558333 Q560792 Q35548 Q1067550 Q2707376 Q180919 Q105719 Q205002 Q37693 Q712955 Q302650 Q531161 Q8016 Q456270 Q127171 Q649801 Q43715 Q42786 Q312502 Q2864567 Q154545 Q5534471 Q2907490 Q1532260 Q892444 Q164823 Q184226 Q228024 Q182450 Q183221 Q3047248 Q2617543 Q711129 Q81960 Q5592 Q352 Q145746 Q921798 Q5594 Q538158 Q3984877 Q3741372 Q1508997 Q116462 Q357786 Q1779 Q310476 Q183458 Q34618 Q151573 Q3560424 Q947525 Q56016 Q458779 Q73089 Q182462 Q1353414 Q575668 Q171745 Q100937 Q5669 Q395274 Q272068 Q2437296 Q9077 Q443540 Q966425 Q1281170 Q47551 Q357951 Q676001 Q46373 Q267803 Q37079 Q103343 Q284047 Q464056 Q313270 Q48319 Q1288359 Q551643 Q2552694 Q3498875 Q273079 Q299271 Q849 Q6577515 Q2975042 Q104109 Q16397 Q79031 Q150679 Q528428 Q177692 Q83359 Q6246943 Q163118 Q2402882 Q129429 Q5599 Q22686 Q5545355 Q2121085 Q212531 Q5294232 Q463653 Q958996 Q483512 Q123075 Q229432 Q123071 Q44272 Q94002 Q49285 Q27429917 Q1523 Q367447 Q5582 Q219640 Q5822 Q28493 Q527735 Q2181776 Q27429984 Q34013 Q2836532 Q712497 Q221464 Q263241 Q550426 Q356129 Q3925 Q34851 Q26806 Q203219 Q983441 Q2552902 Q41554 Q83338 Q205365 Q1953018 Q983352 Q255815 Q3036807 Q3290501 Q189067 Q1086874 Q471023 Q5432 Q2412941 Q297816 Q3525855 Q159907 Q210447 Q2373032 Q1401 Q3719992 Q199369 Q2110873 Q192222 Q83155 Q193406 Q3385369 Q733965 Q2409128 Q1278282 Q233845 Q3429566 Q3047181 Q237813 Q578878
(c(Q15416)|c(Q502895),P941,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q15416
action find_reverse_tuple_counts
relation P941
type Q502895
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q983441
relation P941
type Q15416
type Q502895
[ANSWERS] were the sources of inspiration for approximately the same number of television programs or people as Thomas Moran
[[{'concept': 'Q15416'}, {'concept': 'Q502895'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?d ) WHERE { VALUES ( ?i ) { ( ontology:Q15416 ) ( ontology:Q502895 ) } . ?b rdf:type ?i } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { ?l property:P941 resource:Q983441 . { ?l rdf:type ?h . VALUES ( ?h ) { ( ontology:Q15416 ) ( ontology:Q502895 ) } } } } . FILTER ( ?d = ?v ) }
Walter O'Brien Jean Auguste Dominique Ingres Sherri Stoner Joan Crawford Allan Kaprow Thomas Cole Mel Gibson Donna Atwood Conrad Veidt John of England Richard I of England Buddy Hackett Allan Ramsay Paul Cézanne Charmaine Craig Dick Jones Natalie Wood Jean Harlow Joe Grant Paul Gauguin Bobby Driscoll Tate Donovan Elizabeth Kenny Winston Churchill Eleanor Audley Jean-Honoré Fragonard Fred Moore Vlad Tepes Audrey Hepburn Fiorello H. La Guardia Art Stevens Léopold Sédar Senghor Geoffrey Bowers Bo Gritz Al Hirschfeld Scott Weinger Girolamo Savonarola Gilles Deleuze John Smith George C. Scott Antoine Watteau Eddie Collins Marge Champion Terry-Thomas Robert Burns Michelangelo Adolf Hitler Joseph Sabu Dastagir Antonello da Messina Balthasar Denner Jeffrey Stone Armand d'Athos Georges Manolescu Helen Gahagan Douglas Divine Louis Armstrong Fats Waller Andrea del Verrocchio Gustave Courbet Paul Signac Violet Gordon-Woodhouse Robert Gant Katharine Hepburn Kathryn Beaumont Gene Kelly Janet Gaynor Robert Gober Lionel Atwill Jeremy Irons Fred Astaire Sandro Botticelli Michael J. Fox Heather Angel Eric Larson Moses Ollie Johnston Charles Hubert Millevoye Frances Bavier Titian Mehran Karimi Nasseri Eugène Devéria Edgar Degas Spring Byington Tom Cruise Jennifer Connelly Christy Turlington Gala Dalí Jerome Kern Hans Holbein Félix González-Torres Jean Goujon Madge Blake Steve Carlson Cab Calloway Bahram V François Villon Samuel Claire Du Brey Mary Pickford Bruce Lee Mike Tyson Anthony van Dyck Douglas Fairbanks Jr Andrea Palladio James Dean John Martin Marguerite Yourcenar Helene Stanley Vivien Leigh Peter Paul Rubens Donald Trump George Turberville Walter Catlett Kate Moss Donald DeFreeze Marie-Thérèse Walter Irene Bedard Isadora Duncan Robert Walser Lucretia Arnold Böcklin Michel Foucault Barbara Stanwyck Sally Ride Michelle Stacy Ramesses II Louis Prima Vincent van Gogh Vincent Price Piero della Francesca Ralph Fiennes Cedric Hardwicke Paul Collins John Culhane Georges Seurat Alice Ayres François Girardon Gilbert Gottfried Mary Wickes Jeffrey Katzenberg John Stamos Grace Kelly Elizabeth Taylor Danny DeVito Boris Karloff Thomas Moran Hans Conried Nicolas Poussin Robin Williams Cain Pratibha Ray Il Pordenone Tallulah Bankhead Donnie Dunagan Margaret Kerry Alyssa Milano Christopher Newport Jimmy Durante Francisco de Goya The Fox and the Cat Sammy Davis, Jr. T. Hee David Hockney Mark Hamill Pierre Gringoire Petrarch Edward Maria Wingfield Naomi Campbell Natalie Venetia Belcon Lysippos Jacques-Louis David Pocahontas Pierre Guillaume Jack Carlson Dušan Popov Eastman Johnson Gale Sondergaard Rhoda Williams Ed Kemmer Maila Nurmi Chief Powhatan
Winston Churchill, Adolf Hitler and Donald Trump were the sources of inspiration for approximately the same number of television programs or people as Thomas Moran
Winston Churchill Adolf Hitler Donald Trump
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type television program
action find_reverse_tuple_counts
relation inspired by
type common name
type common name
action count
action filter_multi_types
action find_reverse
entity Thomas Moran
relation inspired by
type television program
type common name
[[{'concept': 'television program'}, {'concept': 'common name'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?d ) WHERE { VALUES ( ?i ) { ( ontology:television_program ) ( ontology:common_name ) } . ?b rdf:type ?i } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { ?l property:inspired_by resource:Thomas_Moran . { ?l rdf:type ?h . VALUES ( ?h ) { ( ontology:television_program ) ( ontology:common_name ) } } } } . FILTER ( ?d = ?v ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q302650
P941
Q502895 Q15416 Q502895
USER
And what about Tate Donovan?
(c(Q15416)|c(Q502895),P941,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q15416
action find_reverse_tuple_counts
relation P941
type Q502895
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q302650
relation P941
type Q15416
type Q502895
[[{'concept': 'Q15416'}, {'concept': 'Q502895'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?r ) AS ?g ) WHERE { { ?r property:P941 ?t . ?t rdf:type ontology:Q502895 . ?r rdf:type ontology:Q15416 } UNION { ?r property:P941 ?t . ?t rdf:type ontology:Q502895 . ?r rdf:type ontology:Q502895 } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { ?i property:P941 resource:Q302650 . { ?i rdf:type ?j . VALUES ( ?j ) { ( ontology:Q15416 ) ( ontology:Q502895 ) } } } } . FILTER ( ?g = ?k ) }
Tate Donovan
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type television program
action find_reverse_tuple_counts
relation inspired by
type common name
type common name
action count
action filter_multi_types
action find_reverse
entity Tate Donovan
relation inspired by
type television program
type common name
[[{'concept': 'television program'}, {'concept': 'common name'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?r ) AS ?g ) WHERE { { ?r property:inspired_by ?t . ?t rdf:type ontology:common_name . ?r rdf:type ontology:television_program } UNION { ?r property:inspired_by ?t . ?t rdf:type ontology:common_name . ?r rdf:type ontology:common_name } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { ?i property:inspired_by resource:Tate_Donovan . { ?i rdf:type ?j . VALUES ( ?j ) { ( ontology:television_program ) ( ontology:common_name ) } } } } . FILTER ( ?g = ?k ) }
[]
common name television program common name
Q8016 Q352 Q22686
SYSTEM
Winston Churchill, Adolf Hitler, Donald Trump
Q19738291 Q23380 Q3481979 Q40475 Q366380 Q334001 Q42229 Q5296307 Q58801 Q129308 Q42305 Q558333 Q560792 Q35548 Q1067550 Q2707376 Q180919 Q105719 Q205002 Q37693 Q712955 Q302650 Q531161 Q8016 Q456270 Q127171 Q649801 Q43715 Q42786 Q312502 Q2864567 Q154545 Q5534471 Q2907490 Q1532260 Q892444 Q164823 Q184226 Q228024 Q182450 Q183221 Q3047248 Q2617543 Q711129 Q81960 Q5592 Q352 Q145746 Q921798 Q5594 Q538158 Q3984877 Q3741372 Q1508997 Q116462 Q357786 Q1779 Q310476 Q183458 Q34618 Q151573 Q3560424 Q947525 Q56016 Q458779 Q73089 Q182462 Q1353414 Q575668 Q171745 Q100937 Q5669 Q395274 Q272068 Q2437296 Q9077 Q443540 Q966425 Q1281170 Q47551 Q357951 Q676001 Q46373 Q267803 Q37079 Q103343 Q284047 Q464056 Q313270 Q48319 Q1288359 Q551643 Q2552694 Q3498875 Q273079 Q299271 Q849 Q6577515 Q2975042 Q104109 Q16397 Q79031 Q150679 Q528428 Q177692 Q83359 Q6246943 Q163118 Q2402882 Q129429 Q5599 Q22686 Q5545355 Q2121085 Q212531 Q5294232 Q463653 Q958996 Q483512 Q123075 Q229432 Q123071 Q44272 Q94002 Q49285 Q27429917 Q1523 Q367447 Q5582 Q219640 Q5822 Q28493 Q527735 Q2181776 Q27429984 Q34013 Q2836532 Q712497 Q221464 Q263241 Q550426 Q356129 Q3925 Q34851 Q26806 Q203219 Q983441 Q2552902 Q41554 Q83338 Q205365 Q1953018 Q983352 Q255815 Q3036807 Q3290501 Q189067 Q1086874 Q471023 Q5432 Q2412941 Q297816 Q3525855 Q159907 Q210447 Q2373032 Q1401 Q3719992 Q199369 Q2110873 Q192222 Q83155 Q193406 Q3385369 Q733965 Q2409128 Q1278282 Q233845 Q3429566 Q3047181 Q237813 Q578878
(c(Q15416)|c(Q502895),P941,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q15416
action find_reverse_tuple_counts
relation P941
type Q502895
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q302650
relation P941
type Q15416
type Q502895
[ANSWERS]
[[{'concept': 'Q15416'}, {'concept': 'Q502895'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?r ) AS ?g ) WHERE { { ?r property:P941 ?t . ?t rdf:type ontology:Q502895 . ?r rdf:type ontology:Q15416 } UNION { ?r property:P941 ?t . ?t rdf:type ontology:Q502895 . ?r rdf:type ontology:Q502895 } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { ?i property:P941 resource:Q302650 . { ?i rdf:type ?j . VALUES ( ?j ) { ( ontology:Q15416 ) ( ontology:Q502895 ) } } } } . FILTER ( ?g = ?k ) }
Walter O'Brien Jean Auguste Dominique Ingres Sherri Stoner Joan Crawford Allan Kaprow Thomas Cole Mel Gibson Donna Atwood Conrad Veidt John of England Richard I of England Buddy Hackett Allan Ramsay Paul Cézanne Charmaine Craig Dick Jones Natalie Wood Jean Harlow Joe Grant Paul Gauguin Bobby Driscoll Tate Donovan Elizabeth Kenny Winston Churchill Eleanor Audley Jean-Honoré Fragonard Fred Moore Vlad Tepes Audrey Hepburn Fiorello H. La Guardia Art Stevens Léopold Sédar Senghor Geoffrey Bowers Bo Gritz Al Hirschfeld Scott Weinger Girolamo Savonarola Gilles Deleuze John Smith George C. Scott Antoine Watteau Eddie Collins Marge Champion Terry-Thomas Robert Burns Michelangelo Adolf Hitler Joseph Sabu Dastagir Antonello da Messina Balthasar Denner Jeffrey Stone Armand d'Athos Georges Manolescu Helen Gahagan Douglas Divine Louis Armstrong Fats Waller Andrea del Verrocchio Gustave Courbet Paul Signac Violet Gordon-Woodhouse Robert Gant Katharine Hepburn Kathryn Beaumont Gene Kelly Janet Gaynor Robert Gober Lionel Atwill Jeremy Irons Fred Astaire Sandro Botticelli Michael J. Fox Heather Angel Eric Larson Moses Ollie Johnston Charles Hubert Millevoye Frances Bavier Titian Mehran Karimi Nasseri Eugène Devéria Edgar Degas Spring Byington Tom Cruise Jennifer Connelly Christy Turlington Gala Dalí Jerome Kern Hans Holbein Félix González-Torres Jean Goujon Madge Blake Steve Carlson Cab Calloway Bahram V François Villon Samuel Claire Du Brey Mary Pickford Bruce Lee Mike Tyson Anthony van Dyck Douglas Fairbanks Jr Andrea Palladio James Dean John Martin Marguerite Yourcenar Helene Stanley Vivien Leigh Peter Paul Rubens Donald Trump George Turberville Walter Catlett Kate Moss Donald DeFreeze Marie-Thérèse Walter Irene Bedard Isadora Duncan Robert Walser Lucretia Arnold Böcklin Michel Foucault Barbara Stanwyck Sally Ride Michelle Stacy Ramesses II Louis Prima Vincent van Gogh Vincent Price Piero della Francesca Ralph Fiennes Cedric Hardwicke Paul Collins John Culhane Georges Seurat Alice Ayres François Girardon Gilbert Gottfried Mary Wickes Jeffrey Katzenberg John Stamos Grace Kelly Elizabeth Taylor Danny DeVito Boris Karloff Thomas Moran Hans Conried Nicolas Poussin Robin Williams Cain Pratibha Ray Il Pordenone Tallulah Bankhead Donnie Dunagan Margaret Kerry Alyssa Milano Christopher Newport Jimmy Durante Francisco de Goya The Fox and the Cat Sammy Davis, Jr. T. Hee David Hockney Mark Hamill Pierre Gringoire Petrarch Edward Maria Wingfield Naomi Campbell Natalie Venetia Belcon Lysippos Jacques-Louis David Pocahontas Pierre Guillaume Jack Carlson Dušan Popov Eastman Johnson Gale Sondergaard Rhoda Williams Ed Kemmer Maila Nurmi Chief Powhatan
Winston Churchill Adolf Hitler Donald Trump
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type television program
action find_reverse_tuple_counts
relation inspired by
type common name
type common name
action count
action filter_multi_types
action find_reverse
entity Tate Donovan
relation inspired by
type television program
type common name
[[{'concept': 'television program'}, {'concept': 'common name'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?r ) AS ?g ) WHERE { { ?r property:inspired_by ?t . ?t rdf:type ontology:common_name . ?r rdf:type ontology:television_program } UNION { ?r property:inspired_by ?t . ?t rdf:type ontology:common_name . ?r rdf:type ontology:common_name } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { ?i property:inspired_by resource:Tate_Donovan . { ?i rdf:type ?j . VALUES ( ?j ) { ( ontology:television_program ) ( ontology:common_name ) } } } } . FILTER ( ?g = ?k ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q8016
P138
Q1055028
USER
Which college of the University of Cambridge is named after that person ?
(c(Q1055028),P138,Q8016)
action filter_type
action find_reverse
entity Q8016
relation P138
type Q1055028
[{'concept': 'Q1055028'}, 'P138', 'Q8016']
SELECT DISTINCT ?w WHERE { ?w property:P138 resource:Q8016 . ?w rdf:type ontology:Q1055028 }
Winston Churchill
action filter_type
action find_reverse
entity Winston Churchill
relation named after
type college of the University of Cambridge
[{'concept': 'college of the University of Cambridge'}, 'named after', 'Winston Churchill']
SELECT DISTINCT ?w WHERE { ?w property:named_after resource:Winston_Churchill . ?w rdf:type ontology:college_of_the_University_of_Cambridge }
[]
college of the University of Cambridge
Clarification for simple ques.
Q352
SYSTEM
Did you mean Adolf Hitler ?
Q8016 Q352 Q22686
(c(Q1055028),P138,Q8016) (c(Q1055028),P138,Q352) (c(Q1055028),P138,Q22686)
[ANSWER]
[{'concept': 'Q1055028'}, 'P138', 'Q8016'] [{'concept': 'Q1055028'}, 'P138', 'Q352'] [{'concept': 'Q1055028'}, 'P138', 'Q22686']
SELECT DISTINCT ?w WHERE { ?w property:P138 resource:Q8016 . ?w rdf:type ontology:Q1055028 }
Winston Churchill Adolf Hitler Donald Trump
Did you mean Adolf Hitler ?
Adolf Hitler
[{'concept': 'college of the University of Cambridge'}, 'named after', 'Winston Churchill'] [{'concept': 'college of the University of Cambridge'}, 'named after', 'Adolf Hitler'] [{'concept': 'college of the University of Cambridge'}, 'named after', 'Donald Trump']
SELECT DISTINCT ?w WHERE { ?w property:named_after resource:Winston_Churchill . ?w rdf:type ontology:college_of_the_University_of_Cambridge }
[]
Simple Question (Coreferenced)
USER
No, I meant Winston Churchill. Could you tell me the answer for that?
(c(Q1055028),P138,Q8016)
Q8016
[{'concept': 'Q1055028'}, 'P138', 'Q8016']
[{'concept': 'college of the University of Cambridge'}, 'named after', 'Winston Churchill']
[]
Q714740
SYSTEM
Churchill College
Q714740
(c(Q1055028),P138,Q8016)
action filter_type
action find_reverse
entity Q8016
relation P138
type Q1055028
He [ANSWER] is named after that person
[{'concept': 'Q1055028'}, 'P138', 'Q8016']
SELECT DISTINCT ?w WHERE { ?w property:P138 resource:Q8016 . ?w rdf:type ontology:Q1055028 }
Churchill College
He Churchill College is named after that person
Churchill College
action filter_type
action find_reverse
entity Winston Churchill
relation named after
type college of the University of Cambridge
[{'concept': 'college of the University of Cambridge'}, 'named after', 'Winston Churchill']
SELECT DISTINCT ?w WHERE { ?w property:named_after resource:Winston_Churchill . ?w rdf:type ontology:college_of_the_University_of_Cambridge }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q714740 Q16185984
P138
Q502895
USER
Is Pierre Billon that college of the University of Cambridge named after ?
(Q714740,P138,Q16185984)
action is_in
entity Q16185984
action find
entity Q714740
relation P138
['Q714740', 'P138', 'Q16185984']
ASK WHERE { resource:Q714740 property:P138 resource:Q16185984 }
Churchill College Pierre Billon
action is_in
entity Pierre Billon
action find
entity Churchill College
relation named after
['Churchill College', 'named after', 'Pierre Billon']
ASK WHERE { resource:Churchill_College property:named_after resource:Pierre_Billon }
[]
common name
SYSTEM
NO
(Q714740,P138,Q16185984)
action is_in
entity Q16185984
action find
entity Q714740
relation P138
[ANSWER]
['Q714740', 'P138', 'Q16185984']
ASK WHERE { resource:Q714740 property:P138 resource:Q16185984 }
No
action is_in
entity Pierre Billon
action find
entity Churchill College
relation named after
['Churchill College', 'named after', 'Pierre Billon']
ASK WHERE { resource:Churchill_College property:named_after resource:Pierre_Billon }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q8016 Q183105 Q508525
P40
Q502895
USER
Does Winston Churchill have Randolph Churchill and Mary Soames as a child ?
(Q8016,P40,Q183105) (Q8016,P40,Q508525)
action is_in
entity Q8016
action intersection
action find_reverse
entity Q183105
relation P40
action find_reverse
entity Q508525
relation P40
['Q8016', 'P40', 'Q183105'] ['Q8016', 'P40', 'Q508525']
ASK WHERE { resource:Q8016 property:P40 resource:Q183105 . resource:Q8016 property:P40 resource:Q508525 }
Winston Churchill Randolph Churchill Mary Soames
action is_in
entity Winston Churchill
action intersection
action find_reverse
entity Randolph Churchill
relation child
action find_reverse
entity Mary Soames
relation child
['Winston Churchill', 'child', 'Randolph Churchill'] ['Winston Churchill', 'child', 'Mary Soames']
ASK WHERE { resource:Winston_Churchill property:child resource:Randolph_Churchill . resource:Winston_Churchill property:child resource:Mary_Soames }
[]
common name
SYSTEM
YES
(Q8016,P40,Q183105) (Q8016,P40,Q508525)
action is_in
entity Q8016
action intersection
action find_reverse
entity Q183105
relation P40
action find_reverse
entity Q508525
relation P40
[ANSWER]
['Q8016', 'P40', 'Q183105'] ['Q8016', 'P40', 'Q508525']
ASK WHERE { resource:Q8016 property:P40 resource:Q183105 . resource:Q8016 property:P40 resource:Q508525 }
Yes
action is_in
entity Winston Churchill
action intersection
action find_reverse
entity Randolph Churchill
relation child
action find_reverse
entity Mary Soames
relation child
['Winston Churchill', 'child', 'Randolph Churchill'] ['Winston Churchill', 'child', 'Mary Soames']
ASK WHERE { resource:Winston_Churchill property:child resource:Randolph_Churchill . resource:Winston_Churchill property:child resource:Mary_Soames }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q714740 Q23933897 Q5293097
P138
Q502895
USER
Does Churchill College come from Oleksandr Glotov and Don McCulloch ?
(Q714740,P138,Q23933897) (Q714740,P138,Q5293097)
action is_in
entity Q714740
action intersection
action find_reverse
entity Q23933897
relation P138
action find_reverse
entity Q5293097
relation P138
['Q714740', 'P138', 'Q23933897'] ['Q714740', 'P138', 'Q5293097']
ASK WHERE { resource:Q714740 property:P138 resource:Q23933897 . resource:Q714740 property:P138 resource:Q5293097 }
Churchill College Oleksandr Glotov Don McCulloch
action is_in
entity Churchill College
action intersection
action find_reverse
entity Oleksandr Glotov
relation named after
action find_reverse
entity Don McCulloch
relation named after
['Churchill College', 'named after', 'Oleksandr Glotov'] ['Churchill College', 'named after', 'Don McCulloch']
ASK WHERE { resource:Churchill_College property:named_after resource:Oleksandr_Glotov . resource:Churchill_College property:named_after resource:Don_McCulloch }
[]
common name
SYSTEM
NO
(Q714740,P138,Q23933897) (Q714740,P138,Q5293097)
action is_in
entity Q714740
action intersection
action find_reverse
entity Q23933897
relation P138
action find_reverse
entity Q5293097
relation P138
[ANSWER]
['Q714740', 'P138', 'Q23933897'] ['Q714740', 'P138', 'Q5293097']
ASK WHERE { resource:Q714740 property:P138 resource:Q23933897 . resource:Q714740 property:P138 resource:Q5293097 }
No
action is_in
entity Churchill College
action intersection
action find_reverse
entity Oleksandr Glotov
relation named after
action find_reverse
entity Don McCulloch
relation named after
['Churchill College', 'named after', 'Oleksandr Glotov'] ['Churchill College', 'named after', 'Don McCulloch']
ASK WHERE { resource:Churchill_College property:named_after resource:Oleksandr_Glotov . resource:Churchill_College property:named_after resource:Don_McCulloch }
[]