Simple Question (Direct)
Simple Question
Q5543666
P241
Q781132
USER
Which military branch contains George R. Riley as its part ?
(Q5543666,P241,c(Q781132))
action filter_type
action find
entity Q5543666
relation P241
type Q781132
['Q5543666', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?e WHERE { resource:Q5543666 property:P241 ?e . ?e rdf:type ontology:Q781132 }
George R. Riley
action filter_type
action find
entity George R. Riley
relation military branch
type military branch
['George R. Riley', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?e WHERE { resource:George_R._Riley property:military_branch ?e . ?e rdf:type ontology:military_branch }
[]
military branch
Q222595
SYSTEM
British Army
Q222595
(Q5543666,P241,c(Q781132))
action filter_type
action find
entity Q5543666
relation P241
type Q781132
[ANSWER] contains George R. Riley as its part
['Q5543666', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?e WHERE { resource:Q5543666 property:P241 ?e . ?e rdf:type ontology:Q781132 }
British Army
British Army contains George R. Riley as its part
British Army
action filter_type
action find
entity George R. Riley
relation military branch
type military branch
['George R. Riley', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?e WHERE { resource:George_R._Riley property:military_branch ?e . ?e rdf:type ontology:military_branch }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5543666
P166
Q618779
USER
Which awards were George R. Riley awarded with ?
(Q5543666,P166,c(Q618779))
action filter_type
action find
entity Q5543666
relation P166
type Q618779
['Q5543666', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?w WHERE { resource:Q5543666 property:P166 ?w . ?w rdf:type ontology:Q618779 }
George R. Riley
action filter_type
action find
entity George R. Riley
relation award received
type award
['George R. Riley', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?w WHERE { resource:George_R._Riley property:award_received ?w . ?w rdf:type ontology:award }
[]
award
Q1335064 Q1229534
SYSTEM
Military Cross, Distinguished Flying Cross
Q1335064 Q1229534
(Q5543666,P166,c(Q618779))
action filter_type
action find
entity Q5543666
relation P166
type Q618779
George R. Riley were awarded the [ANSWERS]
['Q5543666', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?w WHERE { resource:Q5543666 property:P166 ?w . ?w rdf:type ontology:Q618779 }
Military Cross Distinguished Flying Cross
George R. Riley were awarded the Military Cross and Distinguished Flying Cross
Military Cross Distinguished Flying Cross
action filter_type
action find
entity George R. Riley
relation award received
type award
['George R. Riley', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?w WHERE { resource:George_R._Riley property:award_received ?w . ?w rdf:type ontology:award }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q92183
Q618779
USER
And what about Gerhard Beil?
(Q92183,P166,c(Q618779))
action filter_type
action find
entity Q92183
relation P166
type Q618779
['Q92183', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?c WHERE { resource:Q92183 property:P166 ?c . ?c rdf:type ontology:Q618779 }
Gerhard Beil
action filter_type
action find
entity Gerhard Beil
relation award received
type award
['Gerhard Beil', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?c WHERE { resource:Gerhard_Beil property:award_received ?c . ?c rdf:type ontology:award }
[]
award
Q694401 Q514659
SYSTEM
Order of Karl Marx, Banner of Labor
Q694401 Q514659
(Q92183,P166,c(Q618779))
action filter_type
action find
entity Q92183
relation P166
type Q618779
[ANSWERS]
['Q92183', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?c WHERE { resource:Q92183 property:P166 ?c . ?c rdf:type ontology:Q618779 }
Order of Karl Marx Banner of Labor
Order of Karl Marx Banner of Labor
action filter_type
action find
entity Gerhard Beil
relation award received
type award
['Gerhard Beil', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?c WHERE { resource:Gerhard_Beil property:award_received ?c . ?c rdf:type ontology:award }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q97062
P166
Q502895
USER
Did Hermann Axen receive the award titled those ones ?
(Q97062,P166,Q694401) (Q97062,P166,Q514659)
action is_in
entity prev_answer
action find
entity Q97062
relation P166
['Q97062', 'P166', 'Q694401'] ['Q97062', 'P166', 'Q514659']
ASK WHERE { resource:Q97062 property:P166 ?k . VALUES ( ?k ) { ( resource:Q694401 ) ( resource:Q514659 ) } }
Hermann Axen
action is_in
entity prev_answer
action find
entity Hermann Axen
relation award received
['Hermann Axen', 'award received', 'Order of Karl Marx'] ['Hermann Axen', 'award received', 'Banner of Labor']
ASK WHERE { resource:Hermann_Axen property:award_received ?k . VALUES ( ?k ) { ( resource:Order_of_Karl_Marx ) ( resource:Banner_of_Labor ) } }
[]
common name
SYSTEM
YES
(Q97062,P166,Q694401) (Q97062,P166,Q514659)
action is_in
entity prev_answer
action find
entity Q97062
relation P166
[ANSWER]
['Q97062', 'P166', 'Q694401'] ['Q97062', 'P166', 'Q514659']
ASK WHERE { resource:Q97062 property:P166 ?k . VALUES ( ?k ) { ( resource:Q694401 ) ( resource:Q514659 ) } }
Yes
action is_in
entity prev_answer
action find
entity Hermann Axen
relation award received
['Hermann Axen', 'award received', 'Order of Karl Marx'] ['Hermann Axen', 'award received', 'Banner of Labor']
ASK WHERE { resource:Hermann_Axen property:award_received ?k . VALUES ( ?k ) { ( resource:Order_of_Karl_Marx ) ( resource:Banner_of_Labor ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q514659 Q69323
P1027
Q7275
USER
Does Kingdom of France (1791-1792) confer Banner of Labor ?
(Q514659,P1027,Q69323)
action is_in
entity Q69323
action find
entity Q514659
relation P1027
['Q514659', 'P1027', 'Q69323']
ASK WHERE { resource:Q514659 property:P1027 resource:Q69323 }
Banner of Labor Kingdom of France (1791-1792)
action is_in
entity Kingdom of France (1791-1792)
action find
entity Banner of Labor
relation conferred by
['Banner of Labor', 'conferred by', 'Kingdom of France (1791-1792)']
ASK WHERE { resource:Banner_of_Labor property:conferred_by resource:Kingdom_of_France_(1791-1792) }
[]
state
SYSTEM
NO
(Q514659,P1027,Q69323)
action is_in
entity Q69323
action find
entity Q514659
relation P1027
[ANSWER]
['Q514659', 'P1027', 'Q69323']
ASK WHERE { resource:Q514659 property:P1027 resource:Q69323 }
No
action is_in
entity Kingdom of France (1791-1792)
action find
entity Banner of Labor
relation conferred by
['Banner of Labor', 'conferred by', 'Kingdom of France (1791-1792)']
ASK WHERE { resource:Banner_of_Labor property:conferred_by resource:Kingdom_of_France_(1791-1792) }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1229534 Q20333 Q145
P17
Q15617994
USER
Is Distinguished Flying Cross present in Blumenholz and United Kingdom ?
(Q1229534,P17,Q20333) (Q1229534,P17,Q145)
action is_in
entity Q1229534
action intersection
action find_reverse
entity Q20333
relation P17
action find_reverse
entity Q145
relation P17
['Q1229534', 'P17', 'Q20333'] ['Q1229534', 'P17', 'Q145']
ASK WHERE { resource:Q1229534 property:P17 resource:Q20333 . resource:Q1229534 property:P17 resource:Q145 }
Distinguished Flying Cross Blumenholz United Kingdom
action is_in
entity Distinguished Flying Cross
action intersection
action find_reverse
entity Blumenholz
relation country
action find_reverse
entity United Kingdom
relation country
['Distinguished Flying Cross', 'country', 'Blumenholz'] ['Distinguished Flying Cross', 'country', 'United Kingdom']
ASK WHERE { resource:Distinguished_Flying_Cross property:country resource:Blumenholz . resource:Distinguished_Flying_Cross property:country resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q1229534,P17,Q20333) (Q1229534,P17,Q145)
action is_in
entity Q1229534
action intersection
action find_reverse
entity Q20333
relation P17
action find_reverse
entity Q145
relation P17
[ANSWER]
['Q1229534', 'P17', 'Q20333'] ['Q1229534', 'P17', 'Q145']
ASK WHERE { resource:Q1229534 property:P17 resource:Q20333 . resource:Q1229534 property:P17 resource:Q145 }
NO and YES respectively
action is_in
entity Distinguished Flying Cross
action intersection
action find_reverse
entity Blumenholz
relation country
action find_reverse
entity United Kingdom
relation country
['Distinguished Flying Cross', 'country', 'Blumenholz'] ['Distinguished Flying Cross', 'country', 'United Kingdom']
ASK WHERE { resource:Distinguished_Flying_Cross property:country resource:Blumenholz . resource:Distinguished_Flying_Cross property:country resource:United_Kingdom }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q5543666 Q20276
P27
Q15617994
USER
Is George R. Riley an inhabitant of Oncino ?
(Q5543666,P27,Q20276)
action is_in
entity Q20276
action find
entity Q5543666
relation P27
['Q5543666', 'P27', 'Q20276']
ASK WHERE { resource:Q5543666 property:P27 resource:Q20276 }
George R. Riley Oncino
action is_in
entity Oncino
action find
entity George R. Riley
relation country of citizenship
['George R. Riley', 'country of citizenship', 'Oncino']
ASK WHERE { resource:George_R._Riley property:country_of_citizenship resource:Oncino }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q5543666,P27,Q20276)
action is_in
entity Q20276
action find
entity Q5543666
relation P27
[ANSWER]
['Q5543666', 'P27', 'Q20276']
ASK WHERE { resource:Q5543666 property:P27 resource:Q20276 }
No
action is_in
entity Oncino
action find
entity George R. Riley
relation country of citizenship
['George R. Riley', 'country of citizenship', 'Oncino']
ASK WHERE { resource:George_R._Riley property:country_of_citizenship resource:Oncino }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q781132 Q874405 Q781132
USER
Which military branches are a component of atmost 2 military branches or social groups ?
(c(Q781132),P361,c(Q781132)|c(Q874405))
action atmost
action union
action find_tuple_counts
relation P361
type Q781132
type Q781132
action find_tuple_counts
relation P361
type Q781132
type Q874405
value 2
[{'concept': 'Q781132'}, 'P361', [{'concept': 'Q781132'}, {'concept': 'Q874405'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?b ) WHERE { { ?e property:P361 ?u . ?e rdf:type ontology:Q781132 . ?u rdf:type ontology:Q781132 } UNION { ?e property:P361 ?u . ?e rdf:type ontology:Q781132 . ?u rdf:type ontology:Q874405 } } GROUP BY ?e } . FILTER ( ?b <= 2 ) }
action atmost
action union
action find_tuple_counts
relation part of
type military branch
type military branch
action find_tuple_counts
relation part of
type military branch
type social group
value 2
[{'concept': 'military branch'}, 'part of', [{'concept': 'military branch'}, {'concept': 'social group'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?b ) WHERE { { ?e property:part_of ?u . ?e rdf:type ontology:military_branch . ?u rdf:type ontology:military_branch } UNION { ?e property:part_of ?u . ?e rdf:type ontology:military_branch . ?u rdf:type ontology:social_group } } GROUP BY ?e } . FILTER ( ?b <= 2 ) }
[]
military branch social group military branch
Q17597972 Q3277832 Q4419309
SYSTEM
Angolan Army, Hungarian Ground Forces, Kazakh Air and Air Defence Forces
Q222595 Q56015 Q4855270 Q704397 Q16010756 Q4114435 Q6641434 Q5290731 Q6047425 Q5370743 Q676404 Q12645011 Q1137373 Q1363476 Q248989 Q18596375 Q18601754 Q217406 Q18706531 Q18610096 Q356359 Q18610098 Q376676 Q18601907 Q2490375 Q18601902 Q2505986 Q3277832 Q15885502 Q2383264 Q1076619 Q4633784 Q2711719 Q741691 Q18668466 Q7574566 Q4114441 Q4774797 Q25436 Q1401100 Q6068085 Q3068744 Q643834 Q1370337 Q6510939 Q4637390 Q5524457 Q932840 Q192366 Q7574723 Q17597972 Q2408298 Q208711 Q3848123 Q465283 Q3848121 Q6082582 Q3480057 Q897614 Q2630039 Q2055270 Q483268 Q1815399 Q4419309 Q2387294 Q1129369 Q18615980 Q4948888 Q2258261 Q2078095 Q17812275 Q5555333 Q18612015 Q4447363 Q18612288 Q16960948 Q2055634 Q19344622 Q18611816 Q1318378 Q919292 Q17812427 Q1187401 Q488756 Q2071948 Q3124137 Q3293231 Q6025264 Q1499997 Q1188381 Q4115107 Q15059515 Q7406484 Q706042 Q1426835 Q7275540 Q2993856 Q1491482 Q457188 Q13423902 Q6479134 Q4114459 Q4114457 Q604425 Q4631091 Q2292358 Q11218 Q18640848 Q2349884 Q18643350 Q7373859 Q1358152 Q5985661 Q355771 Q1067064 Q2074039 Q267167 Q18615977 Q702116 Q17605054 Q18706999 Q1322103 Q796754 Q11322507 Q2670650 Q1799545 Q10497058 Q781360 Q18611637 Q18696932 Q18706763 Q2883880 Q1547773 Q18676717 Q16492183 Q8501879 Q18612033 Q1678316 Q557432 Q3657642 Q18600123 Q508647 Q311381 Q4867847 Q1038047 Q833040 Q2984556 Q2575188 Q4447370 Q2257572 Q4447372 Q889751 Q2704661 Q18597127 Q898671 Q2862841 Q19247539 Q701923 Q1750688 Q1311627 Q18597663 Q4114434 Q17069134 Q2083573 Q4642716 Q18696718 Q1546449 Q2626138 Q755179 Q63481 Q2745472 Q2301347 Q4709134 Q20894979 Q56018 Q9212 Q1066532 Q1046947 Q257736 Q190949 Q4447361 Q11220 Q2526431 Q2016459 Q1753805 Q17584707 Q487238 Q2594652 Q792296 Q3958034 Q1141396 Q4117226 Q682152 Q1953312 Q6019843 Q18640177 Q1951484 Q18600100 Q18640173 Q172771 Q1550893 Q18640276 Q2742227 Q675932 Q6448938 Q7125810 Q2558747 Q18642947 Q5403575 Q3079743 Q2528358 Q2640550 Q2905423 Q18669736 Q6497421 Q4939559 Q2006452 Q4925654 Q382551 Q15901085 Q2862927 Q2985739 Q4447359 Q1777326 Q163416 Q1130695 Q5610863 Q17049310 Q5957893 Q383108 Q25387 Q18640167 Q18640164 Q18619862 Q1370395 Q1366319 Q963354 Q2370391 Q2492012 Q4947401 Q151701 Q796411 Q3293247 Q588089 Q17111011 Q510534 Q18668460 Q18707076 Q2046686 Q18129370 Q1674702 Q575932 Q18707175 Q1427990 Q569328 Q16514728 Q18597159
(c(Q781132),P361,c(Q781132)|c(Q874405))
action atmost
action union
action find_tuple_counts
relation P361
type Q781132
type Q781132
action find_tuple_counts
relation P361
type Q781132
type Q874405
value 2
[ANSWERS] are a component of atmost 2 military branches or social groups
[{'concept': 'Q781132'}, 'P361', [{'concept': 'Q781132'}, {'concept': 'Q874405'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?b ) WHERE { { ?e property:P361 ?u . ?e rdf:type ontology:Q781132 . ?u rdf:type ontology:Q781132 } UNION { ?e property:P361 ?u . ?e rdf:type ontology:Q781132 . ?u rdf:type ontology:Q874405 } } GROUP BY ?e } . FILTER ( ?b <= 2 ) }
British Army German Navy Bangladesh Army Republic of China Army Djiboutian Army Royal Naval Force Royal Thai Air Force Commando Company Dominican Army German Army Special Boarding Unit Spanish Navy Wolves Libyan Army Korean People's Navy Polish Land Forces Army of Burkina Faso Congolese Navy French Navy 23rd Infantry Brigade Equatorial Guinean Army Indian Navy Equatorial Guinean Navy Albanian Naval Force Revolutionary Navy Royal Cambodian Army Revolutionary Army National Army of Venezuela Hungarian Ground Forces Spetsnaz GRU Finnish Army French Army 2nd Massachusetts Regiment Lithuanian Naval Force Royal Australian Navy National Army Force of Côte d'Ivoire Special Forces Brigade Naval Force of El Salvador Antigua and Barbuda Regiment Canadian Army Myanmar Army Iraqi Special Operations Forces Syrian Arab Army German Navy Estonian Navy Lebanese Special Operations Command 40 Commando Garud Commando Force Ukrainian Navy Royal Bahraini Army Special Service Group Navy Angolan Army Islamic Republic of Iran Navy Chilean Navy Kazakh Naval Force Russian Navy United Arab Emirates Navy Islamic Republic of Iran Air Defense Force Division Action Iraqi Army New Zealand Army Brazilian Army Aviation Command Republic of Korea Army South African Army Kazakh Air and Air Defence Forces Romanian Naval Forces Hellenic Navy Gambian Navy Botswana Ground Force Pakistan Navy Pakistan Army Brazilian Surface Fleet Ghana Army Military Health Service Lebanese Ground Forces Gabonese Navy Chadian ground forces Royal Bahrain Naval Force naval reserve force Naval Unit Republic of Fiji Military Forces Recherche Assistance Intervention Dissuasion Ecuadorian Navy Brazilian Submarine Fleet People's Liberation Army Ground Force Republic of Korea Navy Finnish Navy Dominican Navy Bangladesh Navy Ottoman Army Lithuanian Land Force Bulgarian Navy National Army of Colombia Myanmar Navy Salvadoran Army Prussian Army anti-aircraft artillery RAF Regiment Azerbaijani Navy Lao People's Navy Prussian Navy Czech Land Forces Egyptian Army Eritrean Navy Djiboutian Navy Coast Guard of Georgia 21st Continental Regiment Brazilian Army United States Marine Corps Bissau-Guinean Navy Croatian Navy Islamic Republic of Iran Ground Force Royal Brunei Land Forces Korean People's Army Ground Force Iceland Air Defence System Indian Army United States Special Operations Command Latvian Land Forces Polish Navy Gambian National Army Republic of China Navy Azerbaijani Air Defence Force 1st Mechanized Infantry Brigade Spanish Army Soviet Navy German Army Navy of the Army of the Guardians of the Islamic Revolution Philippine Army Swedish Airbase Rangers Australian Army Ethiopian Army Lao People's Army Libyan Ground Forces Barbados Regiment Groupes d'Intervention de la Police Nationale Kazakh Ground Forces Honduran Army Ghana Navy Gabonese Army Jagdkommando East German Land Forces Eritrean Army Republican Guard Volksmarine Quds Force Basque Auxiliary Navy Irish Army Italian Navy Azerbaijani Land Force Royal Danish Army Belarusian Army Belgian Land Component Tunisian Army Japan Ground Self-Defense Force Indonesian Navy Cameroon Army Iraqi Navy Congolese Army Ottoman Army German Army Brazilian Navy Syrian Navy Cape Verde National Guard Honduran Navy Force Kenya Army Royal Norwegian Navy 6th Massachusetts Regiment Kyrgyz Army Hellenic Army Armenian Army People's Liberation Army Navy National Gendarmerie Intervention Group Chilean Army Argentine Army Albanian Land Force Malian Army Joint Medical Service United States Army Brazilian Marine Corps Royal Marines Lithuanian Special Operations Force Vietnamese Independence League Algerian People's National Army United States Navy National Navy of Colombia Polish Special Forces Croatian Army Benin Army Republic of Korea Marine Corps Naval Service Belgian Naval Component Argentine Army Aviation Swedish Navy Royal Jordanian Land Force Ukrainian Ground Forces Bulgarian Land Forces Army Medical Corps Guinean Navy Georgian Land Forces Central African Army People's Army of Guinea Royal Navy Grupo Especial de Operaciones Bissau-Guinean Army Royal Saudi Navy Kenya Navy Kuwaiti Army Pakistan Marines Romanian Land Forces Army Aviation Center Ethiopian Navy Kuwait Naval Force Mexican Navy Chilean Marine Corps Lebanese Navy Jamaica Regiment Special Tasks Unit Bolivian Army Royal Danish Navy Royal Cambodian Navy Egyptian Navy Russian special operations forces Indonesian Army Egyptian Air Defense Command Austrian Land Forces Argentine Navy 1st Cavalry Army Royal Brunei Navy Ground Forces of the Army of the Guardians of the Islamic Revolution Angolan Navy Islamic Republic of Iran Army Aviation Afghan National Army Royal Canadian Navy Navy of National Defense National Army of Guatemala Georgian Naval Forces Estonian Land Forces Libyan Navy United States Naval Special Warfare Development Group Royal Bhutan Army Swedish Army Bosnian Ground Forces Kriegsmarine Italian Army Benin Naval Forces Portuguese Navy Navy of the Democratic Republic of the Congo Israeli Navy National Navy of Côte d'Ivoire Malagasy Army Cyprus Naval Command Philippine Commonwealth Army GOC Army Headquarters Royal New Zealand Navy Malawi Army Naval Detachment Women's Hospital Corps Air Force and Anti-Air Defence Brigade Tanzania Naval Command Cameroon Navy
Angolan Army, Hungarian Ground Forces and Kazakh Air and Air Defence Forces are a component of atmost 2 military branches or social groups
Angolan Army Hungarian Ground Forces Kazakh Air and Air Defence Forces
action atmost
action union
action find_tuple_counts
relation part of
type military branch
type military branch
action find_tuple_counts
relation part of
type military branch
type social group
value 2
[{'concept': 'military branch'}, 'part of', [{'concept': 'military branch'}, {'concept': 'social group'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?b ) WHERE { { ?e property:part_of ?u . ?e rdf:type ontology:military_branch . ?u rdf:type ontology:military_branch } UNION { ?e property:part_of ?u . ?e rdf:type ontology:military_branch . ?u rdf:type ontology:social_group } } GROUP BY ?e } . FILTER ( ?b <= 2 ) }
[]