Simple Question (Direct)
Simple Question
Q16105294
P241
Q781132
USER
Which military branch was Glenn E. Bultman a part of ?
(Q16105294,P241,c(Q781132))
action filter_type
action find
entity Q16105294
relation P241
type Q781132
['Q16105294', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q781132 . resource:Q16105294 property:P241 ?t }
Glenn E. Bultman
action filter_type
action find
entity Glenn E. Bultman
relation military branch
type military branch
['Glenn E. Bultman', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:military_branch . resource:Glenn_E._Bultman property:military_branch ?t }
[]
military branch
Q9212
SYSTEM
United States Army
Q9212
(Q16105294,P241,c(Q781132))
action filter_type
action find
entity Q16105294
relation P241
type Q781132
The [ANSWER] was Glenn E. Bultman a part of
['Q16105294', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q781132 . resource:Q16105294 property:P241 ?t }
United States Army
The United States Army was Glenn E. Bultman a part of
United States Army
action filter_type
action find
entity Glenn E. Bultman
relation military branch
type military branch
['Glenn E. Bultman', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:military_branch . resource:Glenn_E._Bultman property:military_branch ?t }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9212
P180
Q2342494
USER
Which collectables depict that military branch ?
(c(Q2342494),P180,Q9212)
action filter_type
action find_reverse
entity Q9212
relation P180
type Q2342494
[{'concept': 'Q2342494'}, 'P180', 'Q9212']
SELECT DISTINCT ?a WHERE { ?a property:P180 resource:Q9212 . ?a rdf:type ontology:Q2342494 }
United States Army
action filter_type
action find_reverse
entity United States Army
relation depicts
type collectable
[{'concept': 'collectable'}, 'depicts', 'United States Army']
SELECT DISTINCT ?a WHERE { ?a property:depicts resource:United_States_Army . ?a rdf:type ontology:collectable }
[]
collectable
Q15060532 Q15060596 Q15065792
SYSTEM
US Airborne Units in the Mediterranean Theater 1942-44, US Army Infantry Divisions 1942-43, World War II Order of Battle
Q15060532 Q15060596 Q15065792 Q15060548
(c(Q2342494),P180,Q9212)
action filter_type
action find_reverse
entity Q9212
relation P180
type Q2342494
[ANSWERS] depict that military branch
[{'concept': 'Q2342494'}, 'P180', 'Q9212']
SELECT DISTINCT ?a WHERE { ?a property:P180 resource:Q9212 . ?a rdf:type ontology:Q2342494 }
US Airborne Units in the Mediterranean Theater 1942-44 US Army Infantry Divisions 1942-43 World War II Order of Battle US Armored Divisions
US Airborne Units in the Mediterranean Theater 1942-44, US Army Infantry Divisions 1942-43 and World War II Order of Battle depict that military branch
US Airborne Units in the Mediterranean Theater 1942-44 US Army Infantry Divisions 1942-43 World War II Order of Battle
action filter_type
action find_reverse
entity United States Army
relation depicts
type collectable
[{'concept': 'collectable'}, 'depicts', 'United States Army']
SELECT DISTINCT ?a WHERE { ?a property:depicts resource:United_States_Army . ?a rdf:type ontology:collectable }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q15060532 Q15060596 Q15065792
P50
Q502895
USER
Who penned US Airborne Units in the Mediterranean Theater 1942-44, US Army Infantry Divisions 1942-43 and World War II Order of Battle ?
(Q15060532,P50,c(Q502895)) (Q15060596,P50,c(Q502895)) (Q15065792,P50,c(Q502895))
action union
action filter_type
action find
entity Q15060532
relation P50
type Q502895
action filter_type
action find
entity Q15060596
relation P50
type Q502895
action filter_type
action find
entity Q15065792
relation P50
type Q502895
['Q15060532', 'P50', {'concept': 'Q502895'}] ['Q15060596', 'P50', {'concept': 'Q502895'}] ['Q15065792', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { { resource:Q15060532 property:P50 ?f . ?f rdf:type ontology:Q502895 } UNION { ?f rdf:type ontology:Q502895 . resource:Q15060596 property:P50 ?f } }
US Airborne Units in the Mediterranean Theater 1942-44 US Army Infantry Divisions 1942-43 World War II Order of Battle
action union
action filter_type
action find
entity US Airborne Units in the Mediterranean Theater 1942-44
relation author
type common name
action filter_type
action find
entity US Army Infantry Divisions 1942-43
relation author
type common name
action filter_type
action find
entity World War II Order of Battle
relation author
type common name
['US Airborne Units in the Mediterranean Theater 1942-44', 'author', {'concept': 'common name'}] ['US Army Infantry Divisions 1942-43', 'author', {'concept': 'common name'}] ['World War II Order of Battle', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { { resource:US_Airborne_Units_in_the_Mediterranean_Theater_1942-44 property:author ?f . ?f rdf:type ontology:common_name } UNION { ?f rdf:type ontology:common_name . resource:US_Army_Infantry_Divisions_1942-43 property:author ?f } }
[]
common name
Q15053679 Q15060598 Q15065797
SYSTEM
Gordon L. Rottman, John J. Sayen, Jr., Shelby L. Stanton
Q15053679 Q15060598 Q15065797
(Q15060532,P50,c(Q502895)) (Q15060596,P50,c(Q502895)) (Q15065792,P50,c(Q502895))
action union
action filter_type
action find
entity Q15060532
relation P50
type Q502895
action filter_type
action find
entity Q15060596
relation P50
type Q502895
action filter_type
action find
entity Q15065792
relation P50
type Q502895
[ANSWERS] penned US Airborne Units in the Mediterranean Theater 1942-44, US Army Infantry Divisions 1942-43 and World War II Order of Battle
['Q15060532', 'P50', {'concept': 'Q502895'}] ['Q15060596', 'P50', {'concept': 'Q502895'}] ['Q15065792', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { { resource:Q15060532 property:P50 ?f . ?f rdf:type ontology:Q502895 } UNION { ?f rdf:type ontology:Q502895 . resource:Q15060596 property:P50 ?f } }
Gordon L. Rottman John J. Sayen, Jr. Shelby L. Stanton
Gordon L. Rottman, John J. Sayen, Jr. and Shelby L. Stanton penned US Airborne Units in the Mediterranean Theater 1942-44, US Army Infantry Divisions 1942-43 and World War II Order of Battle
Gordon L. Rottman John J. Sayen, Jr. Shelby L. Stanton
action union
action filter_type
action find
entity US Airborne Units in the Mediterranean Theater 1942-44
relation author
type common name
action filter_type
action find
entity US Army Infantry Divisions 1942-43
relation author
type common name
action filter_type
action find
entity World War II Order of Battle
relation author
type common name
['US Airborne Units in the Mediterranean Theater 1942-44', 'author', {'concept': 'common name'}] ['US Army Infantry Divisions 1942-43', 'author', {'concept': 'common name'}] ['World War II Order of Battle', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { { resource:US_Airborne_Units_in_the_Mediterranean_Theater_1942-44 property:author ?f . ?f rdf:type ontology:common_name } UNION { ?f rdf:type ontology:common_name . resource:US_Army_Infantry_Divisions_1942-43 property:author ?f } }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q21852301
Q502895
USER
And also tell me about How to Make Good Decisions and Be Right All the Time?
(Q21852301,P50,c(Q502895))
action filter_type
action find
entity Q21852301
relation P50
type Q502895
['Q21852301', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q21852301 property:P50 ?w . ?w rdf:type ontology:Q502895 }
How to Make Good Decisions and Be Right All the Time
action filter_type
action find
entity How to Make Good Decisions and Be Right All the Time
relation author
type common name
['How to Make Good Decisions and Be Right All the Time', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:How_to_Make_Good_Decisions_and_Be_Right_All_the_Time property:author ?w . ?w rdf:type ontology:common_name }
[]
common name
Q5980489
SYSTEM
Iain King
Q5980489
(Q21852301,P50,c(Q502895))
action filter_type
action find
entity Q21852301
relation P50
type Q502895
[ANSWER]
['Q21852301', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q21852301 property:P50 ?w . ?w rdf:type ontology:Q502895 }
Iain King
Iain King
action filter_type
action find
entity How to Make Good Decisions and Be Right All the Time
relation author
type common name
['How to Make Good Decisions and Be Right All the Time', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:How_to_Make_Good_Decisions_and_Be_Right_All_the_Time property:author ?w . ?w rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q16062408
P144
Q7725634 Q15416 Q2342494
USER
Which collectables are derived from less number of literary works and television programs than Long Way Down ?
(c(Q2342494),P144,c(Q7725634)|c(Q15416))
action less
action union
action find_tuple_counts
relation P144
type Q2342494
type Q7725634
action find_tuple_counts
relation P144
type Q2342494
type Q15416
action count
action filter_multi_types
action find
entity Q16062408
relation P144
type Q7725634
type Q15416
[{'concept': 'Q2342494'}, 'P144', [{'concept': 'Q7725634'}, {'concept': 'Q15416'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) ?g WHERE { { ?g rdf:type ontology:Q2342494 . ?z rdf:type ontology:Q7725634 . ?g property:P144 ?z } UNION { ?g property:P144 ?z . ?g rdf:type ontology:Q2342494 . ?z rdf:type ontology:Q15416 } } GROUP BY ?g } . FILTER ( ?n < ?y ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { resource:Q16062408 property:P144 ?s . { { ?s rdf:type ontology:Q15416 } UNION { ?s rdf:type ontology:Q7725634 } } } } }
Long Way Down
action less
action union
action find_tuple_counts
relation based on
type collectable
type literary work
action find_tuple_counts
relation based on
type collectable
type television program
action count
action filter_multi_types
action find
entity Long Way Down
relation based on
type literary work
type television program
[{'concept': 'collectable'}, 'based on', [{'concept': 'literary work'}, {'concept': 'television program'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) ?g WHERE { { ?g rdf:type ontology:collectable . ?z rdf:type ontology:literary_work . ?g property:based_on ?z } UNION { ?g property:based_on ?z . ?g rdf:type ontology:collectable . ?z rdf:type ontology:television_program } } GROUP BY ?g } . FILTER ( ?n < ?y ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { resource:Long_Way_Down property:based_on ?s . { { ?s rdf:type ontology:television_program } UNION { ?s rdf:type ontology:literary_work } } } } }
[]
literary work television program collectable
Q1788243 Q847426 Q3107329
SYSTEM
The Unknown Soldier, The Devotion of Suspect X, The Hitchhiker's Guide to the Galaxy
Q5385376 Q24717823 Q175020 Q26214657 Q1613936 Q23163 Q19476471 Q11513252 Q1213312 Q896294 Q7734234 Q847426 Q8057612 Q16466017 Q7762604 Q7631568 Q12040379 Q137869 Q7601035 Q6129984 Q1106479 Q18147989 Q1192034 Q1171108 Q4795644 Q15145790 Q896822 Q4656004 Q5364958 Q2659311 Q4686701 Q5979550 Q3497005 Q8071845 Q19816697 Q26706229 Q4582141 Q279676 Q4759455 Q10625094 Q11306262 Q169976 Q4189809 Q20949795 Q15096441 Q4502764 Q16154898 Q7755492 Q3611744 Q3563423 Q4657060 Q7773608 Q4317887 Q3735626 Q5241061 Q20952594 Q3831442 Q4795656 Q21203529 Q19867018 Q1605815 Q13423107 Q3107329 Q5515499 Q6522562 Q1187056 Q23682789 Q7172413 Q2316049 Q2572480 Q1788243 Q19816576
(c(Q2342494),P144,c(Q7725634)|c(Q15416))
action less
action union
action find_tuple_counts
relation P144
type Q2342494
type Q7725634
action find_tuple_counts
relation P144
type Q2342494
type Q15416
action count
action filter_multi_types
action find
entity Q16062408
relation P144
type Q7725634
type Q15416
[ANSWERS] are derived from less number of literary works and television programs than Long Way Down
[{'concept': 'Q2342494'}, 'P144', [{'concept': 'Q7725634'}, {'concept': 'Q15416'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) ?g WHERE { { ?g rdf:type ontology:Q2342494 . ?z rdf:type ontology:Q7725634 . ?g property:P144 ?z } UNION { ?g property:P144 ?z . ?g rdf:type ontology:Q2342494 . ?z rdf:type ontology:Q15416 } } GROUP BY ?g } . FILTER ( ?n < ?y ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { resource:Q16062408 property:P144 ?s . { { ?s rdf:type ontology:Q15416 } UNION { ?s rdf:type ontology:Q7725634 } } } } }
Erec y Enide Shakuntala Asterix Conquers Rome Rajmala Bored of the Rings A Scientific Romance Gweledigaethau y Bardd Cwsc Blade Runner The Heathens of Kummerow Cycle of Hatred The Fish That Saved Pittsburgh The Devotion of Suspect X You Will Go to the Moon Serenity The Scorch Trials Submarine: A Guided Tour Inside a Nuclear Warship Nanobook Germinal Star Trek James Bond and Moonraker An Inconvenient Truth Pictorum aliquot celebrium Germaniae inferioris effigies Star Wars Episode II: Attack of the Clones The Barsac Mission Around the World in 80 Days Shorter Oxford English Dictionary World of Warcraft: Beyond the Dark Portal A Colder War Kizumonogatari Pride and Prejudice and Zombies Adversary in the House I Want a Dog Star Wars Episode I: The Phantom Menace Zij-i Ilkhani Washington Stamp Grzimeks Enzyklopädie 1985 Michael Kohlhaas Android Karenina The bible of Peter Fjellstedt Samkok Northern Lights Star Wars Episode III: Revenge of the Sith Epitome of Astronomy Nightfall Halloween A Boy Scout Around the World The Other Log of Phileas Fogg Alien The Three Princes of Serendip A Glimpse of Hell The Warriors Nightbringer Black Coffee Legacy of Blood Ephemeris or Almanack based on Coppernican principles The Lexicon: An Unauthorized Guide to Harry Potter Fiction and Related Materials Around the World in Seventy-Two Days Welcome to Night Vale Baldur's Gate II: The Throne of Bhaal The Eyre Affair 1001 Vrouwen uit de Nederlandse geschiedenis The Hitchhiker's Guide to the Galaxy Gabriel's Inferno Lenin The Tailor of Panama Poems Peter & Max: A Fables Novel Revised Version The Amityville Horror The Unknown Soldier Franklin Stamp
The Unknown Soldier, The Devotion of Suspect X and The Hitchhiker's Guide to the Galaxy are derived from less number of literary works and television programs than Long Way Down
The Unknown Soldier The Devotion of Suspect X The Hitchhiker's Guide to the Galaxy
action less
action union
action find_tuple_counts
relation based on
type collectable
type literary work
action find_tuple_counts
relation based on
type collectable
type television program
action count
action filter_multi_types
action find
entity Long Way Down
relation based on
type literary work
type television program
[{'concept': 'collectable'}, 'based on', [{'concept': 'literary work'}, {'concept': 'television program'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) ?g WHERE { { ?g rdf:type ontology:collectable . ?z rdf:type ontology:literary_work . ?g property:based_on ?z } UNION { ?g property:based_on ?z . ?g rdf:type ontology:collectable . ?z rdf:type ontology:television_program } } GROUP BY ?g } . FILTER ( ?n < ?y ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { resource:Long_Way_Down property:based_on ?s . { { ?s rdf:type ontology:television_program } UNION { ?s rdf:type ontology:literary_work } } } } }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P144
Q838948
USER
How many works of art are based on that collectable ?
(c(Q838948),P144,Q3107329)
[{'concept': 'Q838948'}, 'P144', 'Q3107329']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P144 resource:Q400913 . ?z rdf:type ontology:Q838948 }
[{'concept': 'work of art'}, 'based on', "The Hitchhiker's Guide to the Galaxy"]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:based_on resource:The_Hitchhiker's_Guide_to_the_Galaxy . ?z rdf:type ontology:work_of_art }
[]
work of art
Quantitative|Count|Single entity type|Clarification
Q3107329
SYSTEM
Did you mean The Hitchhiker's Guide to the Galaxy ?
(c(Q838948),P144,Q1788243) (c(Q838948),P144,Q847426) (c(Q838948),P144,Q3107329)
[ANSWER]
[{'concept': 'Q838948'}, 'P144', 'Q1788243'] [{'concept': 'Q838948'}, 'P144', 'Q847426'] [{'concept': 'Q838948'}, 'P144', 'Q3107329']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P144 resource:Q400913 . ?z rdf:type ontology:Q838948 }
Did you mean The Hitchhiker's Guide to the Galaxy ?
The Hitchhiker's Guide to the Galaxy
[{'concept': 'work of art'}, 'based on', 'The Unknown Soldier'] [{'concept': 'work of art'}, 'based on', 'The Devotion of Suspect X'] [{'concept': 'work of art'}, 'based on', "The Hitchhiker's Guide to the Galaxy"]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:based_on resource:The_Hitchhiker's_Guide_to_the_Galaxy . ?z rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q838948),P144,Q3107329)
[{'concept': 'Q838948'}, 'P144', 'Q3107329']
[{'concept': 'work of art'}, 'based on', "The Hitchhiker's Guide to the Galaxy"]
[]
SYSTEM
1
Q836821
(c(Q838948),P144,Q3107329)
[ANSWER]
[{'concept': 'Q838948'}, 'P144', 'Q3107329']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P144 resource:Q400913 . ?z rdf:type ontology:Q838948 }
The Hitchhiker's Guide to the Galaxy
1
[{'concept': 'work of art'}, 'based on', "The Hitchhiker's Guide to the Galaxy"]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:based_on resource:The_Hitchhiker's_Guide_to_the_Galaxy . ?z rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3107329
P629
Q571
USER
Which book is an edition or translation of The Hitchhiker's Guide to the Galaxy ?
(c(Q571),P629,Q3107329)
action filter_type
action find_reverse
entity Q3107329
relation P629
type Q571
[{'concept': 'Q571'}, 'P629', 'Q3107329']
SELECT DISTINCT ?r WHERE { ?r property:P629 resource:Q3107329 . ?r rdf:type ontology:Q571 }
The Hitchhiker's Guide to the Galaxy
action filter_type
action find_reverse
entity The Hitchhiker's Guide to the Galaxy
relation edition or translation of
type book
[{'concept': 'book'}, 'edition or translation of', "The Hitchhiker's Guide to the Galaxy"]
SELECT DISTINCT ?r WHERE { ?r property:edition_or_translation_of resource:The_Hitchhiker's_Guide_to_the_Galaxy . ?r rdf:type ontology:book }
[]
book
Q20898239
SYSTEM
The Hitch Hiker's Guide to the Galaxy (1979 edition)
Q20898239
(c(Q571),P629,Q3107329)
action filter_type
action find_reverse
entity Q3107329
relation P629
type Q571
[ANSWER] is an edition or translation of The Hitchhiker's Guide to the Galaxy
[{'concept': 'Q571'}, 'P629', 'Q3107329']
SELECT DISTINCT ?r WHERE { ?r property:P629 resource:Q3107329 . ?r rdf:type ontology:Q571 }
The Hitch Hiker's Guide to the Galaxy (1979 edition)
The Hitch Hiker's Guide to the Galaxy (1979 edition) is an edition or translation of The Hitchhiker's Guide to the Galaxy
The Hitch Hiker's Guide to the Galaxy (1979 edition)
action filter_type
action find_reverse
entity The Hitchhiker's Guide to the Galaxy
relation edition or translation of
type book
[{'concept': 'book'}, 'edition or translation of', "The Hitchhiker's Guide to the Galaxy"]
SELECT DISTINCT ?r WHERE { ?r property:edition_or_translation_of resource:The_Hitchhiker's_Guide_to_the_Galaxy . ?r rdf:type ontology:book }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1788243
P136
Q1792379
USER
What can be considered as category for The Unknown Soldier ?
(Q1788243,P136,c(Q1792379))
action filter_type
action find
entity Q1788243
relation P136
type Q1792379
['Q1788243', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?r WHERE { resource:Q1788243 property:P136 ?r . ?r rdf:type ontology:Q1792379 }
The Unknown Soldier
action filter_type
action find
entity The Unknown Soldier
relation genre
type art genre
['The Unknown Soldier', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?r WHERE { resource:The_Unknown_Soldier property:genre ?r . ?r rdf:type ontology:art_genre }
[]
art genre
Q8261 Q908667
SYSTEM
novel, war novel
Q8261 Q908667
(Q1788243,P136,c(Q1792379))
action filter_type
action find
entity Q1788243
relation P136
type Q1792379
The [ANSWERS] can be considered as category for The Unknown Soldier
['Q1788243', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?r WHERE { resource:Q1788243 property:P136 ?r . ?r rdf:type ontology:Q1792379 }
novel war novel
The novel and war novel can be considered as category for The Unknown Soldier
novel war novel
action filter_type
action find
entity The Unknown Soldier
relation genre
type art genre
['The Unknown Soldier', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?r WHERE { resource:The_Unknown_Soldier property:genre ?r . ?r rdf:type ontology:art_genre }
[]