Simple Question (Direct)
Simple Question
Q11466204
P27
Q15617994
USER
Which administrative territory is the native country of Yutaka Yamanaka ?
(Q11466204,P27,c(Q15617994))
action filter_type
action find
entity Q11466204
relation P27
type Q15617994
['Q11466204', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . resource:Q11466204 property:P27 ?y }
Yutaka Yamanaka
action filter_type
action find
entity Yutaka Yamanaka
relation country of citizenship
type designation for an administrative territorial entity
['Yutaka Yamanaka', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Yutaka_Yamanaka property:country_of_citizenship ?y }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q11466204,P27,c(Q15617994))
action filter_type
action find
entity Q11466204
relation P27
type Q15617994
To [ANSWER] is the native country of Yutaka Yamanaka
['Q11466204', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . resource:Q11466204 property:P27 ?y }
Japan
To Japan is the native country of Yutaka Yamanaka
Japan
action filter_type
action find
entity Yutaka Yamanaka
relation country of citizenship
type designation for an administrative territorial entity
['Yutaka Yamanaka', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Yutaka_Yamanaka property:country_of_citizenship ?y }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11466204
P21
Q290
USER
Which sex does that person possess ?
(Q17,P21,c(Q290))
action filter_type
action find
entity Q11466204
relation P21
type Q290
['Q17', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q11466204 property:P21 ?t . ?t rdf:type ontology:Q290 }
Yutaka Yamanaka
action filter_type
action find
entity Yutaka Yamanaka
relation gender
type sex
['Japan', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Yutaka_Yamanaka property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q17,P21,c(Q290))
action filter_type
action find
entity Q11466204
relation P21
type Q290
That person possesses a [ANSWER]
['Q17', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q11466204 property:P21 ?t . ?t rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Yutaka Yamanaka
relation gender
type sex
['Japan', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Yutaka_Yamanaka property:gender ?t . ?t rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11466204
P106
Q12737077
USER
Which occupation has that person as his/her 's career ?
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q11466204
relation P106
type Q12737077
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q11466204 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
Yutaka Yamanaka
action filter_type
action find
entity Yutaka Yamanaka
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Yutaka_Yamanaka property:occupation ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q201788
SYSTEM
historian
Q201788
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q11466204
relation P106
type Q12737077
The [ANSWER] has that person as his/her 's career
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q11466204 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
historian
The historian has that person as his/her 's career
historian
action filter_type
action find
entity Yutaka Yamanaka
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Yutaka_Yamanaka property:occupation ?m . ?m rdf:type ontology:occupation }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q8581
P1441
Q15416 Q2342494 Q502895
USER
How many people are present in less number of television programs or collectables than Saladin ?
(c(Q502895),P1441,c(Q15416)|c(Q2342494))
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 Q2342494
action count
action filter_multi_types
action find
entity Q8581
relation P1441
type Q15416
type Q2342494
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q15416'}, {'concept': 'Q2342494'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) ?t WHERE { { ?t rdf:type ontology:Q502895 . ?j rdf:type ontology:Q15416 . ?t property:P1441 ?j } UNION { ?t property:P1441 ?j . ?t rdf:type ontology:Q502895 . ?j rdf:type ontology:Q2342494 } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { { { ?f rdf:type ontology:Q15416 } UNION { ?f rdf:type ontology:Q2342494 } } . resource:Q8581 property:P1441 ?f } } . FILTER ( ?z < ?q ) }
Saladin
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 collectable
action count
action filter_multi_types
action find
entity Saladin
relation present in work
type television program
type collectable
[{'concept': 'common name'}, 'present in work', [{'concept': 'television program'}, {'concept': 'collectable'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) ?t WHERE { { ?t rdf:type ontology:common_name . ?j rdf:type ontology:television_program . ?t property:present_in_work ?j } UNION { ?t property:present_in_work ?j . ?t rdf:type ontology:common_name . ?j rdf:type ontology:collectable } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { { { ?f rdf:type ontology:television_program } UNION { ?f rdf:type ontology:collectable } } . resource:Saladin property:present_in_work ?f } } . FILTER ( ?z < ?q ) }
[]
television program collectable common name
SYSTEM
243
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 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 Q889694 Q1851709 Q8027483 Q816397 Q24625073 Q1380878 Q16879711 Q24623579 Q2038223 Q1377025 Q2276030 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(Q15416)|c(Q2342494))
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 Q2342494
action count
action filter_multi_types
action find
entity Q8581
relation P1441
type Q15416
type Q2342494
[ANSWER]
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q15416'}, {'concept': 'Q2342494'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) ?t WHERE { { ?t rdf:type ontology:Q502895 . ?j rdf:type ontology:Q15416 . ?t property:P1441 ?j } UNION { ?t property:P1441 ?j . ?t rdf:type ontology:Q502895 . ?j rdf:type ontology:Q2342494 } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { { { ?f rdf:type ontology:Q15416 } UNION { ?f rdf:type ontology:Q2342494 } } . resource:Q8581 property:P1441 ?f } } . FILTER ( ?z < ?q ) }
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 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 Hygelac Rud Hud Hudibras Wise woman of Abel Ben-Hadad I Richard Livesey Vortimer Sage Animandaya Wallace Quirey Amminadab Bharata Archmail 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
243
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 collectable
action count
action filter_multi_types
action find
entity Saladin
relation present in work
type television program
type collectable
[{'concept': 'common name'}, 'present in work', [{'concept': 'television program'}, {'concept': 'collectable'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) ?t WHERE { { ?t rdf:type ontology:common_name . ?j rdf:type ontology:television_program . ?t property:present_in_work ?j } UNION { ?t property:present_in_work ?j . ?t rdf:type ontology:common_name . ?j rdf:type ontology:collectable } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { { { ?f rdf:type ontology:television_program } UNION { ?f rdf:type ontology:collectable } } . resource:Saladin property:present_in_work ?f } } . FILTER ( ?z < ?q ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q169329
P1441
Q15416 Q2342494 Q502895
USER
And also tell me about Conrad of Montferrat?
(c(Q502895),P1441,c(Q15416)|c(Q2342494))
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 Q2342494
action count
action filter_multi_types
action find
entity Q169329
relation P1441
type Q15416
type Q2342494
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q15416'}, {'concept': 'Q2342494'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { FILTER ( ?e < ?i ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { { VALUES ( ?s ) { ( ontology:Q15416 ) ( ontology:Q2342494 ) } . ?l rdf:type ?s } . resource:Q169329 property:P1441 ?l } } . { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?e ) WHERE { { ?n rdf:type ontology:Q502895 . ?c rdf:type ontology:Q15416 . ?n property:P1441 ?c } UNION { ?n property:P1441 ?c . ?c rdf:type ontology:Q2342494 . ?n rdf:type ontology:Q502895 } } GROUP BY ?n } }
Conrad of Montferrat
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 collectable
action count
action filter_multi_types
action find
entity Conrad of Montferrat
relation present in work
type television program
type collectable
[{'concept': 'common name'}, 'present in work', [{'concept': 'television program'}, {'concept': 'collectable'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { FILTER ( ?e < ?i ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { { VALUES ( ?s ) { ( ontology:television_program ) ( ontology:collectable ) } . ?l rdf:type ?s } . resource:Conrad_of_Montferrat property:present_in_work ?l } } . { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?e ) WHERE { { ?n rdf:type ontology:common_name . ?c rdf:type ontology:television_program . ?n property:present_in_work ?c } UNION { ?n property:present_in_work ?c . ?c rdf:type ontology:collectable . ?n rdf:type ontology:common_name } } GROUP BY ?n } }
[]
television program collectable common name
SYSTEM
243
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 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 Q889694 Q1851709 Q8027483 Q816397 Q24625073 Q1380878 Q16879711 Q24623579 Q2038223 Q1377025 Q2276030 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(Q15416)|c(Q2342494))
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 Q2342494
action count
action filter_multi_types
action find
entity Q169329
relation P1441
type Q15416
type Q2342494
[ANSWER]
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q15416'}, {'concept': 'Q2342494'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { FILTER ( ?e < ?i ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { { VALUES ( ?s ) { ( ontology:Q15416 ) ( ontology:Q2342494 ) } . ?l rdf:type ?s } . resource:Q169329 property:P1441 ?l } } . { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?e ) WHERE { { ?n rdf:type ontology:Q502895 . ?c rdf:type ontology:Q15416 . ?n property:P1441 ?c } UNION { ?n property:P1441 ?c . ?c rdf:type ontology:Q2342494 . ?n rdf:type ontology:Q502895 } } GROUP BY ?n } }
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 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 Hygelac Rud Hud Hudibras Wise woman of Abel Ben-Hadad I Richard Livesey Vortimer Sage Animandaya Wallace Quirey Amminadab Bharata Archmail 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
243
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 collectable
action count
action filter_multi_types
action find
entity Conrad of Montferrat
relation present in work
type television program
type collectable
[{'concept': 'common name'}, 'present in work', [{'concept': 'television program'}, {'concept': 'collectable'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { FILTER ( ?e < ?i ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { { VALUES ( ?s ) { ( ontology:television_program ) ( ontology:collectable ) } . ?l rdf:type ?s } . resource:Conrad_of_Montferrat property:present_in_work ?l } } . { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?e ) WHERE { { ?n rdf:type ontology:common_name . ?c rdf:type ontology:television_program . ?n property:present_in_work ?c } UNION { ?n property:present_in_work ?c . ?c rdf:type ontology:collectable . ?n rdf:type ontology:common_name } } GROUP BY ?n } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q2221906 Q82794 Q15617994
USER
How many administrative territories are a component of approximately 2 geographic locations or geographic regions ?
(c(Q15617994),P361,c(Q2221906)|c(Q82794))
action count
action approx
action union
action find_tuple_counts
relation P361
type Q15617994
type Q2221906
action find_tuple_counts
relation P361
type Q15617994
type Q82794
value 2
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q2221906'}, {'concept': 'Q82794'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { FILTER ( ?q = 2 ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) ?k WHERE { VALUES ( ?y ) { ( ontology:Q2221906 ) ( ontology:Q82794 ) } . ?e rdf:type ?y } GROUP BY ?k } }
action count
action approx
action union
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type geographic location
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type geographic region
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'geographic location'}, {'concept': 'geographic region'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { FILTER ( ?q = 2 ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) ?k WHERE { VALUES ( ?y ) { ( ontology:geographic_location ) ( ontology:geographic_region ) } . ?e rdf:type ?y } GROUP BY ?k } }
[]
geographic location geographic region designation for an administrative territorial entity
SYSTEM
5
Q159 Q155 Q948 Q794 Q36
(c(Q15617994),P361,c(Q2221906)|c(Q82794))
action count
action approx
action union
action find_tuple_counts
relation P361
type Q15617994
type Q2221906
action find_tuple_counts
relation P361
type Q15617994
type Q82794
value 2
[ANSWER]
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q2221906'}, {'concept': 'Q82794'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { FILTER ( ?q = 2 ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) ?k WHERE { VALUES ( ?y ) { ( ontology:Q2221906 ) ( ontology:Q82794 ) } . ?e rdf:type ?y } GROUP BY ?k } }
Russia Brazil Tunisia Iran Poland
5
action count
action approx
action union
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type geographic location
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type geographic region
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'geographic location'}, {'concept': 'geographic region'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { FILTER ( ?q = 2 ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) ?k WHERE { VALUES ( ?y ) { ( ontology:geographic_location ) ( ontology:geographic_region ) } . ?e rdf:type ?y } GROUP BY ?k } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P495
Q15617994 Q7725634 Q15416
USER
How many administrative territories are the origins of atmost 443 literary works and television programs ?
(c(Q7725634)|c(Q15416),P495,c(Q15617994))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
value 443
[[{'concept': 'Q7725634'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) ?o WHERE { { ?o rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q7725634 . ?g property:P495 ?o } UNION { ?g property:P495 ?o . ?g rdf:type ontology:Q15416 . ?o rdf:type ontology:Q15617994 } } GROUP BY ?o } . FILTER ( ?w <= 443 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
value 443
[[{'concept': 'literary work'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) ?o WHERE { { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:literary_work . ?g property:country_of_origin ?o } UNION { ?g property:country_of_origin ?o . ?g rdf:type ontology:television_program . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?o } . FILTER ( ?w <= 443 ) }
[]
designation for an administrative territorial entity literary work television program
SYSTEM
159
Q805 Q804 Q801 Q800 Q1462 Q419 Q414 Q55 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q7725634)|c(Q15416),P495,c(Q15617994))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
value 443
[ANSWER]
[[{'concept': 'Q7725634'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) ?o WHERE { { ?o rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q7725634 . ?g property:P495 ?o } UNION { ?g property:P495 ?o . ?g rdf:type ontology:Q15416 . ?o rdf:type ontology:Q15617994 } } GROUP BY ?o } . FILTER ( ?w <= 443 ) }
Yemen Panama Israel Costa Rica Sardinia Peru Argentina Netherlands Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
159
action count
action atmost
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
value 443
[[{'concept': 'literary work'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) ?o WHERE { { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:literary_work . ?g property:country_of_origin ?o } UNION { ?g property:country_of_origin ?o . ?g rdf:type ontology:television_program . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?o } . FILTER ( ?w <= 443 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q655407
P748
Q11204 Q701632 Q12737077
USER
How many occupations are appointed by less number of legislatures or municipal councils than President of the People's Republic of China ?
(c(Q12737077),P748,c(Q11204)|c(Q701632))
action count
action less
action union
action find_tuple_counts
relation P748
type Q12737077
type Q11204
action find_tuple_counts
relation P748
type Q12737077
type Q701632
action count
action filter_multi_types
action find
entity Q655407
relation P748
type Q11204
type Q701632
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q11204'}, {'concept': 'Q701632'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) ?x WHERE { VALUES ( ?r ) { ( ontology:Q11204 ) ( ontology:Q701632 ) } . ?j rdf:type ?r } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { resource:Q655407 property:P748 ?i . { VALUES ( ?b ) { ( ontology:Q701632 ) ( ontology:Q11204 ) } . ?i rdf:type ?b } } } . FILTER ( ?v < ?m ) }
President of the People's Republic of China
action count
action less
action union
action find_tuple_counts
relation appointed by
type occupation
type legislature
action find_tuple_counts
relation appointed by
type occupation
type municipal council
action count
action filter_multi_types
action find
entity President of the People's Republic of China
relation appointed by
type legislature
type municipal council
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'legislature'}, {'concept': 'municipal council'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) ?x WHERE { VALUES ( ?r ) { ( ontology:legislature ) ( ontology:municipal_council ) } . ?j rdf:type ?r } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { resource:President_of_the_People's_Republic_of_China property:appointed_by ?i . { VALUES ( ?b ) { ( ontology:municipal_council ) ( ontology:legislature ) } . ?i rdf:type ?b } } } . FILTER ( ?v < ?m ) }
[]
legislature municipal council occupation
SYSTEM
294
Q15934457 Q7643465 Q27650845 Q748607 Q3253692 Q192711 Q373548 Q4011167 Q17018201 Q6865816 Q2666591 Q191954 Q6865958 Q3251824 Q1846384 Q1072417 Q27650822 Q1355456 Q2631987 Q735575 Q2287650 Q1507619 Q737115 Q6578215 Q5333410 Q1146214 Q376006 Q26209348 Q23906787 Q39021 Q6866004 Q261746 Q20867494 Q740126 Q21013163 Q4377222 Q14984399 Q7241304 Q15304810 Q1511951 Q191827 Q910308 Q1029955 Q1753754 Q1476458 Q15407843 Q2484309 Q642859 Q2012061 Q20890902 Q20736121 Q19190022 Q1140848 Q3251837 Q6865747 Q15730802 Q7444357 Q967762 Q7444352 Q943379 Q15305714 Q3246797 Q1749063 Q1371091 Q3315116 Q3477307 Q1369302 Q24636364 Q14565638 Q251724 Q27531658 Q842386 Q48894 Q835586 Q12376089 Q19056310 Q4970706 Q890030 Q27516521 Q1161813 Q6572133 Q796593 Q6865833 Q2660943 Q1006398 Q6865770 Q940135 Q20172329 Q531471 Q274948 Q2305968 Q7444340 Q1723031 Q369500 Q13527950 Q3315120 Q1476165 Q6866468 Q313465 Q2914452 Q2636053 Q15971570 Q464103 Q1430943 Q3556884 Q3058109 Q3858507 Q1655971 Q12270252 Q2419581 Q1571023 Q1339242 Q796897 Q1124265 Q1550276 Q273884 Q208487 Q4294939 Q25863345 Q3477306 Q866756 Q20130623 Q1054799 Q2747647 Q6866295 Q2390270 Q13527933 Q583809 Q4377230 Q7240361 Q565424 Q5195495 Q27088842 Q15731141 Q313383 Q2560704 Q3251821 Q912994 Q3251819 Q27531790 Q19328352 Q4294945 Q862559 Q3564227 Q13645132 Q636207 Q475658 Q7574264 Q6866264 Q6865750 Q7240360 Q2003296 Q182762 Q20859386 Q967750 Q2962001 Q16933549 Q18694351 Q500282 Q473984 Q73341 Q19842743 Q45369 Q8882 Q1195049 Q6865853 Q1060844 Q687075 Q3397406 Q467926 Q813403 Q3251775 Q1587677 Q27516596 Q691615 Q20181946 Q21098108 Q839078 Q838380 Q3251779 Q783785 Q5096847 Q2911019 Q4818607 Q2430415 Q6866194 Q152814 Q1072415 Q3251793 Q3409203 Q1192903 Q6865904 Q2741479 Q213107 Q195965 Q6123144 Q327948 Q1763459 Q3401758 Q7240356 Q6865864 Q19364214 Q1753094 Q1975365 Q1591470 Q609884 Q13527909 Q2741486 Q3315112 Q3315114 Q11895063 Q1123764 Q735015 Q1469153 Q2708520 Q22955080 Q12270260 Q6865789 Q7240368 Q1195270 Q3297079 Q6865995 Q319145 Q6865781 Q7013201 Q3111221 Q29558 Q1044136 Q1029968 Q2297543 Q2505890 Q967737 Q6865756 Q13423495 Q795477 Q1370482 Q6866148 Q16009376 Q1071117 Q34071 Q25223 Q3251800 Q20872267 Q5261065 Q3315134 Q3259469 Q162754 Q1819381 Q1052201 Q7574256 Q6542448 Q2301213 Q5097071 Q20748654 Q19328451 Q6865981 Q217217 Q3777749 Q111784 Q20992511 Q27334799 Q634291 Q6468838 Q1362216 Q839139 Q3251807 Q13526082 Q1074656 Q6866016 Q735587 Q592866 Q1281611 Q1790154 Q6866422 Q81066 Q3251818 Q6866427 Q1658460 Q628102 Q17058425 Q6865902 Q738695 Q20128098 Q1752225 Q687908 Q844587 Q786242 Q25860233 Q20877172 Q1434880 Q2334076 Q541355 Q702650 Q1072341
(c(Q12737077),P748,c(Q11204)|c(Q701632))
action count
action less
action union
action find_tuple_counts
relation P748
type Q12737077
type Q11204
action find_tuple_counts
relation P748
type Q12737077
type Q701632
action count
action filter_multi_types
action find
entity Q655407
relation P748
type Q11204
type Q701632
[ANSWER]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q11204'}, {'concept': 'Q701632'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) ?x WHERE { VALUES ( ?r ) { ( ontology:Q11204 ) ( ontology:Q701632 ) } . ?j rdf:type ?r } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { resource:Q655407 property:P748 ?i . { VALUES ( ?b ) { ( ontology:Q701632 ) ( ontology:Q11204 ) } . ?i rdf:type ?b } } } . FILTER ( ?v < ?m ) }
Minister of Transport Superintendent of Finance of the United States member of the Provincial Executive of Utrecht Minister of International Trade President of the Treasury Board Prime Minister of India President of Bolivia Vice President of the Constitutional Court of Italy Northern Territory Government Architect Minister for Education and Skills Chair of the Federal Reserve President of the French Republic Minister for Social Protection Minister of Natural Resources Secretary of State for Wales Chief of Staff of the United States Air Force King's Commissioner of Utrecht Lord Chamberlain Attorney General for England and Wales Prime Minister of Pakistan United States Secretary of the Interior Deputy Prime Minister of the United Kingdom Prime Minister of Estonia Premier of Saskatchewan Economic Secretary to the Treasury Tánaiste Prime Minister of Guyana Mayor of Warffum Bishop of Nevers President of Singapore Minister for the Environment, Community and Local Government United States Secretary of the Air Force Mayor of Gorinchem President of the European Parliament Mayor of The Hague Premier of Nunavut Secretary of State for Environment, Food and Rural Affairs President of the Australian Senate Prime Minister of Romania Prime Minister of South Africa Taoiseach Lord Privy Seal United States Secretary of Agriculture Master of the Rolls European Commissioner for the Environment Prime Minister of South Korea Secretary of State for the Home Department United States Secretary of Homeland Security Leader of the House of Lords Mayor of Eindhoven Bishop of Versailles Prime Minister of Iceland President pro tempore of the United States Senate Minister of Canadian Heritage Minister for Arts, Heritage and the Gaeltacht Mayor of Rotterdam Secretary of State for Work and Pensions United States Secretary of Education Secretary of State for International Development Lord President of the Council Prime Minister of Libya Secretary of State for Transport Minister for Foreign Affairs of Sweden Secretary of State for Foreign and Commonwealth Affairs Minister for the Civil Service Secretary of State for Justice Secretary of State for Northern Ireland bishop of Nanjing Prime Minister of Bangladesh Chief Secretary for Ireland King's Commissioner of South Holland Prime Minister of Russia President of Fiji Prime Minister of Serbia Prime Minister of Thailand President of Botswana Federal Chancellor of Germany State President of South Africa member of the Provincial Executive of North Holland President of the United Nations General Assembly Governor of İstanbul President of Malta Minister for Finance Minister for Foreign Affairs Federal Chancellor of Austria Minister for Communications, Energy and Natural Resources United States Secretary of the Navy Mayor of Hoogland Chancellor of the Exchequer Prime Minister of Japan United States Secretary of Health and Human Services Secretary of State for Dominion Affairs Prime Minister of Portugal Prime Minister of Latvia Premier of New South Wales Minister of Justice Prime Minister of Iraq Minister responsible for the Status of Women Minister of External Affairs President of Algeria Leader of the House of Commons President of the Generalitat Valenciana Speaker of the House of Commons Prime Minister of Jamaica Deputy Prime Minister of Canada Prime Minister of the Netherlands Secretary of State for Business, Energy and Industrial Strategy Minister of State Premier of New Brunswick United States Secretary of Housing and Urban Development Governor of Victoria Chief Justice of Canada Prime Minister of Italy List of Presidents of the Basque Autonomous Community Premier of Western Australia President of South Africa Prime Minister of Israel Minister of Agriculture Secretary of State for International Trade Secretary of State for Education Prime Minister of Singapore Mayor of Woerden President of Poland Secretary of State for Defence Minister of Public Services and Procurement Treasurer of Australia Premier of Tasmania Solicitor General for England and Wales Prime Minister of Greece Premier of Prince Edward Island Prime Minister of the Bahamas Minister of Economy and Finance of Peru Director of the Holy See Press Office Mayor of Almere President of India Premier of Ontario Minister of Transport speaker of the United States House of Representatives Minister of Fisheries and Oceans member of the Provincial Executive of South Holland Mayor of Leersum Minister for Finance Prime Minister of Malaysia Auditor General of Canada Lord Mayor of Dublin United States Attorney General President of Austria Speaker of the Hellenic Parliament Minister of National Revenue Minister for Agriculture, Food and the Marine Premier of Nova Scotia United States Secretary of Commerce Prime Minister of Algeria Mayor of Mierlo United States Secretary of Labor Chief of the Defence Staff President of the Generalitat of Catalonia Minister of Communications President of Nigeria President of Pakistan Lord Mayor of London President of the Government of Morocco Prime Minister of Slovakia President of the European Commission Minister of Aboriginal Affairs and Northern Development Minister for Foreign Affairs and Trade Paymaster General Prime Minister of Sweden Secretary of State for Health Cathaoirleach King's or Queen's Commissioner Minister of the Environment Prime Minister of France King's Commissioner of North Holland Governor of the Virgin Islands Mayor of Borger-Odoorn Mayor of Amersfoort Prime Minister of Canada President of Iran Minister of Industry Chief of Staff of the United States Army Chief Minister Premier of Quebec Attorney-General of Australia Prime Minister of Turkey Minister of Human Resources and Skills Development Prime Minister of Malta Chief of Naval Operations Minister of Citizenship and Immigration President of Greece Prime Minister of Yemen Minister for Justice and Equality Chief Executive of Macau Prime Minister of Belgium Governor of Gibraltar Secretary of State of Puerto Rico President of Israel Chairman of the Joint Chiefs of Staff Premier of Manitoba Premier of Newfoundland and Labrador Minister for Health President of Somalia United States Postmaster General Prime Minister of Georgia United States Secretary of the Army First Lord of the Treasury Premier of Victoria Chief Executive of Hong Kong Minister for Defence Minister of National Defence Minister of Transport and Communications Prime Minister of Armenia United States Secretary of Defense Prime Minister of Fiji Chairman of the Communist Party of China president of FIFA Premier of Yukon Minister for Democratic Reform Premier of the Northwest Territories Prime Minister of Croatia Secretary of State for Culture, Media and Sport Minister for the Cabinet Office Prime Minister of Australia Minister for Defence New York City Fire Commissioner Commonwealth Secretary-General President of Finland president of Tajikistan United States Secretary of Energy United States Deputy Secretary of Defense Leader of the Government in the House of Commons United States Secretary of Transportation Minister for Children and Youth Affairs Mayor of Amsterdam Prime Minister of Denmark President of Cuba Minister of Foreign Affairs Prime Minister of Albania Prime Minister of New Zealand President of Paraguay President of Germany Minister of Health Mayor of Boxmeer Deputy Prime Minister of Australia Minister for Women and Equalities Prime Minister of Poland Chancellor of the Duchy of Lancaster President of the Czech Republic Ceann Comhairle Speaker of the House of Representatives Librarian of Congress United States Deputy Secretary of State Chief of the Secret Intelligence Service Mayor of Zoetermeer Mayor of Haarlem Minister for Transport, Tourism and Sport Lord Chancellor Attorney General of Ireland Secretary of State for Scotland Mayor of Utrecht Mayor of Geldermalsen High Representative of the Union for Foreign Affairs and Security Policy President of Slovakia First Minister of Scotland President of Romania Minister of Veterans Affairs Premier of Queensland Prime Minister of Papua New Guinea Minister for the purposes of the Atlantic Canada Opportunities Agency Act President of the European Council Prime Minister of Tuvalu Lieutenant Governor of Jersey Chief Minister of Delhi Minister of Western Economic Diversification United Nations Secretary-General Minister of Finance Minister of the Economic Development Agency of Canada for the Regions of Quebec United States Secretary of Veterans Affairs President of Nauru Mayor of Coevorden Minister for Jobs, Enterprise and Innovation Prime Minister of Finland Mayor of Deventer Lord Lieutenant of Ireland Lord Chief Justice of England and Wales Prime Minister of Spain White House Chief of Staff Secretary of State for Exiting the European Union bishop of Amiens Surgeon General of the United States Prime Minister of Norway Minister of Foreign Affairs of Canada President of the Executive Yuan Chief Minister of the Northern Territory
294
action count
action less
action union
action find_tuple_counts
relation appointed by
type occupation
type legislature
action find_tuple_counts
relation appointed by
type occupation
type municipal council
action count
action filter_multi_types
action find
entity President of the People's Republic of China
relation appointed by
type legislature
type municipal council
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'legislature'}, {'concept': 'municipal council'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) ?x WHERE { VALUES ( ?r ) { ( ontology:legislature ) ( ontology:municipal_council ) } . ?j rdf:type ?r } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { resource:President_of_the_People's_Republic_of_China property:appointed_by ?i . { VALUES ( ?b ) { ( ontology:municipal_council ) ( ontology:legislature ) } . ?i rdf:type ?b } } } . FILTER ( ?v < ?m ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q26209358
P748
Q11204 Q701632 Q12737077
USER
And also tell me about municipal executive of Warffum?
(c(Q12737077),P748,c(Q11204)|c(Q701632))
action count
action less
action union
action find_tuple_counts
relation P748
type Q12737077
type Q11204
action find_tuple_counts
relation P748
type Q12737077
type Q701632
action count
action filter_multi_types
action find
entity Q26209358
relation P748
type Q11204
type Q701632
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q11204'}, {'concept': 'Q701632'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?d ) AS ?c ) WHERE { { ?e property:P748 ?d . ?e rdf:type ontology:Q12737077 . ?d rdf:type ontology:Q11204 } UNION { ?e rdf:type ontology:Q12737077 . ?d rdf:type ontology:Q701632 . ?e property:P748 ?d } } GROUP BY ?e } . FILTER ( ?c < ?p ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { { { ?z rdf:type ontology:Q11204 } UNION { ?z rdf:type ontology:Q701632 } } . resource:Q26209358 property:P748 ?z } } }
municipal executive of Warffum
action count
action less
action union
action find_tuple_counts
relation appointed by
type occupation
type legislature
action find_tuple_counts
relation appointed by
type occupation
type municipal council
action count
action filter_multi_types
action find
entity municipal executive of Warffum
relation appointed by
type legislature
type municipal council
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'legislature'}, {'concept': 'municipal council'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?d ) AS ?c ) WHERE { { ?e property:appointed_by ?d . ?e rdf:type ontology:occupation . ?d rdf:type ontology:legislature } UNION { ?e rdf:type ontology:occupation . ?d rdf:type ontology:municipal_council . ?e property:appointed_by ?d } } GROUP BY ?e } . FILTER ( ?c < ?p ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { { { ?z rdf:type ontology:legislature } UNION { ?z rdf:type ontology:municipal_council } } . resource:municipal_executive_of_Warffum property:appointed_by ?z } } }
[]
legislature municipal council occupation
SYSTEM
294
Q15934457 Q7643465 Q27650845 Q748607 Q3253692 Q192711 Q373548 Q4011167 Q17018201 Q6865816 Q2666591 Q191954 Q6865958 Q3251824 Q1846384 Q1072417 Q27650822 Q1355456 Q2631987 Q735575 Q2287650 Q1507619 Q737115 Q6578215 Q5333410 Q1146214 Q376006 Q26209348 Q23906787 Q39021 Q6866004 Q261746 Q20867494 Q740126 Q21013163 Q4377222 Q14984399 Q7241304 Q15304810 Q1511951 Q191827 Q910308 Q1029955 Q1753754 Q1476458 Q15407843 Q2484309 Q642859 Q2012061 Q20890902 Q20736121 Q19190022 Q1140848 Q3251837 Q6865747 Q15730802 Q7444357 Q967762 Q7444352 Q943379 Q15305714 Q3246797 Q1749063 Q1371091 Q3315116 Q3477307 Q1369302 Q24636364 Q14565638 Q251724 Q27531658 Q842386 Q48894 Q835586 Q12376089 Q19056310 Q4970706 Q890030 Q27516521 Q1161813 Q6572133 Q796593 Q6865833 Q2660943 Q1006398 Q6865770 Q940135 Q20172329 Q531471 Q274948 Q2305968 Q7444340 Q1723031 Q369500 Q13527950 Q3315120 Q1476165 Q6866468 Q313465 Q2914452 Q2636053 Q15971570 Q464103 Q1430943 Q3556884 Q3058109 Q3858507 Q1655971 Q12270252 Q2419581 Q1571023 Q1339242 Q796897 Q1124265 Q1550276 Q273884 Q208487 Q4294939 Q25863345 Q3477306 Q866756 Q20130623 Q1054799 Q2747647 Q6866295 Q2390270 Q13527933 Q583809 Q4377230 Q7240361 Q565424 Q5195495 Q27088842 Q15731141 Q313383 Q2560704 Q3251821 Q912994 Q3251819 Q27531790 Q19328352 Q4294945 Q862559 Q3564227 Q13645132 Q636207 Q475658 Q7574264 Q6866264 Q6865750 Q7240360 Q2003296 Q182762 Q20859386 Q967750 Q2962001 Q16933549 Q18694351 Q500282 Q473984 Q73341 Q19842743 Q45369 Q8882 Q1195049 Q6865853 Q1060844 Q687075 Q3397406 Q467926 Q813403 Q3251775 Q1587677 Q27516596 Q691615 Q20181946 Q21098108 Q839078 Q838380 Q3251779 Q783785 Q5096847 Q2911019 Q4818607 Q2430415 Q6866194 Q152814 Q1072415 Q3251793 Q3409203 Q1192903 Q6865904 Q2741479 Q213107 Q195965 Q6123144 Q327948 Q1763459 Q3401758 Q7240356 Q6865864 Q19364214 Q1753094 Q1975365 Q1591470 Q609884 Q13527909 Q2741486 Q3315112 Q3315114 Q11895063 Q1123764 Q735015 Q1469153 Q2708520 Q22955080 Q12270260 Q6865789 Q7240368 Q1195270 Q3297079 Q6865995 Q319145 Q6865781 Q7013201 Q3111221 Q29558 Q1044136 Q1029968 Q2297543 Q2505890 Q967737 Q6865756 Q13423495 Q795477 Q1370482 Q6866148 Q16009376 Q1071117 Q34071 Q25223 Q3251800 Q20872267 Q5261065 Q3315134 Q3259469 Q162754 Q1819381 Q1052201 Q7574256 Q6542448 Q2301213 Q5097071 Q20748654 Q19328451 Q6865981 Q217217 Q3777749 Q111784 Q20992511 Q27334799 Q634291 Q6468838 Q1362216 Q839139 Q3251807 Q13526082 Q1074656 Q6866016 Q735587 Q592866 Q1281611 Q1790154 Q6866422 Q81066 Q3251818 Q6866427 Q1658460 Q628102 Q17058425 Q6865902 Q738695 Q20128098 Q1752225 Q687908 Q844587 Q786242 Q25860233 Q20877172 Q1434880 Q2334076 Q541355 Q702650 Q1072341
(c(Q12737077),P748,c(Q11204)|c(Q701632))
action count
action less
action union
action find_tuple_counts
relation P748
type Q12737077
type Q11204
action find_tuple_counts
relation P748
type Q12737077
type Q701632
action count
action filter_multi_types
action find
entity Q26209358
relation P748
type Q11204
type Q701632
[ANSWER]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q11204'}, {'concept': 'Q701632'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?d ) AS ?c ) WHERE { { ?e property:P748 ?d . ?e rdf:type ontology:Q12737077 . ?d rdf:type ontology:Q11204 } UNION { ?e rdf:type ontology:Q12737077 . ?d rdf:type ontology:Q701632 . ?e property:P748 ?d } } GROUP BY ?e } . FILTER ( ?c < ?p ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { { { ?z rdf:type ontology:Q11204 } UNION { ?z rdf:type ontology:Q701632 } } . resource:Q26209358 property:P748 ?z } } }
Minister of Transport Superintendent of Finance of the United States member of the Provincial Executive of Utrecht Minister of International Trade President of the Treasury Board Prime Minister of India President of Bolivia Vice President of the Constitutional Court of Italy Northern Territory Government Architect Minister for Education and Skills Chair of the Federal Reserve President of the French Republic Minister for Social Protection Minister of Natural Resources Secretary of State for Wales Chief of Staff of the United States Air Force King's Commissioner of Utrecht Lord Chamberlain Attorney General for England and Wales Prime Minister of Pakistan United States Secretary of the Interior Deputy Prime Minister of the United Kingdom Prime Minister of Estonia Premier of Saskatchewan Economic Secretary to the Treasury Tánaiste Prime Minister of Guyana Mayor of Warffum Bishop of Nevers President of Singapore Minister for the Environment, Community and Local Government United States Secretary of the Air Force Mayor of Gorinchem President of the European Parliament Mayor of The Hague Premier of Nunavut Secretary of State for Environment, Food and Rural Affairs President of the Australian Senate Prime Minister of Romania Prime Minister of South Africa Taoiseach Lord Privy Seal United States Secretary of Agriculture Master of the Rolls European Commissioner for the Environment Prime Minister of South Korea Secretary of State for the Home Department United States Secretary of Homeland Security Leader of the House of Lords Mayor of Eindhoven Bishop of Versailles Prime Minister of Iceland President pro tempore of the United States Senate Minister of Canadian Heritage Minister for Arts, Heritage and the Gaeltacht Mayor of Rotterdam Secretary of State for Work and Pensions United States Secretary of Education Secretary of State for International Development Lord President of the Council Prime Minister of Libya Secretary of State for Transport Minister for Foreign Affairs of Sweden Secretary of State for Foreign and Commonwealth Affairs Minister for the Civil Service Secretary of State for Justice Secretary of State for Northern Ireland bishop of Nanjing Prime Minister of Bangladesh Chief Secretary for Ireland King's Commissioner of South Holland Prime Minister of Russia President of Fiji Prime Minister of Serbia Prime Minister of Thailand President of Botswana Federal Chancellor of Germany State President of South Africa member of the Provincial Executive of North Holland President of the United Nations General Assembly Governor of İstanbul President of Malta Minister for Finance Minister for Foreign Affairs Federal Chancellor of Austria Minister for Communications, Energy and Natural Resources United States Secretary of the Navy Mayor of Hoogland Chancellor of the Exchequer Prime Minister of Japan United States Secretary of Health and Human Services Secretary of State for Dominion Affairs Prime Minister of Portugal Prime Minister of Latvia Premier of New South Wales Minister of Justice Prime Minister of Iraq Minister responsible for the Status of Women Minister of External Affairs President of Algeria Leader of the House of Commons President of the Generalitat Valenciana Speaker of the House of Commons Prime Minister of Jamaica Deputy Prime Minister of Canada Prime Minister of the Netherlands Secretary of State for Business, Energy and Industrial Strategy Minister of State Premier of New Brunswick United States Secretary of Housing and Urban Development Governor of Victoria Chief Justice of Canada Prime Minister of Italy List of Presidents of the Basque Autonomous Community Premier of Western Australia President of South Africa Prime Minister of Israel Minister of Agriculture Secretary of State for International Trade Secretary of State for Education Prime Minister of Singapore Mayor of Woerden President of Poland Secretary of State for Defence Minister of Public Services and Procurement Treasurer of Australia Premier of Tasmania Solicitor General for England and Wales Prime Minister of Greece Premier of Prince Edward Island Prime Minister of the Bahamas Minister of Economy and Finance of Peru Director of the Holy See Press Office Mayor of Almere President of India Premier of Ontario Minister of Transport speaker of the United States House of Representatives Minister of Fisheries and Oceans member of the Provincial Executive of South Holland Mayor of Leersum Minister for Finance Prime Minister of Malaysia Auditor General of Canada Lord Mayor of Dublin United States Attorney General President of Austria Speaker of the Hellenic Parliament Minister of National Revenue Minister for Agriculture, Food and the Marine Premier of Nova Scotia United States Secretary of Commerce Prime Minister of Algeria Mayor of Mierlo United States Secretary of Labor Chief of the Defence Staff President of the Generalitat of Catalonia Minister of Communications President of Nigeria President of Pakistan Lord Mayor of London President of the Government of Morocco Prime Minister of Slovakia President of the European Commission Minister of Aboriginal Affairs and Northern Development Minister for Foreign Affairs and Trade Paymaster General Prime Minister of Sweden Secretary of State for Health Cathaoirleach King's or Queen's Commissioner Minister of the Environment Prime Minister of France King's Commissioner of North Holland Governor of the Virgin Islands Mayor of Borger-Odoorn Mayor of Amersfoort Prime Minister of Canada President of Iran Minister of Industry Chief of Staff of the United States Army Chief Minister Premier of Quebec Attorney-General of Australia Prime Minister of Turkey Minister of Human Resources and Skills Development Prime Minister of Malta Chief of Naval Operations Minister of Citizenship and Immigration President of Greece Prime Minister of Yemen Minister for Justice and Equality Chief Executive of Macau Prime Minister of Belgium Governor of Gibraltar Secretary of State of Puerto Rico President of Israel Chairman of the Joint Chiefs of Staff Premier of Manitoba Premier of Newfoundland and Labrador Minister for Health President of Somalia United States Postmaster General Prime Minister of Georgia United States Secretary of the Army First Lord of the Treasury Premier of Victoria Chief Executive of Hong Kong Minister for Defence Minister of National Defence Minister of Transport and Communications Prime Minister of Armenia United States Secretary of Defense Prime Minister of Fiji Chairman of the Communist Party of China president of FIFA Premier of Yukon Minister for Democratic Reform Premier of the Northwest Territories Prime Minister of Croatia Secretary of State for Culture, Media and Sport Minister for the Cabinet Office Prime Minister of Australia Minister for Defence New York City Fire Commissioner Commonwealth Secretary-General President of Finland president of Tajikistan United States Secretary of Energy United States Deputy Secretary of Defense Leader of the Government in the House of Commons United States Secretary of Transportation Minister for Children and Youth Affairs Mayor of Amsterdam Prime Minister of Denmark President of Cuba Minister of Foreign Affairs Prime Minister of Albania Prime Minister of New Zealand President of Paraguay President of Germany Minister of Health Mayor of Boxmeer Deputy Prime Minister of Australia Minister for Women and Equalities Prime Minister of Poland Chancellor of the Duchy of Lancaster President of the Czech Republic Ceann Comhairle Speaker of the House of Representatives Librarian of Congress United States Deputy Secretary of State Chief of the Secret Intelligence Service Mayor of Zoetermeer Mayor of Haarlem Minister for Transport, Tourism and Sport Lord Chancellor Attorney General of Ireland Secretary of State for Scotland Mayor of Utrecht Mayor of Geldermalsen High Representative of the Union for Foreign Affairs and Security Policy President of Slovakia First Minister of Scotland President of Romania Minister of Veterans Affairs Premier of Queensland Prime Minister of Papua New Guinea Minister for the purposes of the Atlantic Canada Opportunities Agency Act President of the European Council Prime Minister of Tuvalu Lieutenant Governor of Jersey Chief Minister of Delhi Minister of Western Economic Diversification United Nations Secretary-General Minister of Finance Minister of the Economic Development Agency of Canada for the Regions of Quebec United States Secretary of Veterans Affairs President of Nauru Mayor of Coevorden Minister for Jobs, Enterprise and Innovation Prime Minister of Finland Mayor of Deventer Lord Lieutenant of Ireland Lord Chief Justice of England and Wales Prime Minister of Spain White House Chief of Staff Secretary of State for Exiting the European Union bishop of Amiens Surgeon General of the United States Prime Minister of Norway Minister of Foreign Affairs of Canada President of the Executive Yuan Chief Minister of the Northern Territory
294
action count
action less
action union
action find_tuple_counts
relation appointed by
type occupation
type legislature
action find_tuple_counts
relation appointed by
type occupation
type municipal council
action count
action filter_multi_types
action find
entity municipal executive of Warffum
relation appointed by
type legislature
type municipal council
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'legislature'}, {'concept': 'municipal council'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?d ) AS ?c ) WHERE { { ?e property:appointed_by ?d . ?e rdf:type ontology:occupation . ?d rdf:type ontology:legislature } UNION { ?e rdf:type ontology:occupation . ?d rdf:type ontology:municipal_council . ?e property:appointed_by ?d } } GROUP BY ?e } . FILTER ( ?c < ?p ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { { { ?z rdf:type ontology:legislature } UNION { ?z rdf:type ontology:municipal_council } } . resource:municipal_executive_of_Warffum property:appointed_by ?z } } }
[]