Simple Question (Direct)
Simple Question
Q3277832
P121
Q15142889
USER
Which weapon families are managed by Hungarian Ground Forces ?
(Q3277832,P121,c(Q15142889))
action filter_type
action find
entity Q3277832
relation P121
type Q15142889
['Q3277832', 'P121', {'concept': 'Q15142889'}]
SELECT DISTINCT ?e WHERE { resource:Q3277832 property:P121 ?e . ?e rdf:type ontology:Q15142889 }
Hungarian Ground Forces
action filter_type
action find
entity Hungarian Ground Forces
relation item operated
type weapon family
['Hungarian Ground Forces', 'item operated', {'concept': 'weapon family'}]
SELECT DISTINCT ?e WHERE { resource:Hungarian_Ground_Forces property:item_operated ?e . ?e rdf:type ontology:weapon_family }
[]
weapon family
Q171908 Q897485
SYSTEM
Remington Model 870, KGP-9
Q171908 Q897485
(Q3277832,P121,c(Q15142889))
action filter_type
action find
entity Q3277832
relation P121
type Q15142889
[ANSWERS] are managed by Hungarian Ground Forces
['Q3277832', 'P121', {'concept': 'Q15142889'}]
SELECT DISTINCT ?e WHERE { resource:Q3277832 property:P121 ?e . ?e rdf:type ontology:Q15142889 }
Remington Model 870 KGP-9
Remington Model 870 and KGP-9 are managed by Hungarian Ground Forces
Remington Model 870 KGP-9
action filter_type
action find
entity Hungarian Ground Forces
relation item operated
type weapon family
['Hungarian Ground Forces', 'item operated', {'concept': 'weapon family'}]
SELECT DISTINCT ?e WHERE { resource:Hungarian_Ground_Forces property:item_operated ?e . ?e rdf:type ontology:weapon_family }
[]
Clarification
Simple Question|Single Entity|Indirect
Q897485
P176
Q43229
USER
Which organization is the manufacturer of that weapon family ?
(Q897485,P176,c(Q43229))
action filter_type
action find
entity Q897485
relation P176
type Q43229
['Q897485', 'P176', {'concept': 'Q43229'}]
SELECT DISTINCT ?y WHERE { resource:Q897485 property:P176 ?y . ?y rdf:type ontology:Q43229 }
KGP-9
action filter_type
action find
entity KGP-9
relation manufacturer
type organization
['KGP-9', 'manufacturer', {'concept': 'organization'}]
SELECT DISTINCT ?y WHERE { resource:KGP-9 property:manufacturer ?y . ?y rdf:type ontology:organization }
[]
organization
Clarification for simple ques.
Q897485
SYSTEM
Did you mean KGP-9 ?
Q171908 Q897485
(Q171908,P176,c(Q43229)) (Q897485,P176,c(Q43229))
[ANSWER]
['Q171908', 'P176', {'concept': 'Q43229'}] ['Q897485', 'P176', {'concept': 'Q43229'}]
SELECT DISTINCT ?y WHERE { resource:Q897485 property:P176 ?y . ?y rdf:type ontology:Q43229 }
Remington Model 870 KGP-9
Did you mean KGP-9 ?
KGP-9
['Remington Model 870', 'manufacturer', {'concept': 'organization'}] ['KGP-9', 'manufacturer', {'concept': 'organization'}]
SELECT DISTINCT ?y WHERE { resource:KGP-9 property:manufacturer ?y . ?y rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
USER
Yes
(Q897485,P176,c(Q43229))
['Q897485', 'P176', {'concept': 'Q43229'}]
['KGP-9', 'manufacturer', {'concept': 'organization'}]
[]
Q727963
SYSTEM
Fegyver- és Gépgyár
Q727963
(Q897485,P176,c(Q43229))
action filter_type
action find
entity Q897485
relation P176
type Q43229
[ANSWER] is the manufacturer of that weapon family
['Q897485', 'P176', {'concept': 'Q43229'}]
SELECT DISTINCT ?y WHERE { resource:Q897485 property:P176 ?y . ?y rdf:type ontology:Q43229 }
Fegyver- és Gépgyár
Fegyver- és Gépgyár is the manufacturer of that weapon family
Fegyver- és Gépgyár
action filter_type
action find
entity KGP-9
relation manufacturer
type organization
['KGP-9', 'manufacturer', {'concept': 'organization'}]
SELECT DISTINCT ?y WHERE { resource:KGP-9 property:manufacturer ?y . ?y rdf:type ontology:organization }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q56010 Q897485
P361 P121
Q781132
USER
Which military branches handle the operation of KGP-9 or are a part of Bundeswehr ?
OR((c(Q781132),P121,Q897485), (c(Q781132),P361,Q56010))
action filter_type
action union
action find_reverse
entity Q897485
relation P121
action find_reverse
entity Q56010
relation P361
type Q781132
{'OR': [[{'concept': 'Q781132'}, 'P121', 'Q897485'], [{'concept': 'Q781132'}, 'P361', 'Q56010']]}
SELECT DISTINCT ?c WHERE { { { ?c property:P121 resource:Q897485 } UNION { ?c property:P361 resource:Q56010 } } . ?c rdf:type ontology:Q781132 }
Bundeswehr KGP-9
action filter_type
action union
action find_reverse
entity KGP-9
relation item operated
action find_reverse
entity Bundeswehr
relation part of
type military branch
{'OR': [[{'concept': 'military branch'}, 'item operated', 'KGP-9'], [{'concept': 'military branch'}, 'part of', 'Bundeswehr']]}
SELECT DISTINCT ?c WHERE { { { ?c property:item_operated resource:KGP-9 } UNION { ?c property:part_of resource:Bundeswehr } } . ?c rdf:type ontology:military_branch }
[]
military branch
Q56018 Q56015 Q11322507 Q3277832
SYSTEM
Joint Medical Service, German Navy, German Army, Hungarian Ground Forces
Q56018 Q56015 Q11322507 Q3277832
OR((c(Q781132),P121,Q897485), (c(Q781132),P361,Q56010))
action filter_type
action union
action find_reverse
entity Q897485
relation P121
action find_reverse
entity Q56010
relation P361
type Q781132
[ANSWERS] handle the operation of KGP-9 or are a part of Bundeswehr
{'OR': [[{'concept': 'Q781132'}, 'P121', 'Q897485'], [{'concept': 'Q781132'}, 'P361', 'Q56010']]}
SELECT DISTINCT ?c WHERE { { { ?c property:P121 resource:Q897485 } UNION { ?c property:P361 resource:Q56010 } } . ?c rdf:type ontology:Q781132 }
Joint Medical Service German Navy German Army Hungarian Ground Forces
Joint Medical Service, German Navy, German Army and Hungarian Ground Forces handle the operation of KGP-9 or are a part of Bundeswehr
Joint Medical Service German Navy German Army Hungarian Ground Forces
action filter_type
action union
action find_reverse
entity KGP-9
relation item operated
action find_reverse
entity Bundeswehr
relation part of
type military branch
{'OR': [[{'concept': 'military branch'}, 'item operated', 'KGP-9'], [{'concept': 'military branch'}, 'part of', 'Bundeswehr']]}
SELECT DISTINCT ?c WHERE { { { ?c property:item_operated resource:KGP-9 } UNION { ?c property:part_of resource:Bundeswehr } } . ?c rdf:type ontology:military_branch }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q313422
P361
Q781132 Q176799 Q23905071
USER
Which military branches are lesser number of military units and military unit type-size classes a portion of than German Army ?
(c(Q176799)|c(Q23905071),P361,c(Q781132))
action less
action union
action find_reverse_tuple_counts
relation P361
type Q781132
type Q176799
action find_reverse_tuple_counts
relation P361
type Q781132
type Q23905071
action count
action filter_multi_types
action find_reverse
entity Q313422
relation P361
type Q176799
type Q23905071
[[{'concept': 'Q176799'}, {'concept': 'Q23905071'}], 'P361', {'concept': 'Q781132'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?b ) WHERE { { ?p property:P361 ?q . ?q rdf:type ontology:Q781132 . ?p rdf:type ontology:Q176799 } UNION { ?p property:P361 ?q . ?p rdf:type ontology:Q23905071 . ?q rdf:type ontology:Q781132 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { ?g property:P361 resource:Q313422 . { { ?g rdf:type ontology:Q176799 } UNION { ?g rdf:type ontology:Q23905071 } } } } . FILTER ( ?b < ?c ) }
German Army
action less
action union
action find_reverse_tuple_counts
relation part of
type military branch
type military unit
action find_reverse_tuple_counts
relation part of
type military branch
type military unit type-size class
action count
action filter_multi_types
action find_reverse
entity German Army
relation part of
type military unit
type military unit type-size class
[[{'concept': 'military unit'}, {'concept': 'military unit type-size class'}], 'part of', {'concept': 'military branch'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?b ) WHERE { { ?p property:part_of ?q . ?q rdf:type ontology:military_branch . ?p rdf:type ontology:military_unit } UNION { ?p property:part_of ?q . ?p rdf:type ontology:military_unit_type-size_class . ?q rdf:type ontology:military_branch } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { ?g property:part_of resource:German_Army . { { ?g rdf:type ontology:military_unit } UNION { ?g rdf:type ontology:military_unit_type-size_class } } } } . FILTER ( ?b < ?c ) }
[]
military branch military unit military unit type-size class
Q276538 Q11220 Q4117226
SYSTEM
Eurocorps, United States Navy, Royal Jordanian Land Force
Q16056518 Q210606 Q2328515 Q1114493 Q11220 Q1046947 Q172771 Q1078222 Q676404 Q5555333 Q9160892 Q19344622 Q1038047 Q4117226 Q217406 Q2575188 Q488756 Q156649 Q1067064 Q2492012 Q2749588 Q4447359 Q1652708 Q1951484 Q1750688 Q276538 Q272110 Q25387 Q208711 Q11322507 Q2292358 Q151701 Q167682 Q18643350 Q465283 Q2384177 Q1124986 Q25436 Q2258261 Q4447363 Q2630039 Q219712 Q1674702
(c(Q176799)|c(Q23905071),P361,c(Q781132))
action less
action union
action find_reverse_tuple_counts
relation P361
type Q781132
type Q176799
action find_reverse_tuple_counts
relation P361
type Q781132
type Q23905071
action count
action filter_multi_types
action find_reverse
entity Q313422
relation P361
type Q176799
type Q23905071
[ANSWERS] are lesser number of military units and military unit type-size classes a portion of than German Army
[[{'concept': 'Q176799'}, {'concept': 'Q23905071'}], 'P361', {'concept': 'Q781132'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?b ) WHERE { { ?p property:P361 ?q . ?q rdf:type ontology:Q781132 . ?p rdf:type ontology:Q176799 } UNION { ?p property:P361 ?q . ?p rdf:type ontology:Q23905071 . ?q rdf:type ontology:Q781132 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { ?g property:P361 resource:Q313422 . { { ?g rdf:type ontology:Q176799 } UNION { ?g rdf:type ontology:Q23905071 } } } } . FILTER ( ?b < ?c ) }
Nepalese Army 2nd Marine Division Belize Defence Force Roman army United States Navy Royal Marines Royal Navy Imperial Russian Army Spanish Navy Ghana Army fortress artillery naval reserve force Irish Army Royal Jordanian Land Force French Navy Royal Danish Army Republic of Korea Navy Imperial German Navy United States Special Operations Command Swedish Army Royal Thai Army Austrian Land Forces South African Navy Georgian Land Forces Brazilian Navy Eurocorps Yugoslav People's Army Royal Canadian Navy Chilean Navy German Army Brazilian Army Kriegsmarine rocket artillery Islamic Republic of Iran Ground Force Russian Navy Norwegian Army Confederate States Navy Canadian Army Pakistan Navy Lebanese Ground Forces New Zealand Army Imperial Japanese Navy GOC Army Headquarters
Eurocorps, United States Navy and Royal Jordanian Land Force are lesser number of military units and military unit type-size classes a portion of than German Army
Eurocorps United States Navy Royal Jordanian Land Force
action less
action union
action find_reverse_tuple_counts
relation part of
type military branch
type military unit
action find_reverse_tuple_counts
relation part of
type military branch
type military unit type-size class
action count
action filter_multi_types
action find_reverse
entity German Army
relation part of
type military unit
type military unit type-size class
[[{'concept': 'military unit'}, {'concept': 'military unit type-size class'}], 'part of', {'concept': 'military branch'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?b ) WHERE { { ?p property:part_of ?q . ?q rdf:type ontology:military_branch . ?p rdf:type ontology:military_unit } UNION { ?p property:part_of ?q . ?p rdf:type ontology:military_unit_type-size_class . ?q rdf:type ontology:military_branch } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { ?g property:part_of resource:German_Army . { { ?g rdf:type ontology:military_unit } UNION { ?g rdf:type ontology:military_unit_type-size_class } } } } . FILTER ( ?b < ?c ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2742227
P361
Q895526 Q874405 Q781132
USER
Which military branches are parts of lesser number of authority organs or social groups than Royal Saudi Navy ?
(c(Q781132),P361,c(Q895526)|c(Q874405))
action less
action union
action find_tuple_counts
relation P361
type Q781132
type Q895526
action find_tuple_counts
relation P361
type Q781132
type Q874405
action count
action filter_multi_types
action find
entity Q2742227
relation P361
type Q895526
type Q874405
[{'concept': 'Q781132'}, 'P361', [{'concept': 'Q895526'}, {'concept': 'Q874405'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) ?d WHERE { { ?d property:P361 ?k . ?d rdf:type ontology:Q781132 . ?k rdf:type ontology:Q895526 } UNION { ?d property:P361 ?k . ?k rdf:type ontology:Q874405 . ?d rdf:type ontology:Q781132 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { resource:Q2742227 property:P361 ?a . { { ?a rdf:type ontology:Q895526 } UNION { ?a rdf:type ontology:Q874405 } } } } . FILTER ( ?h < ?n ) }
Royal Saudi Navy
action less
action union
action find_tuple_counts
relation part of
type military branch
type authority organ
action find_tuple_counts
relation part of
type military branch
type social group
action count
action filter_multi_types
action find
entity Royal Saudi Navy
relation part of
type authority organ
type social group
[{'concept': 'military branch'}, 'part of', [{'concept': 'authority organ'}, {'concept': 'social group'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) ?d WHERE { { ?d property:part_of ?k . ?d rdf:type ontology:military_branch . ?k rdf:type ontology:authority_organ } UNION { ?d property:part_of ?k . ?k rdf:type ontology:social_group . ?d rdf:type ontology:military_branch } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { resource:Royal_Saudi_Navy property:part_of ?a . { { ?a rdf:type ontology:authority_organ } UNION { ?a rdf:type ontology:social_group } } } } . FILTER ( ?h < ?n ) }
[]
authority organ 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 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 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 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 Q2370391 Q2492012 Q4947401 Q151701 Q796411 Q3293247 Q588089 Q17111011 Q510534 Q18668460 Q18707076 Q2046686 Q18129370 Q1674702 Q575932 Q18707175 Q1427990 Q569328 Q16514728 Q18597159
(c(Q781132),P361,c(Q895526)|c(Q874405))
action less
action union
action find_tuple_counts
relation P361
type Q781132
type Q895526
action find_tuple_counts
relation P361
type Q781132
type Q874405
action count
action filter_multi_types
action find
entity Q2742227
relation P361
type Q895526
type Q874405
[ANSWERS] are parts of lesser number of authority organs or social groups than Royal Saudi Navy
[{'concept': 'Q781132'}, 'P361', [{'concept': 'Q895526'}, {'concept': 'Q874405'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) ?d WHERE { { ?d property:P361 ?k . ?d rdf:type ontology:Q781132 . ?k rdf:type ontology:Q895526 } UNION { ?d property:P361 ?k . ?k rdf:type ontology:Q874405 . ?d rdf:type ontology:Q781132 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { resource:Q2742227 property:P361 ?a . { { ?a rdf:type ontology:Q895526 } UNION { ?a rdf:type ontology:Q874405 } } } } . FILTER ( ?h < ?n ) }
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 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 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 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 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 parts of lesser number of authority organs or social groups than Royal Saudi Navy
Angolan Army Hungarian Ground Forces Kazakh Air and Air Defence Forces
action less
action union
action find_tuple_counts
relation part of
type military branch
type authority organ
action find_tuple_counts
relation part of
type military branch
type social group
action count
action filter_multi_types
action find
entity Royal Saudi Navy
relation part of
type authority organ
type social group
[{'concept': 'military branch'}, 'part of', [{'concept': 'authority organ'}, {'concept': 'social group'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) ?d WHERE { { ?d property:part_of ?k . ?d rdf:type ontology:military_branch . ?k rdf:type ontology:authority_organ } UNION { ?d property:part_of ?k . ?k rdf:type ontology:social_group . ?d rdf:type ontology:military_branch } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { resource:Royal_Saudi_Navy property:part_of ?a . { { ?a rdf:type ontology:authority_organ } UNION { ?a rdf:type ontology:social_group } } } } . FILTER ( ?h < ?n ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q15885502
P361
Q895526 Q874405 Q781132
USER
And also tell me about Spetsnaz GRU?
(c(Q781132),P361,c(Q895526)|c(Q874405))
action less
action union
action find_tuple_counts
relation P361
type Q781132
type Q895526
action find_tuple_counts
relation P361
type Q781132
type Q874405
action count
action filter_multi_types
action find
entity Q15885502
relation P361
type Q895526
type Q874405
[{'concept': 'Q781132'}, 'P361', [{'concept': 'Q895526'}, {'concept': 'Q874405'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) ?x WHERE { { ?x property:P361 ?n . ?x rdf:type ontology:Q781132 . ?n rdf:type ontology:Q874405 } UNION { ?x property:P361 ?n . ?x rdf:type ontology:Q781132 . ?n rdf:type ontology:Q895526 } } GROUP BY ?x } . FILTER ( ?p < ?l ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { resource:Q15885502 property:P361 ?c . { { ?c rdf:type ontology:Q874405 } UNION { ?c rdf:type ontology:Q895526 } } } } }
Spetsnaz GRU
action less
action union
action find_tuple_counts
relation part of
type military branch
type authority organ
action find_tuple_counts
relation part of
type military branch
type social group
action count
action filter_multi_types
action find
entity Spetsnaz GRU
relation part of
type authority organ
type social group
[{'concept': 'military branch'}, 'part of', [{'concept': 'authority organ'}, {'concept': 'social group'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) ?x WHERE { { ?x property:part_of ?n . ?x rdf:type ontology:military_branch . ?n rdf:type ontology:social_group } UNION { ?x property:part_of ?n . ?x rdf:type ontology:military_branch . ?n rdf:type ontology:authority_organ } } GROUP BY ?x } . FILTER ( ?p < ?l ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { resource:Spetsnaz_GRU property:part_of ?c . { { ?c rdf:type ontology:social_group } UNION { ?c rdf:type ontology:authority_organ } } } } }
[]
authority organ 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 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 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 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 Q2370391 Q2492012 Q4947401 Q151701 Q796411 Q3293247 Q588089 Q17111011 Q510534 Q18668460 Q18707076 Q2046686 Q18129370 Q1674702 Q575932 Q18707175 Q1427990 Q569328 Q16514728 Q18597159
(c(Q781132),P361,c(Q895526)|c(Q874405))
action less
action union
action find_tuple_counts
relation P361
type Q781132
type Q895526
action find_tuple_counts
relation P361
type Q781132
type Q874405
action count
action filter_multi_types
action find
entity Q15885502
relation P361
type Q895526
type Q874405
[ANSWERS]
[{'concept': 'Q781132'}, 'P361', [{'concept': 'Q895526'}, {'concept': 'Q874405'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) ?x WHERE { { ?x property:P361 ?n . ?x rdf:type ontology:Q781132 . ?n rdf:type ontology:Q874405 } UNION { ?x property:P361 ?n . ?x rdf:type ontology:Q781132 . ?n rdf:type ontology:Q895526 } } GROUP BY ?x } . FILTER ( ?p < ?l ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { resource:Q15885502 property:P361 ?c . { { ?c rdf:type ontology:Q874405 } UNION { ?c rdf:type ontology:Q895526 } } } } }
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 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 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 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 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 Kazakh Air and Air Defence Forces
action less
action union
action find_tuple_counts
relation part of
type military branch
type authority organ
action find_tuple_counts
relation part of
type military branch
type social group
action count
action filter_multi_types
action find
entity Spetsnaz GRU
relation part of
type authority organ
type social group
[{'concept': 'military branch'}, 'part of', [{'concept': 'authority organ'}, {'concept': 'social group'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) ?x WHERE { { ?x property:part_of ?n . ?x rdf:type ontology:military_branch . ?n rdf:type ontology:social_group } UNION { ?x property:part_of ?n . ?x rdf:type ontology:military_branch . ?n rdf:type ontology:authority_organ } } GROUP BY ?x } . FILTER ( ?p < ?l ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { resource:Spetsnaz_GRU property:part_of ?c . { { ?c rdf:type ontology:social_group } UNION { ?c rdf:type ontology:authority_organ } } } } }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P121
Q197 Q3084961 Q781132
USER
How many military branches handle the operation of approximately the same number of airplanes or product linings as that military branch ?
(c(Q781132),P121,c(Q197)|c(Q3084961))
[{'concept': 'Q781132'}, 'P121', [{'concept': 'Q197'}, {'concept': 'Q3084961'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:P121 ?y } UNION { ?z property:P121 ?x } } . ?z rdf:type ontology:Q781132 . ?y rdf:type ontology:Q197 . ?x rdf:type ontology:Q3084961 }
[{'concept': 'military branch'}, 'item operated', [{'concept': 'airplane'}, {'concept': 'product lining'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:item_operated ?y } UNION { ?z property:item_operated ?x } } . ?z rdf:type ontology:military_branch . ?y rdf:type ontology:airplane . ?x rdf:type ontology:product_lining }
[]
airplane product lining military branch
Comparative|Count over More/Less|Mult. entity type|Clarification
Q4419309
SYSTEM
Did you mean Kazakh Air and Air Defence Forces ?
(c(Q781132),P121,c(Q197)|c(Q3084961))
[ANSWER]
[{'concept': 'Q781132'}, 'P121', [{'concept': 'Q197'}, {'concept': 'Q3084961'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:P121 ?y } UNION { ?z property:P121 ?x } } . ?z rdf:type ontology:Q781132 . ?y rdf:type ontology:Q197 . ?x rdf:type ontology:Q3084961 }
Did you mean Kazakh Air and Air Defence Forces ?
Kazakh Air and Air Defence Forces
[{'concept': 'military branch'}, 'item operated', [{'concept': 'airplane'}, {'concept': 'product lining'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:item_operated ?y } UNION { ?z property:item_operated ?x } } . ?z rdf:type ontology:military_branch . ?y rdf:type ontology:airplane . ?x rdf:type ontology:product_lining }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Hungarian Ground Forces. Could you tell me the answer for that?
(c(Q781132),P121,c(Q197)|c(Q3084961))
Q3277832
[{'concept': 'Q781132'}, 'P121', [{'concept': 'Q197'}, {'concept': 'Q3084961'}]]
[{'concept': 'military branch'}, 'item operated', [{'concept': 'airplane'}, {'concept': 'product lining'}]]
[]
SYSTEM
47
Q6082582 Q897614 Q17404781 Q18696932 Q1324290 Q18640177 Q11220 Q2408298 Q18615980 Q172771 Q1129369 Q3958034 Q18640276 Q4709164 Q2055634 Q833040 Q2905423 Q1546449 Q2704661 Q3293231 Q356359 Q2862927 Q376676 Q2862841 Q1777326 Q2665572 Q731647 Q3277832 Q4855270 Q1491482 Q1322103 Q4114459 Q2711719 Q2370391 Q11218 Q2301347 Q4709134 Q2349884 Q17597972 Q5985661 Q355771 Q2071948 Q192366 Q2074039 Q17049310 Q18707175 Q3293247
(c(Q781132),P121,c(Q197)|c(Q3084961))
[ANSWER]
[{'concept': 'Q781132'}, 'P121', [{'concept': 'Q197'}, {'concept': 'Q3084961'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:P121 ?y } UNION { ?z property:P121 ?x } } . ?z rdf:type ontology:Q781132 . ?y rdf:type ontology:Q197 . ?x rdf:type ontology:Q3084961 }
Islamic Republic of Iran Air Defense Force Iraqi Army Afghan Special Mission Wing Lao People's Army Vietnam People's Navy Guinean Navy United States Navy Islamic Republic of Iran Navy Gambian Navy Royal Navy Hellenic Navy Argentine Army Aviation Bissau-Guinean Army Albanian Royal Army Royal Bahrain Naval Force Italian Navy Lebanese Navy Hellenic Army Indonesian Navy Bangladesh Navy Indian Navy Indonesian Army Albanian Naval Force Congolese Army Argentine Navy Algerian National Navy Japan Maritime Self-Defense Force Hungarian Ground Forces Bangladesh Army Lao People's Navy Spanish Army Eritrean Navy Lithuanian Naval Force Royal Bhutan Army United States Marine Corps Argentine Army Albanian Land Force Croatian Navy Angolan Army Iceland Air Defence System Indian Army Finnish Navy Royal Bahraini Army Latvian Land Forces Angolan Navy Malawi Army Naval Detachment Benin Naval Forces
47
[{'concept': 'military branch'}, 'item operated', [{'concept': 'airplane'}, {'concept': 'product lining'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:item_operated ?y } UNION { ?z property:item_operated ?x } } . ?z rdf:type ontology:military_branch . ?y rdf:type ontology:airplane . ?x rdf:type ontology:product_lining }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q5963755 Q3277832
P495 P17
Q15617994
USER
Which administrative territories are Hungarian Ground Forces a part of or are the countries of origin of La Hermana Menor ?
OR((Q3277832,P17,c(Q15617994)), (Q5963755,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q3277832
relation P17
action find
entity Q5963755
relation P495
type Q15617994
{'OR': [['Q3277832', 'P17', {'concept': 'Q15617994'}], ['Q5963755', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q3277832 property:P17 ?g } UNION { resource:Q5963755 property:P495 ?g } } . ?g rdf:type ontology:Q15617994 }
La Hermana Menor Hungarian Ground Forces
action filter_type
action union
action find
entity Hungarian Ground Forces
relation country
action find
entity La Hermana Menor
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Hungarian Ground Forces', 'country', {'concept': 'designation for an administrative territorial entity'}], ['La Hermana Menor', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Hungarian_Ground_Forces property:country ?g } UNION { resource:La_Hermana_Menor property:country_of_origin ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q28 Q77
SYSTEM
Hungary, Uruguay
Q28 Q77
OR((Q3277832,P17,c(Q15617994)), (Q5963755,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q3277832
relation P17
action find
entity Q5963755
relation P495
type Q15617994
[ANSWERS] are Hungarian Ground Forces a part of or are the countries of origin of La Hermana Menor
{'OR': [['Q3277832', 'P17', {'concept': 'Q15617994'}], ['Q5963755', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q3277832 property:P17 ?g } UNION { resource:Q5963755 property:P495 ?g } } . ?g rdf:type ontology:Q15617994 }
Hungary Uruguay
Hungary and Uruguay are Hungarian Ground Forces a part of or are the countries of origin of La Hermana Menor
Hungary Uruguay
action filter_type
action union
action find
entity Hungarian Ground Forces
relation country
action find
entity La Hermana Menor
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Hungarian Ground Forces', 'country', {'concept': 'designation for an administrative territorial entity'}], ['La Hermana Menor', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Hungarian_Ground_Forces property:country ?g } UNION { resource:La_Hermana_Menor property:country_of_origin ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q374740 Q4419309
P121
Q3084961
USER
Which product linings are managed by Kazakh Air and Air Defence Forces and EgyptAir ?
AND((Q4419309,P121,c(Q3084961)), (Q374740,P121,c(Q3084961)))
action filter_type
action intersection
action find
entity Q4419309
relation P121
action find
entity Q374740
relation P121
type Q3084961
{'AND': [['Q4419309', 'P121', {'concept': 'Q3084961'}], ['Q374740', 'P121', {'concept': 'Q3084961'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q3084961 . resource:Q4419309 property:P121 ?v . resource:Q374740 property:P121 ?v }
EgyptAir Kazakh Air and Air Defence Forces
action filter_type
action intersection
action find
entity Kazakh Air and Air Defence Forces
relation item operated
action find
entity EgyptAir
relation item operated
type product lining
{'AND': [['Kazakh Air and Air Defence Forces', 'item operated', {'concept': 'product lining'}], ['EgyptAir', 'item operated', {'concept': 'product lining'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:product_lining . resource:Kazakh_Air_and_Air_Defence_Forces property:item_operated ?v . resource:EgyptAir property:item_operated ?v }
[]
product lining
Q6478
SYSTEM
Airbus A330
Q6478
AND((Q4419309,P121,c(Q3084961)), (Q374740,P121,c(Q3084961)))
action filter_type
action intersection
action find
entity Q4419309
relation P121
action find
entity Q374740
relation P121
type Q3084961
[ANSWER] is managed by Kazakh Air and Air Defence Forces and EgyptAir
{'AND': [['Q4419309', 'P121', {'concept': 'Q3084961'}], ['Q374740', 'P121', {'concept': 'Q3084961'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q3084961 . resource:Q4419309 property:P121 ?v . resource:Q374740 property:P121 ?v }
Airbus A330
Airbus A330 is managed by Kazakh Air and Air Defence Forces and EgyptAir
Airbus A330
action filter_type
action intersection
action find
entity Kazakh Air and Air Defence Forces
relation item operated
action find
entity EgyptAir
relation item operated
type product lining
{'AND': [['Kazakh Air and Air Defence Forces', 'item operated', {'concept': 'product lining'}], ['EgyptAir', 'item operated', {'concept': 'product lining'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:product_lining . resource:Kazakh_Air_and_Air_Defence_Forces property:item_operated ?v . resource:EgyptAir property:item_operated ?v }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q6478 Q5205072 Q67
P176
Q43229
USER
Was that product lining built by DH Press and Airbus ?
(Q6478,P176,Q5205072) (Q6478,P176,Q67)
action is_in
entity Q6478
action intersection
action find_reverse
entity Q5205072
relation P176
action find_reverse
entity Q67
relation P176
['Q6478', 'P176', 'Q5205072'] ['Q6478', 'P176', 'Q67']
ASK WHERE { resource:Q6478 property:P176 resource:Q5205072 . resource:Q6478 property:P176 resource:Q67 }
Airbus A330 DH Press Airbus
action is_in
entity Airbus A330
action intersection
action find_reverse
entity DH Press
relation manufacturer
action find_reverse
entity Airbus
relation manufacturer
['Airbus A330', 'manufacturer', 'DH Press'] ['Airbus A330', 'manufacturer', 'Airbus']
ASK WHERE { resource:Airbus_A330 property:manufacturer resource:DH_Press . resource:Airbus_A330 property:manufacturer resource:Airbus }
[]
organization
SYSTEM
NO and YES respectively
(Q6478,P176,Q5205072) (Q6478,P176,Q67)
action is_in
entity Q6478
action intersection
action find_reverse
entity Q5205072
relation P176
action find_reverse
entity Q67
relation P176
[ANSWER]
['Q6478', 'P176', 'Q5205072'] ['Q6478', 'P176', 'Q67']
ASK WHERE { resource:Q6478 property:P176 resource:Q5205072 . resource:Q6478 property:P176 resource:Q67 }
NO and YES respectively
action is_in
entity Airbus A330
action intersection
action find_reverse
entity DH Press
relation manufacturer
action find_reverse
entity Airbus
relation manufacturer
['Airbus A330', 'manufacturer', 'DH Press'] ['Airbus A330', 'manufacturer', 'Airbus']
ASK WHERE { resource:Airbus_A330 property:manufacturer resource:DH_Press . resource:Airbus_A330 property:manufacturer resource:Airbus }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q77 Q16982029 Q155
P530
Q15617994
USER
Does Uruguay have diplomatic associations with Millersburg Area School District and Brazil ?
(Q77,P530,Q16982029) (Q77,P530,Q155)
action is_in
entity Q77
action intersection
action find_reverse
entity Q16982029
relation P530
action find_reverse
entity Q155
relation P530
['Q77', 'P530', 'Q16982029'] ['Q77', 'P530', 'Q155']
ASK WHERE { resource:Q77 property:P530 resource:Q16982029 . resource:Q77 property:P530 resource:Q155 }
Uruguay Millersburg Area School District Brazil
action is_in
entity Uruguay
action intersection
action find_reverse
entity Millersburg Area School District
relation diplomatic relation
action find_reverse
entity Brazil
relation diplomatic relation
['Uruguay', 'diplomatic relation', 'Millersburg Area School District'] ['Uruguay', 'diplomatic relation', 'Brazil']
ASK WHERE { resource:Uruguay property:diplomatic_relation resource:Millersburg_Area_School_District . resource:Uruguay property:diplomatic_relation resource:Brazil }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q77,P530,Q16982029) (Q77,P530,Q155)
action is_in
entity Q77
action intersection
action find_reverse
entity Q16982029
relation P530
action find_reverse
entity Q155
relation P530
[ANSWER]
['Q77', 'P530', 'Q16982029'] ['Q77', 'P530', 'Q155']
ASK WHERE { resource:Q77 property:P530 resource:Q16982029 . resource:Q77 property:P530 resource:Q155 }
NO and YES respectively
action is_in
entity Uruguay
action intersection
action find_reverse
entity Millersburg Area School District
relation diplomatic relation
action find_reverse
entity Brazil
relation diplomatic relation
['Uruguay', 'diplomatic relation', 'Millersburg Area School District'] ['Uruguay', 'diplomatic relation', 'Brazil']
ASK WHERE { resource:Uruguay property:diplomatic_relation resource:Millersburg_Area_School_District . resource:Uruguay property:diplomatic_relation resource:Brazil }
[]