Simple Question (Direct)
Simple Question
Q330567
P1196
Q1931388
USER
What situation did Abraham Robinson die in ?
(Q330567,P1196,c(Q1931388))
action filter_type
action find
entity Q330567
relation P1196
type Q1931388
['Q330567', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?r WHERE { resource:Q330567 property:P1196 ?r . ?r rdf:type ontology:Q1931388 }
Abraham Robinson
action filter_type
action find
entity Abraham Robinson
relation manner of death
type cause of death
['Abraham Robinson', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?r WHERE { resource:Abraham_Robinson property:manner_of_death ?r . ?r rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q330567,P1196,c(Q1931388))
action filter_type
action find
entity Q330567
relation P1196
type Q1931388
Abraham Robinson died of [ANSWER]
['Q330567', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?r WHERE { resource:Q330567 property:P1196 ?r . ?r rdf:type ontology:Q1931388 }
natural causes
Abraham Robinson died of natural causes
natural causes
action filter_type
action find
entity Abraham Robinson
relation manner of death
type cause of death
['Abraham Robinson', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?r WHERE { resource:Abraham_Robinson property:manner_of_death ?r . ?r rdf:type ontology:cause_of_death }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q330567
P108
Q163740
USER
Which nonprofit organization is the employer of that person ?
(Q3739104,P108,c(Q163740))
action filter_type
action find
entity Q330567
relation P108
type Q163740
['Q3739104', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ?l WHERE { resource:Q330567 property:P108 ?l . ?l rdf:type ontology:Q163740 }
Abraham Robinson
action filter_type
action find
entity Abraham Robinson
relation employer
type nonprofit organization
['natural causes', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?l WHERE { resource:Abraham_Robinson property:employer ?l . ?l rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q49112
SYSTEM
Yale University
Q49112
(Q3739104,P108,c(Q163740))
action filter_type
action find
entity Q330567
relation P108
type Q163740
[ANSWER] is the employer of that person
['Q3739104', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ?l WHERE { resource:Q330567 property:P108 ?l . ?l rdf:type ontology:Q163740 }
Yale University
Yale University is the employer of that person
Yale University
action filter_type
action find
entity Abraham Robinson
relation employer
type nonprofit organization
['natural causes', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?l WHERE { resource:Abraham_Robinson property:employer ?l . ?l rdf:type ontology:nonprofit_organization }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q5669
P941
Q502895 Q6619679 Q3305213
USER
Which people inspired around the same number of fictional humanoids or paintings as Sandro Botticelli ?
(c(Q6619679)|c(Q3305213),P941,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q6619679
action find_reverse_tuple_counts
relation P941
type Q502895
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q5669
relation P941
type Q6619679
type Q3305213
[[{'concept': 'Q6619679'}, {'concept': 'Q3305213'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?n ) AS ?u ) WHERE { VALUES ( ?i ) { ( ontology:Q6619679 ) ( ontology:Q3305213 ) } . ?n rdf:type ?i } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { ?y property:P941 resource:Q5669 . { { ?y rdf:type ontology:Q6619679 } UNION { ?y rdf:type ontology:Q3305213 } } } } . FILTER ( ?u = ?a ) }
Sandro Botticelli
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional humanoid
action find_reverse_tuple_counts
relation inspired by
type common name
type painting
action count
action filter_multi_types
action find_reverse
entity Sandro Botticelli
relation inspired by
type fictional humanoid
type painting
[[{'concept': 'fictional humanoid'}, {'concept': 'painting'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?n ) AS ?u ) WHERE { VALUES ( ?i ) { ( ontology:fictional_humanoid ) ( ontology:painting ) } . ?n rdf:type ?i } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { ?y property:inspired_by resource:Sandro_Botticelli . { { ?y rdf:type ontology:fictional_humanoid } UNION { ?y rdf:type ontology:painting } } } } . FILTER ( ?u = ?a ) }
[]
common name fictional humanoid painting
Q8016 Q352 Q1744
SYSTEM
Winston Churchill, Adolf Hitler, Madonna
Q207939 Q19738291 Q23380 Q3481979 Q40475 Q366380 Q334001 Q42229 Q5296307 Q19526 Q58801 Q129308 Q42305 Q558333 Q207447 Q560792 Q35548 Q1067550 Q2707376 Q180919 Q105719 Q205002 Q30755 Q37693 Q712955 Q302650 Q666171 Q531161 Q5383 Q8016 Q456270 Q127171 Q649801 Q43715 Q42786 Q5361548 Q312502 Q2864567 Q154545 Q5534471 Q1532260 Q892444 Q184226 Q228024 Q182450 Q183221 Q3047248 Q2617543 Q711129 Q81960 Q5592 Q352 Q145746 Q921798 Q7836 Q5594 Q538158 Q3984877 Q3741372 Q1508997 Q116462 Q357786 Q1779 Q310476 Q183458 Q34618 Q151573 Q3560424 Q947525 Q156268 Q56016 Q458779 Q73089 Q182462 Q1353414 Q575668 Q171745 Q100937 Q5669 Q5577 Q395274 Q272068 Q2437296 Q9077 Q443540 Q966425 Q1281170 Q47551 Q357951 Q676001 Q46373 Q5675905 Q267803 Q37079 Q103343 Q284047 Q464056 Q313270 Q48319 Q1288359 Q551643 Q2552694 Q3498875 Q273079 Q299271 Q9061 Q849 Q6577515 Q2975042 Q104109 Q16397 Q79031 Q150679 Q528428 Q177692 Q83359 Q2601617 Q6246943 Q163118 Q2402882 Q129429 Q5599 Q5545355 Q2121085 Q212531 Q5294232 Q463653 Q958996 Q483512 Q123075 Q835175 Q229432 Q123071 Q229437 Q44272 Q94002 Q49285 Q27429917 Q1744 Q1523 Q367447 Q5582 Q219640 Q5822 Q28493 Q5589 Q296 Q527735 Q352954 Q2181776 Q27429984 Q34013 Q2836532 Q712497 Q221464 Q263241 Q550426 Q356129 Q3925 Q34851 Q25328 Q26806 Q203219 Q983441 Q2552902 Q41554 Q83338 Q205365 Q624868 Q1953018 Q983352 Q255815 Q3036807 Q3290501 Q189067 Q1086874 Q471023 Q5432 Q2412941 Q297816 Q1896700 Q156622 Q354832 Q3525855 Q159907 Q210447 Q2373032 Q1401 Q3719992 Q199369 Q2110873 Q192222 Q83155 Q2965760 Q193406 Q3385369 Q733965 Q1278282 Q5053466 Q233845 Q3429566 Q513644 Q3047181 Q237813 Q44122 Q576222 Q578878
(c(Q6619679)|c(Q3305213),P941,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q6619679
action find_reverse_tuple_counts
relation P941
type Q502895
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q5669
relation P941
type Q6619679
type Q3305213
[ANSWERS] inspired around the same number of fictional humanoids or paintings as Sandro Botticelli
[[{'concept': 'Q6619679'}, {'concept': 'Q3305213'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?n ) AS ?u ) WHERE { VALUES ( ?i ) { ( ontology:Q6619679 ) ( ontology:Q3305213 ) } . ?n rdf:type ?i } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { ?y property:P941 resource:Q5669 . { { ?y rdf:type ontology:Q6619679 } UNION { ?y rdf:type ontology:Q3305213 } } } } . FILTER ( ?u = ?a ) }
Alexander McQueen Walter O'Brien Jean Auguste Dominique Ingres Sherri Stoner Joan Crawford Allan Kaprow Thomas Cole Mel Gibson Donna Atwood Maya Angelou Conrad Veidt John of England Richard I of England Buddy Hackett Jean-Baptiste-Siméon Chardin Allan Ramsay Paul Cézanne Charmaine Craig Dick Jones Natalie Wood Jean Harlow Joe Grant Auguste Rodin Paul Gauguin Bobby Driscoll Tate Donovan John Marin Elizabeth Kenny David Bowie Winston Churchill Eleanor Audley Jean-Honoré Fragonard Fred Moore Vlad Tepes Audrey Hepburn Elisabeth Scott Fiorello H. La Guardia Art Stevens Léopold Sédar Senghor Geoffrey Bowers Al Hirschfeld Scott Weinger Gilles Deleuze John Smith George C. Scott Antoine Watteau Eddie Collins Marge Champion Terry-Thomas Robert Burns Michelangelo Adolf Hitler Joseph Sabu Dastagir René Magritte 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 Pierre Bourdieu Katharine Hepburn Kathryn Beaumont Gene Kelly Janet Gaynor Robert Gober Lionel Atwill Jeremy Irons Fred Astaire Sandro Botticelli Salvador Dalí 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 Andrés López Muñoz 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 Karl Marx François Villon Samuel Claire Du Brey Mary Pickford Bruce Lee Mike Tyson Anthony van Dyck Douglas Fairbanks Jr Andrea Palladio James Dean Leonard Baskin John Martin Marguerite Yourcenar Helene Stanley Vivien Leigh Peter Paul Rubens George Turberville Walter Catlett Kate Moss Donald DeFreeze Marie-Thérèse Walter Irene Bedard Isadora Duncan Robert Walser Bernard Levin Lucretia Arnold Böcklin Donatella Versace Michel Foucault Barbara Stanwyck Sally Ride Michelle Stacy Madonna Ramesses II Louis Prima Vincent van Gogh Vincent Price Piero della Francesca Ralph Fiennes Henri Matisse Claude Monet Cedric Hardwicke Carel Fabritius Paul Collins John Culhane Georges Seurat Alice Ayres François Girardon Gilbert Gottfried Mary Wickes Jeffrey Katzenberg John Stamos Grace Kelly Elizabeth Taylor Antoni Gaudí Danny DeVito Boris Karloff Thomas Moran Hans Conried Nicolas Poussin Robin Williams Cain Charles Sheeler 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. Marian Wright Edelman Giorgio de Chirico Pieter Claesz T. Hee David Hockney Mark Hamill Pierre Gringoire Petrarch Edward Maria Wingfield Naomi Campbell Natalie Venetia Belcon Lysippos Jacques-Louis David Christiane Faure Pocahontas Pierre Guillaume Jack Carlson Eastman Johnson Cathy McGowan Gale Sondergaard Rhoda Williams Ray Ventura Ed Kemmer Maila Nurmi Django Reinhardt Floris van Dyck Chief Powhatan
Winston Churchill, Adolf Hitler and Madonna inspired around the same number of fictional humanoids or paintings as Sandro Botticelli
Winston Churchill Adolf Hitler Madonna
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional humanoid
action find_reverse_tuple_counts
relation inspired by
type common name
type painting
action count
action filter_multi_types
action find_reverse
entity Sandro Botticelli
relation inspired by
type fictional humanoid
type painting
[[{'concept': 'fictional humanoid'}, {'concept': 'painting'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?n ) AS ?u ) WHERE { VALUES ( ?i ) { ( ontology:fictional_humanoid ) ( ontology:painting ) } . ?n rdf:type ?i } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { ?y property:inspired_by resource:Sandro_Botticelli . { { ?y rdf:type ontology:fictional_humanoid } UNION { ?y rdf:type ontology:painting } } } } . FILTER ( ?u = ?a ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q352
P1038
Q502895
USER
How many people are the relatives of Adolf Hitler ?
(Q352,P1038,c(Q502895))
action count
action filter_type
action find
entity Q352
relation P1038
type Q502895
['Q352', 'P1038', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { resource:Q352 property:P1038 ?r . ?r rdf:type ontology:Q502895 }
Adolf Hitler
action count
action filter_type
action find
entity Adolf Hitler
relation relative
type common name
['Adolf Hitler', 'relative', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { resource:Adolf_Hitler property:relative ?r . ?r rdf:type ontology:common_name }
[]
common name
SYSTEM
35
Q385804 Q1903961 Q22133397 Q22677145 Q22087732 Q6216378 Q698102 Q22117389 Q22090133 Q22085679 Q22086756 Q22121831 Q6001165 Q22117373 Q22092225 Q84642 Q22121817 Q22133423 Q22087758 Q22085545 Q85046 Q4613831 Q22116733 Q22101705 Q22132490 Q22132157 Q22132150 Q2779550 Q1165052 Q22572343 Q22116705 Q22114544 Q454576 Q22087804 Q64799
(Q352,P1038,c(Q502895))
action count
action filter_type
action find
entity Q352
relation P1038
type Q502895
[ANSWER]
['Q352', 'P1038', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { resource:Q352 property:P1038 ?r . ?r rdf:type ontology:Q502895 }
Johann Georg Hiedler Martin Heinrich Hammitzsch Peter Raubal Friedrich Braun Johann Schmidt junior Johanna Hiedler William Patrick Stuart-Houston Josefa Veit Johanna Pölzl Anton Schmidt Elfriede Hochegger Theresia Pfeisinger Ilse Braun Josef Veit Eduard Schmidt Geli Raubal Johann Schicklgruber Heiner Hochegger Johann Schmidt Therese Schmidt Leo Rudolf Raubal Franziska Braun Josepha Schicklgruber Adolf Koppensteiner Johann Baptist Pölzl Anna Maria Göschl Martin Hiedler Maria Schicklgruber Gretl Braun Hedwig Mickley Viktoria Veit Aloisia Veit Bridget Dowling Maria Koppensteiner Heinz Hitler
35
action count
action filter_type
action find
entity Adolf Hitler
relation relative
type common name
['Adolf Hitler', 'relative', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { resource:Adolf_Hitler property:relative ?r . ?r rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q9069904
P1038
Q502895
USER
And also tell me about Roberto Letts?
(Q9069904,P1038,c(Q502895))
action count
action filter_type
action find
entity Q9069904
relation P1038
type Q502895
['Q9069904', 'P1038', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { resource:Q9069904 property:P1038 ?y . ?y rdf:type ontology:Q502895 }
Roberto Letts
action count
action filter_type
action find
entity Roberto Letts
relation relative
type common name
['Roberto Letts', 'relative', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { resource:Roberto_Letts property:relative ?y . ?y rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q720199 Q5655711
(Q9069904,P1038,c(Q502895))
action count
action filter_type
action find
entity Q9069904
relation P1038
type Q502895
[ANSWER]
['Q9069904', 'P1038', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { resource:Q9069904 property:P1038 ?y . ?y rdf:type ontology:Q502895 }
Jaime Bayly Felipe Osterling
2
action count
action filter_type
action find
entity Roberto Letts
relation relative
type common name
['Roberto Letts', 'relative', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { resource:Roberto_Letts property:relative ?y . ?y rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q1112719
Q502895
USER
And also tell me about Sextus Appuleius?
(Q1112719,P1038,c(Q502895))
action count
action filter_type
action find
entity Q1112719
relation P1038
type Q502895
['Q1112719', 'P1038', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { resource:Q1112719 property:P1038 ?c . ?c rdf:type ontology:Q502895 }
Sextus Appuleius
action count
action filter_type
action find
entity Sextus Appuleius
relation relative
type common name
['Sextus Appuleius', 'relative', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { resource:Sextus_Appuleius property:relative ?c . ?c rdf:type ontology:common_name }
[]
common name
SYSTEM
3
(Q1112719,P1038,c(Q502895))
action count
action filter_type
action find
entity Q1112719
relation P1038
type Q502895
[ANSWER]
['Q1112719', 'P1038', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { resource:Q1112719 property:P1038 ?c . ?c rdf:type ontology:Q502895 }
3
action count
action filter_type
action find
entity Sextus Appuleius
relation relative
type common name
['Sextus Appuleius', 'relative', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { resource:Sextus_Appuleius property:relative ?c . ?c rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1112719 Q13657412
P40
Q502895
USER
How many people have Sextus Appuleius or Carsten Flöter as a child ?
(c(Q502895),P40,Q1112719) (c(Q502895),P40,Q13657412)
action count
action union
action filter_type
action find_reverse
entity Q1112719
relation P40
type Q502895
action filter_type
action find_reverse
entity Q13657412
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q1112719'] [{'concept': 'Q502895'}, 'P40', 'Q13657412']
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { ?e property:P40 ?v . VALUES ( ?v ) { ( resource:Q1112719 ) ( resource:Q13657412 ) } }
Sextus Appuleius Carsten Flöter
action count
action union
action filter_type
action find_reverse
entity Sextus Appuleius
relation child
type common name
action filter_type
action find_reverse
entity Carsten Flöter
relation child
type common name
[{'concept': 'common name'}, 'child', 'Sextus Appuleius'] [{'concept': 'common name'}, 'child', 'Carsten Flöter']
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { ?e property:child ?v . VALUES ( ?v ) { ( resource:Sextus_Appuleius ) ( resource:Carsten_Flöter ) } }
[]
common name
SYSTEM
3
Q3769309 Q517380 Q2469317
(c(Q502895),P40,Q1112719) (c(Q502895),P40,Q13657412)
action count
action union
action filter_type
action find_reverse
entity Q1112719
relation P40
type Q502895
action filter_type
action find_reverse
entity Q13657412
relation P40
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P40', 'Q1112719'] [{'concept': 'Q502895'}, 'P40', 'Q13657412']
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { ?e property:P40 ?v . VALUES ( ?v ) { ( resource:Q1112719 ) ( resource:Q13657412 ) } }
Julia the Elder Octavia the Elder Sextus Appuleius
3
action count
action union
action filter_type
action find_reverse
entity Sextus Appuleius
relation child
type common name
action filter_type
action find_reverse
entity Carsten Flöter
relation child
type common name
[{'concept': 'common name'}, 'child', 'Sextus Appuleius'] [{'concept': 'common name'}, 'child', 'Carsten Flöter']
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { ?e property:child ?v . VALUES ( ?v ) { ( resource:Sextus_Appuleius ) ( resource:Carsten_Flöter ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1112719
P25
Q502895
USER
Which person was the mother of that one ?
action filter_type
action find
entity Q1112719
relation P25
type Q502895
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . resource:Q1112719 property:P25 ?j }
Sextus Appuleius
action filter_type
action find
entity Sextus Appuleius
relation mother
type common name
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . resource:Sextus_Appuleius property:mother ?j }
[]
common name
Q517380
SYSTEM
Octavia the Elder
Q517380
action filter_type
action find
entity Q1112719
relation P25
type Q502895
[ANSWER] was the mother of that one
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . resource:Q1112719 property:P25 ?j }
Octavia the Elder
Octavia the Elder was the mother of that one
Octavia the Elder
action filter_type
action find
entity Sextus Appuleius
relation mother
type common name
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . resource:Sextus_Appuleius property:mother ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q517380
P9
Q502895
USER
Who has that one as thier sibling ?
(Q517380,P9,c(Q502895))
action filter_type
action find
entity Q517380
relation P9
type Q502895
['Q517380', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q517380 property:P9 ?u . ?u rdf:type ontology:Q502895 }
Octavia the Elder
action filter_type
action find
entity Octavia the Elder
relation sister
type common name
['Octavia the Elder', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Octavia_the_Elder property:sister ?u . ?u rdf:type ontology:common_name }
[]
common name
Q229483
SYSTEM
Octavia the Younger
Q229483
(Q517380,P9,c(Q502895))
action filter_type
action find
entity Q517380
relation P9
type Q502895
[ANSWER] has that one as thier sibling
['Q517380', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q517380 property:P9 ?u . ?u rdf:type ontology:Q502895 }
Octavia the Younger
Octavia the Younger has that one as thier sibling
Octavia the Younger
action filter_type
action find
entity Octavia the Elder
relation sister
type common name
['Octavia the Elder', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Octavia_the_Elder property:sister ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q229483
P26
Q502895
USER
Which people are the life partner of that one ?
(c(Q502895),P26,Q229483)
action filter_type
action find
entity Q229483
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q229483']
SELECT DISTINCT ?t WHERE { resource:Q229483 property:P26 ?t . ?t rdf:type ontology:Q502895 }
Octavia the Younger
action filter_type
action find
entity Octavia the Younger
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Octavia the Younger']
SELECT DISTINCT ?t WHERE { resource:Octavia_the_Younger property:spouse ?t . ?t rdf:type ontology:common_name }
[]
common name
Q367828 Q51673
SYSTEM
Gaius Claudius Marcellus Minor, Mark Antony
Q367828 Q51673
(c(Q502895),P26,Q229483)
action filter_type
action find
entity Q229483
relation P26
type Q502895
[ANSWERS] are the life partner of that one
[{'concept': 'Q502895'}, 'P26', 'Q229483']
SELECT DISTINCT ?t WHERE { resource:Q229483 property:P26 ?t . ?t rdf:type ontology:Q502895 }
Gaius Claudius Marcellus Minor Mark Antony
Gaius Claudius Marcellus Minor and Mark Antony are the life partner of that one
Gaius Claudius Marcellus Minor Mark Antony
action filter_type
action find
entity Octavia the Younger
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Octavia the Younger']
SELECT DISTINCT ?t WHERE { resource:Octavia_the_Younger property:spouse ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q367828 Q51673
P26
Q502895
USER
Which people have those ones as spouse ?
(c(Q502895),P26,Q367828) (c(Q502895),P26,Q51673)
action filter_type
action find
entity prev_answer
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q367828'] [{'concept': 'Q502895'}, 'P26', 'Q51673']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . ?l property:P26 ?t . VALUES ( ?l ) { ( resource:Q367828 ) ( resource:Q51673 ) } }
Gaius Claudius Marcellus Minor Mark Antony
action filter_type
action find
entity prev_answer
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Gaius Claudius Marcellus Minor'] [{'concept': 'common name'}, 'spouse', 'Mark Antony']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . ?l property:spouse ?t . VALUES ( ?l ) { ( resource:Gaius_Claudius_Marcellus_Minor ) ( resource:Mark_Antony ) } }
[]
common name
Q635 Q229483 Q229483
SYSTEM
Cleopatra for 1st, Octavia the Younger for 2nd, 3rd
Q229483 Q635 Q13534258 Q229483 Q233077 Q13615026
(c(Q502895),P26,Q367828) (c(Q502895),P26,Q51673)
action filter_type
action find
entity prev_answer
relation P26
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P26', 'Q367828'] [{'concept': 'Q502895'}, 'P26', 'Q51673']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . ?l property:P26 ?t . VALUES ( ?l ) { ( resource:Q367828 ) ( resource:Q51673 ) } }
Octavia the Younger Cleopatra Antonia Minor Hybrida Octavia the Younger Fulvia Fadia
Cleopatra, Octavia the Younger and Octavia the Younger have those ones as spouse
Cleopatra Octavia the Younger Octavia the Younger
action filter_type
action find
entity prev_answer
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Gaius Claudius Marcellus Minor'] [{'concept': 'common name'}, 'spouse', 'Mark Antony']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . ?l property:spouse ?t . VALUES ( ?l ) { ( resource:Gaius_Claudius_Marcellus_Minor ) ( resource:Mark_Antony ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q635
P53
Q13417114
USER
Which noble family did that person belong to ?
(Q635,P53,c(Q13417114))
action filter_type
action find
entity Q635
relation P53
type Q13417114
['Q635', 'P53', {'concept': 'Q13417114'}]
SELECT DISTINCT ?h WHERE { resource:Q635 property:P53 ?h . ?h rdf:type ontology:Q13417114 }
Cleopatra
action filter_type
action find
entity Cleopatra
relation noble family
type noble family
['Cleopatra', 'noble family', {'concept': 'noble family'}]
SELECT DISTINCT ?h WHERE { resource:Cleopatra property:noble_family ?h . ?h rdf:type ontology:noble_family }
[]
noble family
Clarification for simple ques.
Q229483
SYSTEM
Did you mean Octavia the Younger ?
Q635 Q229483 Q229483
(Q635,P53,c(Q13417114)) (Q229483,P53,c(Q13417114)) (Q229483,P53,c(Q13417114))
[ANSWER]
['Q635', 'P53', {'concept': 'Q13417114'}] ['Q229483', 'P53', {'concept': 'Q13417114'}] ['Q229483', 'P53', {'concept': 'Q13417114'}]
SELECT DISTINCT ?h WHERE { resource:Q635 property:P53 ?h . ?h rdf:type ontology:Q13417114 }
Cleopatra Octavia the Younger Octavia the Younger
Did you mean Octavia the Younger ?
Octavia the Younger
['Cleopatra', 'noble family', {'concept': 'noble family'}] ['Octavia the Younger', 'noble family', {'concept': 'noble family'}] ['Octavia the Younger', 'noble family', {'concept': 'noble family'}]
SELECT DISTINCT ?h WHERE { resource:Cleopatra property:noble_family ?h . ?h rdf:type ontology:noble_family }
[]
Simple Question (Coreferenced)
USER
No, I meant Cleopatra. Could you tell me the answer for that?
(Q635,P53,c(Q13417114))
Q635
['Q635', 'P53', {'concept': 'Q13417114'}]
['Cleopatra', 'noble family', {'concept': 'noble family'}]
[]
Q131976
SYSTEM
Ptolemaic dynasty
Q131976
(Q635,P53,c(Q13417114))
action filter_type
action find
entity Q635
relation P53
type Q13417114
That person belonged to [ANSWER]
['Q635', 'P53', {'concept': 'Q13417114'}]
SELECT DISTINCT ?h WHERE { resource:Q635 property:P53 ?h . ?h rdf:type ontology:Q13417114 }
Ptolemaic dynasty
That person belonged to Ptolemaic dynasty
Ptolemaic dynasty
action filter_type
action find
entity Cleopatra
relation noble family
type noble family
['Cleopatra', 'noble family', {'concept': 'noble family'}]
SELECT DISTINCT ?h WHERE { resource:Cleopatra property:noble_family ?h . ?h rdf:type ontology:noble_family }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q635
P25
Q502895
USER
How many people were the mother of Cleopatra ?
(Q635,P25,c(Q502895))
action count
action filter_type
action find
entity Q635
relation P25
type Q502895
['Q635', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { resource:Q635 property:P25 ?k . ?k rdf:type ontology:Q502895 }
Cleopatra
action count
action filter_type
action find
entity Cleopatra
relation mother
type common name
['Cleopatra', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { resource:Cleopatra property:mother ?k . ?k rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q40242
(Q635,P25,c(Q502895))
action count
action filter_type
action find
entity Q635
relation P25
type Q502895
[ANSWER]
['Q635', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { resource:Q635 property:P25 ?k . ?k rdf:type ontology:Q502895 }
Cleopatra V of Egypt
1
action count
action filter_type
action find
entity Cleopatra
relation mother
type common name
['Cleopatra', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { resource:Cleopatra property:mother ?k . ?k rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q20081175
Q502895
USER
And what about Marie Hélène Thérasie Parent du Châtelet?
(Q20081175,P25,c(Q502895))
action count
action filter_type
action find
entity Q20081175
relation P25
type Q502895
['Q20081175', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { resource:Q20081175 property:P25 ?t . ?t rdf:type ontology:Q502895 }
Marie Hélène Thérasie Parent du Châtelet
action count
action filter_type
action find
entity Marie Hélène Thérasie Parent du Châtelet
relation mother
type common name
['Marie Hélène Thérasie Parent du Châtelet', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { resource:Marie_Hélène_Thérasie_Parent_du_Châtelet property:mother ?t . ?t rdf:type ontology:common_name }
[]
common name
SYSTEM
1
(Q20081175,P25,c(Q502895))
action count
action filter_type
action find
entity Q20081175
relation P25
type Q502895
[ANSWER]
['Q20081175', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { resource:Q20081175 property:P25 ?t . ?t rdf:type ontology:Q502895 }
1
action count
action filter_type
action find
entity Marie Hélène Thérasie Parent du Châtelet
relation mother
type common name
['Marie Hélène Thérasie Parent du Châtelet', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { resource:Marie_Hélène_Thérasie_Parent_du_Châtelet property:mother ?t . ?t rdf:type ontology:common_name }
[]