Simple Question (Direct)
Simple Question
Q171421
P607
Q198
USER
What was the war that Henry Morton Stanley took part in
(Q171421,P607,c(Q198))
action filter_type
action find
entity Q171421
relation P607
type Q198
['Q171421', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?a WHERE { resource:Q171421 property:P607 ?a . ?a rdf:type ontology:Q198 }
Henry Morton Stanley
action filter_type
action find
entity Henry Morton Stanley
relation conflict
type war
['Henry Morton Stanley', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?a WHERE { resource:Henry_Morton_Stanley property:conflict ?a . ?a rdf:type ontology:war }
[]
war
Q8676
SYSTEM
American Civil War
Q8676
(Q171421,P607,c(Q198))
action filter_type
action find
entity Q171421
relation P607
type Q198
The war that Henry Morton Stanley took part in was the [ANSWER]
['Q171421', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?a WHERE { resource:Q171421 property:P607 ?a . ?a rdf:type ontology:Q198 }
American Civil War
The war that Henry Morton Stanley took part in was the American Civil War
American Civil War
action filter_type
action find
entity Henry Morton Stanley
relation conflict
type war
['Henry Morton Stanley', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?a WHERE { resource:Henry_Morton_Stanley property:conflict ?a . ?a rdf:type ontology:war }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q171421
P921
Q191067
USER
Which article is Henry Morton Stanley a main subject of ?
(c(Q191067),P921,Q171421)
action filter_type
action find_reverse
entity Q171421
relation P921
type Q191067
[{'concept': 'Q191067'}, 'P921', 'Q171421']
SELECT DISTINCT ?b WHERE { ?b property:P921 resource:Q171421 . ?b rdf:type ontology:Q191067 }
Henry Morton Stanley
action filter_type
action find_reverse
entity Henry Morton Stanley
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Henry Morton Stanley']
SELECT DISTINCT ?b WHERE { ?b property:main_subject resource:Henry_Morton_Stanley . ?b rdf:type ontology:article }
[]
article
Q19061961
SYSTEM
Stanley, Henry Morton (DNB12)
Q19061961
(c(Q191067),P921,Q171421)
action filter_type
action find_reverse
entity Q171421
relation P921
type Q191067
Which article is Henry Morton Stanley a main subject of
[{'concept': 'Q191067'}, 'P921', 'Q171421']
SELECT DISTINCT ?b WHERE { ?b property:P921 resource:Q171421 . ?b rdf:type ontology:Q191067 }
Stanley, Henry Morton (DNB12)
Which article is Henry Morton Stanley a main subject of
Stanley, Henry Morton (DNB12)
action filter_type
action find_reverse
entity Henry Morton Stanley
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Henry Morton Stanley']
SELECT DISTINCT ?b WHERE { ?b property:main_subject resource:Henry_Morton_Stanley . ?b rdf:type ontology:article }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19061961
P50
Q502895
USER
Who penned that article ?
(Q19061961,P50,c(Q502895))
action filter_type
action find
entity Q19061961
relation P50
type Q502895
['Q19061961', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . resource:Q19061961 property:P50 ?d }
Stanley, Henry Morton (DNB12)
action filter_type
action find
entity Stanley, Henry Morton (DNB12)
relation author
type common name
['Stanley, Henry Morton (DNB12)', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . resource:Stanley,_Henry_Morton_(DNB12) property:author ?d }
[]
common name
Q7509160
SYSTEM
Sidney James Mark Low
Q7509160
(Q19061961,P50,c(Q502895))
action filter_type
action find
entity Q19061961
relation P50
type Q502895
[ANSWER] penned that article
['Q19061961', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . resource:Q19061961 property:P50 ?d }
Sidney James Mark Low
Sidney James Mark Low penned that article
Sidney James Mark Low
action filter_type
action find
entity Stanley, Henry Morton (DNB12)
relation author
type common name
['Stanley, Henry Morton (DNB12)', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . resource:Stanley,_Henry_Morton_(DNB12) property:author ?d }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7509160
P108
Q3918
USER
Which university is the employer of that person ?
(Q7509160,P108,c(Q3918))
action filter_type
action find
entity Q7509160
relation P108
type Q3918
['Q7509160', 'P108', {'concept': 'Q3918'}]
SELECT DISTINCT ?z WHERE { resource:Q7509160 property:P108 ?z . ?z rdf:type ontology:Q3918 }
Sidney James Mark Low
action filter_type
action find
entity Sidney James Mark Low
relation employer
type university
['Sidney James Mark Low', 'employer', {'concept': 'university'}]
SELECT DISTINCT ?z WHERE { resource:Sidney_James_Mark_Low property:employer ?z . ?z rdf:type ontology:university }
[]
university
Q245247
SYSTEM
King's College London
Q245247
(Q7509160,P108,c(Q3918))
action filter_type
action find
entity Q7509160
relation P108
type Q3918
[ANSWER] is the employer of that person
['Q7509160', 'P108', {'concept': 'Q3918'}]
SELECT DISTINCT ?z WHERE { resource:Q7509160 property:P108 ?z . ?z rdf:type ontology:Q3918 }
King's College London
King's College London is the employer of that person
King's College London
action filter_type
action find
entity Sidney James Mark Low
relation employer
type university
['Sidney James Mark Low', 'employer', {'concept': 'university'}]
SELECT DISTINCT ?z WHERE { resource:Sidney_James_Mark_Low property:employer ?z . ?z rdf:type ontology:university }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q171421
P138
Q699405
USER
Which dwelling has Henry Morton Stanley as its namesake ?
(c(Q699405),P138,Q171421)
action filter_type
action find_reverse
entity Q171421
relation P138
type Q699405
[{'concept': 'Q699405'}, 'P138', 'Q171421']
SELECT DISTINCT ?r WHERE { ?r property:P138 resource:Q171421 . ?r rdf:type ontology:Q699405 }
Henry Morton Stanley
action filter_type
action find_reverse
entity Henry Morton Stanley
relation named after
type dwelling
[{'concept': 'dwelling'}, 'named after', 'Henry Morton Stanley']
SELECT DISTINCT ?r WHERE { ?r property:named_after resource:Henry_Morton_Stanley . ?r rdf:type ontology:dwelling }
[]
dwelling
Q19833304
SYSTEM
Stanley Hotel, Nairobi
Q19833304
(c(Q699405),P138,Q171421)
action filter_type
action find_reverse
entity Q171421
relation P138
type Q699405
[ANSWER] has Henry Morton Stanley as its namesake
[{'concept': 'Q699405'}, 'P138', 'Q171421']
SELECT DISTINCT ?r WHERE { ?r property:P138 resource:Q171421 . ?r rdf:type ontology:Q699405 }
Stanley Hotel, Nairobi
Stanley Hotel, Nairobi has Henry Morton Stanley as its namesake
Stanley Hotel, Nairobi
action filter_type
action find_reverse
entity Henry Morton Stanley
relation named after
type dwelling
[{'concept': 'dwelling'}, 'named after', 'Henry Morton Stanley']
SELECT DISTINCT ?r WHERE { ?r property:named_after resource:Henry_Morton_Stanley . ?r rdf:type ontology:dwelling }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q715547
P1441
Q838948 Q234460 Q502895
USER
How many people are featured in greater number of works of art and texts than Mandubracius ?
(c(Q502895),P1441,c(Q838948)|c(Q234460))
action count
action greater
action union
action find_tuple_counts
relation P1441
type Q502895
type Q838948
action find_tuple_counts
relation P1441
type Q502895
type Q234460
action count
action filter_multi_types
action find
entity Q715547
relation P1441
type Q838948
type Q234460
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q838948'}, {'concept': 'Q234460'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { resource:Q715547 property:P1441 ?e . { { ?e rdf:type ontology:Q838948 } UNION { ?e rdf:type ontology:Q234460 } } } } . FILTER ( ?i > ?g ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) ?k WHERE { VALUES ( ?c ) { ( ontology:Q838948 ) ( ontology:Q234460 ) } . ?u rdf:type ?c } GROUP BY ?k } }
Mandubracius
action count
action greater
action union
action find_tuple_counts
relation present in work
type common name
type work of art
action find_tuple_counts
relation present in work
type common name
type text
action count
action filter_multi_types
action find
entity Mandubracius
relation present in work
type work of art
type text
[{'concept': 'common name'}, 'present in work', [{'concept': 'work of art'}, {'concept': 'text'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { resource:Mandubracius property:present_in_work ?e . { { ?e rdf:type ontology:work_of_art } UNION { ?e rdf:type ontology:text } } } } . FILTER ( ?i > ?g ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) ?k WHERE { VALUES ( ?c ) { ( ontology:work_of_art ) ( ontology:text ) } . ?u rdf:type ?c } GROUP BY ?k } }
[]
work of art text common name
SYSTEM
166
Q41863 Q23885172 Q1143157 Q1341397 Q194064 Q24579400 Q466687 Q321469 Q18699270 Q319116 Q18699272 Q12591 Q213633 Q221514 Q30914 Q937827 Q24624067 Q4057937 Q214648 Q18699312 Q3343834 Q211663 Q176125 Q8423 Q24577230 Q1938388 Q2040793 Q494455 Q125102 Q954820 Q244912 Q313216 Q313214 Q24622402 Q645796 Q361636 Q20656752 Q205523 Q1281177 Q1353836 Q19975705 Q807236 Q25885222 Q2256348 Q1686571 Q1675214 Q188794 Q844433 Q181538 Q24623408 Q28730 Q200902 Q3798672 Q126689 Q9077 Q145746 Q463934 Q721295 Q1403627 Q1133523 Q24624893 Q1396131 Q1133337 Q41370 Q200637 Q24625686 Q81422 Q3187975 Q2116944 Q3783913 Q946939 Q888890 Q24577318 Q24625326 Q1771358 Q25858050 Q26858752 Q272277 Q460763 Q24633210 Q205372 Q717814 Q830183 Q6577515 Q63070 Q7493584 Q1300996 Q851686 Q1333225 Q40662 Q206238 Q400294 Q922184 Q156328 Q1346246 Q3785031 Q1768161 Q6323112 Q171724 Q889694 Q8027483 Q816397 Q24625073 Q24623579 Q2038223 Q313415 Q360378 Q363660 Q665541 Q1516550 Q840401 Q37085 Q109920 Q536019 Q213850 Q74891 Q45090 Q336832 Q1941782 Q1542853 Q24577238 Q24632700 Q24626363 Q184273 Q107626 Q205365 Q24633126 Q477527 Q3658171 Q18699310 Q62788 Q4804479 Q26721185 Q313421 Q313423 Q362021 Q24623790 Q200947 Q24083251 Q262766 Q9181 Q225198 Q25923184 Q313228 Q536485 Q273517 Q3752551 Q671872 Q16845969 Q192785 Q308320 Q1030008 Q26858995 Q319049 Q18699300 Q18699268 Q372783 Q16006746 Q24626010 Q229702 Q574641 Q26858919 Q2590260 Q599907 Q282220 Q313237
(c(Q502895),P1441,c(Q838948)|c(Q234460))
action count
action greater
action union
action find_tuple_counts
relation P1441
type Q502895
type Q838948
action find_tuple_counts
relation P1441
type Q502895
type Q234460
action count
action filter_multi_types
action find
entity Q715547
relation P1441
type Q838948
type Q234460
[ANSWER]
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q838948'}, {'concept': 'Q234460'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { resource:Q715547 property:P1441 ?e . { { ?e rdf:type ontology:Q838948 } UNION { ?e rdf:type ontology:Q234460 } } } } . FILTER ( ?i > ?g ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) ?k WHERE { VALUES ( ?c ) { ( ontology:Q838948 ) ( ontology:Q234460 ) } . ?u rdf:type ?c } GROUP BY ?k } }
Halga Victor Petit Jair Michal Ezekiel Jebidiah Farnsworth Damaris Abishag Achim Nathan Eliud Nebuchadnezzar II Deborah Manoah Ahaz Delilah Bea Hansen Adoniram Samson Jacob Norman Winther Rehoboam Gideon Cyrus the Great Harriet Mutesi Miriam Reu Orville Wright Necho II Yael Hezekiah Uzziah Ahaziah of Judah Frank Fauteux Ibzan Amnon Bernard C. Webber Zipporah Beowulf Hrothgar Daniel Webster Cluff Barak James Harcourt Shealtiel Jehu Ithamar Isaiah Kenan Rudolf Abel Eldon Hanan Saul Shem Ingeld Jehoshaphat Moses Joseph Athaliah Jezebel Hrethel Jephthah Raymond Sybert Wilbur Wright Abner David Japheth Andy Fitzgerald Noah Judith Wealhþeow Heardred Phut Nahor Sara Katende Miriam Webber Salomon Helen Kingsleigh Sarah Katende Bathsheba Benjamin George "Tiny" Myers Absalom Hadadezer Eve Samuel Mary Magdalene Sheleph Ehud Mephibosheth Elon John the Baptist Elisha Ahitophel Caleb Manasseh of Judah Johnny Ringo Heoroweard Islamic views on Abraham Nahor Daniel Hygelac Wise woman of Abel Ben-Hadad I Richard Livesey Wallace Quirey Amminadab Asa of Judah Adonijah Elimelek Hosea Shamgar Laban Solomon Jotham of Judah Ecgþeow Amos Jonathan Jesse Jehoahaz of Judah Nadabe Alphaeus Robert Katende John Stello Mel Gouthro Zedekiah Seth Cain Donald Bangs Amram Phiona Mutesi Matthan Jethro Ash Vasudevan Lena Gogan Abel Amon of Judah Eli D.A. Brown Ahmad ibn Fadlan Stan the Man Junia Abraham Belshazzar Elizabeth Ham Josiah Othniel Abijah of Judah Freawaru Isaac Hygd Goliath Abdon Tamar Aloysius Kyazze Jeconiah Eleazar Zadok Adrian Cronauer James B. Donovan Ervin Maske Ham Balaam Hope Katende Ahijah the Shilonite Baruch ben Neriah Judah Amaziah of Judah
166
action count
action greater
action union
action find_tuple_counts
relation present in work
type common name
type work of art
action find_tuple_counts
relation present in work
type common name
type text
action count
action filter_multi_types
action find
entity Mandubracius
relation present in work
type work of art
type text
[{'concept': 'common name'}, 'present in work', [{'concept': 'work of art'}, {'concept': 'text'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { resource:Mandubracius property:present_in_work ?e . { { ?e rdf:type ontology:work_of_art } UNION { ?e rdf:type ontology:text } } } } . FILTER ( ?i > ?g ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) ?k WHERE { VALUES ( ?c ) { ( ontology:work_of_art ) ( ontology:text ) } . ?u rdf:type ?c } GROUP BY ?k } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q9080488 Q19833304
P17
Q15617994
USER
Which administrative territories are Stanley Hotel, Nairobi or Sumaré Atlético Clube present in ?
OR((Q19833304,P17,c(Q15617994)), (Q9080488,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q19833304
relation P17
action find
entity Q9080488
relation P17
type Q15617994
{'OR': [['Q19833304', 'P17', {'concept': 'Q15617994'}], ['Q9080488', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q9080488 property:P17 ?j } UNION { resource:Q19833304 property:P17 ?j } } . ?j rdf:type ontology:Q15617994 }
Sumaré Atlético Clube Stanley Hotel, Nairobi
action filter_type
action union
action find
entity Stanley Hotel, Nairobi
relation country
action find
entity Sumaré Atlético Clube
relation country
type designation for an administrative territorial entity
{'OR': [['Stanley Hotel, Nairobi', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Sumaré Atlético Clube', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Sumaré_Atlético_Clube property:country ?j } UNION { resource:Stanley_Hotel,_Nairobi property:country ?j } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155 Q114
SYSTEM
Brazil, Kenya
Q155 Q114
OR((Q19833304,P17,c(Q15617994)), (Q9080488,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q19833304
relation P17
action find
entity Q9080488
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q19833304', 'P17', {'concept': 'Q15617994'}], ['Q9080488', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q9080488 property:P17 ?j } UNION { resource:Q19833304 property:P17 ?j } } . ?j rdf:type ontology:Q15617994 }
Brazil Kenya
Which administrative territories are Stanley Hotel, Nairobi or Sumaré Atlético Clube present in
Brazil Kenya
action filter_type
action union
action find
entity Stanley Hotel, Nairobi
relation country
action find
entity Sumaré Atlético Clube
relation country
type designation for an administrative territorial entity
{'OR': [['Stanley Hotel, Nairobi', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Sumaré Atlético Clube', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Sumaré_Atlético_Clube property:country ?j } UNION { resource:Stanley_Hotel,_Nairobi property:country ?j } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q953
P530
Q15617994
USER
Are Zambia known to have diplomatic connections with those ones ?
(Q953,P530,Q155) (Q953,P530,Q114)
action is_in
entity prev_answer
action find
entity Q953
relation P530
['Q953', 'P530', 'Q155'] ['Q953', 'P530', 'Q114']
ASK WHERE { VALUES ( ?y ) { ( resource:Q155 ) ( resource:Q114 ) } . resource:Q953 property:P530 ?y }
Zambia
action is_in
entity prev_answer
action find
entity Zambia
relation diplomatic relation
['Zambia', 'diplomatic relation', 'Brazil'] ['Zambia', 'diplomatic relation', 'Kenya']
ASK WHERE { VALUES ( ?y ) { ( resource:Brazil ) ( resource:Kenya ) } . resource:Zambia property:diplomatic_relation ?y }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q953,P530,Q155) (Q953,P530,Q114)
action is_in
entity prev_answer
action find
entity Q953
relation P530
[ANSWER]
['Q953', 'P530', 'Q155'] ['Q953', 'P530', 'Q114']
ASK WHERE { VALUES ( ?y ) { ( resource:Q155 ) ( resource:Q114 ) } . resource:Q953 property:P530 ?y }
Yes
action is_in
entity prev_answer
action find
entity Zambia
relation diplomatic relation
['Zambia', 'diplomatic relation', 'Brazil'] ['Zambia', 'diplomatic relation', 'Kenya']
ASK WHERE { VALUES ( ?y ) { ( resource:Brazil ) ( resource:Kenya ) } . resource:Zambia property:diplomatic_relation ?y }
[]