Simple Question (Direct)
Simple Question
Q460170
P106
Q12737077
USER
What do Kelly Sheridan do for a living ?
(Q460170,P106,c(Q12737077))
action filter_type
action find
entity Q460170
relation P106
type Q12737077
['Q460170', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q460170 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
Kelly Sheridan
action filter_type
action find
entity Kelly Sheridan
relation occupation
type occupation
['Kelly Sheridan', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Kelly_Sheridan property:occupation ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q2405480 Q33999
SYSTEM
voice actor, actor
Q2405480 Q33999
(Q460170,P106,c(Q12737077))
action filter_type
action find
entity Q460170
relation P106
type Q12737077
Kelly Sheridan do for a living [ANSWERS]
['Q460170', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q460170 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
voice actor actor
Kelly Sheridan do for a living voice actor and actor
voice actor actor
action filter_type
action find
entity Kelly Sheridan
relation occupation
type occupation
['Kelly Sheridan', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Kelly_Sheridan property:occupation ?i . ?i rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q2405480 Q33999
P101
Q502895
USER
Which people have specialisation in those occupations ?
(c(Q502895),P101,Q2405480) (c(Q502895),P101,Q33999)
action filter_type
action find_reverse
entity prev_answer
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q2405480'] [{'concept': 'Q502895'}, 'P101', 'Q33999']
SELECT DISTINCT ?v WHERE { ?v property:P101 ?d . ?v rdf:type ontology:Q502895 . VALUES ( ?d ) { ( resource:Q2405480 ) ( resource:Q33999 ) } }
voice actor actor
action filter_type
action find_reverse
entity prev_answer
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'voice actor'] [{'concept': 'common name'}, 'field of work', 'actor']
SELECT DISTINCT ?v WHERE { ?v property:field_of_work ?d . ?v rdf:type ontology:common_name . VALUES ( ?d ) { ( resource:voice_actor ) ( resource:actor ) } }
[]
common name
Q5957599 Q1155778 Q2280487
SYSTEM
Hamid Jebelli, Kenji Nojima, Daisuke Gōri
Q5367960 Q6453064 Q1936439 Q263973 Q2630749 Q3544633 Q7497712 Q2092493 Q1043889 Q4059602 Q3482284 Q908367 Q1043306 Q1155778 Q284401 Q5100189 Q4220929 Q956916 Q1155626 Q4115716 Q1098034 Q5389249 Q2280487 Q6782486 Q1369247 Q1349299 Q460170 Q5957599 Q3140773
(c(Q502895),P101,Q2405480) (c(Q502895),P101,Q33999)
action filter_type
action find_reverse
entity prev_answer
relation P101
type Q502895
[ANSWERS] have specialisation in those occupations
[{'concept': 'Q502895'}, 'P101', 'Q2405480'] [{'concept': 'Q502895'}, 'P101', 'Q33999']
SELECT DISTINCT ?v WHERE { ?v property:P101 ?d . ?v rdf:type ontology:Q502895 . VALUES ( ?d ) { ( resource:Q2405480 ) ( resource:Q33999 ) } }
Sayuri Yoshida Kyōko Tongū Tomoe Tamiyasu Sayaka Aida Mai Aizawa Ikue Sakakibara Shinobu Adachi Keiko Aizawa Mahito Ōba Runa Akiyama Shinobu Satouchi Satomi Akesaka Tomohisa Asō Kenji Nojima Tomokazu Seki Chinatsu Akasaki Sayaka Kinoshita Ayano Niina Daisuke Sakaguchi Dave Wittenberg Keiko Suzuki Erina Nakayama Daisuke Gōri Masako Sugaya Aya Endō Hisao Egawa Kelly Sheridan Hamid Jebelli Rikako Aikawa
Hamid Jebelli, Kenji Nojima and Daisuke Gōri have specialisation in those occupations
Hamid Jebelli Kenji Nojima Daisuke Gōri
action filter_type
action find_reverse
entity prev_answer
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'voice actor'] [{'concept': 'common name'}, 'field of work', 'actor']
SELECT DISTINCT ?v WHERE { ?v property:field_of_work ?d . ?v rdf:type ontology:common_name . VALUES ( ?d ) { ( resource:voice_actor ) ( resource:actor ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q5957599 Q1155778 Q2280487
P27
Q15617994
USER
Which administrative territories are those people an inhabitant of ?
(Q5957599,P27,c(Q15617994)) (Q1155778,P27,c(Q15617994)) (Q2280487,P27,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P27
type Q15617994
['Q5957599', 'P27', {'concept': 'Q15617994'}] ['Q1155778', 'P27', {'concept': 'Q15617994'}] ['Q2280487', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?s property:P27 ?r . ?r rdf:type ontology:Q15617994 . VALUES ( ?s ) { ( resource:Q5367960 ) ( resource:Q6453064 ) ( resource:Q1936439 ) } }
Hamid Jebelli Kenji Nojima Daisuke Gōri
action filter_type
action find
entity prev_answer
relation country of citizenship
type designation for an administrative territorial entity
['Hamid Jebelli', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Kenji Nojima', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Daisuke Gōri', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?s property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?s ) { ( resource:Sayuri_Yoshida ) ( resource:Kyōko_Tongū ) ( resource:Tomoe_Tamiyasu ) } }
[]
designation for an administrative territorial entity
Q794 Q17 Q17
SYSTEM
Japan for 2nd, 3rd, Iran for 1st
Q794 Q17 Q17
(Q5957599,P27,c(Q15617994)) (Q1155778,P27,c(Q15617994)) (Q2280487,P27,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P27
type Q15617994
[ANSWERS]
['Q5957599', 'P27', {'concept': 'Q15617994'}] ['Q1155778', 'P27', {'concept': 'Q15617994'}] ['Q2280487', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?s property:P27 ?r . ?r rdf:type ontology:Q15617994 . VALUES ( ?s ) { ( resource:Q5367960 ) ( resource:Q6453064 ) ( resource:Q1936439 ) } }
Iran Japan Japan
Iran, Japan and Japan are those people an inhabitant of
Iran Japan Japan
action filter_type
action find
entity prev_answer
relation country of citizenship
type designation for an administrative territorial entity
['Hamid Jebelli', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Kenji Nojima', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Daisuke Gōri', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?s property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?s ) { ( resource:Sayuri_Yoshida ) ( resource:Kyōko_Tongū ) ( resource:Tomoe_Tamiyasu ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q794
P189
Q987767
USER
Which container was found at that administrative territory ?
(c(Q987767),P189,Q794)
action filter_type
action find_reverse
entity Q794
relation P189
type Q987767
[{'concept': 'Q987767'}, 'P189', 'Q794']
SELECT DISTINCT ?c WHERE { ?c property:P189 resource:Q794 . ?c rdf:type ontology:Q987767 }
Iran
action filter_type
action find_reverse
entity Iran
relation location of discovery
type container
[{'concept': 'container'}, 'location of discovery', 'Iran']
SELECT DISTINCT ?c WHERE { ?c property:location_of_discovery resource:Iran . ?c rdf:type ontology:container }
[]
container
Clarification for simple ques.
Q17
SYSTEM
Did you mean Japan ?
Q794 Q17 Q17
(c(Q987767),P189,Q794) (c(Q987767),P189,Q17) (c(Q987767),P189,Q17)
[ANSWER]
[{'concept': 'Q987767'}, 'P189', 'Q794'] [{'concept': 'Q987767'}, 'P189', 'Q17'] [{'concept': 'Q987767'}, 'P189', 'Q17']
SELECT DISTINCT ?c WHERE { ?c property:P189 resource:Q794 . ?c rdf:type ontology:Q987767 }
Iran Japan Japan
Did you mean Japan ?
Japan
[{'concept': 'container'}, 'location of discovery', 'Iran'] [{'concept': 'container'}, 'location of discovery', 'Japan'] [{'concept': 'container'}, 'location of discovery', 'Japan']
SELECT DISTINCT ?c WHERE { ?c property:location_of_discovery resource:Iran . ?c rdf:type ontology:container }
[]
Simple Question (Coreferenced)
USER
No, I meant Iran. Could you tell me the answer for that?
(c(Q987767),P189,Q794)
Q794
[{'concept': 'Q987767'}, 'P189', 'Q794']
[{'concept': 'container'}, 'location of discovery', 'Iran']
[]
Q148471
SYSTEM
Zauberschale
Q148471
(c(Q987767),P189,Q794)
action filter_type
action find_reverse
entity Q794
relation P189
type Q987767
[ANSWER] was found at that administrative territory
[{'concept': 'Q987767'}, 'P189', 'Q794']
SELECT DISTINCT ?c WHERE { ?c property:P189 resource:Q794 . ?c rdf:type ontology:Q987767 }
Zauberschale
Zauberschale was found at that administrative territory
Zauberschale
action filter_type
action find_reverse
entity Iran
relation location of discovery
type container
[{'concept': 'container'}, 'location of discovery', 'Iran']
SELECT DISTINCT ?c WHERE { ?c property:location_of_discovery resource:Iran . ?c rdf:type ontology:container }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q302322
P1441
Q15416 Q15961987 Q502895
USER
Which people are featured in around the same number of television programs or television genres as Calandrino ?
(c(Q502895),P1441,c(Q15416)|c(Q15961987))
action approx
action union
action find_tuple_counts
relation P1441
type Q502895
type Q15416
action find_tuple_counts
relation P1441
type Q502895
type Q15961987
action count
action filter_multi_types
action find
entity Q302322
relation P1441
type Q15416
type Q15961987
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q15416'}, {'concept': 'Q15961987'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?l ) WHERE { ?c rdf:type ?s . VALUES ( ?s ) { ( ontology:Q15416 ) ( ontology:Q15961987 ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { resource:Q302322 property:P1441 ?x . { { ?x rdf:type ontology:Q15416 } UNION { ?x rdf:type ontology:Q15961987 } } } } . FILTER ( ?l = ?f ) }
Calandrino
action approx
action union
action find_tuple_counts
relation present in work
type common name
type television program
action find_tuple_counts
relation present in work
type common name
type television genre
action count
action filter_multi_types
action find
entity Calandrino
relation present in work
type television program
type television genre
[{'concept': 'common name'}, 'present in work', [{'concept': 'television program'}, {'concept': 'television genre'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?l ) WHERE { ?c rdf:type ?s . VALUES ( ?s ) { ( ontology:television_program ) ( ontology:television_genre ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { resource:Calandrino property:present_in_work ?x . { { ?x rdf:type ontology:television_program } UNION { ?x rdf:type ontology:television_genre } } } } . FILTER ( ?l = ?f ) }
[]
television program 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 Q2282686 Q459606 Q145746 Q437417 Q463934 Q721295 Q3778878 Q3774081 Q1403627 Q1133523 Q1348720 Q24624893 Q1396131 Q3591188 Q716237 Q2264125 Q608841 Q1133337 Q41370 Q200637 Q2124082 Q24625686 Q81422 Q3187975 Q2116944 Q3783913 Q2137929 Q315276 Q946939 Q888890 Q3148218 Q24577318 Q515828 Q24625326 Q1771358 Q25858050 Q26858752 Q923021 Q272277 Q460763 Q24633210 Q205372 Q715547 Q717814 Q3745274 Q3867479 Q830183 Q1446 Q1641601 Q6577515 Q63070 Q7493584 Q19348839 Q1300996 Q2073479 Q851686 Q1333225 Q40662 Q206238 Q400294 Q2723049 Q922184 Q1093885 Q156328 Q1346246 Q3785031 Q1768161 Q2578955 Q6323112 Q171724 Q3010053 Q889694 Q1851709 Q8027483 Q816397 Q164889 Q24625073 Q27621044 Q1380878 Q16879711 Q24623579 Q366070 Q2038223 Q1377025 Q2276030 Q313415 Q270438 Q360378 Q2711883 Q363660 Q665541 Q1516550 Q886399 Q840401 Q1341779 Q37085 Q326585 Q109920 Q536019 Q213850 Q74891 Q45090 Q972487 Q336832 Q313395 Q1941782 Q2304442 Q8581 Q2651263 Q1542853 Q24577238 Q209793 Q24632700 Q1808889 Q587893 Q24626363 Q2685920 Q256076 Q184273 Q107626 Q205365 Q24633126 Q477527 Q1091513 Q3658171 Q2601106 Q18699310 Q62788 Q4804479 Q26721185 Q2292243 Q2448083 Q313421 Q313423 Q633681 Q362021 Q24623790 Q2296791 Q200947 Q24083251 Q262766 Q1947936 Q225198 Q211396 Q25923184 Q313228 Q2075711 Q312311 Q2361344 Q3275910 Q536485 Q273517 Q3752551 Q671872 Q169329 Q2477603 Q110436 Q16845969 Q23906252 Q2519772 Q879088 Q192785 Q302322 Q308320 Q183089 Q7734 Q3761044 Q2168182 Q878882 Q76721 Q1030008 Q26858995 Q2487300 Q319049 Q283466 Q18699300 Q9441 Q18699268 Q372783 Q16006746 Q17457 Q786748 Q24626010 Q229702 Q574641 Q26858919 Q2590260 Q2047062 Q599907 Q1227361 Q282220 Q313237
(c(Q502895),P1441,c(Q15416)|c(Q15961987))
action approx
action union
action find_tuple_counts
relation P1441
type Q502895
type Q15416
action find_tuple_counts
relation P1441
type Q502895
type Q15961987
action count
action filter_multi_types
action find
entity Q302322
relation P1441
type Q15416
type Q15961987
[ANSWERS] are featured in around the same number of television programs or television genres as Calandrino
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q15416'}, {'concept': 'Q15961987'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?l ) WHERE { ?c rdf:type ?s . VALUES ( ?s ) { ( ontology:Q15416 ) ( ontology:Q15961987 ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { resource:Q302322 property:P1441 ?x . { { ?x rdf:type ontology:Q15416 } UNION { ?x rdf:type ontology:Q15961987 } } } } . FILTER ( ?l = ?f ) }
Halga Julius Asclepiodotus Cecco Angiolieri Ferrex Al Capone Eric Anundsson Victor Petit Jair Immanuel Michal Markandeya Theodelinda Ezekiel Olof Björnsson Jebidiah Farnsworth Damaris Refil Abishag Achim Nathan Eliud Nebuchadnezzar II Deborah Constantius Chlorus Manoah Ahaz Dyfnwal Moelmud Delilah Bea Hansen Adoniram Samson Sisillius III Alexander III Cangrande I della Scala Mempricius Eric the Victorious Jacob Mino da San Quirico Kai Darab Urianus Cassivellaunus Norman Winther Rehoboam Gideon Cordelia of Britain Parikshit Cyrus the Great Salvatore Maranzano Harriet Mutesi Miriam Reu Orville Wright Leil Mikhail Kutuzov John Hooper Necho II Philip Sisillius I Yael Hezekiah Uzziah Ahaziah of Judah Frank Fauteux Ibzan Amnon Bernard C. Webber Zipporah Beowulf Allectus Hrothgar Guy of Lusignan Daniel Webster Cluff Constans II Barak James Harcourt Jago of Britain Boniface VIII Shealtiel Björn Ironside Jehu Ithamar Anund Uppsale Isaiah Kenan Rudolf Abel Eldon Hanan Saul Shem Ingeld Constantine the Great Erik Björnsson Jehoshaphat Locrinus Ambrosius Aurelianus Joseph Cunobeline Athaliah Jezebel Guglielmo Borsiere Gracianus Municeps Hrethel Jephthah Guy de Montfort, Count of Nola Raymond Sybert Wilbur Wright Erik Refilsson Song Jiang Bladud Arvirargus Abner David Japheth Azzo VIII d'Este, Marquis of Ferrara Andy Fitzgerald Noah Judith Wealhþeow Heardred Gurgustius Agilulf Phut Nahor Ignacy Przybyszewski Sara Katende Tasciovanus Miriam Webber Salomon Helen Kingsleigh Sarah Katende Gorboduc Bathsheba Benjamin George "Tiny" Myers Absalom Mandubracius Hadadezer Filippo Minutolo Musciatto Franzesi Eve Caracalla Tattenai Samuel Mary Magdalene Sheleph Salammbô Ehud Shaunaka Mephibosheth Elon John the Baptist Elisha Ahitophel Mayasura Caleb Hathi Manasseh of Judah Johnny Ringo Heoroweard Islamic views on Abraham Porrex I Nahor Daniel Céleste de Chateaubriand Hygelac Rud Hud Hudibras Wise woman of Abel Ben-Hadad I Manfred, King of Sicily Richard Livesey Davy Brown Vortimer Sage Animandaya Wallace Quirey George William Russell Amminadab Bharata Archmail Asa of Judah Charles of Valois Adonijah Gurguit Barbtruc Elimelek Hosea Shamgar Maelgwn Gwynedd Laban Kai Lohrasp Solomon Vortigern Jotham of Judah Ecgþeow Amos Jonathan Jesse Buonamico Buffalmacco Jehoahaz of Judah Authari Nadabe Coel Hen Saladin Trahern Alphaeus Robert Katende Constantine III John Stello Kimarcus Sisillius II Mel Gouthro Bledudo Cunedagius Zedekiah Seth Cain Donald Bangs Amram Son of Gorbonianus Phiona Mutesi Rukmi Matthan Jethro Ash Vasudevan Lena Gogan Rivallo Brutus Greenshield Abel Amon of Judah Björn Eriksson Eli D.A. Brown Molly Bloom Ahmad ibn Fadlan Stan the Man Junia Beldgabred Belshazzar Magnus Maximus Elizabeth Ham Josiah Andragius Peter III of Aragon Durvasa Anne Françoise Elisabeth Lange Othniel Abijah of Judah Freawaru Isaac Conrad of Montferrat Vaisampayana Cory Doctorow Hygd Caf' Francisco Sawyl Penuchel Björn at Haugi Goliath Calandrino Abdon Publius Septimius Geta Joshua Geri Spini Ebraucus Togodumnus Godfrey of Bouillon Tamar Aloysius Kyazze Cunedda Jeconiah Roger of Lauria Eleazar Gautama Buddha Zadok Adrian Cronauer James B. Donovan Donald Knuth Pedro González de Mendoza Ervin Maske Ham Balaam Hope Katende Ahijah the Shilonite Marius of Britain Baruch ben Neriah John of Procida Judah Amaziah of Judah
David, Donald Knuth and Cory Doctorow are featured in around the same number of television programs or television genres as Calandrino
David Donald Knuth Cory Doctorow
action approx
action union
action find_tuple_counts
relation present in work
type common name
type television program
action find_tuple_counts
relation present in work
type common name
type television genre
action count
action filter_multi_types
action find
entity Calandrino
relation present in work
type television program
type television genre
[{'concept': 'common name'}, 'present in work', [{'concept': 'television program'}, {'concept': 'television genre'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?l ) WHERE { ?c rdf:type ?s . VALUES ( ?s ) { ( ontology:television_program ) ( ontology:television_genre ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { resource:Calandrino property:present_in_work ?x . { { ?x rdf:type ontology:television_program } UNION { ?x rdf:type ontology:television_genre } } } } . FILTER ( ?l = ?f ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q110436
P800
Q2342494
USER
Who notable work were done by that person ?
(Q110436,P800,c(Q2342494))
action filter_type
action find
entity Q110436
relation P800
type Q2342494
['Q110436', 'P800', {'concept': 'Q2342494'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q2342494 . resource:Q110436 property:P800 ?c }
Cory Doctorow
action filter_type
action find
entity Cory Doctorow
relation notable work
type collectable
['Cory Doctorow', 'notable work', {'concept': 'collectable'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:collectable . resource:Cory_Doctorow property:notable_work ?c }
[]
collectable
Clarification for simple ques.
Q110436
SYSTEM
Did you mean Cory Doctorow ?
Q41370 Q17457 Q110436
(Q41370,P800,c(Q2342494)) (Q17457,P800,c(Q2342494)) (Q110436,P800,c(Q2342494))
[ANSWER]
['Q41370', 'P800', {'concept': 'Q2342494'}] ['Q17457', 'P800', {'concept': 'Q2342494'}] ['Q110436', 'P800', {'concept': 'Q2342494'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q2342494 . resource:Q110436 property:P800 ?c }
David Donald Knuth Cory Doctorow
Did you mean Cory Doctorow ?
Cory Doctorow
['David', 'notable work', {'concept': 'collectable'}] ['Donald Knuth', 'notable work', {'concept': 'collectable'}] ['Cory Doctorow', 'notable work', {'concept': 'collectable'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:collectable . resource:Cory_Doctorow property:notable_work ?c }
[]
Simple Question (Coreferenced)
USER
Yes
(Q110436,P800,c(Q2342494))
['Q110436', 'P800', {'concept': 'Q2342494'}]
['Cory Doctorow', 'notable work', {'concept': 'collectable'}]
[]
Q3015406 Q1865620
SYSTEM
Down and Out in the Magic Kingdom, Little Brother
Q3015406 Q1865620
(Q110436,P800,c(Q2342494))
action filter_type
action find
entity Q110436
relation P800
type Q2342494
[ANSWERS] were done by that person
['Q110436', 'P800', {'concept': 'Q2342494'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q2342494 . resource:Q110436 property:P800 ?c }
Down and Out in the Magic Kingdom Little Brother
Down and Out in the Magic Kingdom and Little Brother were done by that person
Down and Out in the Magic Kingdom Little Brother
action filter_type
action find
entity Cory Doctorow
relation notable work
type collectable
['Cory Doctorow', 'notable work', {'concept': 'collectable'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:collectable . resource:Cory_Doctorow property:notable_work ?c }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P85
Q7725634 Q484692 Q15617994
USER
Which administrative territories have atleast 1 literary works and hymns as their national anthem ?
(c(Q15617994),P85,c(Q7725634)|c(Q484692))
action atleast
action union
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
action find_tuple_counts
relation P85
type Q15617994
type Q484692
value 1
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q7725634'}, {'concept': 'Q484692'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) ?a WHERE { ?n rdf:type ?f . VALUES ( ?f ) { ( ontology:Q7725634 ) ( ontology:Q484692 ) } } GROUP BY ?a } . FILTER ( ?k >= 1 ) }
action atleast
action union
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type literary work
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type hymn
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'literary work'}, {'concept': 'hymn'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) ?a WHERE { ?n rdf:type ?f . VALUES ( ?f ) { ( ontology:literary_work ) ( ontology:hymn ) } } GROUP BY ?a } . FILTER ( ?k >= 1 ) }
[]
literary work hymn designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q702 Q804 Q801 Q707 Q709 Q811 Q805 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q800 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q813 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q779011 Q794 Q954 Q889 Q884 Q881 Q739 Q826 Q796 Q241 Q242 Q244 Q1019 Q153136 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 Q39 Q38 Q986 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1042 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q783 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q223 Q222 Q221 Q815731 Q96 Q229 Q347 Q1050 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q695 Q115 Q114 Q117 Q754 Q752 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q760 Q574 Q874 Q79 Q77 Q858 Q878 Q775 Q774 Q948 Q817 Q810 Q770 Q1014 Q1016 Q1011 Q945 Q678 Q29 Q1039 Q672 Q822 Q298 Q863 Q869 Q953
(c(Q15617994),P85,c(Q7725634)|c(Q484692))
action atleast
action union
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
action find_tuple_counts
relation P85
type Q15617994
type Q484692
value 1
[ANSWERS] have atleast 1 literary works and hymns as their national anthem
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q7725634'}, {'concept': 'Q484692'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) ?a WHERE { ?n rdf:type ?f . VALUES ( ?f ) { ( ontology:Q7725634 ) ( ontology:Q484692 ) } } GROUP BY ?a } . FILTER ( ?k >= 1 ) }
Federated States of Micronesia Panama Israel Flevoland Marshall Islands Nicaragua Yemen Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Costa Rica Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Kyrgyzstan Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Principality of Montenegro Iran Zimbabwe Afghanistan South Korea Vietnam Colombia Maldives Iraq Cuba Belize Barbados Madagascar Habsburg Empire Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Central African Republic Switzerland Italy Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Seychelles Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Honduras Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Principality of Bulgaria Mexico Cyprus Liechtenstein Swaziland Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Palau Ethiopia Kenya Ghana Trinidad and Tobago Groningen Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar Saint Lucia East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Gelderland Guatemala Tunisia Kuwait Jordan Friesland Liberia Libya Cape Verde Togo Tonga Spain Sao Tomé and Príncipe Tuvalu Lebanon Chile Tajikistan Thailand Zambia
Italy, Brazil and United States of America have atleast 1 literary works and hymns as their national anthem
Italy Brazil United States of America
action atleast
action union
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type literary work
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type hymn
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'literary work'}, {'concept': 'hymn'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) ?a WHERE { ?n rdf:type ?f . VALUES ( ?f ) { ( ontology:literary_work ) ( ontology:hymn ) } } GROUP BY ?a } . FILTER ( ?k >= 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17
P1001
Q14660
USER
Which flag presides the jurisdiction over Japan ?
(c(Q14660),P1001,Q17)
action filter_type
action find_reverse
entity Q17
relation P1001
type Q14660
[{'concept': 'Q14660'}, 'P1001', 'Q17']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q14660 . ?n property:P1001 resource:Q17 }
Japan
action filter_type
action find_reverse
entity Japan
relation applies to jurisdiction
type flag
[{'concept': 'flag'}, 'applies to jurisdiction', 'Japan']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:flag . ?n property:applies_to_jurisdiction resource:Japan }
[]
flag
Q43175
SYSTEM
Flag of Japan
Q43175
(c(Q14660),P1001,Q17)
action filter_type
action find_reverse
entity Q17
relation P1001
type Q14660
Japan [ANSWER] presides the jurisdiction over Japan
[{'concept': 'Q14660'}, 'P1001', 'Q17']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q14660 . ?n property:P1001 resource:Q17 }
Flag of Japan
Japan Flag of Japan presides the jurisdiction over Japan
Flag of Japan
action filter_type
action find_reverse
entity Japan
relation applies to jurisdiction
type flag
[{'concept': 'flag'}, 'applies to jurisdiction', 'Japan']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:flag . ?n property:applies_to_jurisdiction resource:Japan }
[]