Simple Question (Direct)
Simple Question
Q1035145
P161
Q502895
USER
Who were casted in Captain Video and His Video Rangers ?
(Q1035145,P161,c(Q502895))
action filter_type
action find
entity Q1035145
relation P161
type Q502895
['Q1035145', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q1035145 property:P161 ?u . ?u rdf:type ontology:Q502895 }
Captain Video and His Video Rangers
action filter_type
action find
entity Captain Video and His Video Rangers
relation cast member
type common name
['Captain Video and His Video Rangers', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Captain_Video_and_His_Video_Rangers property:cast_member ?u . ?u rdf:type ontology:common_name }
[]
common name
Q4704049 Q7324869 Q3046382
SYSTEM
Al Hodge, Richard Coogan, Earl Hammond
Q15402259 Q4704049 Q3046382 Q7324869 Q2026918
(Q1035145,P161,c(Q502895))
action filter_type
action find
entity Q1035145
relation P161
type Q502895
[ANSWERS] were casted in Captain Video and His Video Rangers
['Q1035145', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q1035145 property:P161 ?u . ?u rdf:type ontology:Q502895 }
Wright King Al Hodge Earl Hammond Richard Coogan Don Hastings
Al Hodge, Richard Coogan and Earl Hammond were casted in Captain Video and His Video Rangers
Al Hodge Richard Coogan Earl Hammond
action filter_type
action find
entity Captain Video and His Video Rangers
relation cast member
type common name
['Captain Video and His Video Rangers', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Captain_Video_and_His_Video_Rangers property:cast_member ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q4704049 Q7324869 Q3046382
P21
Q290
USER
Which sexes do Al Hodge, Richard Coogan and Earl Hammond have ?
(Q4704049,P21,c(Q290)) (Q7324869,P21,c(Q290)) (Q3046382,P21,c(Q290))
action union
action filter_type
action find
entity Q4704049
relation P21
type Q290
action filter_type
action find
entity Q7324869
relation P21
type Q290
action filter_type
action find
entity Q3046382
relation P21
type Q290
['Q4704049', 'P21', {'concept': 'Q290'}] ['Q7324869', 'P21', {'concept': 'Q290'}] ['Q3046382', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?x ) { ( resource:Q4704049 ) ( resource:Q7324869 ) } . ?x property:P21 ?j }
Al Hodge Richard Coogan Earl Hammond
action union
action filter_type
action find
entity Al Hodge
relation gender
type sex
action filter_type
action find
entity Richard Coogan
relation gender
type sex
action filter_type
action find
entity Earl Hammond
relation gender
type sex
['Al Hodge', 'gender', {'concept': 'sex'}] ['Richard Coogan', 'gender', {'concept': 'sex'}] ['Earl Hammond', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?x ) { ( resource:Al_Hodge ) ( resource:Richard_Coogan ) } . ?x property:gender ?j }
[]
sex
Q6581097 Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097 Q6581097
(Q4704049,P21,c(Q290)) (Q7324869,P21,c(Q290)) (Q3046382,P21,c(Q290))
action union
action filter_type
action find
entity Q4704049
relation P21
type Q290
action filter_type
action find
entity Q7324869
relation P21
type Q290
action filter_type
action find
entity Q3046382
relation P21
type Q290
Al Hodge , Richard Coogan and Earl Hammond have been [ANSWER], [ANSWER] and [ANSWER]
['Q4704049', 'P21', {'concept': 'Q290'}] ['Q7324869', 'P21', {'concept': 'Q290'}] ['Q3046382', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?x ) { ( resource:Q4704049 ) ( resource:Q7324869 ) } . ?x property:P21 ?j }
male male male
Al Hodge , Richard Coogan and Earl Hammond have been male, male and male
male male male
action union
action filter_type
action find
entity Al Hodge
relation gender
type sex
action filter_type
action find
entity Richard Coogan
relation gender
type sex
action filter_type
action find
entity Earl Hammond
relation gender
type sex
['Al Hodge', 'gender', {'concept': 'sex'}] ['Richard Coogan', 'gender', {'concept': 'sex'}] ['Earl Hammond', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?x ) { ( resource:Al_Hodge ) ( resource:Richard_Coogan ) } . ?x property:gender ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4704049
P69
Q3918
USER
Where was Al Hodge educated ?
(Q4704049,P69,c(Q3918))
action filter_type
action find
entity Q4704049
relation P69
type Q3918
['Q4704049', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?x WHERE { resource:Q4704049 property:P69 ?x . ?x rdf:type ontology:Q3918 }
Al Hodge
action filter_type
action find
entity Al Hodge
relation educated at
type university
['Al Hodge', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?x WHERE { resource:Al_Hodge property:educated_at ?x . ?x rdf:type ontology:university }
[]
university
Q590643
SYSTEM
Miami University
Q590643
(Q4704049,P69,c(Q3918))
action filter_type
action find
entity Q4704049
relation P69
type Q3918
Al Hodge was educated at [ANSWER]
['Q4704049', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?x WHERE { resource:Q4704049 property:P69 ?x . ?x rdf:type ontology:Q3918 }
Miami University
Al Hodge was educated at Miami University
Miami University
action filter_type
action find
entity Al Hodge
relation educated at
type university
['Al Hodge', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?x WHERE { resource:Al_Hodge property:educated_at ?x . ?x rdf:type ontology:university }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q785349
P1441
Q2342494 Q15961987 Q502895
USER
Which people are from the works of lesser number of collectables or television genres than Cangrande I della Scala ?
(c(Q502895),P1441,c(Q2342494)|c(Q15961987))
action less
action union
action find_tuple_counts
relation P1441
type Q502895
type Q2342494
action find_tuple_counts
relation P1441
type Q502895
type Q15961987
action count
action filter_multi_types
action find
entity Q785349
relation P1441
type Q2342494
type Q15961987
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q2342494'}, {'concept': 'Q15961987'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?d ) AS ?y ) WHERE { VALUES ( ?o ) { ( ontology:Q2342494 ) ( ontology:Q15961987 ) } . ?d rdf:type ?o } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { { { ?h rdf:type ontology:Q15961987 } UNION { ?h rdf:type ontology:Q2342494 } } . resource:Q785349 property:P1441 ?h } } . FILTER ( ?y < ?k ) }
Cangrande I della Scala
action less
action union
action find_tuple_counts
relation present in work
type common name
type collectable
action find_tuple_counts
relation present in work
type common name
type television genre
action count
action filter_multi_types
action find
entity Cangrande I della Scala
relation present in work
type collectable
type television genre
[{'concept': 'common name'}, 'present in work', [{'concept': 'collectable'}, {'concept': 'television genre'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?d ) AS ?y ) WHERE { VALUES ( ?o ) { ( ontology:collectable ) ( ontology:television_genre ) } . ?d rdf:type ?o } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { { { ?h rdf:type ontology:television_genre } UNION { ?h rdf:type ontology:collectable } } . resource:Cangrande_I_della_Scala property:present_in_work ?h } } . FILTER ( ?y < ?k ) }
[]
collectable television genre common name
Q17457 Q110436 Q8413
SYSTEM
Donald Knuth, Cory Doctorow, Constantine the Great
Q41863 Q603233 Q2447493 Q80048 Q529984 Q23885172 Q1143157 Q4430779 Q1341397 Q249381 Q194064 Q240258 Q24579400 Q466687 Q7307192 Q321469 Q18699270 Q319116 Q18699272 Q12591 Q213633 Q131195 Q221514 Q30914 Q2426699 Q937827 Q24624067 Q4057937 Q214648 Q2574151 Q2052042 Q318912 Q18699312 Q4006447 Q363623 Q3343834 Q211663 Q176125 Q2451581 Q2046277 Q8423 Q715713 Q24577230 Q1938388 Q2040793 Q494455 Q673959 Q125102 Q2033697 Q954820 Q244912 Q313216 Q313214 Q24622402 Q645796 Q361636 Q20656752 Q205523 Q1281177 Q311556 Q1353836 Q19975705 Q560559 Q807236 Q25885222 Q1867479 Q2256348 Q879668 Q1686571 Q1675214 Q2170784 Q188794 Q844433 Q181538 Q24623408 Q28730 Q200902 Q3798672 Q8413 Q2600794 Q126689 Q2282686 Q459606 Q145746 Q437417 Q463934 Q721295 Q3774081 Q1403627 Q1133523 Q24624893 Q1396131 Q3591188 Q2264125 Q608841 Q1133337 Q200637 Q3259530 Q24625686 Q81422 Q3187975 Q2116944 Q3783913 Q2137929 Q946939 Q888890 Q24577318 Q515828 Q24625326 Q1771358 Q25858050 Q26858752 Q923021 Q272277 Q460763 Q24633210 Q205372 Q715547 Q717814 Q830183 Q1446 Q1641601 Q6577515 Q63070 Q7493584 Q1300996 Q2073479 Q851686 Q1333225 Q40662 Q206238 Q400294 Q2723049 Q922184 Q156328 Q1346246 Q3785031 Q1768161 Q2578955 Q6323112 Q171724 Q550255 Q889694 Q1851709 Q8027483 Q816397 Q24625073 Q1380878 Q16879711 Q24623579 Q2038223 Q1377025 Q2276030 Q264699 Q313415 Q360378 Q2711883 Q363660 Q665541 Q1516550 Q886399 Q840401 Q326585 Q109920 Q536019 Q213850 Q74891 Q45090 Q336832 Q1941782 Q2304442 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 Q200947 Q24083251 Q262766 Q1947936 Q225198 Q211396 Q25923184 Q313228 Q2075711 Q2361344 Q3275910 Q536485 Q273517 Q3752551 Q671872 Q2477603 Q110436 Q16845969 Q23906252 Q2519772 Q879088 Q192785 Q308320 Q183089 Q7734 Q2168182 Q878882 Q1030008 Q26858995 Q2487300 Q319049 Q18699300 Q18699268 Q372783 Q16006746 Q17457 Q786748 Q24626010 Q229702 Q574641 Q26858919 Q2590260 Q2047062 Q599907 Q282220 Q313237
(c(Q502895),P1441,c(Q2342494)|c(Q15961987))
action less
action union
action find_tuple_counts
relation P1441
type Q502895
type Q2342494
action find_tuple_counts
relation P1441
type Q502895
type Q15961987
action count
action filter_multi_types
action find
entity Q785349
relation P1441
type Q2342494
type Q15961987
[ANSWERS] are from the works of lesser number of collectables or television genres than Cangrande I della Scala
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q2342494'}, {'concept': 'Q15961987'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?d ) AS ?y ) WHERE { VALUES ( ?o ) { ( ontology:Q2342494 ) ( ontology:Q15961987 ) } . ?d rdf:type ?o } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { { { ?h rdf:type ontology:Q15961987 } UNION { ?h rdf:type ontology:Q2342494 } } . resource:Q785349 property:P1441 ?h } } . FILTER ( ?y < ?k ) }
Halga Julius Asclepiodotus Ferrex Al Capone Eric Anundsson Victor Petit Jair Immanuel Michal Markandeya 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 Mempricius Eric the Victorious Jacob Urianus Cassivellaunus Norman Winther Rehoboam Gideon Cordelia of Britain Parikshit Cyrus the Great Salvatore Maranzano Harriet Mutesi Miriam Reu Orville Wright Leil Necho II Sisillius I Yael Hezekiah Uzziah Ahaziah of Judah Frank Fauteux Ibzan Amnon Bernard C. Webber Zipporah Beowulf Allectus Hrothgar Daniel Webster Cluff Constans II Barak James Harcourt Jago of Britain 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 Gracianus Municeps Hrethel Jephthah Raymond Sybert Wilbur Wright Erik Refilsson Bladud Arvirargus Abner Japheth Loretta Jones Andy Fitzgerald Noah Judith Wealhþeow Heardred Gurgustius Phut Nahor Sara Katende Tasciovanus Miriam Webber Salomon Helen Kingsleigh Sarah Katende Gorboduc Bathsheba Benjamin George "Tiny" Myers Absalom Mandubracius Hadadezer Eve Caracalla Tattenai Samuel Mary Magdalene Sheleph Ehud Shaunaka Mephibosheth Elon John the Baptist Elisha Ahitophel Mayasura Caleb Manasseh of Judah Johnny Ringo Heoroweard Islamic views on Abraham Porrex I Nahor Daniel J. William Fulbright Hygelac Rud Hud Hudibras Wise woman of Abel Ben-Hadad I Richard Livesey Vortimer Sage Animandaya Wallace Quirey Amminadab Bharata Archmail Wil Wheaton Asa of Judah Adonijah Gurguit Barbtruc Elimelek Hosea Shamgar Maelgwn Gwynedd Laban Vortigern Jotham of Judah Ecgþeow Amos Jonathan Jesse Jehoahaz of Judah Nadabe Coel Hen 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 Ahmad ibn Fadlan Stan the Man Junia Beldgabred Belshazzar Magnus Maximus Elizabeth Ham Josiah Andragius Durvasa Anne Françoise Elisabeth Lange Othniel Abijah of Judah Freawaru Isaac Vaisampayana Cory Doctorow Hygd Caf' Francisco Sawyl Penuchel Björn at Haugi Goliath Abdon Publius Septimius Geta Joshua Ebraucus Togodumnus Tamar Aloysius Kyazze Cunedda Jeconiah Eleazar 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 Judah Amaziah of Judah
Donald Knuth, Cory Doctorow and Constantine the Great are from the works of lesser number of collectables or television genres than Cangrande I della Scala
Donald Knuth Cory Doctorow Constantine the Great
action less
action union
action find_tuple_counts
relation present in work
type common name
type collectable
action find_tuple_counts
relation present in work
type common name
type television genre
action count
action filter_multi_types
action find
entity Cangrande I della Scala
relation present in work
type collectable
type television genre
[{'concept': 'common name'}, 'present in work', [{'concept': 'collectable'}, {'concept': 'television genre'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?d ) AS ?y ) WHERE { VALUES ( ?o ) { ( ontology:collectable ) ( ontology:television_genre ) } . ?d rdf:type ?o } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { { { ?h rdf:type ontology:television_genre } UNION { ?h rdf:type ontology:collectable } } . resource:Cangrande_I_della_Scala property:present_in_work ?h } } . FILTER ( ?y < ?k ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q37085
P1441
Q2342494 Q15961987 Q502895
USER
And also tell me about Solomon?
(c(Q502895),P1441,c(Q2342494)|c(Q15961987))
action less
action union
action find_tuple_counts
relation P1441
type Q502895
type Q2342494
action find_tuple_counts
relation P1441
type Q502895
type Q15961987
action count
action filter_multi_types
action find
entity Q37085
relation P1441
type Q2342494
type Q15961987
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q2342494'}, {'concept': 'Q15961987'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) ?i WHERE { { ?i property:P1441 ?u . ?u rdf:type ontology:Q2342494 . ?i rdf:type ontology:Q502895 } UNION { ?i property:P1441 ?u . ?u rdf:type ontology:Q15961987 . ?i rdf:type ontology:Q502895 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { resource:Q37085 property:P1441 ?x . { { ?x rdf:type ontology:Q2342494 } UNION { ?x rdf:type ontology:Q15961987 } } } } . FILTER ( ?w < ?e ) }
Solomon
action less
action union
action find_tuple_counts
relation present in work
type common name
type collectable
action find_tuple_counts
relation present in work
type common name
type television genre
action count
action filter_multi_types
action find
entity Solomon
relation present in work
type collectable
type television genre
[{'concept': 'common name'}, 'present in work', [{'concept': 'collectable'}, {'concept': 'television genre'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) ?i WHERE { { ?i property:present_in_work ?u . ?u rdf:type ontology:collectable . ?i rdf:type ontology:common_name } UNION { ?i property:present_in_work ?u . ?u rdf:type ontology:television_genre . ?i rdf:type ontology:common_name } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { resource:Solomon property:present_in_work ?x . { { ?x rdf:type ontology:collectable } UNION { ?x rdf:type ontology:television_genre } } } } . FILTER ( ?w < ?e ) }
[]
collectable television genre common name
Q41370 Q17457 Q110436
SYSTEM
David, Donald Knuth, Cory Doctorow
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 Q9077 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 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 Q32295 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(Q2342494)|c(Q15961987))
action less
action union
action find_tuple_counts
relation P1441
type Q502895
type Q2342494
action find_tuple_counts
relation P1441
type Q502895
type Q15961987
action count
action filter_multi_types
action find
entity Q37085
relation P1441
type Q2342494
type Q15961987
[ANSWERS]
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q2342494'}, {'concept': 'Q15961987'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) ?i WHERE { { ?i property:P1441 ?u . ?u rdf:type ontology:Q2342494 . ?i rdf:type ontology:Q502895 } UNION { ?i property:P1441 ?u . ?u rdf:type ontology:Q15961987 . ?i rdf:type ontology:Q502895 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { resource:Q37085 property:P1441 ?x . { { ?x rdf:type ontology:Q2342494 } UNION { ?x rdf:type ontology:Q15961987 } } } } . FILTER ( ?w < ?e ) }
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 Moses 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 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 Michael J. Massimino 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
David Donald Knuth Cory Doctorow
action less
action union
action find_tuple_counts
relation present in work
type common name
type collectable
action find_tuple_counts
relation present in work
type common name
type television genre
action count
action filter_multi_types
action find
entity Solomon
relation present in work
type collectable
type television genre
[{'concept': 'common name'}, 'present in work', [{'concept': 'collectable'}, {'concept': 'television genre'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) ?i WHERE { { ?i property:present_in_work ?u . ?u rdf:type ontology:collectable . ?i rdf:type ontology:common_name } UNION { ?i property:present_in_work ?u . ?u rdf:type ontology:television_genre . ?i rdf:type ontology:common_name } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { resource:Solomon property:present_in_work ?x . { { ?x rdf:type ontology:collectable } UNION { ?x rdf:type ontology:television_genre } } } } . FILTER ( ?w < ?e ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q4704049 Q16197452
P69
Q3918
USER
How many universities were Al Hodge or Texas Exes - New York Chapter educated at ?
(Q4704049,P69,c(Q3918)) (Q16197452,P69,c(Q3918))
action count
action union
action filter_type
action find
entity Q4704049
relation P69
type Q3918
action filter_type
action find
entity Q16197452
relation P69
type Q3918
['Q4704049', 'P69', {'concept': 'Q3918'}] ['Q16197452', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { ?k property:P69 ?x . VALUES ( ?k ) { ( resource:Q4704049 ) ( resource:Q16197452 ) } }
Al Hodge Texas Exes - New York Chapter
action count
action union
action filter_type
action find
entity Al Hodge
relation educated at
type university
action filter_type
action find
entity Texas Exes - New York Chapter
relation educated at
type university
['Al Hodge', 'educated at', {'concept': 'university'}] ['Texas Exes - New York Chapter', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { ?k property:educated_at ?x . VALUES ( ?k ) { ( resource:Al_Hodge ) ( resource:Texas_Exes_-_New_York_Chapter ) } }
[]
university
SYSTEM
2
Q49213 Q590643
(Q4704049,P69,c(Q3918)) (Q16197452,P69,c(Q3918))
action count
action union
action filter_type
action find
entity Q4704049
relation P69
type Q3918
action filter_type
action find
entity Q16197452
relation P69
type Q3918
[ANSWER]
['Q4704049', 'P69', {'concept': 'Q3918'}] ['Q16197452', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { ?k property:P69 ?x . VALUES ( ?k ) { ( resource:Q4704049 ) ( resource:Q16197452 ) } }
University of Texas at Austin Miami University
2
action count
action union
action filter_type
action find
entity Al Hodge
relation educated at
type university
action filter_type
action find
entity Texas Exes - New York Chapter
relation educated at
type university
['Al Hodge', 'educated at', {'concept': 'university'}] ['Texas Exes - New York Chapter', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { ?k property:educated_at ?x . VALUES ( ?k ) { ( resource:Al_Hodge ) ( resource:Texas_Exes_-_New_York_Chapter ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4704049
P106
Q12737077
USER
What do Al Hodge do for a living ?
(Q4704049,P106,c(Q12737077))
action filter_type
action find
entity Q4704049
relation P106
type Q12737077
['Q4704049', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q4704049 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
Al Hodge
action filter_type
action find
entity Al Hodge
relation occupation
type occupation
['Al Hodge', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Al_Hodge property:occupation ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q10798782 Q33999
SYSTEM
television actor, actor
Q10798782 Q33999
(Q4704049,P106,c(Q12737077))
action filter_type
action find
entity Q4704049
relation P106
type Q12737077
[ANSWERS] Al Hodge do for a living
['Q4704049', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q4704049 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
television actor actor
Television actor and actor Al Hodge do for a living
television actor actor
action filter_type
action find
entity Al Hodge
relation occupation
type occupation
['Al Hodge', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Al_Hodge property:occupation ?a . ?a rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4704049
P607
Q198
USER
What was the war that Al Hodge took part in
(Q4704049,P607,c(Q198))
action filter_type
action find
entity Q4704049
relation P607
type Q198
['Q4704049', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?x WHERE { resource:Q4704049 property:P607 ?x . ?x rdf:type ontology:Q198 }
Al Hodge
action filter_type
action find
entity Al Hodge
relation conflict
type war
['Al Hodge', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?x WHERE { resource:Al_Hodge property:conflict ?x . ?x rdf:type ontology:war }
[]
war
Q362
SYSTEM
World War II
Q362
(Q4704049,P607,c(Q198))
action filter_type
action find
entity Q4704049
relation P607
type Q198
The war that Al Hodge took part in was in [ANSWER]
['Q4704049', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?x WHERE { resource:Q4704049 property:P607 ?x . ?x rdf:type ontology:Q198 }
World War II
The war that Al Hodge took part in was in World War II
World War II
action filter_type
action find
entity Al Hodge
relation conflict
type war
['Al Hodge', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?x WHERE { resource:Al_Hodge property:conflict ?x . ?x rdf:type ontology:war }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1122473
Q198
USER
And also tell me about USS Savannah?
(Q1122473,P607,c(Q198))
action filter_type
action find
entity Q1122473
relation P607
type Q198
['Q1122473', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?d WHERE { resource:Q1122473 property:P607 ?d . ?d rdf:type ontology:Q198 }
USS Savannah
action filter_type
action find
entity USS Savannah
relation conflict
type war
['USS Savannah', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?d WHERE { resource:USS_Savannah property:conflict ?d . ?d rdf:type ontology:war }
[]
war
Q362
SYSTEM
World War II
Q362
(Q1122473,P607,c(Q198))
action filter_type
action find
entity Q1122473
relation P607
type Q198
[ANSWER]
['Q1122473', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?d WHERE { resource:Q1122473 property:P607 ?d . ?d rdf:type ontology:Q198 }
World War II
World War II
action filter_type
action find
entity USS Savannah
relation conflict
type war
['USS Savannah', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?d WHERE { resource:USS_Savannah property:conflict ?d . ?d rdf:type ontology:war }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q339541
P417
Q502895 Q12737077
USER
How many people are the names of the patron saint of approximately the same number of occupations as Rufinus of Assisi ?
(c(Q12737077),P417,c(Q502895))
action count
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q339541
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?a ) AS ?m ) WHERE { ?a property:P417 ?v . ?v rdf:type ontology:Q502895 . ?a rdf:type ontology:Q12737077 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { resource:Q339541 property:P417 ?f . ?f rdf:type ontology:Q502895 } } . FILTER ( ?m = ?u ) }
Rufinus of Assisi
action count
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Rufinus of Assisi
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?a ) AS ?m ) WHERE { ?a property:patron_saint ?v . ?v rdf:type ontology:common_name . ?a rdf:type ontology:occupation } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { resource:Rufinus_of_Assisi property:patron_saint ?f . ?f rdf:type ontology:common_name } } . FILTER ( ?m = ?u ) }
[]
common name occupation
SYSTEM
266
Q2366998 Q561838 Q380092 Q129674 Q133704 Q43945 Q3922154 Q172390 Q1050218 Q464959 Q394727 Q268087 Q1141472 Q61914 Q2916248 Q516729 Q349086 Q315640 Q3893243 Q719683 Q331697 Q1553720 Q351635 Q732865 Q3759661 Q696682 Q118087 Q320199 Q1281133 Q236974 Q378656 Q61620 Q3776432 Q128267 Q2987904 Q2574015 Q101090 Q1834624 Q174044 Q1284098 Q1249745 Q47144 Q240610 Q31966 Q603655 Q44024 Q314700 Q3940728 Q44020 Q313807 Q149315 Q676555 Q2360539 Q244383 Q3615108 Q244380 Q235857 Q287916 Q192236 Q539890 Q102131 Q505937 Q44091 Q181715 Q2617668 Q670456 Q1346958 Q243122 Q51885 Q238744 Q3747052 Q153024 Q3949261 Q234697 Q1284971 Q132797 Q132100 Q188411 Q727316 Q4011186 Q233067 Q3838743 Q686948 Q733308 Q309953 Q118081 Q358325 Q537686 Q312057 Q357093 Q115550 Q1502088 Q8413 Q558148 Q160373 Q515953 Q1274242 Q443392 Q379685 Q191479 Q42887 Q3745904 Q4210004 Q4282480 Q177903 Q3859960 Q2697247 Q203437 Q457903 Q207113 Q8018 Q315312 Q43675 Q618214 Q216946 Q728245 Q384364 Q132113 Q33923 Q81634 Q161775 Q221522 Q43954 Q44047 Q37599 Q316599 Q232975 Q122376 Q145746 Q15284282 Q167477 Q380345 Q288295 Q297742 Q218921 Q316295 Q183332 Q4014956 Q159834 Q63070 Q134666 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q189776 Q339541 Q965463 Q196527 Q160922 Q1115725 Q336731 Q913528 Q231256 Q560531 Q4161703 Q174880 Q1270991 Q235863 Q346 Q131159 Q190388 Q3924139 Q180936 Q83198 Q2142772 Q2182480 Q7226 Q2005417 Q243427 Q2456880 Q417686 Q185117 Q303640 Q241423 Q43999 Q447384 Q1747656 Q6732208 Q1393825 Q64196 Q2824511 Q3887342 Q310686 Q359259 Q12871 Q9156208 Q336704 Q181489 Q369691 Q44269 Q587596 Q372668 Q831571 Q3779522 Q2456500 Q2352076 Q977571 Q232453 Q58559 Q445357 Q359878 Q190240 Q210096 Q1976199 Q3724316 Q1343711 Q3663117 Q534691 Q160374 Q442516 Q920226 Q283447 Q26486 Q158504 Q130005 Q740907 Q44258 Q70991 Q318974 Q312314 Q254896 Q3947956 Q11905449 Q1172641 Q3738578 Q4026158 Q367208 Q469978 Q164294 Q2270111 Q103556 Q129603 Q3561124 Q1110905 Q335127 Q651226 Q355884 Q42827 Q159862 Q543320 Q318347 Q3958514 Q317131 Q257960 Q234689 Q385253 Q208961 Q235619 Q523662 Q284323 Q59071 Q1383532 Q160445 Q1269112 Q2424767 Q459032 Q131945 Q9682 Q127385 Q470608 Q196157 Q310633 Q208331
(c(Q12737077),P417,c(Q502895))
action count
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q339541
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?a ) AS ?m ) WHERE { ?a property:P417 ?v . ?v rdf:type ontology:Q502895 . ?a rdf:type ontology:Q12737077 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { resource:Q339541 property:P417 ?f . ?f rdf:type ontology:Q502895 } } . FILTER ( ?m = ?u ) }
Eurosia Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola Martin of Tours Jude the Apostle Prisco di Nocera Martin I Catald Onuphrius Agnes of Bohemia Pudentiana Roger of Cannae Gotthard of Hildesheim Alexander of Comana Sebaldus Leopold III, Margrave of Austria Francis of Paola Pamphilus of Sulmona Ludger Saint David Guy of Anderlecht Stanislaus of Szczepanów Vitalis of Milan Genesio di Brescello Arnold von Arnoldsweiler Ludmila of Bohemia Apollinaris of Ravenna Tudwal Radegund Saint Pantaleon Cunigunde of Luxembourg Gonçalo de Amarante Joseph Tryphon of Pechenga Nestor of Magydos Eleuterus Gummarus Alexander Nevsky Turibius of Astorga Mamilian of Palermo Linus Euphemia Mark the Evangelist Fidelis of Como Athanasius of Alexandria Joachim Romano martire Saint Matthias Joseph of Cupertino Silverius Francis of Assisi Donatus of Arezzo Rose of Lima Anatolia martire Saint Denis Elizabeth of Aragon Finbarr of Cork Thomas Becket Lazarus of Bethany Marcellus I Vincent Pallotti Saint Dominic Thérèse of Lisieux Saint Cunera Procopius of Sázava Judas Cyriacus Ferdinand III of Castile Thecla Peter of Verona Saint Fulk Rita of Cascia Saint Venera Maria Goretti La Mosca Victor Maurus Mark Anterus Bernard of Clairvaux Renaud de Montauban Vicinius of Sarsina Salome Lucido di Aquara Alban of Mainz Medardus Gregory the Illuminator Pope Celestine V Ivo of Kermartin Angelus of Jerusalem Saint Casimir Saint Spyridon Nicholas of Flüe Genesius of Arles Constantine the Great Leonard of Noblac Marcellinus Maximilian of Lorch Romanus of Caesarea Saint Bibiana Isidore the Laborer Tadeusz Kościuszko Clement I Fiorenzo di Bastia Venantius of Camerino Saint Martha Stephen I of Hungary Modestinus Catellus of Castellammare Stanislaus Kostka Saint Bavo Hippolytus Augustine of Hippo Januarius Philip the Apostle Aper of Toul Charles Borromeo Marziano di Siracusa Ursus of Aosta Pontian Peter Sixtus I Stephen John of Nepomuk Leo I James, son of Alphaeus Theodore of Amasea Saint Maurice Anastasia of Sirmium Callixtus I Joseph Adolphus Anthony of Padua Saint Maurus Justina of Padua Margaret the Virgin Saint Eustace Bernardino of Siena Saint Sebastian Vitaliano da Capua Hubertus Mary Magdalene Stephen I Sossius Prosdocimus Saint Bassian Saint Cajetan Placidus Nicolò Politi Zeno of Verona Rufinus of Assisi Rumbold of Mechelen Saint Wenceslaus I, Duke of Bohemia Celestine I Saint Giovanni Battista de Rossi Pancras of Rome Brice of Tours Francis de Sales Suitbert of Kaiserswerdt Dimitry Prilutsky Teresa of Ávila Eugenius of Carthage Genevieve Louis IX of France Fabian John of the Cross Prospero da Centuripe Saint Gall Pius I Gereon Felice Joan of Arc Privat de Mende Adalbert of Prague Tryphon, Respicius, and Nympha Nazarius Justin Martyr Marcian of Tortona Juliana of Nicomedia James Victoria, Anatolia, and Audax Saturninus of Cagliari Magnus of Cuneo Valerius of Saragossa Adelaide, Abbess of Vilich Adjutor Ottone Frangipane Dionysius the Areopagite Saint Emeric of Hungary Simon the Zealot Anthony Sulpicius Severus Eusebius of Vercelli Saint Ursula Saint Nicholas Magnus of Anagni John the Merciful Eusebius of Esztergom Guido of Acqui Eulalia of Barcelona Francis Solanus Caprasius of Lérins Martha Leo IX Henry Erasmus of Formiae Cyprian Agnes of Rome Gaudentius of Novara Emilianus of Trevi Ephysius Castrese di Sessa Paschal Baylon Norbert of Xanten Germanus of Auxerre Michael de Sanctis Lambert of Maastricht Ladislaus I of Hungary Clement of Ohrid Edward the Confessor Barbatus of Benevento Basil of Caesarea Hildegard of Bingen Vincent of Saragossa Bruno of Cologne Anastasius of Persia San Secondo Anastasi de Lleida Calogerus Falco di Palena Possidonio Saint Remigius Devota Saint Anna Maternus Henry II, Holy Roman Emperor Caesarius of Africa Acisclus Simplicio of Olbia Agabus Viktor of Xanten Josaphat Kuntsevych Gregory I Elizabeth of Hungary Marina the Monk Sigismund of Burgundy Severinus of Sanseverino Vincent Ferrer Felicitas of Rome Monica of Hippo Agostino Novello Brendan Gertrude of Nivelles Syrus of Pavia Eulalia of Mérida Peter de Regalado Rainerius Saint Boniface Saint Ninian Anthony of Apamea Elizabeth Ann Seton Pius V Elizabeth II Sixtus II Peter of Alcantara Louis of Toulouse Demetrius of Thessaloniki Olaf II of Norway
266
action count
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Rufinus of Assisi
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?a ) AS ?m ) WHERE { ?a property:patron_saint ?v . ?v rdf:type ontology:common_name . ?a rdf:type ontology:occupation } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { resource:Rufinus_of_Assisi property:patron_saint ?f . ?f rdf:type ontology:common_name } } . FILTER ( ?m = ?u ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q590643
P17
Q15617994
USER
Which administrative territory is Miami University located in ?
(Q590643,P17,c(Q15617994))
action filter_type
action find
entity Q590643
relation P17
type Q15617994
['Q590643', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q590643 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
Miami University
action filter_type
action find
entity Miami University
relation country
type designation for an administrative territorial entity
['Miami University', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Miami_University property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q590643,P17,c(Q15617994))
action filter_type
action find
entity Q590643
relation P17
type Q15617994
Miami University is located in [ANSWER]
['Q590643', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q590643 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
United States of America
Miami University is located in United States of America
United States of America
action filter_type
action find
entity Miami University
relation country
type designation for an administrative territorial entity
['Miami University', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Miami_University property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q41370 Q2817360
P27
Q15617994
USER
How many administrative territories are the native countriesof David or Masis Voskanyan ?
(Q41370,P27,c(Q15617994)) (Q2817360,P27,c(Q15617994))
action count
action union
action filter_type
action find
entity Q41370
relation P27
type Q15617994
action filter_type
action find
entity Q2817360
relation P27
type Q15617994
['Q41370', 'P27', {'concept': 'Q15617994'}] ['Q2817360', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { { resource:Q2817360 property:P27 ?d . ?d rdf:type ontology:Q15617994 } UNION { ?d rdf:type ontology:Q15617994 . resource:Q41370 property:P27 ?d } }
David Masis Voskanyan
action count
action union
action filter_type
action find
entity David
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Masis Voskanyan
relation country of citizenship
type designation for an administrative territorial entity
['David', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Masis Voskanyan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { { resource:Masis_Voskanyan property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:David property:country_of_citizenship ?d } }
[]
designation for an administrative territorial entity
SYSTEM
2
Q31 Q399
(Q41370,P27,c(Q15617994)) (Q2817360,P27,c(Q15617994))
action count
action union
action filter_type
action find
entity Q41370
relation P27
type Q15617994
action filter_type
action find
entity Q2817360
relation P27
type Q15617994
[ANSWER]
['Q41370', 'P27', {'concept': 'Q15617994'}] ['Q2817360', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { { resource:Q2817360 property:P27 ?d . ?d rdf:type ontology:Q15617994 } UNION { ?d rdf:type ontology:Q15617994 . resource:Q41370 property:P27 ?d } }
Belgium Armenia
2
action count
action union
action filter_type
action find
entity David
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Masis Voskanyan
relation country of citizenship
type designation for an administrative territorial entity
['David', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Masis Voskanyan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { { resource:Masis_Voskanyan property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:David property:country_of_citizenship ?d } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q41370
P50
Q179461
USER
Which religious text is David an author of ?
(c(Q179461),P50,Q41370)
action filter_type
action find_reverse
entity Q41370
relation P50
type Q179461
[{'concept': 'Q179461'}, 'P50', 'Q41370']
SELECT DISTINCT ?i WHERE { ?i property:P50 resource:Q41370 . ?i rdf:type ontology:Q179461 }
David
action filter_type
action find_reverse
entity David
relation author
type religious text
[{'concept': 'religious text'}, 'author', 'David']
SELECT DISTINCT ?i WHERE { ?i property:author resource:David . ?i rdf:type ontology:religious_text }
[]
religious text
Q19092933
SYSTEM
The Lord's my shepherd
Q19092933
(c(Q179461),P50,Q41370)
action filter_type
action find_reverse
entity Q41370
relation P50
type Q179461
Which religious text is David an author of
[{'concept': 'Q179461'}, 'P50', 'Q41370']
SELECT DISTINCT ?i WHERE { ?i property:P50 resource:Q41370 . ?i rdf:type ontology:Q179461 }
The Lord's my shepherd
Which religious text is David an author of
The Lord's my shepherd
action filter_type
action find_reverse
entity David
relation author
type religious text
[{'concept': 'religious text'}, 'author', 'David']
SELECT DISTINCT ?i WHERE { ?i property:author resource:David . ?i rdf:type ontology:religious_text }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q41370
P140
Q874405
USER
Which social group is the religion of that person ?
(Q19092933,P140,c(Q874405))
action filter_type
action find
entity Q41370
relation P140
type Q874405
['Q19092933', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?p WHERE { resource:Q41370 property:P140 ?p . ?p rdf:type ontology:Q874405 }
David
action filter_type
action find
entity David
relation religion
type social group
["The Lord's my shepherd", 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?p WHERE { resource:David property:religion ?p . ?p rdf:type ontology:social_group }
[]
social group
Q9268
SYSTEM
Judaism
Q9268
(Q19092933,P140,c(Q874405))
action filter_type
action find
entity Q41370
relation P140
type Q874405
[ANSWER] is the religion of that person
['Q19092933', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?p WHERE { resource:Q41370 property:P140 ?p . ?p rdf:type ontology:Q874405 }
Judaism
Judaism is the religion of that person
Judaism
action filter_type
action find
entity David
relation religion
type social group
["The Lord's my shepherd", 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?p WHERE { resource:David property:religion ?p . ?p rdf:type ontology:social_group }
[]