Simple Question (Direct)
Simple Question
Q474225
P607
Q198
USER
What battle was Amos Beebe Eaton a part of ?
(Q474225,P607,c(Q198))
action filter_type
action find
entity Q474225
relation P607
type Q198
['Q474225', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?h WHERE { resource:Q474225 property:P607 ?h . ?h rdf:type ontology:Q198 }
Amos Beebe Eaton
action filter_type
action find
entity Amos Beebe Eaton
relation conflict
type war
['Amos Beebe Eaton', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?h WHERE { resource:Amos_Beebe_Eaton property:conflict ?h . ?h rdf:type ontology:war }
[]
war
Q8676
SYSTEM
American Civil War
Q8676
(Q474225,P607,c(Q198))
action filter_type
action find
entity Q474225
relation P607
type Q198
What battle was Amos Beebe Eaton a part of
['Q474225', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?h WHERE { resource:Q474225 property:P607 ?h . ?h rdf:type ontology:Q198 }
American Civil War
What battle was Amos Beebe Eaton a part of
American Civil War
action filter_type
action find
entity Amos Beebe Eaton
relation conflict
type war
['Amos Beebe Eaton', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?h WHERE { resource:Amos_Beebe_Eaton property:conflict ?h . ?h rdf:type ontology:war }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q474225
P21
Q290
USER
Which sex does Amos Beebe Eaton have ?
(Q474225,P21,c(Q290))
action filter_type
action find
entity Q474225
relation P21
type Q290
['Q474225', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q290 . resource:Q474225 property:P21 ?i }
Amos Beebe Eaton
action filter_type
action find
entity Amos Beebe Eaton
relation gender
type sex
['Amos Beebe Eaton', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:sex . resource:Amos_Beebe_Eaton property:gender ?i }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q474225,P21,c(Q290))
action filter_type
action find
entity Q474225
relation P21
type Q290
Amos Beebe Eaton has a [ANSWER]
['Q474225', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q290 . resource:Q474225 property:P21 ?i }
male
Amos Beebe Eaton has a male
male
action filter_type
action find
entity Amos Beebe Eaton
relation gender
type sex
['Amos Beebe Eaton', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:sex . resource:Amos_Beebe_Eaton property:gender ?i }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q9077
P1441
Q15416 Q15961987 Q502895
USER
How many people are seen in lesser number of television programs or television genres than Moses ?
(c(Q502895),P1441,c(Q15416)|c(Q15961987))
action count
action less
action union
action find_tuple_counts
relation P1441
type Q502895
type Q15416
action find_tuple_counts
relation P1441
type Q502895
type Q15961987
action count
action filter_multi_types
action find
entity Q9077
relation P1441
type Q15416
type Q15961987
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q15416'}, {'concept': 'Q15961987'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) ?o WHERE { VALUES ( ?y ) { ( ontology:Q15416 ) ( ontology:Q15961987 ) } . ?p rdf:type ?y } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) WHERE { resource:Q9077 property:P1441 ?z . { ?z rdf:type ?f . VALUES ( ?f ) { ( ontology:Q15416 ) ( ontology:Q15961987 ) } } } } . FILTER ( ?m < ?g ) }
Moses
action count
action less
action union
action find_tuple_counts
relation present in work
type common name
type television program
action find_tuple_counts
relation present in work
type common name
type television genre
action count
action filter_multi_types
action find
entity Moses
relation present in work
type television program
type television genre
[{'concept': 'common name'}, 'present in work', [{'concept': 'television program'}, {'concept': 'television genre'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) ?o WHERE { VALUES ( ?y ) { ( ontology:television_program ) ( ontology:television_genre ) } . ?p rdf:type ?y } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) WHERE { resource:Moses property:present_in_work ?z . { ?z rdf:type ?f . VALUES ( ?f ) { ( ontology:television_program ) ( ontology:television_genre ) } } } } . FILTER ( ?m < ?g ) }
[]
television program television genre common name
SYSTEM
287
Q41863 Q603233 Q660359 Q2447493 Q80048 Q529984 Q23885172 Q1143157 Q4430779 Q1341397 Q249381 Q232525 Q194064 Q240258 Q24579400 Q466687 Q7307192 Q321469 Q18699270 Q319116 Q18699272 Q12591 Q213633 Q131195 Q221514 Q30914 Q2426699 Q937827 Q24624067 Q4057937 Q214648 Q2574151 Q160116 Q785349 Q2052042 Q318912 Q18699312 Q3858588 Q4154984 Q4006447 Q363623 Q3343834 Q211663 Q176125 Q2451581 Q2046277 Q8423 Q715713 Q24577230 Q1938388 Q2040793 Q494455 Q673959 Q185801 Q6239779 Q125102 Q34428 Q2033697 Q954820 Q244912 Q313216 Q313214 Q24622402 Q645796 Q361636 Q20656752 Q205523 Q1281177 Q311556 Q1353836 Q294192 Q19975705 Q560559 Q807236 Q25885222 Q1867479 Q134646 Q2256348 Q879668 Q1686571 Q1675214 Q2170784 Q188794 Q844433 Q181538 Q24623408 Q28730 Q200902 Q3798672 Q8413 Q2600794 Q126689 Q2282686 Q459606 Q145746 Q437417 Q463934 Q721295 Q3778878 Q3774081 Q1403627 Q1133523 Q1348720 Q24624893 Q1396131 Q3591188 Q716237 Q2264125 Q608841 Q1133337 Q41370 Q200637 Q2124082 Q3259530 Q24625686 Q81422 Q3187975 Q2116944 Q3783913 Q2137929 Q315276 Q946939 Q888890 Q3148218 Q24577318 Q515828 Q24625326 Q1771358 Q25858050 Q26858752 Q923021 Q272277 Q460763 Q24633210 Q205372 Q715547 Q717814 Q3745274 Q3867479 Q830183 Q1446 Q1641601 Q6577515 Q63070 Q7493584 Q19348839 Q1300996 Q2073479 Q851686 Q1333225 Q40662 Q206238 Q400294 Q2723049 Q922184 Q1093885 Q156328 Q1346246 Q3785031 Q1768161 Q2578955 Q6323112 Q171724 Q3010053 Q550255 Q889694 Q1851709 Q8027483 Q816397 Q164889 Q24625073 Q27621044 Q1380878 Q16879711 Q24623579 Q366070 Q2038223 Q1377025 Q2276030 Q264699 Q313415 Q270438 Q360378 Q2711883 Q363660 Q665541 Q1516550 Q886399 Q840401 Q1341779 Q37085 Q326585 Q109920 Q536019 Q213850 Q74891 Q45090 Q972487 Q336832 Q313395 Q1941782 Q2304442 Q8581 Q2651263 Q1542853 Q24577238 Q209793 Q24632700 Q1808889 Q587893 Q24626363 Q2685920 Q256076 Q184273 Q107626 Q205365 Q24633126 Q477527 Q1091513 Q3658171 Q2601106 Q18699310 Q62788 Q4804479 Q26721185 Q2292243 Q2448083 Q313421 Q313423 Q633681 Q362021 Q24623790 Q2296791 Q200947 Q24083251 Q262766 Q1947936 Q225198 Q211396 Q25923184 Q313228 Q2075711 Q312311 Q2361344 Q3275910 Q536485 Q273517 Q3752551 Q671872 Q169329 Q2477603 Q110436 Q16845969 Q23906252 Q2519772 Q879088 Q192785 Q302322 Q308320 Q183089 Q7734 Q3761044 Q2168182 Q878882 Q76721 Q1030008 Q26858995 Q2487300 Q319049 Q283466 Q18699300 Q9441 Q18699268 Q372783 Q16006746 Q17457 Q786748 Q24626010 Q229702 Q574641 Q26858919 Q2590260 Q2047062 Q599907 Q1227361 Q282220 Q313237
(c(Q502895),P1441,c(Q15416)|c(Q15961987))
action count
action less
action union
action find_tuple_counts
relation P1441
type Q502895
type Q15416
action find_tuple_counts
relation P1441
type Q502895
type Q15961987
action count
action filter_multi_types
action find
entity Q9077
relation P1441
type Q15416
type Q15961987
[ANSWER]
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q15416'}, {'concept': 'Q15961987'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) ?o WHERE { VALUES ( ?y ) { ( ontology:Q15416 ) ( ontology:Q15961987 ) } . ?p rdf:type ?y } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) WHERE { resource:Q9077 property:P1441 ?z . { ?z rdf:type ?f . VALUES ( ?f ) { ( ontology:Q15416 ) ( ontology:Q15961987 ) } } } } . FILTER ( ?m < ?g ) }
Halga Julius Asclepiodotus Cecco Angiolieri Ferrex Al Capone Eric Anundsson Victor Petit Jair Immanuel Michal Markandeya Theodelinda Ezekiel Olof Björnsson Jebidiah Farnsworth Damaris Refil Abishag Achim Nathan Eliud Nebuchadnezzar II Deborah Constantius Chlorus Manoah Ahaz Dyfnwal Moelmud Delilah Bea Hansen Adoniram Samson Sisillius III Alexander III Cangrande I della Scala Mempricius Eric the Victorious Jacob Mino da San Quirico Kai Darab Urianus Cassivellaunus Norman Winther Rehoboam Gideon Cordelia of Britain Parikshit Cyrus the Great Salvatore Maranzano Harriet Mutesi Miriam Reu Orville Wright Leil Mikhail Kutuzov John Hooper Necho II Philip Sisillius I Yael Hezekiah Uzziah Ahaziah of Judah Frank Fauteux Ibzan Amnon Bernard C. Webber Zipporah Beowulf Allectus Hrothgar Guy of Lusignan Daniel Webster Cluff Constans II Barak James Harcourt Jago of Britain Boniface VIII Shealtiel Björn Ironside Jehu Ithamar Anund Uppsale Isaiah Kenan Rudolf Abel Eldon Hanan Saul Shem Ingeld Constantine the Great Erik Björnsson Jehoshaphat Locrinus Ambrosius Aurelianus Joseph Cunobeline Athaliah Jezebel Guglielmo Borsiere Gracianus Municeps Hrethel Jephthah Guy de Montfort, Count of Nola Raymond Sybert Wilbur Wright Erik Refilsson Song Jiang Bladud Arvirargus Abner David Japheth Azzo VIII d'Este, Marquis of Ferrara Loretta Jones Andy Fitzgerald Noah Judith Wealhþeow Heardred Gurgustius Agilulf Phut Nahor Ignacy Przybyszewski Sara Katende Tasciovanus Miriam Webber Salomon Helen Kingsleigh Sarah Katende Gorboduc Bathsheba Benjamin George "Tiny" Myers Absalom Mandubracius Hadadezer Filippo Minutolo Musciatto Franzesi Eve Caracalla Tattenai Samuel Mary Magdalene Sheleph Salammbô Ehud Shaunaka Mephibosheth Elon John the Baptist Elisha Ahitophel Mayasura Caleb Hathi Manasseh of Judah Johnny Ringo Heoroweard Islamic views on Abraham Porrex I Nahor Daniel Céleste de Chateaubriand J. William Fulbright Hygelac Rud Hud Hudibras Wise woman of Abel Ben-Hadad I Manfred, King of Sicily Richard Livesey Davy Brown Vortimer Sage Animandaya Wallace Quirey George William Russell Amminadab Bharata Archmail Wil Wheaton Asa of Judah Charles of Valois Adonijah Gurguit Barbtruc Elimelek Hosea Shamgar Maelgwn Gwynedd Laban Kai Lohrasp Solomon Vortigern Jotham of Judah Ecgþeow Amos Jonathan Jesse Buonamico Buffalmacco Jehoahaz of Judah Authari Nadabe Coel Hen Saladin Trahern Alphaeus Robert Katende Constantine III John Stello Kimarcus Sisillius II Mel Gouthro Bledudo Cunedagius Zedekiah Seth Cain Donald Bangs Amram Son of Gorbonianus Phiona Mutesi Rukmi Matthan Jethro Ash Vasudevan Lena Gogan Rivallo Brutus Greenshield Abel Amon of Judah Björn Eriksson Eli D.A. Brown Molly Bloom Ahmad ibn Fadlan Stan the Man Junia Beldgabred Belshazzar Magnus Maximus Elizabeth Ham Josiah Andragius Peter III of Aragon Durvasa Anne Françoise Elisabeth Lange Othniel Abijah of Judah Freawaru Isaac Conrad of Montferrat Vaisampayana Cory Doctorow Hygd Caf' Francisco Sawyl Penuchel Björn at Haugi Goliath Calandrino Abdon Publius Septimius Geta Joshua Geri Spini Ebraucus Togodumnus Godfrey of Bouillon Tamar Aloysius Kyazze Cunedda Jeconiah Roger of Lauria Eleazar Gautama Buddha Zadok Adrian Cronauer James B. Donovan Donald Knuth Pedro González de Mendoza Ervin Maske Ham Balaam Hope Katende Ahijah the Shilonite Marius of Britain Baruch ben Neriah John of Procida Judah Amaziah of Judah
287
action count
action less
action union
action find_tuple_counts
relation present in work
type common name
type television program
action find_tuple_counts
relation present in work
type common name
type television genre
action count
action filter_multi_types
action find
entity Moses
relation present in work
type television program
type television genre
[{'concept': 'common name'}, 'present in work', [{'concept': 'television program'}, {'concept': 'television genre'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) ?o WHERE { VALUES ( ?y ) { ( ontology:television_program ) ( ontology:television_genre ) } . ?p rdf:type ?y } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) WHERE { resource:Moses property:present_in_work ?z . { ?z rdf:type ?f . VALUES ( ?f ) { ( ontology:television_program ) ( ontology:television_genre ) } } } } . FILTER ( ?m < ?g ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q3259530
P1441
Q15416 Q15961987 Q502895
USER
And also tell me about Loretta Jones?
(c(Q502895),P1441,c(Q15416)|c(Q15961987))
action count
action less
action union
action find_tuple_counts
relation P1441
type Q502895
type Q15416
action find_tuple_counts
relation P1441
type Q502895
type Q15961987
action count
action filter_multi_types
action find
entity Q3259530
relation P1441
type Q15416
type Q15961987
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q15416'}, {'concept': 'Q15961987'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) ?f WHERE { ?j rdf:type ?i . VALUES ( ?i ) { ( ontology:Q15416 ) ( ontology:Q15961987 ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { resource:Q3259530 property:P1441 ?s . { { ?s rdf:type ontology:Q15416 } UNION { ?s rdf:type ontology:Q15961987 } } } } . FILTER ( ?v < ?d ) }
Loretta Jones
action count
action less
action union
action find_tuple_counts
relation present in work
type common name
type television program
action find_tuple_counts
relation present in work
type common name
type television genre
action count
action filter_multi_types
action find
entity Loretta Jones
relation present in work
type television program
type television genre
[{'concept': 'common name'}, 'present in work', [{'concept': 'television program'}, {'concept': 'television genre'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) ?f WHERE { ?j rdf:type ?i . VALUES ( ?i ) { ( ontology:television_program ) ( ontology:television_genre ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { resource:Loretta_Jones property:present_in_work ?s . { { ?s rdf:type ontology:television_program } UNION { ?s rdf:type ontology:television_genre } } } } . FILTER ( ?v < ?d ) }
[]
television program television genre common name
SYSTEM
284
Q41863 Q603233 Q660359 Q2447493 Q80048 Q529984 Q23885172 Q1143157 Q4430779 Q1341397 Q249381 Q232525 Q194064 Q240258 Q24579400 Q466687 Q7307192 Q321469 Q18699270 Q319116 Q18699272 Q12591 Q213633 Q131195 Q221514 Q30914 Q2426699 Q937827 Q24624067 Q4057937 Q214648 Q2574151 Q160116 Q785349 Q2052042 Q318912 Q18699312 Q3858588 Q4154984 Q4006447 Q363623 Q3343834 Q211663 Q176125 Q2451581 Q2046277 Q8423 Q715713 Q24577230 Q1938388 Q2040793 Q494455 Q673959 Q185801 Q6239779 Q125102 Q34428 Q2033697 Q954820 Q244912 Q313216 Q313214 Q24622402 Q645796 Q361636 Q20656752 Q205523 Q1281177 Q311556 Q1353836 Q294192 Q19975705 Q560559 Q807236 Q25885222 Q1867479 Q134646 Q2256348 Q879668 Q1686571 Q1675214 Q2170784 Q188794 Q844433 Q181538 Q24623408 Q28730 Q200902 Q3798672 Q8413 Q2600794 Q126689 Q2282686 Q459606 Q145746 Q437417 Q463934 Q721295 Q3778878 Q3774081 Q1403627 Q1133523 Q1348720 Q24624893 Q1396131 Q3591188 Q716237 Q2264125 Q608841 Q1133337 Q41370 Q200637 Q2124082 Q24625686 Q81422 Q3187975 Q2116944 Q3783913 Q2137929 Q315276 Q946939 Q888890 Q3148218 Q24577318 Q515828 Q24625326 Q1771358 Q25858050 Q26858752 Q923021 Q272277 Q460763 Q24633210 Q205372 Q715547 Q717814 Q3745274 Q3867479 Q830183 Q1446 Q1641601 Q6577515 Q63070 Q7493584 Q19348839 Q1300996 Q2073479 Q851686 Q1333225 Q40662 Q206238 Q400294 Q2723049 Q922184 Q1093885 Q156328 Q1346246 Q3785031 Q1768161 Q2578955 Q6323112 Q171724 Q3010053 Q889694 Q1851709 Q8027483 Q816397 Q164889 Q24625073 Q27621044 Q1380878 Q16879711 Q24623579 Q366070 Q2038223 Q1377025 Q2276030 Q313415 Q270438 Q360378 Q2711883 Q363660 Q665541 Q1516550 Q886399 Q840401 Q1341779 Q37085 Q326585 Q109920 Q536019 Q213850 Q74891 Q45090 Q972487 Q336832 Q313395 Q1941782 Q2304442 Q8581 Q2651263 Q1542853 Q24577238 Q209793 Q24632700 Q1808889 Q587893 Q24626363 Q2685920 Q256076 Q184273 Q107626 Q205365 Q24633126 Q477527 Q1091513 Q3658171 Q2601106 Q18699310 Q62788 Q4804479 Q26721185 Q2292243 Q2448083 Q313421 Q313423 Q633681 Q362021 Q24623790 Q2296791 Q200947 Q24083251 Q262766 Q1947936 Q225198 Q211396 Q25923184 Q313228 Q2075711 Q312311 Q2361344 Q3275910 Q536485 Q273517 Q3752551 Q671872 Q169329 Q2477603 Q110436 Q16845969 Q23906252 Q2519772 Q879088 Q192785 Q302322 Q308320 Q183089 Q7734 Q3761044 Q2168182 Q878882 Q76721 Q1030008 Q26858995 Q2487300 Q319049 Q283466 Q18699300 Q9441 Q18699268 Q372783 Q16006746 Q17457 Q786748 Q24626010 Q229702 Q574641 Q26858919 Q2590260 Q2047062 Q599907 Q1227361 Q282220 Q313237
(c(Q502895),P1441,c(Q15416)|c(Q15961987))
action count
action less
action union
action find_tuple_counts
relation P1441
type Q502895
type Q15416
action find_tuple_counts
relation P1441
type Q502895
type Q15961987
action count
action filter_multi_types
action find
entity Q3259530
relation P1441
type Q15416
type Q15961987
[ANSWER]
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q15416'}, {'concept': 'Q15961987'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) ?f WHERE { ?j rdf:type ?i . VALUES ( ?i ) { ( ontology:Q15416 ) ( ontology:Q15961987 ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { resource:Q3259530 property:P1441 ?s . { { ?s rdf:type ontology:Q15416 } UNION { ?s rdf:type ontology:Q15961987 } } } } . FILTER ( ?v < ?d ) }
Halga Julius Asclepiodotus Cecco Angiolieri Ferrex Al Capone Eric Anundsson Victor Petit Jair Immanuel Michal Markandeya Theodelinda Ezekiel Olof Björnsson Jebidiah Farnsworth Damaris Refil Abishag Achim Nathan Eliud Nebuchadnezzar II Deborah Constantius Chlorus Manoah Ahaz Dyfnwal Moelmud Delilah Bea Hansen Adoniram Samson Sisillius III Alexander III Cangrande I della Scala Mempricius Eric the Victorious Jacob Mino da San Quirico Kai Darab Urianus Cassivellaunus Norman Winther Rehoboam Gideon Cordelia of Britain Parikshit Cyrus the Great Salvatore Maranzano Harriet Mutesi Miriam Reu Orville Wright Leil Mikhail Kutuzov John Hooper Necho II Philip Sisillius I Yael Hezekiah Uzziah Ahaziah of Judah Frank Fauteux Ibzan Amnon Bernard C. Webber Zipporah Beowulf Allectus Hrothgar Guy of Lusignan Daniel Webster Cluff Constans II Barak James Harcourt Jago of Britain Boniface VIII Shealtiel Björn Ironside Jehu Ithamar Anund Uppsale Isaiah Kenan Rudolf Abel Eldon Hanan Saul Shem Ingeld Constantine the Great Erik Björnsson Jehoshaphat Locrinus Ambrosius Aurelianus Joseph Cunobeline Athaliah Jezebel Guglielmo Borsiere Gracianus Municeps Hrethel Jephthah Guy de Montfort, Count of Nola Raymond Sybert Wilbur Wright Erik Refilsson Song Jiang Bladud Arvirargus Abner David Japheth Azzo VIII d'Este, Marquis of Ferrara Andy Fitzgerald Noah Judith Wealhþeow Heardred Gurgustius Agilulf Phut Nahor Ignacy Przybyszewski Sara Katende Tasciovanus Miriam Webber Salomon Helen Kingsleigh Sarah Katende Gorboduc Bathsheba Benjamin George "Tiny" Myers Absalom Mandubracius Hadadezer Filippo Minutolo Musciatto Franzesi Eve Caracalla Tattenai Samuel Mary Magdalene Sheleph Salammbô Ehud Shaunaka Mephibosheth Elon John the Baptist Elisha Ahitophel Mayasura Caleb Hathi Manasseh of Judah Johnny Ringo Heoroweard Islamic views on Abraham Porrex I Nahor Daniel Céleste de Chateaubriand Hygelac Rud Hud Hudibras Wise woman of Abel Ben-Hadad I Manfred, King of Sicily Richard Livesey Davy Brown Vortimer Sage Animandaya Wallace Quirey George William Russell Amminadab Bharata Archmail Asa of Judah Charles of Valois Adonijah Gurguit Barbtruc Elimelek Hosea Shamgar Maelgwn Gwynedd Laban Kai Lohrasp Solomon Vortigern Jotham of Judah Ecgþeow Amos Jonathan Jesse Buonamico Buffalmacco Jehoahaz of Judah Authari Nadabe Coel Hen Saladin Trahern Alphaeus Robert Katende Constantine III John Stello Kimarcus Sisillius II Mel Gouthro Bledudo Cunedagius Zedekiah Seth Cain Donald Bangs Amram Son of Gorbonianus Phiona Mutesi Rukmi Matthan Jethro Ash Vasudevan Lena Gogan Rivallo Brutus Greenshield Abel Amon of Judah Björn Eriksson Eli D.A. Brown Molly Bloom Ahmad ibn Fadlan Stan the Man Junia Beldgabred Belshazzar Magnus Maximus Elizabeth Ham Josiah Andragius Peter III of Aragon Durvasa Anne Françoise Elisabeth Lange Othniel Abijah of Judah Freawaru Isaac Conrad of Montferrat Vaisampayana Cory Doctorow Hygd Caf' Francisco Sawyl Penuchel Björn at Haugi Goliath Calandrino Abdon Publius Septimius Geta Joshua Geri Spini Ebraucus Togodumnus Godfrey of Bouillon Tamar Aloysius Kyazze Cunedda Jeconiah Roger of Lauria Eleazar Gautama Buddha Zadok Adrian Cronauer James B. Donovan Donald Knuth Pedro González de Mendoza Ervin Maske Ham Balaam Hope Katende Ahijah the Shilonite Marius of Britain Baruch ben Neriah John of Procida Judah Amaziah of Judah
284
action count
action less
action union
action find_tuple_counts
relation present in work
type common name
type television program
action find_tuple_counts
relation present in work
type common name
type television genre
action count
action filter_multi_types
action find
entity Loretta Jones
relation present in work
type television program
type television genre
[{'concept': 'common name'}, 'present in work', [{'concept': 'television program'}, {'concept': 'television genre'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) ?f WHERE { ?j rdf:type ?i . VALUES ( ?i ) { ( ontology:television_program ) ( ontology:television_genre ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { resource:Loretta_Jones property:present_in_work ?s . { { ?s rdf:type ontology:television_program } UNION { ?s rdf:type ontology:television_genre } } } } . FILTER ( ?v < ?d ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q198 Q838948 Q2342494
USER
How many wars were discussed in around 398 works of art or collectables ?
(c(Q838948)|c(Q2342494),P921,c(Q198))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q198
type Q838948
action find_reverse_tuple_counts
relation P921
type Q198
type Q2342494
value 398
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) ?s WHERE { { ?b property:P921 ?s . ?b rdf:type ontology:Q2342494 . ?s rdf:type ontology:Q198 } UNION { ?b property:P921 ?s . ?s rdf:type ontology:Q198 . ?b rdf:type ontology:Q838948 } } GROUP BY ?s } . FILTER ( ?v = 398 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation main subject
type war
type work of art
action find_reverse_tuple_counts
relation main subject
type war
type collectable
value 398
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'main subject', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) ?s WHERE { { ?b property:main_subject ?s . ?b rdf:type ontology:collectable . ?s rdf:type ontology:war } UNION { ?b property:main_subject ?s . ?s rdf:type ontology:war . ?b rdf:type ontology:work_of_art } } GROUP BY ?s } . FILTER ( ?v = 398 ) }
[]
war work of art collectable
SYSTEM
4
Q8683 Q8676 Q10859 Q361
(c(Q838948)|c(Q2342494),P921,c(Q198))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q198
type Q838948
action find_reverse_tuple_counts
relation P921
type Q198
type Q2342494
value 398
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) ?s WHERE { { ?b property:P921 ?s . ?b rdf:type ontology:Q2342494 . ?s rdf:type ontology:Q198 } UNION { ?b property:P921 ?s . ?s rdf:type ontology:Q198 . ?b rdf:type ontology:Q838948 } } GROUP BY ?s } . FILTER ( ?v = 398 ) }
Cold War American Civil War Spanish Civil War World War I
4
action count
action approx
action union
action find_reverse_tuple_counts
relation main subject
type war
type work of art
action find_reverse_tuple_counts
relation main subject
type war
type collectable
value 398
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'main subject', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) ?s WHERE { { ?b property:main_subject ?s . ?b rdf:type ontology:collectable . ?s rdf:type ontology:war } UNION { ?b property:main_subject ?s . ?s rdf:type ontology:war . ?b rdf:type ontology:work_of_art } } GROUP BY ?s } . FILTER ( ?v = 398 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q174284 Q474225
P840 P27
Q15617994
USER
Which administrative territories are Amos Beebe Eaton a civilian of and are Raiders of the Lost Ark set in ?
AND((Q474225,P27,c(Q15617994)), (Q174284,P840,c(Q15617994)))
action filter_type
action intersection
action find
entity Q474225
relation P27
action find
entity Q174284
relation P840
type Q15617994
{'AND': [['Q474225', 'P27', {'concept': 'Q15617994'}], ['Q174284', 'P840', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15617994 . resource:Q474225 property:P27 ?b . resource:Q174284 property:P840 ?b }
Raiders of the Lost Ark Amos Beebe Eaton
action filter_type
action intersection
action find
entity Amos Beebe Eaton
relation country of citizenship
action find
entity Raiders of the Lost Ark
relation narrative location
type designation for an administrative territorial entity
{'AND': [['Amos Beebe Eaton', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Raiders of the Lost Ark', 'narrative location', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Amos_Beebe_Eaton property:country_of_citizenship ?b . resource:Raiders_of_the_Lost_Ark property:narrative_location ?b }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
AND((Q474225,P27,c(Q15617994)), (Q174284,P840,c(Q15617994)))
action filter_type
action intersection
action find
entity Q474225
relation P27
action find
entity Q174284
relation P840
type Q15617994
[ANSWER] is Amos Beebe Eaton a civilian of and is Raiders of the Lost Ark set in
{'AND': [['Q474225', 'P27', {'concept': 'Q15617994'}], ['Q174284', 'P840', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15617994 . resource:Q474225 property:P27 ?b . resource:Q174284 property:P840 ?b }
United States of America
United States of America is Amos Beebe Eaton a civilian of and is Raiders of the Lost Ark set in
United States of America
action filter_type
action intersection
action find
entity Amos Beebe Eaton
relation country of citizenship
action find
entity Raiders of the Lost Ark
relation narrative location
type designation for an administrative territorial entity
{'AND': [['Amos Beebe Eaton', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Raiders of the Lost Ark', 'narrative location', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Amos_Beebe_Eaton property:country_of_citizenship ?b . resource:Raiders_of_the_Lost_Ark property:narrative_location ?b }
[]
Logical Reasoning (All)
Logical|Difference|Single_Relation
Q345 Q9077
P180
Q3305213
USER
Which paintings express Moses but not Mary ?
AND((c(Q3305213),P180,Q9077), NOT((c(Q3305213),P180,Q345)))
action filter_type
action difference
action find_reverse
entity Q9077
relation P180
action find_reverse
entity Q345
relation P180
type Q3305213
{'AND': [[{'concept': 'Q3305213'}, 'P180', 'Q9077'], {'NOT': [[{'concept': 'Q3305213'}, 'P180', 'Q345']]}]}
SELECT DISTINCT ?m WHERE { ?m property:P180 resource:Q9077 . FILTER NOT EXISTS { ?m property:P180 resource:Q345 } . ?m rdf:type ontology:Q3305213 }
Mary Moses
action filter_type
action difference
action find_reverse
entity Moses
relation depicts
action find_reverse
entity Mary
relation depicts
type painting
{'AND': [[{'concept': 'painting'}, 'depicts', 'Moses'], {'NOT': [[{'concept': 'painting'}, 'depicts', 'Mary']]}]}
SELECT DISTINCT ?m WHERE { ?m property:depicts resource:Moses . FILTER NOT EXISTS { ?m property:depicts resource:Mary } . ?m rdf:type ontology:painting }
[]
painting
Q23693906
SYSTEM
Moses placed in the Ark of Bulrushes
Q23693906
AND((c(Q3305213),P180,Q9077), NOT((c(Q3305213),P180,Q345)))
action filter_type
action difference
action find_reverse
entity Q9077
relation P180
action find_reverse
entity Q345
relation P180
type Q3305213
Represent [ANSWER] express Moses but not Mary
{'AND': [[{'concept': 'Q3305213'}, 'P180', 'Q9077'], {'NOT': [[{'concept': 'Q3305213'}, 'P180', 'Q345']]}]}
SELECT DISTINCT ?m WHERE { ?m property:P180 resource:Q9077 . FILTER NOT EXISTS { ?m property:P180 resource:Q345 } . ?m rdf:type ontology:Q3305213 }
Moses placed in the Ark of Bulrushes
Represent Moses placed in the Ark of Bulrushes express Moses but not Mary
Moses placed in the Ark of Bulrushes
action filter_type
action difference
action find_reverse
entity Moses
relation depicts
action find_reverse
entity Mary
relation depicts
type painting
{'AND': [[{'concept': 'painting'}, 'depicts', 'Moses'], {'NOT': [[{'concept': 'painting'}, 'depicts', 'Mary']]}]}
SELECT DISTINCT ?m WHERE { ?m property:depicts resource:Moses . FILTER NOT EXISTS { ?m property:depicts resource:Mary } . ?m rdf:type ontology:painting }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23693906
P144
Q234460
USER
Which text does that painting extend upon ?
(Q23693906,P144,c(Q234460))
action filter_type
action find
entity Q23693906
relation P144
type Q234460
['Q23693906', 'P144', {'concept': 'Q234460'}]
SELECT DISTINCT ?u WHERE { resource:Q23693906 property:P144 ?u . ?u rdf:type ontology:Q234460 }
Moses placed in the Ark of Bulrushes
action filter_type
action find
entity Moses placed in the Ark of Bulrushes
relation based on
type text
['Moses placed in the Ark of Bulrushes', 'based on', {'concept': 'text'}]
SELECT DISTINCT ?u WHERE { resource:Moses_placed_in_the_Ark_of_Bulrushes property:based_on ?u . ?u rdf:type ontology:text }
[]
text
Q9190
SYSTEM
Exodus
Q9190
(Q23693906,P144,c(Q234460))
action filter_type
action find
entity Q23693906
relation P144
type Q234460
That painting extends to [ANSWER]
['Q23693906', 'P144', {'concept': 'Q234460'}]
SELECT DISTINCT ?u WHERE { resource:Q23693906 property:P144 ?u . ?u rdf:type ontology:Q234460 }
Exodus
That painting extends to Exodus
Exodus
action filter_type
action find
entity Moses placed in the Ark of Bulrushes
relation based on
type text
['Moses placed in the Ark of Bulrushes', 'based on', {'concept': 'text'}]
SELECT DISTINCT ?u WHERE { resource:Moses_placed_in_the_Ark_of_Bulrushes property:based_on ?u . ?u rdf:type ontology:text }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q9190 Q2075990
P674
Q502895
USER
Does Peter Jacques play a role in that text ?
(Q9190,P674,Q2075990)
action is_in
entity Q2075990
action find
entity Q9190
relation P674
['Q9190', 'P674', 'Q2075990']
ASK WHERE { resource:Q9190 property:P674 resource:Q2075990 }
Exodus Peter Jacques
action is_in
entity Peter Jacques
action find
entity Exodus
relation characters
['Exodus', 'characters', 'Peter Jacques']
ASK WHERE { resource:Exodus property:characters resource:Peter_Jacques }
[]
common name
SYSTEM
NO
(Q9190,P674,Q2075990)
action is_in
entity Q2075990
action find
entity Q9190
relation P674
[ANSWER]
['Q9190', 'P674', 'Q2075990']
ASK WHERE { resource:Q9190 property:P674 resource:Q2075990 }
No
action is_in
entity Peter Jacques
action find
entity Exodus
relation characters
['Exodus', 'characters', 'Peter Jacques']
ASK WHERE { resource:Exodus property:characters resource:Peter_Jacques }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q8269
P941
Q234460 Q838948 Q223393
USER
How many texts inspired approximately the same number of works of art and literary genres as The Tale of Genji ?
(c(Q838948)|c(Q223393),P941,c(Q234460))
action count
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q234460
type Q838948
action find_reverse_tuple_counts
relation P941
type Q234460
type Q223393
action count
action filter_multi_types
action find_reverse
entity Q8269
relation P941
type Q838948
type Q223393
[[{'concept': 'Q838948'}, {'concept': 'Q223393'}], 'P941', {'concept': 'Q234460'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) ?k WHERE { VALUES ( ?n ) { ( ontology:Q838948 ) ( ontology:Q223393 ) } . ?m rdf:type ?n } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { ?h property:P941 resource:Q8269 . { ?h rdf:type ?u . VALUES ( ?u ) { ( ontology:Q838948 ) ( ontology:Q223393 ) } } } } . FILTER ( ?c = ?v ) }
The Tale of Genji
action count
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type text
type work of art
action find_reverse_tuple_counts
relation inspired by
type text
type literary genre
action count
action filter_multi_types
action find_reverse
entity The Tale of Genji
relation inspired by
type work of art
type literary genre
[[{'concept': 'work of art'}, {'concept': 'literary genre'}], 'inspired by', {'concept': 'text'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) ?k WHERE { VALUES ( ?n ) { ( ontology:work_of_art ) ( ontology:literary_genre ) } . ?m rdf:type ?n } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { ?h property:inspired_by resource:The_Tale_of_Genji . { ?h rdf:type ?u . VALUES ( ?u ) { ( ontology:work_of_art ) ( ontology:literary_genre ) } } } } . FILTER ( ?c = ?v ) }
[]
text work of art literary genre
SYSTEM
15
Q918060 Q16639772 Q9184 Q8065468 Q1136104 Q1845 Q509070 Q1155892 Q1574072 Q3205402 Q279486 Q8269 Q9190 Q27104919 Q772766
(c(Q838948)|c(Q223393),P941,c(Q234460))
action count
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q234460
type Q838948
action find_reverse_tuple_counts
relation P941
type Q234460
type Q223393
action count
action filter_multi_types
action find_reverse
entity Q8269
relation P941
type Q838948
type Q223393
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q223393'}], 'P941', {'concept': 'Q234460'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) ?k WHERE { VALUES ( ?n ) { ( ontology:Q838948 ) ( ontology:Q223393 ) } . ?m rdf:type ?n } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { ?h property:P941 resource:Q8269 . { ?h rdf:type ?u . VALUES ( ?u ) { ( ontology:Q838948 ) ( ontology:Q223393 ) } } } } . FILTER ( ?c = ?v ) }
The Fox and the Hound The Rescuers Genesis The Adventures of Pinocchio Le Morte d'Arthur Bible The Vampyre Ab urbe condita libri Hamzanama The Sword in the Stone The Song of Hiawatha The Tale of Genji Exodus Happy Dan, The Whistling Dog The Diary of Lady Murasaki
15
action count
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type text
type work of art
action find_reverse_tuple_counts
relation inspired by
type text
type literary genre
action count
action filter_multi_types
action find_reverse
entity The Tale of Genji
relation inspired by
type work of art
type literary genre
[[{'concept': 'work of art'}, {'concept': 'literary genre'}], 'inspired by', {'concept': 'text'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) ?k WHERE { VALUES ( ?n ) { ( ontology:work_of_art ) ( ontology:literary_genre ) } . ?m rdf:type ?n } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { ?h property:inspired_by resource:The_Tale_of_Genji . { ?h rdf:type ?u . VALUES ( ?u ) { ( ontology:work_of_art ) ( ontology:literary_genre ) } } } } . FILTER ( ?c = ?v ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q785487
P941
Q234460 Q838948 Q223393
USER
And also tell me about Le Chef-d'œuvre inconnu?
(c(Q838948)|c(Q223393),P941,c(Q234460))
action count
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q234460
type Q838948
action find_reverse_tuple_counts
relation P941
type Q234460
type Q223393
action count
action filter_multi_types
action find_reverse
entity Q785487
relation P941
type Q838948
type Q223393
[[{'concept': 'Q838948'}, {'concept': 'Q223393'}], 'P941', {'concept': 'Q234460'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?r ) AS ?b ) WHERE { { ?r property:P941 ?d . ?d rdf:type ontology:Q234460 . ?r rdf:type ontology:Q838948 } UNION { ?d rdf:type ontology:Q234460 . ?r rdf:type ontology:Q223393 . ?r property:P941 ?d } } GROUP BY ?d } . FILTER ( ?b = ?y ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { ?q property:P941 resource:Q785487 . { { ?q rdf:type ontology:Q838948 } UNION { ?q rdf:type ontology:Q223393 } } } } }
Le Chef-d'œuvre inconnu
action count
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type text
type work of art
action find_reverse_tuple_counts
relation inspired by
type text
type literary genre
action count
action filter_multi_types
action find_reverse
entity Le Chef-d'œuvre inconnu
relation inspired by
type work of art
type literary genre
[[{'concept': 'work of art'}, {'concept': 'literary genre'}], 'inspired by', {'concept': 'text'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?r ) AS ?b ) WHERE { { ?r property:inspired_by ?d . ?d rdf:type ontology:text . ?r rdf:type ontology:work_of_art } UNION { ?d rdf:type ontology:text . ?r rdf:type ontology:literary_genre . ?r property:inspired_by ?d } } GROUP BY ?d } . FILTER ( ?b = ?y ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { ?q property:inspired_by resource:Le_Chef-d'œuvre_inconnu . { { ?q rdf:type ontology:work_of_art } UNION { ?q rdf:type ontology:literary_genre } } } } }
[]
text work of art literary genre
SYSTEM
10
Q1775812 Q185427 Q27134855 Q48328 Q27134782 Q2002867 Q785487 Q1428590 Q1217507 Q1214433
(c(Q838948)|c(Q223393),P941,c(Q234460))
action count
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q234460
type Q838948
action find_reverse_tuple_counts
relation P941
type Q234460
type Q223393
action count
action filter_multi_types
action find_reverse
entity Q785487
relation P941
type Q838948
type Q223393
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q223393'}], 'P941', {'concept': 'Q234460'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?r ) AS ?b ) WHERE { { ?r property:P941 ?d . ?d rdf:type ontology:Q234460 . ?r rdf:type ontology:Q838948 } UNION { ?d rdf:type ontology:Q234460 . ?r rdf:type ontology:Q223393 . ?r property:P941 ?d } } GROUP BY ?d } . FILTER ( ?b = ?y ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { ?q property:P941 resource:Q785487 . { { ?q rdf:type ontology:Q838948 } UNION { ?q rdf:type ontology:Q223393 } } } } }
Mario and the Magician The Song of Roland Little Briar Rose Beowulf The Beauty Sleeping in the Wood Sun, Moon, and Talia Le Chef-d'œuvre inconnu Beware of Pity The World of Yesterday Tribulations of a Chinaman in China
10
action count
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type text
type work of art
action find_reverse_tuple_counts
relation inspired by
type text
type literary genre
action count
action filter_multi_types
action find_reverse
entity Le Chef-d'œuvre inconnu
relation inspired by
type work of art
type literary genre
[[{'concept': 'work of art'}, {'concept': 'literary genre'}], 'inspired by', {'concept': 'text'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?r ) AS ?b ) WHERE { { ?r property:inspired_by ?d . ?d rdf:type ontology:text . ?r rdf:type ontology:work_of_art } UNION { ?d rdf:type ontology:text . ?r rdf:type ontology:literary_genre . ?r property:inspired_by ?d } } GROUP BY ?d } . FILTER ( ?b = ?y ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { ?q property:inspired_by resource:Le_Chef-d'œuvre_inconnu . { { ?q rdf:type ontology:work_of_art } UNION { ?q rdf:type ontology:literary_genre } } } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3257270 Q174284
P1441
Q95074
USER
Which fictional characters are present in Raiders of the Lost Ark or Discworld books ?
OR((c(Q95074),P1441,Q174284), (c(Q95074),P1441,Q3257270))
action filter_type
action union
action find_reverse
entity Q174284
relation P1441
action find_reverse
entity Q3257270
relation P1441
type Q95074
{'OR': [[{'concept': 'Q95074'}, 'P1441', 'Q174284'], [{'concept': 'Q95074'}, 'P1441', 'Q3257270']]}
SELECT DISTINCT ?f WHERE { { { ?f property:P1441 resource:Q3257270 } UNION { ?f property:P1441 resource:Q174284 } } . ?f rdf:type ontology:Q95074 }
Discworld books Raiders of the Lost Ark
action filter_type
action union
action find_reverse
entity Raiders of the Lost Ark
relation present in work
action find_reverse
entity Discworld books
relation present in work
type fictional character
{'OR': [[{'concept': 'fictional character'}, 'present in work', 'Raiders of the Lost Ark'], [{'concept': 'fictional character'}, 'present in work', 'Discworld books']]}
SELECT DISTINCT ?f WHERE { { { ?f property:present_in_work resource:Discworld_books } UNION { ?f property:present_in_work resource:Raiders_of_the_Lost_Ark } } . ?f rdf:type ontology:fictional_character }
[]
fictional character
Q12050857 Q7882980 Q9254973 Q11711898 Q669992 Q8462885 Q2995335 Q2599656 Q11821905 Q514782
SYSTEM
Some of them are Salacia von Humpeding, undead, Eskarina Smith, Imp Y Celyn, Rincewind, Sybil Ramkin, Carrot Ironfoundersson, Twoflower, Polly Perks, Sam Vimes
Q9254973 Q3503887 Q2662966 Q246866 Q3490455 Q2992620 Q11773791 Q2599656 Q2469867 Q3491040 Q12050857 Q3104712 Q2995335 Q13222460 Q11821905 Q3623211 Q3522530 Q514782 Q11711898 Q267447 Q681872 Q3503591 Q669992 Q7882980 Q3510547 Q3507727 Q2369247 Q6170424 Q963492 Q1984009 Q20280393 Q9180553 Q8462885 Q11934628 Q8460516 Q148659
OR((c(Q95074),P1441,Q174284), (c(Q95074),P1441,Q3257270))
action filter_type
action union
action find_reverse
entity Q174284
relation P1441
action find_reverse
entity Q3257270
relation P1441
type Q95074
[ANSWERS] are present in Raiders of the Lost Ark or Discworld books
{'OR': [[{'concept': 'Q95074'}, 'P1441', 'Q174284'], [{'concept': 'Q95074'}, 'P1441', 'Q3257270']]}
SELECT DISTINCT ?f WHERE { { { ?f property:P1441 resource:Q3257270 } UNION { ?f property:P1441 resource:Q174284 } } . ?f rdf:type ontology:Q95074 }
Eskarina Smith Mustrum Ridcully Nobby Nobbs Librarian Detritus The Luggage Buggy Swires Twoflower Cohen the Barbarian Leonard of Quirm Salacia von Humpeding Greebo Carrot Ironfoundersson Bloody Stupid Johnson Polly Perks Magrat Garlick Igor Sam Vimes Imp Y Celyn Granny Weatherwax Mort Albert Rincewind undead Lu-Tze William de Worde Angua von Überwald Ysabell of Sto Helit Nanny Ogg Death Chrysoprase Brutha Sybil Ramkin Vorbis A'Tuin Indiana Jones
Salacia von Humpeding, undead, Eskarina Smith, Imp Y Celyn, Rincewind, Sybil Ramkin, Carrot Ironfoundersson, Twoflower, Polly Perks and Sam Vimes are present in Raiders of the Lost Ark or Discworld books
Salacia von Humpeding undead Eskarina Smith Imp Y Celyn Rincewind Sybil Ramkin Carrot Ironfoundersson Twoflower Polly Perks Sam Vimes
action filter_type
action union
action find_reverse
entity Raiders of the Lost Ark
relation present in work
action find_reverse
entity Discworld books
relation present in work
type fictional character
{'OR': [[{'concept': 'fictional character'}, 'present in work', 'Raiders of the Lost Ark'], [{'concept': 'fictional character'}, 'present in work', 'Discworld books']]}
SELECT DISTINCT ?f WHERE { { { ?f property:present_in_work resource:Discworld_books } UNION { ?f property:present_in_work resource:Raiders_of_the_Lost_Ark } } . ?f rdf:type ontology:fictional_character }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q514782
P1441
Q277759
USER
How many book series are Sam Vimes shown in ?
(Q514782,P1441,c(Q277759))
action count
action filter_type
action find
entity Q514782
relation P1441
type Q277759
['Q514782', 'P1441', {'concept': 'Q277759'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { resource:Q514782 property:P1441 ?z . ?z rdf:type ontology:Q277759 }
Sam Vimes
action count
action filter_type
action find
entity Sam Vimes
relation present in work
type book series
['Sam Vimes', 'present in work', {'concept': 'book series'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { resource:Sam_Vimes property:present_in_work ?z . ?z rdf:type ontology:book_series }
[]
book series
SYSTEM
1
Q3257270
(Q514782,P1441,c(Q277759))
action count
action filter_type
action find
entity Q514782
relation P1441
type Q277759
[ANSWER]
['Q514782', 'P1441', {'concept': 'Q277759'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { resource:Q514782 property:P1441 ?z . ?z rdf:type ontology:Q277759 }
Discworld books
1
action count
action filter_type
action find
entity Sam Vimes
relation present in work
type book series
['Sam Vimes', 'present in work', {'concept': 'book series'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { resource:Sam_Vimes property:present_in_work ?z . ?z rdf:type ontology:book_series }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2829194
P520
Q222405
USER
What is the weapon used by Lan Mandragoran ?
(Q2829194,P520,c(Q222405))
action filter_type
action find
entity Q2829194
relation P520
type Q222405
['Q2829194', 'P520', {'concept': 'Q222405'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q222405 . resource:Q2829194 property:P520 ?e }
Lan Mandragoran
action filter_type
action find
entity Lan Mandragoran
relation armament
type cold weapon
['Lan Mandragoran', 'armament', {'concept': 'cold weapon'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:cold_weapon . resource:Lan_Mandragoran property:armament ?e }
[]
cold weapon
Q12791
SYSTEM
sword
Q12791
(Q2829194,P520,c(Q222405))
action filter_type
action find
entity Q2829194
relation P520
type Q222405
The weapon used by Lan Mandragoran is a [ANSWER]
['Q2829194', 'P520', {'concept': 'Q222405'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q222405 . resource:Q2829194 property:P520 ?e }
sword
The weapon used by Lan Mandragoran is a sword
sword
action filter_type
action find
entity Lan Mandragoran
relation armament
type cold weapon
['Lan Mandragoran', 'armament', {'concept': 'cold weapon'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:cold_weapon . resource:Lan_Mandragoran property:armament ?e }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2829194
P106
Q12737077
USER
What are the professions of that abstract being ?
(Q12791,P106,c(Q12737077))
action filter_type
action find
entity Q2829194
relation P106
type Q12737077
['Q12791', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q2829194 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
Lan Mandragoran
action filter_type
action find
entity Lan Mandragoran
relation occupation
type occupation
['sword', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Lan_Mandragoran property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q220098 Q1250916
SYSTEM
warlord, warrior
Q220098 Q1250916
(Q12791,P106,c(Q12737077))
action filter_type
action find
entity Q2829194
relation P106
type Q12737077
The professions of that abstract being are the [ANSWERS]
['Q12791', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q2829194 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
warlord warrior
The professions of that abstract being are the warlord and warrior
warlord warrior
action filter_type
action find
entity Lan Mandragoran
relation occupation
type occupation
['sword', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Lan_Mandragoran property:occupation ?p . ?p rdf:type ontology:occupation }
[]