Simple Question (Direct)
Simple Question
Q1530111
P21
Q290
USER
Which sex does Jacob Jansz. Coeman belong to ?
(Q1530111,P21,c(Q290))
action filter_type
action find
entity Q1530111
relation P21
type Q290
['Q1530111', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q1530111 property:P21 ?o . ?o rdf:type ontology:Q290 }
Jacob Jansz. Coeman
action filter_type
action find
entity Jacob Jansz. Coeman
relation gender
type sex
['Jacob Jansz. Coeman', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Jacob_Jansz._Coeman property:gender ?o . ?o rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1530111,P21,c(Q290))
action filter_type
action find
entity Q1530111
relation P21
type Q290
Is [ANSWER] does Jacob Jansz. Coeman belong to
['Q1530111', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q1530111 property:P21 ?o . ?o rdf:type ontology:Q290 }
male
Is male does Jacob Jansz. Coeman belong to
male
action filter_type
action find
entity Jacob Jansz. Coeman
relation gender
type sex
['Jacob Jansz. Coeman', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Jacob_Jansz._Coeman property:gender ?o . ?o rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q17044771 Q1530111
P19
Q56061
USER
Which administrative territories are the places of birth of Jacob Jansz. Coeman or Joan Pau Cumellas ?
OR((Q1530111,P19,c(Q56061)), (Q17044771,P19,c(Q56061)))
action filter_type
action union
action find
entity Q1530111
relation P19
action find
entity Q17044771
relation P19
type Q56061
{'OR': [['Q1530111', 'P19', {'concept': 'Q56061'}], ['Q17044771', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?k WHERE { { ?d property:P19 ?k . VALUES ( ?d ) { ( resource:Q1530111 ) ( resource:Q17044771 ) } } . ?k rdf:type ontology:Q56061 }
Joan Pau Cumellas Jacob Jansz. Coeman
action filter_type
action union
action find
entity Jacob Jansz. Coeman
relation place of birth
action find
entity Joan Pau Cumellas
relation place of birth
type administrative territorial entity
{'OR': [['Jacob Jansz. Coeman', 'place of birth', {'concept': 'administrative territorial entity'}], ['Joan Pau Cumellas', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { ?d property:place_of_birth ?k . VALUES ( ?d ) { ( resource:Jacob_Jansz._Coeman ) ( resource:Joan_Pau_Cumellas ) } } . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q727 Q1492
SYSTEM
Amsterdam, Barcelona
Q727 Q1492
OR((Q1530111,P19,c(Q56061)), (Q17044771,P19,c(Q56061)))
action filter_type
action union
action find
entity Q1530111
relation P19
action find
entity Q17044771
relation P19
type Q56061
[ANSWERS] are the places of birth of Jacob Jansz. Coeman or Joan Pau Cumellas
{'OR': [['Q1530111', 'P19', {'concept': 'Q56061'}], ['Q17044771', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?k WHERE { { ?d property:P19 ?k . VALUES ( ?d ) { ( resource:Q1530111 ) ( resource:Q17044771 ) } } . ?k rdf:type ontology:Q56061 }
Amsterdam Barcelona
Amsterdam and Barcelona are the places of birth of Jacob Jansz. Coeman or Joan Pau Cumellas
Amsterdam Barcelona
action filter_type
action union
action find
entity Jacob Jansz. Coeman
relation place of birth
action find
entity Joan Pau Cumellas
relation place of birth
type administrative territorial entity
{'OR': [['Jacob Jansz. Coeman', 'place of birth', {'concept': 'administrative territorial entity'}], ['Joan Pau Cumellas', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { ?d property:place_of_birth ?k . VALUES ( ?d ) { ( resource:Jacob_Jansz._Coeman ) ( resource:Joan_Pau_Cumellas ) } } . ?k rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1524
P190
Q56061
USER
Are Athens a sister city of those ones ?
(Q1524,P190,Q727) (Q1524,P190,Q1492)
action is_in
entity prev_answer
action find
entity Q1524
relation P190
['Q1524', 'P190', 'Q727'] ['Q1524', 'P190', 'Q1492']
ASK WHERE { resource:Q1524 property:P190 ?s . VALUES ( ?s ) { ( resource:Q727 ) ( resource:Q1492 ) } }
Athens
action is_in
entity prev_answer
action find
entity Athens
relation sister city
['Athens', 'sister city', 'Amsterdam'] ['Athens', 'sister city', 'Barcelona']
ASK WHERE { resource:Athens property:sister_city ?s . VALUES ( ?s ) { ( resource:Amsterdam ) ( resource:Barcelona ) } }
[]
administrative territorial entity
SYSTEM
YES
(Q1524,P190,Q727) (Q1524,P190,Q1492)
action is_in
entity prev_answer
action find
entity Q1524
relation P190
[ANSWER]
['Q1524', 'P190', 'Q727'] ['Q1524', 'P190', 'Q1492']
ASK WHERE { resource:Q1524 property:P190 ?s . VALUES ( ?s ) { ( resource:Q727 ) ( resource:Q1492 ) } }
Yes
action is_in
entity prev_answer
action find
entity Athens
relation sister city
['Athens', 'sister city', 'Amsterdam'] ['Athens', 'sister city', 'Barcelona']
ASK WHERE { resource:Athens property:sister_city ?s . VALUES ( ?s ) { ( resource:Amsterdam ) ( resource:Barcelona ) } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q8423
P1441
Q15416 Q838948 Q502895
USER
Which people are featured in approximately the same number of television programs or works of art as Cyrus the Great ?
(c(Q502895),P1441,c(Q15416)|c(Q838948))
action approx
action union
action find_tuple_counts
relation P1441
type Q502895
type Q15416
action find_tuple_counts
relation P1441
type Q502895
type Q838948
action count
action filter_multi_types
action find
entity Q8423
relation P1441
type Q15416
type Q838948
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q15416'}, {'concept': 'Q838948'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) ?l WHERE { VALUES ( ?y ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } . ?o rdf:type ?y } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { { ?a rdf:type ?h . VALUES ( ?h ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } } . resource:Q8423 property:P1441 ?a } } . FILTER ( ?r = ?v ) }
Cyrus the Great
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 work of art
action count
action filter_multi_types
action find
entity Cyrus the Great
relation present in work
type television program
type work of art
[{'concept': 'common name'}, 'present in work', [{'concept': 'television program'}, {'concept': 'work of art'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) ?l WHERE { VALUES ( ?y ) { ( ontology:television_program ) ( ontology:work_of_art ) } . ?o rdf:type ?y } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { { ?a rdf:type ?h . VALUES ( ?h ) { ( ontology:television_program ) ( ontology:work_of_art ) } } . resource:Cyrus_the_Great property:present_in_work ?a } } . FILTER ( ?r = ?v ) }
[]
television program work of art common name
Q41370 Q17457 Q110436
SYSTEM
David, Donald Knuth, Cory Doctorow
Q41863 Q603233 Q660359 Q2447493 Q80048 Q529984 Q1143157 Q4430779 Q1341397 Q249381 Q232525 Q194064 Q240258 Q466687 Q7307192 Q321469 Q18699270 Q319116 Q18699272 Q12591 Q213633 Q131195 Q221514 Q30914 Q2426699 Q937827 Q4057937 Q214648 Q2574151 Q160116 Q785349 Q2052042 Q318912 Q18699312 Q3858588 Q4154984 Q4006447 Q363623 Q211663 Q176125 Q2451581 Q2046277 Q8423 Q715713 Q1938388 Q2040793 Q673959 Q185801 Q6239779 Q125102 Q34428 Q2033697 Q954820 Q244912 Q313216 Q313214 Q645796 Q361636 Q205523 Q1281177 Q311556 Q294192 Q560559 Q807236 Q1867479 Q134646 Q2256348 Q879668 Q1686571 Q1675214 Q2170784 Q188794 Q844433 Q28730 Q200902 Q3798672 Q8413 Q2600794 Q126689 Q2282686 Q459606 Q145746 Q437417 Q463934 Q721295 Q3778878 Q3774081 Q1403627 Q1133523 Q1348720 Q3591188 Q716237 Q2264125 Q608841 Q1133337 Q41370 Q200637 Q2124082 Q81422 Q3187975 Q2116944 Q3783913 Q2137929 Q315276 Q946939 Q888890 Q3148218 Q515828 Q1771358 Q923021 Q272277 Q460763 Q205372 Q715547 Q717814 Q3745274 Q3867479 Q830183 Q1446 Q1641601 Q6577515 Q63070 Q7493584 Q19348839 Q1300996 Q2073479 Q851686 Q1333225 Q40662 Q206238 Q400294 Q2723049 Q922184 Q1093885 Q156328 Q3785031 Q1768161 Q2578955 Q6323112 Q171724 Q3010053 Q889694 Q1851709 Q8027483 Q816397 Q164889 Q27621044 Q1380878 Q16879711 Q366070 Q2038223 Q1377025 Q2276030 Q313415 Q270438 Q360378 Q2711883 Q363660 Q665541 Q1516550 Q886399 Q840401 Q1341779 Q326585 Q109920 Q536019 Q213850 Q74891 Q45090 Q972487 Q336832 Q313395 Q1941782 Q2304442 Q8581 Q2651263 Q1542853 Q209793 Q1808889 Q587893 Q2685920 Q256076 Q184273 Q107626 Q205365 Q477527 Q1091513 Q2601106 Q18699310 Q62788 Q2292243 Q2448083 Q313421 Q313423 Q633681 Q362021 Q2296791 Q262766 Q1947936 Q225198 Q211396 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 Q2487300 Q319049 Q283466 Q18699300 Q9441 Q18699268 Q17457 Q786748 Q229702 Q574641 Q2590260 Q2047062 Q599907 Q1227361 Q282220 Q313237
(c(Q502895),P1441,c(Q15416)|c(Q838948))
action approx
action union
action find_tuple_counts
relation P1441
type Q502895
type Q15416
action find_tuple_counts
relation P1441
type Q502895
type Q838948
action count
action filter_multi_types
action find
entity Q8423
relation P1441
type Q15416
type Q838948
[ANSWERS] are featured in approximately the same number of television programs or works of art as Cyrus the Great
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q15416'}, {'concept': 'Q838948'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) ?l WHERE { VALUES ( ?y ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } . ?o rdf:type ?y } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { { ?a rdf:type ?h . VALUES ( ?h ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } } . resource:Q8423 property:P1441 ?a } } . FILTER ( ?r = ?v ) }
Halga Julius Asclepiodotus Cecco Angiolieri Ferrex Al Capone Eric Anundsson Jair Immanuel Michal Markandeya Theodelinda Ezekiel Olof Björnsson Damaris Refil Abishag Achim Nathan Eliud Nebuchadnezzar II Deborah Constantius Chlorus Manoah Ahaz Dyfnwal Moelmud Delilah Adoniram Samson Sisillius III Alexander III Cangrande I della Scala Mempricius Eric the Victorious Jacob Mino da San Quirico Kai Darab Urianus Cassivellaunus Rehoboam Gideon Cordelia of Britain Parikshit Cyrus the Great Salvatore Maranzano Miriam Reu Leil Mikhail Kutuzov John Hooper Necho II Philip Sisillius I Yael Hezekiah Uzziah Ahaziah of Judah Ibzan Amnon Zipporah Beowulf Allectus Guy of Lusignan Constans II Barak Jago of Britain Boniface VIII Shealtiel Björn Ironside Jehu Ithamar Anund Uppsale Isaiah Kenan 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 Erik Refilsson Song Jiang Bladud Arvirargus Abner David Japheth Azzo VIII d'Este, Marquis of Ferrara Noah Judith Wealhþeow Heardred Gurgustius Agilulf Phut Nahor Ignacy Przybyszewski Tasciovanus Salomon Gorboduc Bathsheba Benjamin 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 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 Davy Brown Vortimer Sage Animandaya George William Russell Amminadab Bharata Archmail 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 Constantine III Kimarcus Sisillius II Bledudo Cunedagius Zedekiah Seth Cain Amram Son of Gorbonianus Rukmi Matthan Jethro Rivallo Brutus Greenshield Abel Amon of Judah Björn Eriksson Eli Molly Bloom Junia Beldgabred Belshazzar Magnus Maximus 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 Cunedda Jeconiah Roger of Lauria Eleazar Gautama Buddha Zadok Donald Knuth Pedro González de Mendoza Ham Balaam 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 approximately the same number of television programs or works of art as Cyrus the Great
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 work of art
action count
action filter_multi_types
action find
entity Cyrus the Great
relation present in work
type television program
type work of art
[{'concept': 'common name'}, 'present in work', [{'concept': 'television program'}, {'concept': 'work of art'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) ?l WHERE { VALUES ( ?y ) { ( ontology:television_program ) ( ontology:work_of_art ) } . ?o rdf:type ?y } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { { ?a rdf:type ?h . VALUES ( ?h ) { ( ontology:television_program ) ( ontology:work_of_art ) } } . resource:Cyrus_the_Great property:present_in_work ?a } } . FILTER ( ?r = ?v ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q2137929
P1441
Q15416 Q838948 Q502895
USER
And what about Gurgustius?
(c(Q502895),P1441,c(Q15416)|c(Q838948))
action approx
action union
action find_tuple_counts
relation P1441
type Q502895
type Q15416
action find_tuple_counts
relation P1441
type Q502895
type Q838948
action count
action filter_multi_types
action find
entity Q2137929
relation P1441
type Q15416
type Q838948
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q15416'}, {'concept': 'Q838948'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) ?s WHERE { { ?s property:P1441 ?m . ?s rdf:type ontology:Q502895 . ?m rdf:type ontology:Q15416 } UNION { ?s property:P1441 ?m . ?m rdf:type ontology:Q838948 . ?s rdf:type ontology:Q502895 } } GROUP BY ?s } . FILTER ( ?r = ?w ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { resource:Q2137929 property:P1441 ?a . { { ?a rdf:type ontology:Q15416 } UNION { ?a rdf:type ontology:Q838948 } } } } }
Gurgustius
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 work of art
action count
action filter_multi_types
action find
entity Gurgustius
relation present in work
type television program
type work of art
[{'concept': 'common name'}, 'present in work', [{'concept': 'television program'}, {'concept': 'work of art'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) ?s WHERE { { ?s property:present_in_work ?m . ?s rdf:type ontology:common_name . ?m rdf:type ontology:television_program } UNION { ?s property:present_in_work ?m . ?m rdf:type ontology:work_of_art . ?s rdf:type ontology:common_name } } GROUP BY ?s } . FILTER ( ?r = ?w ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { resource:Gurgustius property:present_in_work ?a . { { ?a rdf:type ontology:television_program } UNION { ?a rdf:type ontology:work_of_art } } } } }
[]
television program work of art common name
Q41370 Q17457 Q110436
SYSTEM
David, Donald Knuth, Cory Doctorow
Q41863 Q603233 Q660359 Q2447493 Q80048 Q529984 Q1143157 Q4430779 Q1341397 Q249381 Q232525 Q194064 Q240258 Q466687 Q7307192 Q321469 Q18699270 Q319116 Q18699272 Q12591 Q213633 Q131195 Q221514 Q30914 Q2426699 Q937827 Q4057937 Q214648 Q2574151 Q160116 Q785349 Q2052042 Q318912 Q18699312 Q3858588 Q4154984 Q4006447 Q363623 Q211663 Q176125 Q2451581 Q2046277 Q8423 Q715713 Q1938388 Q2040793 Q673959 Q185801 Q6239779 Q125102 Q34428 Q2033697 Q954820 Q244912 Q313216 Q313214 Q645796 Q361636 Q205523 Q1281177 Q311556 Q294192 Q560559 Q807236 Q1867479 Q134646 Q2256348 Q879668 Q1686571 Q1675214 Q2170784 Q188794 Q844433 Q28730 Q200902 Q3798672 Q8413 Q2600794 Q126689 Q2282686 Q459606 Q145746 Q437417 Q463934 Q721295 Q3778878 Q3774081 Q1403627 Q1133523 Q1348720 Q3591188 Q716237 Q2264125 Q608841 Q1133337 Q41370 Q200637 Q2124082 Q81422 Q3187975 Q2116944 Q3783913 Q2137929 Q315276 Q946939 Q888890 Q3148218 Q515828 Q1771358 Q923021 Q272277 Q460763 Q205372 Q715547 Q717814 Q3745274 Q3867479 Q830183 Q1446 Q1641601 Q6577515 Q63070 Q7493584 Q19348839 Q1300996 Q2073479 Q851686 Q1333225 Q40662 Q206238 Q400294 Q2723049 Q922184 Q1093885 Q156328 Q3785031 Q1768161 Q2578955 Q6323112 Q171724 Q3010053 Q889694 Q1851709 Q8027483 Q816397 Q164889 Q27621044 Q1380878 Q16879711 Q366070 Q2038223 Q1377025 Q2276030 Q313415 Q270438 Q360378 Q2711883 Q363660 Q665541 Q1516550 Q886399 Q840401 Q1341779 Q326585 Q109920 Q536019 Q213850 Q74891 Q45090 Q972487 Q336832 Q313395 Q1941782 Q2304442 Q8581 Q2651263 Q1542853 Q209793 Q1808889 Q587893 Q2685920 Q256076 Q184273 Q107626 Q205365 Q477527 Q1091513 Q2601106 Q18699310 Q62788 Q2292243 Q2448083 Q313421 Q313423 Q633681 Q362021 Q2296791 Q262766 Q1947936 Q225198 Q211396 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 Q2487300 Q319049 Q283466 Q18699300 Q9441 Q18699268 Q17457 Q786748 Q229702 Q574641 Q2590260 Q2047062 Q599907 Q1227361 Q282220 Q313237
(c(Q502895),P1441,c(Q15416)|c(Q838948))
action approx
action union
action find_tuple_counts
relation P1441
type Q502895
type Q15416
action find_tuple_counts
relation P1441
type Q502895
type Q838948
action count
action filter_multi_types
action find
entity Q2137929
relation P1441
type Q15416
type Q838948
[ANSWERS]
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q15416'}, {'concept': 'Q838948'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) ?s WHERE { { ?s property:P1441 ?m . ?s rdf:type ontology:Q502895 . ?m rdf:type ontology:Q15416 } UNION { ?s property:P1441 ?m . ?m rdf:type ontology:Q838948 . ?s rdf:type ontology:Q502895 } } GROUP BY ?s } . FILTER ( ?r = ?w ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { resource:Q2137929 property:P1441 ?a . { { ?a rdf:type ontology:Q15416 } UNION { ?a rdf:type ontology:Q838948 } } } } }
Halga Julius Asclepiodotus Cecco Angiolieri Ferrex Al Capone Eric Anundsson Jair Immanuel Michal Markandeya Theodelinda Ezekiel Olof Björnsson Damaris Refil Abishag Achim Nathan Eliud Nebuchadnezzar II Deborah Constantius Chlorus Manoah Ahaz Dyfnwal Moelmud Delilah Adoniram Samson Sisillius III Alexander III Cangrande I della Scala Mempricius Eric the Victorious Jacob Mino da San Quirico Kai Darab Urianus Cassivellaunus Rehoboam Gideon Cordelia of Britain Parikshit Cyrus the Great Salvatore Maranzano Miriam Reu Leil Mikhail Kutuzov John Hooper Necho II Philip Sisillius I Yael Hezekiah Uzziah Ahaziah of Judah Ibzan Amnon Zipporah Beowulf Allectus Guy of Lusignan Constans II Barak Jago of Britain Boniface VIII Shealtiel Björn Ironside Jehu Ithamar Anund Uppsale Isaiah Kenan 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 Erik Refilsson Song Jiang Bladud Arvirargus Abner David Japheth Azzo VIII d'Este, Marquis of Ferrara Noah Judith Wealhþeow Heardred Gurgustius Agilulf Phut Nahor Ignacy Przybyszewski Tasciovanus Salomon Gorboduc Bathsheba Benjamin 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 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 Davy Brown Vortimer Sage Animandaya George William Russell Amminadab Bharata Archmail 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 Constantine III Kimarcus Sisillius II Bledudo Cunedagius Zedekiah Seth Cain Amram Son of Gorbonianus Rukmi Matthan Jethro Rivallo Brutus Greenshield Abel Amon of Judah Björn Eriksson Eli Molly Bloom Junia Beldgabred Belshazzar Magnus Maximus 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 Cunedda Jeconiah Roger of Lauria Eleazar Gautama Buddha Zadok Donald Knuth Pedro González de Mendoza Ham Balaam Ahijah the Shilonite Marius of Britain Baruch ben Neriah John of Procida Judah Amaziah of Judah
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 work of art
action count
action filter_multi_types
action find
entity Gurgustius
relation present in work
type television program
type work of art
[{'concept': 'common name'}, 'present in work', [{'concept': 'television program'}, {'concept': 'work of art'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) ?s WHERE { { ?s property:present_in_work ?m . ?s rdf:type ontology:common_name . ?m rdf:type ontology:television_program } UNION { ?s property:present_in_work ?m . ?m rdf:type ontology:work_of_art . ?s rdf:type ontology:common_name } } GROUP BY ?s } . FILTER ( ?r = ?w ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { resource:Gurgustius property:present_in_work ?a . { { ?a rdf:type ontology:television_program } UNION { ?a rdf:type ontology:work_of_art } } } } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q17457
P50
Q2342494
USER
Which collectables were written by that person ?
(c(Q2342494),P50,Q17457)
action filter_type
action find_reverse
entity Q17457
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q17457']
SELECT DISTINCT ?a WHERE { ?a property:P50 resource:Q17457 . ?a rdf:type ontology:Q2342494 }
Donald Knuth
action filter_type
action find_reverse
entity Donald Knuth
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Donald Knuth']
SELECT DISTINCT ?a WHERE { ?a property:author resource:Donald_Knuth . ?a rdf:type ontology:collectable }
[]
collectable
Clarification for simple ques.
Q41370
SYSTEM
Did you mean David ?
Q41370 Q17457 Q110436
(c(Q2342494),P50,Q41370) (c(Q2342494),P50,Q17457) (c(Q2342494),P50,Q110436)
[ANSWER]
[{'concept': 'Q2342494'}, 'P50', 'Q41370'] [{'concept': 'Q2342494'}, 'P50', 'Q17457'] [{'concept': 'Q2342494'}, 'P50', 'Q110436']
SELECT DISTINCT ?a WHERE { ?a property:P50 resource:Q17457 . ?a rdf:type ontology:Q2342494 }
David Donald Knuth Cory Doctorow
Did you mean David ?
David
[{'concept': 'collectable'}, 'author', 'David'] [{'concept': 'collectable'}, 'author', 'Donald Knuth'] [{'concept': 'collectable'}, 'author', 'Cory Doctorow']
SELECT DISTINCT ?a WHERE { ?a property:author resource:Donald_Knuth . ?a rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
USER
No, I meant Donald Knuth. Could you tell me the answer for that?
(c(Q2342494),P50,Q17457)
Q17457
[{'concept': 'Q2342494'}, 'P50', 'Q17457']
[{'concept': 'collectable'}, 'author', 'Donald Knuth']
[]
Q19595428 Q82438 Q1124361
SYSTEM
The TeXbook, The Art of Computer Programming, Concrete Mathematics
Q19595428 Q82438 Q1124361 Q24845083 Q7784408
(c(Q2342494),P50,Q17457)
action filter_type
action find_reverse
entity Q17457
relation P50
type Q2342494
[ANSWERS] were written by that person
[{'concept': 'Q2342494'}, 'P50', 'Q17457']
SELECT DISTINCT ?a WHERE { ?a property:P50 resource:Q17457 . ?a rdf:type ontology:Q2342494 }
The TeXbook The Art of Computer Programming Concrete Mathematics Surreal Numbers Things a Computer Scientist Rarely Talks About
The TeXbook, The Art of Computer Programming and Concrete Mathematics were written by that person
The TeXbook The Art of Computer Programming Concrete Mathematics
action filter_type
action find_reverse
entity Donald Knuth
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Donald Knuth']
SELECT DISTINCT ?a WHERE { ?a property:author resource:Donald_Knuth . ?a rdf:type ontology:collectable }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P361
Q838948 Q49447 Q2342494
USER
How many collectables are a portion of around the same number of works of art and world views as that collectable ?
(c(Q2342494),P361,c(Q838948)|c(Q49447))
[{'concept': 'Q2342494'}, 'P361', [{'concept': 'Q838948'}, {'concept': 'Q49447'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:P361 ?y } UNION { ?z property:P361 ?x } } . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q838948 . ?x rdf:type ontology:Q49447 }
[{'concept': 'collectable'}, 'part of', [{'concept': 'work of art'}, {'concept': 'world view'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:part_of ?y } UNION { ?z property:part_of ?x } } . ?z rdf:type ontology:collectable . ?y rdf:type ontology:work_of_art . ?x rdf:type ontology:world_view }
[]
work of art world view collectable
Comparative|Count over More/Less|Mult. entity type|Clarification
Q82438
SYSTEM
Did you mean The Art of Computer Programming ?
(c(Q2342494),P361,c(Q838948)|c(Q49447))
[ANSWER]
[{'concept': 'Q2342494'}, 'P361', [{'concept': 'Q838948'}, {'concept': 'Q49447'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:P361 ?y } UNION { ?z property:P361 ?x } } . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q838948 . ?x rdf:type ontology:Q49447 }
Did you mean The Art of Computer Programming ?
The Art of Computer Programming
[{'concept': 'collectable'}, 'part of', [{'concept': 'work of art'}, {'concept': 'world view'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:part_of ?y } UNION { ?z property:part_of ?x } } . ?z rdf:type ontology:collectable . ?y rdf:type ontology:work_of_art . ?x rdf:type ontology:world_view }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant The TeXbook. Could you tell me the answer for that?
(c(Q2342494),P361,c(Q838948)|c(Q49447))
Q19595428
[{'concept': 'Q2342494'}, 'P361', [{'concept': 'Q838948'}, {'concept': 'Q49447'}]]
[{'concept': 'collectable'}, 'part of', [{'concept': 'work of art'}, {'concept': 'world view'}]]
[]
SYSTEM
328
Q2996964 Q74362 Q4925216 Q3104141 Q2092894 Q1951307 Q2966760 Q70806 Q12345459 Q919333 Q19526910 Q27146080 Q16466017 Q21480028 Q1142149 Q4856417 Q7716613 Q24288607 Q681064 Q24042668 Q17320538 Q1782122 Q16959950 Q3556303 Q4498932 Q27146248 Q5120686 Q21608408 Q340401 Q24042667 Q3443368 Q10428750 Q10428753 Q10428755 Q7730032 Q7760399 Q7741197 Q10428759 Q10428758 Q27146165 Q27146164 Q20828365 Q27146162 Q27146160 Q11932301 Q27276676 Q24061362 Q10428757 Q240617 Q19693152 Q2873076 Q7939693 Q503921 Q3297737 Q2631465 Q2742986 Q10479848 Q2869417 Q3140719 Q1768515 Q17007235 Q2155078 Q12148448 Q3828767 Q3828766 Q1250822 Q502724 Q21344426 Q21088242 Q3520218 Q20828368 Q1235943 Q1195444 Q503325 Q2718331 Q27146173 Q10428746 Q131101 Q27146146 Q924455 Q15093905 Q15732180 Q3253189 Q27146131 Q6113985 Q1138569 Q191575 Q1138565 Q949914 Q2719097 Q503793 Q17007320 Q2700021 Q1529231 Q3235771 Q17640587 Q513017 Q20858214 Q4712972 Q2543893 Q4712974 Q27146154 Q27146145 Q704036 Q4509219 Q7601035 Q3208707 Q6711922 Q302026 Q16680553 Q11989533 Q3391157 Q11989531 Q7987063 Q2742935 Q261728 Q14592529 Q502633 Q6075922 Q884010 Q27146103 Q27146102 Q2978962 Q8030203 Q21100459 Q27146143 Q27536656 Q11932302 Q6075928 Q3064139 Q2566125 Q2818108 Q2729946 Q2572925 Q17742418 Q3481679 Q2832091 Q19562501 Q3831812 Q19480579 Q3048987 Q27670148 Q339923 Q10308605 Q10483269 Q5859072 Q6075931 Q19830624 Q2564464 Q10656154 Q6075934 Q6075937 Q18620989 Q3223782 Q27146114 Q70827 Q27146112 Q11681262 Q245248 Q10597541 Q27146170 Q3206807 Q4077366 Q27146118 Q27146096 Q22016594 Q19064532 Q1406564 Q3107447 Q2713307 Q776551 Q244850 Q17062225 Q24042665 Q2730411 Q5114249 Q27146125 Q2797722 Q21684221 Q27146159 Q18123777 Q27146168 Q3094928 Q73588 Q4849870 Q1932742 Q27146129 Q1148214 Q16171003 Q16466026 Q784710 Q18620270 Q27277832 Q2668727 Q27146127 Q2718088 Q6075942 Q1373644 Q22084376 Q19082746 Q21601983 Q666405 Q15732178 Q27123118 Q3140743 Q10339573 Q2704213 Q10585537 Q26236446 Q1090878 Q4166069 Q1773497 Q27145592 Q900595 Q10428756 Q7071501 Q27146253 Q3521860 Q7837612 Q684818 Q4296506 Q340607 Q17356470 Q2740921 Q3563380 Q2060409 Q2563786 Q8265 Q2818316 Q1538580 Q22084670 Q17321009 Q3289114 Q2733503 Q4712973 Q16682825 Q5207954 Q16210849 Q5204382 Q10428761 Q230230 Q27095334 Q10428762 Q21856107 Q21856106 Q17356468 Q17356469 Q2532000 Q26236183 Q5364958 Q5376064 Q3522113 Q2734109 Q19595428 Q663026 Q3825086 Q3470915 Q7763420 Q3521990 Q3574345 Q17145778 Q17007474 Q8033746 Q16651936 Q503974 Q272530 Q3481081 Q17640295 Q10483210 Q605018 Q485206 Q6075964 Q6075969 Q22084669 Q967862 Q6711920 Q188563 Q503476 Q17007201 Q18366291 Q131068 Q875313 Q27145973 Q17638774 Q21686627 Q18230220 Q3224023 Q17042121 Q181937 Q5451294 Q10714826 Q151337 Q42040 Q19952632 Q10585535 Q17631331 Q27146092 Q19950949 Q896201 Q27146095 Q24288611 Q6075966 Q5597960 Q27146098 Q3223995 Q27146150 Q16318793 Q18621012 Q6075975 Q377466 Q3617901 Q6075973 Q485217 Q467139 Q2627288 Q27146089 Q3538640 Q16777454 Q5514819 Q3298903 Q7723069 Q21725116 Q27146152 Q7487677 Q3305214 Q27146156 Q3521953 Q7270552
(c(Q2342494),P361,c(Q838948)|c(Q49447))
[ANSWER]
[{'concept': 'Q2342494'}, 'P361', [{'concept': 'Q838948'}, {'concept': 'Q49447'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:P361 ?y } UNION { ?z property:P361 ?x } } . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q838948 . ?x rdf:type ontology:Q49447 }
Horn of Valere Excession Blanquerna La Fausse Maîtresse Illusions perdues Chronicle of 754 Chronicle of Pedro IV of Aragon Romance of the Three Kingdoms Beletra Almanako N-ro 1 (Septembro 2007) British Guiana 1c magenta Book of the Order of Chivalry Oracions e contemplacions de l'enteniment Serenity Liber de ascensu et descensu intellectus La Peau de chagrin Banknotes of the Romanian leu The Best American Magazine Writing 2007 The Other Way Round Une double famille Liber de fine El Ochocientos. Profesiones e instituciones civiles M*A*S*H novels A Shot at History Sur les traces des bergers dans les Basses Pyrénées Hoity Toity Ars compendiosa Cinema 1: The Movement Image Systema Naturae. 10th edition, Volume 1 The Book of Lost Tales Llibre de santa Maria Histoire de la poésie française. Vol. 6-III Bert Babyface Bert badbojen Bert får scenskräck! The Devoted Friend The Return of Conan The Hydrogen Sonata Bert och badbrudarna Bert och bacillerna Tractatus de anima Tractatus de retentiva La reine noire Quaestiones per Artem demonstrativam seu inventivam solubiles Compendium seu commentum Artis demonstrativae Felix or the Book of Wonders Liber de majori fine intellectus, amoris et honoris South Africa, Rhodesia and the High Commission Territories Bert och Heman Hunters Le Pere Goriot Leben und Sterben unserer jüdischen Mitbürger in Königswinter Another Study of a Woman Voices from Chernobyl The War of the Jewels Massimilla Doni Les Chouans Honorine Eddie och Maxon Jaxon L'héritière Horrid Mysteries The Voyage of the Beagle Isaac Asimov Presents The Great SF Stories 10 On Youth, Old Age, Life and Death, and Respiration Coins of the Ukrainian hryvnia Isaac Asimov Presents The Great SF Stories 1 Isaac Asimov Presents The Great SF Stories 3 Taras Bulba The Treason of Isengard Percy Jackson's Greek Heroes War's Unwomanly Face The Castle of Wolfenbach Le maître des miroirs Anti-Oedipus Mencius The War of the Ring Béatrix Quaestiones quas quaesivit quidam frater minor Bert+Samira=sant? First Epistle of John Liber chaos Ursule Mirouët The Vampire Diaries. The Return: Shadow Souls (Chapters 22-44) The Adventures of Werner Holt (vol. 2) Coins of the Romanian leu Ars juris Upanishad Guliang Zhuan Zeremoniale Gongyang Zhuan Llibre dels fets Modeste Mignon Morgoth's Ring Isaac Asimov Presents The Great SF Stories 12 César Birotteau Splendeurs et misères des courtisanes Streams of Silver L'audiovisuel et les sciences sociales The Message Powers Alcatraz Versus the Knights of Crystallia Séraphîta Alcatraz Versus the Shattered Lens Disputatio fidelis et infidelis Lectura super figuras Artis demonstrativae Ars magna Inferno Star Trek A Woman of Thirty M*A*S*H Mania Surface Detail Histoire de la poésie française. Vol. 3 My Struggle. First book Histoire de la poésie française. Vol. 6-I My Struggle. Second book West from Home Le Contrat de mariage Consider Phlebas The Cactaceae. Volume 2 The Return of the Shadow Isaac Asimov Presents The Great SF Stories 11 Look to Windward Ars inveniendi particularia in universalibus De adventu Messiae Clermont Wolfsbane Berlin Chronicle Ars compendiosa medicinae Alcatraz Versus the Dark Talent Book of the Beasts Isaac Asimov Presents The Great SF Stories 13 Facino Cane Mémoires de deux jeunes mariées Ginette et l'ogre Les Proscrits Le Lys dans la vallée Book of the Gentile and the Three Wise Men Histoire des techniques et droits appliqués Alcatraz Versus the Evil Librarians Wikijunior: Numbers from 1 to 20 Metaphysics Crow Girl Louis Lambert Twenty Years Under the Bed Use of Weapons Joseph Smith—Matthew En ettas dagbok Crónicas navarras Isaac Asimov Presents The Great SF Stories 14 Dictionary of National Biography: Canute - Chaloner Une fille d'Ève Roberta Karlsson och kungen Isaac Asimov Presents The Great SF Stories 15 Isaac Asimov Presents The Great SF Stories 16 Eddies hus The Halfling's Gem Liber de doctrina principum Water Margin Liber de petitionibus, principiis et solutionibus All Clear Twelve Minor Prophets Neon Genesis Evangelion 1 Art amativa La Bourse Banknotes of the Ukrainian hryvnia Liber de quattuordecim articulis catholicae fidei Romanae Ecclesiae sacrosanctae Ars universalis Pissarro - Catalogue critique des peintures - Critical Catalogue of Paintings. Volume III Grey Granite When Hitler Stole Pink Rabbit Z. Marcas Paradiso Gobseck Zwirbler (novel) Space Assassin Book of contemplation in God Le Bal de Sceaux Chronopolis Book of Propositions made with the Demonstrative Art Aes Contemporary Life Epistola dedicatoria ad ducem Venetorum Best American Science and Nature Writing 2008 Ars inventiva veritatis Gambara Four Ways to Forgiveness Balakanda Colonel Chabert Liber de quaestionibus per quem modus Artis demonstrativae patefit Five Classics Ars Brevis My Own Kind of Freedom Book of Common Prayer Eddie och Johanna Compendium logicae Algazelis La Vendetta Introductoria Artis demonstrativae Le Curé de village Isaac Asimov Presents The Great SF Stories 19 Eugénie Grandet Cinema 2: The Time Image Book of Common Prayer Pissarro - Catalogue critique des peintures - Critical Catalogue of Paintings - Volume II Inversions The Adventures of Werner Holt (vol. 1) Secret History: The Story of Cryptology Hors-la-loi O Picapau Amarelo Sarrasine Mimi and the Biscuit Factory Liber de civitate mundi General Prologue Asd al-ġāba fī maʿrifat aṣ-ṣaḥāba Mount Analogue Taula d'esta Art All Tomorrow's Parties Bert och Boysen Nómina Leonesa De arte electionis The Midnight Bell Tree of Science Matter Inside Mr. Enderby The Lays of Beleriand Le Parnasse contemporain (1876) Albert Savarus Histoire de la poésie française. Vol. 2 MASH: A Novel About Three Army Doctors A Thousand Plateaus Dream of the Red Chamber Histoire de la poésie française. Vol. 5-I Brother of Sleep Histoire de la sexualité, vol. 3 : Le souci de soi The Feminist Encyclopedia of Spanish Literature: N-Z Lilāvati Un début dans la vie Alcatraz Versus the Scrivener's Bones Histoire de la poésie française. Vol. 5-II Daddy's Boy The Matter of Seggri Mastorava Bert och beundrarinnorna Zuo Zhuan A Course in Computational Algebraic Number Theory Bert och datadejten Species Plantarum. 1st Edition, Volume 2 Species Plantarum. 1st Edition, Volume 1 Le Parnasse contemporain (1866) Le Parnasse contemporain (1869) The Quest of the Absolute Liber disputationis Petri et Raimundi Kizumonogatari Enderby Outside The Orphan of the Rhine La Paix du ménage The TeXbook Le petit Nicolas Histoire de la sexualité, vol. 1 : La volonté de savoir Le Nord The Seven-Per-Cent Solution The Necromancer; or, The Tale of the Black Forest Histoire de la poésie française. Vol. 1 V: The Second Generation Isaac Asimov Presents The Great SF Stories 18 Wool Disputació de cinc savis The Peoples of Middle-earth Records of the Grand Historian Sense and Sensibilia Le dépôt légal, les institutions partenaires En barkbåt till Eddie Purgatorio Posterior Analytics Isaac Asimov Presents The Great SF Stories 4 Isaac Asimov Presents The Great SF Stories 6 Histoire de la sexualité, vol. 2 : L'usage des plaisirs Le Médecin de campagne M*A*S*H Goes to Maine Book of Zephaniah Sauron Defeated Isaac Asimov Presents The Great SF Stories 7 Blackout Book of Esther Book of Documents Llibre dels àngels Paris et l'Île-de-France Volume III: Rodents, Hares and Rabbits Best American Science and Nature Writing 2007 Mil proverbis Isaac Asimov Presents The Great SF Stories 17 I Ching Fire Vi smyger på Enok The State of the Art Revelation Ginette et le père Noël Mimi Gets a Grandpa Histoire de la poésie française. Vol. 6-II Liber principiorum theologiae Le Sud Braunbuch Liber principiorum juris A Small Person Far Away Isaac Asimov Presents The Great SF Stories 5 Graveyard Shift Liber de Sancto Spiritu Llibre d'intenció A Book Explaining the Elemental Figure of the Demonstrative Art The Mother of God Eddie hittar guld Isaac Asimov Presents The Great SF Stories 9 La Maison du chat-qui-pelote Anales toledanos Isaac Asimov Presents The Great SF Stories 8 Prior Analytics The Player of Games Historia Compostelana Liber principiorum philosophiae Histoire de la poésie française. Vol. 4 Epitome Astronomiae Copernicanae GURPS Bio-Tech Pierre Grassou The Circle Handbook of Applied Cryptography Liber super Psalmum "Quicumque vult" Star Wars: Shadows of the Empire Melmoth réconcilié Epistolae tres (ad Universitatem parisiensem, ad regem Franciae, ad quendam amicum) The Mysterious Warning, a German Tale Queen Zixi of Ix
328
[{'concept': 'collectable'}, 'part of', [{'concept': 'work of art'}, {'concept': 'world view'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:part_of ?y } UNION { ?z property:part_of ?x } } . ?z rdf:type ontology:collectable . ?y rdf:type ontology:work_of_art . ?x rdf:type ontology:world_view }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q17457
P138
Q17444909 Q1799072
USER
How many astronomical object types and methods are named after Donald Knuth ?
(c(Q17444909),P138,Q17457) (c(Q1799072),P138,Q17457)
action count
action union
action filter_type
action find_reverse
entity Q17457
relation P138
type Q17444909
action filter_type
action find_reverse
entity Q17457
relation P138
type Q1799072
[{'concept': 'Q17444909'}, 'P138', 'Q17457'] [{'concept': 'Q1799072'}, 'P138', 'Q17457']
SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { ?e rdf:type ?d . VALUES ( ?d ) { ( ontology:Q17444909 ) ( ontology:Q1799072 ) } }
Donald Knuth
action count
action union
action filter_type
action find_reverse
entity Donald Knuth
relation named after
type astronomical object type
action filter_type
action find_reverse
entity Donald Knuth
relation named after
type method
[{'concept': 'astronomical object type'}, 'named after', 'Donald Knuth'] [{'concept': 'method'}, 'named after', 'Donald Knuth']
SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { ?e rdf:type ?d . VALUES ( ?d ) { ( ontology:astronomical_object_type ) ( ontology:method ) } }
[]
astronomical object type method
SYSTEM
1 astronomical object types and 1 methods
Q2835803 Q147901
(c(Q17444909),P138,Q17457) (c(Q1799072),P138,Q17457)
action count
action union
action filter_type
action find_reverse
entity Q17457
relation P138
type Q17444909
action filter_type
action find_reverse
entity Q17457
relation P138
type Q1799072
[ANSWER]
[{'concept': 'Q17444909'}, 'P138', 'Q17457'] [{'concept': 'Q1799072'}, 'P138', 'Q17457']
SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { ?e rdf:type ?d . VALUES ( ?d ) { ( ontology:Q17444909 ) ( ontology:Q1799072 ) } }
Knuth–Bendix completion algorithm 21656 Knuth
1 astronomical object types and 1 methods
action count
action union
action filter_type
action find_reverse
entity Donald Knuth
relation named after
type astronomical object type
action filter_type
action find_reverse
entity Donald Knuth
relation named after
type method
[{'concept': 'astronomical object type'}, 'named after', 'Donald Knuth'] [{'concept': 'method'}, 'named after', 'Donald Knuth']
SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { ?e rdf:type ?d . VALUES ( ?d ) { ( ontology:astronomical_object_type ) ( ontology:method ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17457
P61
Q205961
USER
Which skill was invented or discovered by that person ?
action filter_type
action find_reverse
entity Q17457
relation P61
type Q205961
SELECT DISTINCT ?o WHERE { ?o property:P61 resource:Q17457 . ?o rdf:type ontology:Q205961 }
Donald Knuth
action filter_type
action find_reverse
entity Donald Knuth
relation discoverer or inventor
type skill
SELECT DISTINCT ?o WHERE { ?o property:discoverer_or_inventor resource:Donald_Knuth . ?o rdf:type ontology:skill }
[]
skill
Q607703
SYSTEM
literate programming
Q607703
action filter_type
action find_reverse
entity Q17457
relation P61
type Q205961
[ANSWER] was invented or discovered by that person
SELECT DISTINCT ?o WHERE { ?o property:P61 resource:Q17457 . ?o rdf:type ontology:Q205961 }
literate programming
Literate programming was invented or discovered by that person
literate programming
action filter_type
action find_reverse
entity Donald Knuth
relation discoverer or inventor
type skill
SELECT DISTINCT ?o WHERE { ?o property:discoverer_or_inventor resource:Donald_Knuth . ?o rdf:type ontology:skill }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17457
P112
Q629206
USER
Which computer language was established by that person ?
(c(Q629206),P112,Q607703)
action filter_type
action find_reverse
entity Q17457
relation P112
type Q629206
[{'concept': 'Q629206'}, 'P112', 'Q607703']
SELECT DISTINCT ?w WHERE { ?w property:P112 resource:Q17457 . ?w rdf:type ontology:Q629206 }
Donald Knuth
action filter_type
action find_reverse
entity Donald Knuth
relation founder
type computer language
[{'concept': 'computer language'}, 'founder', 'literate programming']
SELECT DISTINCT ?w WHERE { ?w property:founder resource:Donald_Knuth . ?w rdf:type ontology:computer_language }
[]
computer language
Q1141484
SYSTEM
Web
Q1141484
(c(Q629206),P112,Q607703)
action filter_type
action find_reverse
entity Q17457
relation P112
type Q629206
[ANSWER] was established by that person
[{'concept': 'Q629206'}, 'P112', 'Q607703']
SELECT DISTINCT ?w WHERE { ?w property:P112 resource:Q17457 . ?w rdf:type ontology:Q629206 }
Web
Web was established by that person
Web
action filter_type
action find_reverse
entity Donald Knuth
relation founder
type computer language
[{'concept': 'computer language'}, 'founder', 'literate programming']
SELECT DISTINCT ?w WHERE { ?w property:founder resource:Donald_Knuth . ?w rdf:type ontology:computer_language }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q17457
P184
Q502895
USER
How many people have Donald Knuth as advisor for his/her doctoral work ?
(c(Q502895),P184,Q17457)
action count
action filter_type
action find_reverse
entity Q17457
relation P184
type Q502895
[{'concept': 'Q502895'}, 'P184', 'Q17457']
SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { ?r property:P184 resource:Q17457 . ?r rdf:type ontology:Q502895 }
Donald Knuth
action count
action filter_type
action find_reverse
entity Donald Knuth
relation doctoral advisor
type common name
[{'concept': 'common name'}, 'doctoral advisor', 'Donald Knuth']
SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { ?r property:doctoral_advisor resource:Donald_Knuth . ?r rdf:type ontology:common_name }
[]
common name
SYSTEM
4
Q6830425 Q92983 Q3229792 Q7917308
(c(Q502895),P184,Q17457)
action count
action filter_type
action find_reverse
entity Q17457
relation P184
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P184', 'Q17457']
SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { ?r property:P184 resource:Q17457 . ?r rdf:type ontology:Q502895 }
Michael Fredman Robert Sedgewick Leonidas J. Guibas Vaughan Pratt
4
action count
action filter_type
action find_reverse
entity Donald Knuth
relation doctoral advisor
type common name
[{'concept': 'common name'}, 'doctoral advisor', 'Donald Knuth']
SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { ?r property:doctoral_advisor resource:Donald_Knuth . ?r rdf:type ontology:common_name }
[]