Simple Question (Direct)
Simple Question
Q5405272
P241
Q781132
USER
Which military branch is Euan Loudon associated with ?
(Q5405272,P241,c(Q781132))
action filter_type
action find
entity Q5405272
relation P241
type Q781132
['Q5405272', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?c WHERE { resource:Q5405272 property:P241 ?c . ?c rdf:type ontology:Q781132 }
Euan Loudon
action filter_type
action find
entity Euan Loudon
relation military branch
type military branch
['Euan Loudon', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?c WHERE { resource:Euan_Loudon property:military_branch ?c . ?c rdf:type ontology:military_branch }
[]
military branch
Q222595
SYSTEM
British Army
Q222595
(Q5405272,P241,c(Q781132))
action filter_type
action find
entity Q5405272
relation P241
type Q781132
Euan Loudon is associated with [ANSWER]
['Q5405272', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?c WHERE { resource:Q5405272 property:P241 ?c . ?c rdf:type ontology:Q781132 }
British Army
Euan Loudon is associated with British Army
British Army
action filter_type
action find
entity Euan Loudon
relation military branch
type military branch
['Euan Loudon', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?c WHERE { resource:Euan_Loudon property:military_branch ?c . ?c rdf:type ontology:military_branch }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q222595
P361
Q52371
USER
What is a part of that military branch ?
(c(Q52371),P361,Q222595)
action filter_type
action find_reverse
entity Q222595
relation P361
type Q52371
[{'concept': 'Q52371'}, 'P361', 'Q222595']
SELECT DISTINCT ?k WHERE { ?k property:P361 resource:Q222595 . ?k rdf:type ontology:Q52371 }
British Army
action filter_type
action find_reverse
entity British Army
relation part of
type regiment
[{'concept': 'regiment'}, 'part of', 'British Army']
SELECT DISTINCT ?k WHERE { ?k property:part_of resource:British_Army . ?k rdf:type ontology:regiment }
[]
regiment
Q3413989
SYSTEM
Queen's Own Oxfordshire Hussars
Q3413989
(c(Q52371),P361,Q222595)
action filter_type
action find_reverse
entity Q222595
relation P361
type Q52371
A part of that military branch is the [ANSWER]
[{'concept': 'Q52371'}, 'P361', 'Q222595']
SELECT DISTINCT ?k WHERE { ?k property:P361 resource:Q222595 . ?k rdf:type ontology:Q52371 }
Queen's Own Oxfordshire Hussars
A part of that military branch is the Queen's Own Oxfordshire Hussars
Queen's Own Oxfordshire Hussars
action filter_type
action find_reverse
entity British Army
relation part of
type regiment
[{'concept': 'regiment'}, 'part of', 'British Army']
SELECT DISTINCT ?k WHERE { ?k property:part_of resource:British_Army . ?k rdf:type ontology:regiment }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q731647
P137
Q781132 Q5962346 Q811979
USER
Which military branches manages approximately the same number of classification schemes and architectural structures as Japan Maritime Self-Defense Force ?
(c(Q5962346)|c(Q811979),P137,c(Q781132))
action approx
action union
action find_reverse_tuple_counts
relation P137
type Q781132
type Q5962346
action find_reverse_tuple_counts
relation P137
type Q781132
type Q811979
action count
action filter_multi_types
action find_reverse
entity Q731647
relation P137
type Q5962346
type Q811979
[[{'concept': 'Q5962346'}, {'concept': 'Q811979'}], 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:P137 resource:Q731647 . { VALUES ( ?d ) { ( ontology:Q5962346 ) ( ontology:Q811979 ) } . ?k rdf:type ?d } } } . FILTER ( ?m = ?b ) . { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?m ) WHERE { ?t rdf:type ?g . VALUES ( ?g ) { ( ontology:Q811979 ) ( ontology:Q5962346 ) } } GROUP BY ?j } }
Japan Maritime Self-Defense Force
action approx
action union
action find_reverse_tuple_counts
relation operator
type military branch
type classification scheme
action find_reverse_tuple_counts
relation operator
type military branch
type architectural structure
action count
action filter_multi_types
action find_reverse
entity Japan Maritime Self-Defense Force
relation operator
type classification scheme
type architectural structure
[[{'concept': 'classification scheme'}, {'concept': 'architectural structure'}], 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:operator resource:Japan_Maritime_Self-Defense_Force . { VALUES ( ?d ) { ( ontology:classification_scheme ) ( ontology:architectural_structure ) } . ?k rdf:type ?d } } } . FILTER ( ?m = ?b ) . { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?m ) WHERE { ?t rdf:type ?g . VALUES ( ?g ) { ( ontology:architectural_structure ) ( ontology:classification_scheme ) } } GROUP BY ?j } }
[]
military branch classification scheme architectural structure
Q3277832 Q4419309 Q2074039
SYSTEM
Hungarian Ground Forces, Kazakh Air and Air Defence Forces, Latvian Land Forces
Q222595 Q2427907 Q169025 Q704397 Q6648444 Q3510333 Q676404 Q246813 Q2705826 Q702430 Q356359 Q376676 Q1652708 Q2505986 Q1113589 Q3293231 Q1076619 Q741691 Q19562444 Q855186 Q11322507 Q2384177 Q643834 Q1370337 Q931281 Q3958034 Q2531890 Q932840 Q3848121 Q897614 Q1815399 Q4419309 Q2387294 Q56018 Q2067603 Q2258261 Q56015 Q2055634 Q19344622 Q952444 Q488756 Q16408580 Q2071948 Q1285655 Q1188381 Q2537847 Q1774585 Q25436 Q2630039 Q6479134 Q4114459 Q2370391 Q2292358 Q11218 Q3546162 Q5334371 Q355771 Q159211 Q2074039 Q267167 Q702116 Q2349884 Q583941 Q1322103 Q15705369 Q781360 Q2408298 Q1129369 Q4115107 Q16151032 Q1038047 Q833040 Q4114435 Q2575188 Q889751 Q2704661 Q898671 Q2566387 Q1944482 Q1750688 Q4855270 Q7032867 Q208711 Q2083573 Q755179 Q1324290 Q2301347 Q9212 Q861530 Q1046947 Q731647 Q2526431 Q2594652 Q792296 Q3274075 Q17404781 Q1141396 Q2745472 Q1062125 Q2742227 Q2006452 Q3277832 Q2528358 Q4939559 Q3848018 Q1311627 Q2749588 Q1777326 Q2665572 Q25387 Q1370395 Q1366319 Q3293295 Q2492012 Q796411 Q588089 Q2383264 Q510534 Q1124986 Q4303265 Q575932 Q569328
(c(Q5962346)|c(Q811979),P137,c(Q781132))
action approx
action union
action find_reverse_tuple_counts
relation P137
type Q781132
type Q5962346
action find_reverse_tuple_counts
relation P137
type Q781132
type Q811979
action count
action filter_multi_types
action find_reverse
entity Q731647
relation P137
type Q5962346
type Q811979
[ANSWERS] manage approximately the same number of classification schemes and architectural structures as Japan Maritime Self-Defense Force
[[{'concept': 'Q5962346'}, {'concept': 'Q811979'}], 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:P137 resource:Q731647 . { VALUES ( ?d ) { ( ontology:Q5962346 ) ( ontology:Q811979 ) } . ?k rdf:type ?d } } } . FILTER ( ?m = ?b ) . { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?m ) WHERE { ?t rdf:type ?g . VALUES ( ?g ) { ( ontology:Q811979 ) ( ontology:Q5962346 ) } } GROUP BY ?j } }
British Army Royal Thai Navy National Navy of Uruguay Republic of China Army Lithuanian Army Nigerian Navy Spanish Navy Luxembourg Army Free French Naval Forces Beiyang Fleet Indian Navy Albanian Naval Force South African Navy National Army of Venezuela Saudi Arabian Army Bangladesh Navy French Army Royal Australian Navy Danish-Norwegian navy Regia Marina German Army Norwegian Army German Navy Estonian Navy Royal Netherlands Navy Argentine Army Aviation Republic of Singapore Navy Ukrainian Navy United Arab Emirates Navy Iraqi Army South African Army Kazakh Air and Air Defence Forces Romanian Naval Forces Joint Medical Service Royal Indian Navy Pakistan Navy German Navy Royal Bahrain Naval Force naval reserve force Peruvian Navy Republic of Korea Navy Eesti Merevägi Finnish Navy Royal Yugoslav Navy Bulgarian Navy Latvian Naval Forces Swedish Amphibious Corps Canadian Army New Zealand Army Egyptian Army Eritrean Navy Royal Bhutan Army Brazilian Army United States Marine Corps Philippine Navy Ecuadorian Army Indian Army Austro-Hungarian Navy Latvian Land Forces Polish Navy Republic of China Navy Croatian Navy Imperial Russian Navy Spanish Army Tudor navy Australian Army Islamic Republic of Iran Navy Hellenic Navy National Army of Colombia Dano-Norwegian Navy Irish Army Italian Navy Royal Naval Force Royal Danish Army Japan Ground Self-Defense Force Indonesian Navy Iraqi Navy Yugoslav Navy Mongolian People's Army Brazilian Navy Bangladesh Army Nigerian Army Chilean Navy Royal Norwegian Navy People's Liberation Army Navy Vietnam People's Navy Argentine Army United States Army Royal Malaysian Navy Royal Marines Japan Maritime Self-Defense Force National Navy of Colombia Naval Service Belgian Naval Component Sri Lanka Navy Afghan Special Mission Wing Swedish Navy Chilean Army Ottoman Navy Royal Saudi Navy Royal Danish Navy Hungarian Ground Forces Mexican Navy Bolivian Army Italian Co-Belligerent Navy Syrian Navy Royal Thai Army Argentine Navy Algerian National Navy Royal Canadian Navy Estonian Land Forces Libyan Navy Turkish Navy Swedish Army Italian Army Portuguese Navy Finnish Army Israeli Navy Confederate States Navy Argentine Marines Royal New Zealand Navy Air Force and Anti-Air Defence Brigade
Hungarian Ground Forces, Kazakh Air and Air Defence Forces and Latvian Land Forces manage approximately the same number of classification schemes and architectural structures as Japan Maritime Self-Defense Force
Hungarian Ground Forces Kazakh Air and Air Defence Forces Latvian Land Forces
action approx
action union
action find_reverse_tuple_counts
relation operator
type military branch
type classification scheme
action find_reverse_tuple_counts
relation operator
type military branch
type architectural structure
action count
action filter_multi_types
action find_reverse
entity Japan Maritime Self-Defense Force
relation operator
type classification scheme
type architectural structure
[[{'concept': 'classification scheme'}, {'concept': 'architectural structure'}], 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:operator resource:Japan_Maritime_Self-Defense_Force . { VALUES ( ?d ) { ( ontology:classification_scheme ) ( ontology:architectural_structure ) } . ?k rdf:type ?d } } } . FILTER ( ?m = ?b ) . { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?m ) WHERE { ?t rdf:type ?g . VALUES ( ?g ) { ( ontology:architectural_structure ) ( ontology:classification_scheme ) } } GROUP BY ?j } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q2292358
P361
Q874405 Q895526 Q781132
USER
How many military branches are a portion of around the same number of social groups or authority organs as Brazilian Army ?
(c(Q781132),P361,c(Q874405)|c(Q895526))
action count
action approx
action union
action find_tuple_counts
relation P361
type Q781132
type Q874405
action find_tuple_counts
relation P361
type Q781132
type Q895526
action count
action filter_multi_types
action find
entity Q2292358
relation P361
type Q874405
type Q895526
[{'concept': 'Q781132'}, 'P361', [{'concept': 'Q874405'}, {'concept': 'Q895526'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) ?u WHERE { ?x rdf:type ?j . VALUES ( ?j ) { ( ontology:Q874405 ) ( ontology:Q895526 ) } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { resource:Q2292358 property:P361 ?d . { { ?d rdf:type ontology:Q895526 } UNION { ?d rdf:type ontology:Q874405 } } } } . FILTER ( ?m = ?y ) }
Brazilian Army
action count
action approx
action union
action find_tuple_counts
relation part of
type military branch
type social group
action find_tuple_counts
relation part of
type military branch
type authority organ
action count
action filter_multi_types
action find
entity Brazilian Army
relation part of
type social group
type authority organ
[{'concept': 'military branch'}, 'part of', [{'concept': 'social group'}, {'concept': 'authority organ'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) ?u WHERE { ?x rdf:type ?j . VALUES ( ?j ) { ( ontology:social_group ) ( ontology:authority_organ ) } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { resource:Brazilian_Army property:part_of ?d . { { ?d rdf:type ontology:authority_organ } UNION { ?d rdf:type ontology:social_group } } } } . FILTER ( ?m = ?y ) }
[]
social group authority organ military branch
SYSTEM
253
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(Q874405)|c(Q895526))
action count
action approx
action union
action find_tuple_counts
relation P361
type Q781132
type Q874405
action find_tuple_counts
relation P361
type Q781132
type Q895526
action count
action filter_multi_types
action find
entity Q2292358
relation P361
type Q874405
type Q895526
[ANSWER]
[{'concept': 'Q781132'}, 'P361', [{'concept': 'Q874405'}, {'concept': 'Q895526'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) ?u WHERE { ?x rdf:type ?j . VALUES ( ?j ) { ( ontology:Q874405 ) ( ontology:Q895526 ) } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { resource:Q2292358 property:P361 ?d . { { ?d rdf:type ontology:Q895526 } UNION { ?d rdf:type ontology:Q874405 } } } } . FILTER ( ?m = ?y ) }
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
253
action count
action approx
action union
action find_tuple_counts
relation part of
type military branch
type social group
action find_tuple_counts
relation part of
type military branch
type authority organ
action count
action filter_multi_types
action find
entity Brazilian Army
relation part of
type social group
type authority organ
[{'concept': 'military branch'}, 'part of', [{'concept': 'social group'}, {'concept': 'authority organ'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) ?u WHERE { ?x rdf:type ?j . VALUES ( ?j ) { ( ontology:social_group ) ( ontology:authority_organ ) } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { resource:Brazilian_Army property:part_of ?d . { { ?d rdf:type ontology:authority_organ } UNION { ?d rdf:type ontology:social_group } } } } . FILTER ( ?m = ?y ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q18597127
P361
Q874405 Q895526 Q781132
USER
And also tell me about Cameroon Army?
(c(Q781132),P361,c(Q874405)|c(Q895526))
action count
action approx
action union
action find_tuple_counts
relation P361
type Q781132
type Q874405
action find_tuple_counts
relation P361
type Q781132
type Q895526
action count
action filter_multi_types
action find
entity Q18597127
relation P361
type Q874405
type Q895526
[{'concept': 'Q781132'}, 'P361', [{'concept': 'Q874405'}, {'concept': 'Q895526'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?r ) WHERE { ?h rdf:type ?p . VALUES ( ?p ) { ( ontology:Q895526 ) ( ontology:Q874405 ) } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { resource:Q18597127 property:P361 ?s . { { ?s rdf:type ontology:Q874405 } UNION { ?s rdf:type ontology:Q895526 } } } } . FILTER ( ?r = ?g ) }
Cameroon Army
action count
action approx
action union
action find_tuple_counts
relation part of
type military branch
type social group
action find_tuple_counts
relation part of
type military branch
type authority organ
action count
action filter_multi_types
action find
entity Cameroon Army
relation part of
type social group
type authority organ
[{'concept': 'military branch'}, 'part of', [{'concept': 'social group'}, {'concept': 'authority organ'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?r ) WHERE { ?h rdf:type ?p . VALUES ( ?p ) { ( ontology:authority_organ ) ( ontology:social_group ) } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { resource:Cameroon_Army property:part_of ?s . { { ?s rdf:type ontology:social_group } UNION { ?s rdf:type ontology:authority_organ } } } } . FILTER ( ?r = ?g ) }
[]
social group authority organ military branch
SYSTEM
253
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(Q874405)|c(Q895526))
action count
action approx
action union
action find_tuple_counts
relation P361
type Q781132
type Q874405
action find_tuple_counts
relation P361
type Q781132
type Q895526
action count
action filter_multi_types
action find
entity Q18597127
relation P361
type Q874405
type Q895526
[ANSWER]
[{'concept': 'Q781132'}, 'P361', [{'concept': 'Q874405'}, {'concept': 'Q895526'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?r ) WHERE { ?h rdf:type ?p . VALUES ( ?p ) { ( ontology:Q895526 ) ( ontology:Q874405 ) } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { resource:Q18597127 property:P361 ?s . { { ?s rdf:type ontology:Q874405 } UNION { ?s rdf:type ontology:Q895526 } } } } . FILTER ( ?r = ?g ) }
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
253
action count
action approx
action union
action find_tuple_counts
relation part of
type military branch
type social group
action find_tuple_counts
relation part of
type military branch
type authority organ
action count
action filter_multi_types
action find
entity Cameroon Army
relation part of
type social group
type authority organ
[{'concept': 'military branch'}, 'part of', [{'concept': 'social group'}, {'concept': 'authority organ'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?r ) WHERE { ?h rdf:type ?p . VALUES ( ?p ) { ( ontology:authority_organ ) ( ontology:social_group ) } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { resource:Cameroon_Army property:part_of ?s . { { ?s rdf:type ontology:social_group } UNION { ?s rdf:type ontology:authority_organ } } } } . FILTER ( ?r = ?g ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P137
Q781132 Q5962346
USER
Which classification schemes were operated by exactly 2 military branches ?
(c(Q5962346),P137,c(Q781132))
action equal
action find_tuple_counts
relation P137
type Q5962346
type Q781132
value 2
[{'concept': 'Q5962346'}, 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?u WHERE { FILTER ( ?m = 2 ) . { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?m ) WHERE { ?u property:P137 ?d . ?u rdf:type ontology:Q5962346 . ?d rdf:type ontology:Q781132 } GROUP BY ?u } }
action equal
action find_tuple_counts
relation operator
type classification scheme
type military branch
value 2
[{'concept': 'classification scheme'}, 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?u WHERE { FILTER ( ?m = 2 ) . { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?m ) WHERE { ?u property:operator ?d . ?u rdf:type ontology:classification_scheme . ?d rdf:type ontology:military_branch } GROUP BY ?u } }
[]
military branch classification scheme
Q1070632 Q911728 Q663037
SYSTEM
Sierra-class submarine, Victor III class submarine, Alfa-class submarine
Q2451575 Q1960377 Q2975881 Q1499693 Q1773877 Q1782356 Q1066814 Q1720127 Q513869 Q2993149 Q395500 Q19623641 Q264912 Q13360583 Q494403 Q637775 Q1288529 Q6676568 Q846078 Q911728 Q713262 Q4172473 Q4367177 Q3679377 Q842423 Q11797542 Q2596671 Q975420 Q1068329 Q7862861 Q1194287 Q337990 Q2062612 Q2297597 Q6675326 Q1153647 Q955978 Q4785927 Q7449173 Q1754293 Q1541289 Q2000100 Q1626375 Q7862878 Q1070632 Q913512 Q528109 Q4367155 Q4367153 Q4367159 Q15631872 Q1475075 Q663037 Q1968562 Q1545043 Q14906943 Q2707876 Q2307521 Q442303 Q1389261 Q1719789
(c(Q5962346),P137,c(Q781132))
action equal
action find_tuple_counts
relation P137
type Q5962346
type Q781132
value 2
[ANSWERS] were operated by exactly 2 military branches
[{'concept': 'Q5962346'}, 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?u WHERE { FILTER ( ?m = 2 ) . { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?m ) WHERE { ?u property:P137 ?d . ?u rdf:type ontology:Q5962346 . ?d rdf:type ontology:Q781132 } GROUP BY ?u } }
Karp-class submarine Soviet S-class submarine British H-class submarine Yankee-class submarine CB-class midget submarine Delta IV-class submarine Charlie-class submarine British J-class submarine Oscar-class submarine Holland 602 type submarine Agosta-class submarine Oscar-I-class submarine November-class submarine Papa class submarine Type 214 submarine Daphné-class submarine CA-class midget submarine Delta I-class submarine Romeo-class submarine Victor III class submarine Hai Lung-class submarine Echo I class submarine Ronis-class submarine Liuzzi-class submarine Foxtrot-class submarine Oscar-II-class submarine Type B1 submarine Som-class submarine Golf-class submarine U-10-class submarine Tango-class submarine Juliett class submarine S1000 class submarines Delta II-class submarine Echo II class submarine Zulu-class submarine Marcello-class submarine Archer-class submarine Victor I class submarine Upholder/Victoria-class submarine Västergötland-class submarine Kaiman-class submarine Project 615 U-43-class submarine Sierra-class submarine Victor II class submarine Hotel-class submarine Charlie II-class submarine Project 667AT Grusha Sierra II class submarine German Type UE II submarine Victor-class submarine Alfa-class submarine Delta III-class submarine Delta-class submarine Project 636 Varshavyanka Sjöormen-class submarine Losos-class submarine Beluga-class submarine Priz class deep submergence rescue vehicle German UD-class submarine
Sierra-class submarine, Victor III class submarine and Alfa-class submarine were operated by exactly 2 military branches
Sierra-class submarine Victor III class submarine Alfa-class submarine
action equal
action find_tuple_counts
relation operator
type classification scheme
type military branch
value 2
[{'concept': 'classification scheme'}, 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?u WHERE { FILTER ( ?m = 2 ) . { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?m ) WHERE { ?u property:operator ?d . ?u rdf:type ontology:classification_scheme . ?d rdf:type ontology:military_branch } GROUP BY ?u } }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P520
Q15142889 Q153556 Q5962346
USER
How many classification schemes have lesser number of weapon families or ranged weapons as an instrument for fighting than that classification scheme ?
(c(Q5962346),P520,c(Q15142889)|c(Q153556))
[{'concept': 'Q5962346'}, 'P520', [{'concept': 'Q15142889'}, {'concept': 'Q153556'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:P520 ?y } UNION { ?z property:P520 ?x } } . ?z rdf:type ontology:Q5962346 . ?y rdf:type ontology:Q15142889 . ?x rdf:type ontology:Q153556 }
[{'concept': 'classification scheme'}, 'armament', [{'concept': 'weapon family'}, {'concept': 'ranged weapon'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:armament ?y } UNION { ?z property:armament ?x } } . ?z rdf:type ontology:classification_scheme . ?y rdf:type ontology:weapon_family . ?x rdf:type ontology:ranged_weapon }
[]
weapon family ranged weapon classification scheme
Comparative|Count over More/Less|Mult. entity type|Clarification
Q911728
SYSTEM
Did you mean Victor III class submarine ?
(c(Q5962346),P520,c(Q15142889)|c(Q153556))
[ANSWER]
[{'concept': 'Q5962346'}, 'P520', [{'concept': 'Q15142889'}, {'concept': 'Q153556'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:P520 ?y } UNION { ?z property:P520 ?x } } . ?z rdf:type ontology:Q5962346 . ?y rdf:type ontology:Q15142889 . ?x rdf:type ontology:Q153556 }
Did you mean Victor III class submarine ?
Victor III class submarine
[{'concept': 'classification scheme'}, 'armament', [{'concept': 'weapon family'}, {'concept': 'ranged weapon'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:armament ?y } UNION { ?z property:armament ?x } } . ?z rdf:type ontology:classification_scheme . ?y rdf:type ontology:weapon_family . ?x rdf:type ontology:ranged_weapon }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Alfa-class submarine. Could you tell me the answer for that?
(c(Q5962346),P520,c(Q15142889)|c(Q153556))
Q663037
[{'concept': 'Q5962346'}, 'P520', [{'concept': 'Q15142889'}, {'concept': 'Q153556'}]]
[{'concept': 'classification scheme'}, 'armament', [{'concept': 'weapon family'}, {'concept': 'ranged weapon'}]]
[]
SYSTEM
2
Q6676568 Q2297597
(c(Q5962346),P520,c(Q15142889)|c(Q153556))
[ANSWER]
[{'concept': 'Q5962346'}, 'P520', [{'concept': 'Q15142889'}, {'concept': 'Q153556'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:P520 ?y } UNION { ?z property:P520 ?x } } . ?z rdf:type ontology:Q5962346 . ?y rdf:type ontology:Q15142889 . ?x rdf:type ontology:Q153556 }
Delta I-class submarine Delta II-class submarine
2
[{'concept': 'classification scheme'}, 'armament', [{'concept': 'weapon family'}, {'concept': 'ranged weapon'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:armament ?y } UNION { ?z property:armament ?x } } . ?z rdf:type ontology:classification_scheme . ?y rdf:type ontology:weapon_family . ?x rdf:type ontology:ranged_weapon }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q663037
P176
Q43229
USER
Who is the manufacturer of Alfa-class submarine ?
(Q663037,P176,c(Q43229))
action filter_type
action find
entity Q663037
relation P176
type Q43229
['Q663037', 'P176', {'concept': 'Q43229'}]
SELECT DISTINCT ?y WHERE { resource:Q663037 property:P176 ?y . ?y rdf:type ontology:Q43229 }
Alfa-class submarine
action filter_type
action find
entity Alfa-class submarine
relation manufacturer
type organization
['Alfa-class submarine', 'manufacturer', {'concept': 'organization'}]
SELECT DISTINCT ?y WHERE { resource:Alfa-class_submarine property:manufacturer ?y . ?y rdf:type ontology:organization }
[]
organization
Q2628643
SYSTEM
Sevmash
Q2628643
(Q663037,P176,c(Q43229))
action filter_type
action find
entity Q663037
relation P176
type Q43229
The manufacturer of Alfa-class submarine is the [ANSWER]
['Q663037', 'P176', {'concept': 'Q43229'}]
SELECT DISTINCT ?y WHERE { resource:Q663037 property:P176 ?y . ?y rdf:type ontology:Q43229 }
Sevmash
The manufacturer of Alfa-class submarine is the Sevmash
Sevmash
action filter_type
action find
entity Alfa-class submarine
relation manufacturer
type organization
['Alfa-class submarine', 'manufacturer', {'concept': 'organization'}]
SELECT DISTINCT ?y WHERE { resource:Alfa-class_submarine property:manufacturer ?y . ?y rdf:type ontology:organization }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q663037
Q4830453
USER
And which business enterprise?
(Q663037,P176,c(Q4830453))
action filter_type
action find
entity Q663037
relation P176
type Q4830453
['Q663037', 'P176', {'concept': 'Q4830453'}]
SELECT DISTINCT ?a WHERE { resource:Q663037 property:P176 ?a . ?a rdf:type ontology:Q4830453 }
Alfa-class submarine
action filter_type
action find
entity Alfa-class submarine
relation manufacturer
type business enterprise
['Alfa-class submarine', 'manufacturer', {'concept': 'business enterprise'}]
SELECT DISTINCT ?a WHERE { resource:Alfa-class_submarine property:manufacturer ?a . ?a rdf:type ontology:business_enterprise }
[]
business enterprise
Q2292711
SYSTEM
Admiralty Shipyard
Q2292711
(Q663037,P176,c(Q4830453))
action filter_type
action find
entity Q663037
relation P176
type Q4830453
[ANSWER]
['Q663037', 'P176', {'concept': 'Q4830453'}]
SELECT DISTINCT ?a WHERE { resource:Q663037 property:P176 ?a . ?a rdf:type ontology:Q4830453 }
Admiralty Shipyard
Admiralty Shipyard
action filter_type
action find
entity Alfa-class submarine
relation manufacturer
type business enterprise
['Alfa-class submarine', 'manufacturer', {'concept': 'business enterprise'}]
SELECT DISTINCT ?a WHERE { resource:Alfa-class_submarine property:manufacturer ?a . ?a rdf:type ontology:business_enterprise }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q2292711 Q391191
P17
Q15617994
USER
Does that business enterprise belong to Padria ?
(Q2292711,P17,Q391191)
action is_in
entity Q391191
action find
entity Q2292711
relation P17
['Q2292711', 'P17', 'Q391191']
ASK WHERE { resource:Q2292711 property:P17 resource:Q391191 }
Admiralty Shipyard Padria
action is_in
entity Padria
action find
entity Admiralty Shipyard
relation country
['Admiralty Shipyard', 'country', 'Padria']
ASK WHERE { resource:Admiralty_Shipyard property:country resource:Padria }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q2292711,P17,Q391191)
action is_in
entity Q391191
action find
entity Q2292711
relation P17
[ANSWER]
['Q2292711', 'P17', 'Q391191']
ASK WHERE { resource:Q2292711 property:P17 resource:Q391191 }
No
action is_in
entity Padria
action find
entity Admiralty Shipyard
relation country
['Admiralty Shipyard', 'country', 'Padria']
ASK WHERE { resource:Admiralty_Shipyard property:country resource:Padria }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q222595
P17
Q15617994 Q7275
USER
How many administrative territories or states are British Army located in ?
(Q222595,P17,c(Q15617994)) (Q222595,P17,c(Q7275))
action count
action union
action filter_type
action find
entity Q222595
relation P17
type Q15617994
action filter_type
action find
entity Q222595
relation P17
type Q7275
['Q222595', 'P17', {'concept': 'Q15617994'}] ['Q222595', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { { resource:Q222595 property:P17 ?k . ?k rdf:type ontology:Q15617994 } UNION { resource:Q222595 property:P17 ?k . ?k rdf:type ontology:Q7275 } }
British Army
action count
action union
action filter_type
action find
entity British Army
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity British Army
relation country
type state
['British Army', 'country', {'concept': 'designation for an administrative territorial entity'}] ['British Army', 'country', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { { resource:British_Army property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:British_Army property:country ?k . ?k rdf:type ontology:state } }
[]
designation for an administrative territorial entity state
SYSTEM
2
Q161885 Q145
(Q222595,P17,c(Q15617994)) (Q222595,P17,c(Q7275))
action count
action union
action filter_type
action find
entity Q222595
relation P17
type Q15617994
action filter_type
action find
entity Q222595
relation P17
type Q7275
[ANSWER]
['Q222595', 'P17', {'concept': 'Q15617994'}] ['Q222595', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { { resource:Q222595 property:P17 ?k . ?k rdf:type ontology:Q15617994 } UNION { resource:Q222595 property:P17 ?k . ?k rdf:type ontology:Q7275 } }
Kingdom of Great Britain United Kingdom
2
action count
action union
action filter_type
action find
entity British Army
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity British Army
relation country
type state
['British Army', 'country', {'concept': 'designation for an administrative territorial entity'}] ['British Army', 'country', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { { resource:British_Army property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:British_Army property:country ?k . ?k rdf:type ontology:state } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q82955 Q2292358
P241 P106
Q502895
USER
Which people are known to be linked with the army branch named Brazilian Army and have politician as his/her means of employment ?
AND((c(Q502895),P241,Q2292358), (c(Q502895),P106,Q82955))
action filter_type
action intersection
action find_reverse
entity Q2292358
relation P241
action find_reverse
entity Q82955
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P241', 'Q2292358'], [{'concept': 'Q502895'}, 'P106', 'Q82955']]}
SELECT DISTINCT ?f WHERE { ?f property:P106 resource:Q82955 . ?f property:P241 resource:Q2292358 . ?f rdf:type ontology:Q502895 }
politician Brazilian Army
action filter_type
action intersection
action find_reverse
entity Brazilian Army
relation military branch
action find_reverse
entity politician
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'military branch', 'Brazilian Army'], [{'concept': 'common name'}, 'occupation', 'politician']]}
SELECT DISTINCT ?f WHERE { ?f property:occupation resource:politician . ?f property:military_branch resource:Brazilian_Army . ?f rdf:type ontology:common_name }
[]
common name
Q21450801
SYSTEM
Antônio Rodrigues Ferreira
Q21450801
AND((c(Q502895),P241,Q2292358), (c(Q502895),P106,Q82955))
action filter_type
action intersection
action find_reverse
entity Q2292358
relation P241
action find_reverse
entity Q82955
relation P106
type Q502895
[ANSWER] is known to be linked with the army branch named Brazilian Army and have politician as his/her means of employment
{'AND': [[{'concept': 'Q502895'}, 'P241', 'Q2292358'], [{'concept': 'Q502895'}, 'P106', 'Q82955']]}
SELECT DISTINCT ?f WHERE { ?f property:P106 resource:Q82955 . ?f property:P241 resource:Q2292358 . ?f rdf:type ontology:Q502895 }
Antônio Rodrigues Ferreira
Antônio Rodrigues Ferreira is known to be linked with the army branch named Brazilian Army and have politician as his/her means of employment
Antônio Rodrigues Ferreira
action filter_type
action intersection
action find_reverse
entity Brazilian Army
relation military branch
action find_reverse
entity politician
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'military branch', 'Brazilian Army'], [{'concept': 'common name'}, 'occupation', 'politician']]}
SELECT DISTINCT ?f WHERE { ?f property:occupation resource:politician . ?f property:military_branch resource:Brazilian_Army . ?f rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q21450801 Q561246 Q5351777
P27
Q15617994
USER
Is that person a citizen of Martinstein and El Paso Independent School District ?
(Q21450801,P27,Q561246) (Q21450801,P27,Q5351777)
action is_in
entity Q21450801
action intersection
action find_reverse
entity Q561246
relation P27
action find_reverse
entity Q5351777
relation P27
['Q21450801', 'P27', 'Q561246'] ['Q21450801', 'P27', 'Q5351777']
ASK WHERE { resource:Q21450801 property:P27 resource:Q561246 . resource:Q21450801 property:P27 resource:Q5351777 }
Antônio Rodrigues Ferreira Martinstein El Paso Independent School District
action is_in
entity Antônio Rodrigues Ferreira
action intersection
action find_reverse
entity Martinstein
relation country of citizenship
action find_reverse
entity El Paso Independent School District
relation country of citizenship
['Antônio Rodrigues Ferreira', 'country of citizenship', 'Martinstein'] ['Antônio Rodrigues Ferreira', 'country of citizenship', 'El Paso Independent School District']
ASK WHERE { resource:Antônio_Rodrigues_Ferreira property:country_of_citizenship resource:Martinstein . resource:Antônio_Rodrigues_Ferreira property:country_of_citizenship resource:El_Paso_Independent_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q21450801,P27,Q561246) (Q21450801,P27,Q5351777)
action is_in
entity Q21450801
action intersection
action find_reverse
entity Q561246
relation P27
action find_reverse
entity Q5351777
relation P27
[ANSWER]
['Q21450801', 'P27', 'Q561246'] ['Q21450801', 'P27', 'Q5351777']
ASK WHERE { resource:Q21450801 property:P27 resource:Q561246 . resource:Q21450801 property:P27 resource:Q5351777 }
No
action is_in
entity Antônio Rodrigues Ferreira
action intersection
action find_reverse
entity Martinstein
relation country of citizenship
action find_reverse
entity El Paso Independent School District
relation country of citizenship
['Antônio Rodrigues Ferreira', 'country of citizenship', 'Martinstein'] ['Antônio Rodrigues Ferreira', 'country of citizenship', 'El Paso Independent School District']
ASK WHERE { resource:Antônio_Rodrigues_Ferreira property:country_of_citizenship resource:Martinstein . resource:Antônio_Rodrigues_Ferreira property:country_of_citizenship resource:El_Paso_Independent_School_District }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P136
Q5962346 Q838948 Q2088357
USER
How many classification schemes are the genre of atleast 7 works of art and musical ensembles ?
(c(Q838948)|c(Q2088357),P136,c(Q5962346))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P136
type Q5962346
type Q838948
action find_reverse_tuple_counts
relation P136
type Q5962346
type Q2088357
value 7
[[{'concept': 'Q838948'}, {'concept': 'Q2088357'}], 'P136', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { FILTER ( ?f >= 7 ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) ?m WHERE { ?i rdf:type ?x . VALUES ( ?x ) { ( ontology:Q838948 ) ( ontology:Q2088357 ) } } GROUP BY ?m } }
action count
action atleast
action union
action find_reverse_tuple_counts
relation genre
type classification scheme
type work of art
action find_reverse_tuple_counts
relation genre
type classification scheme
type musical ensemble
value 7
[[{'concept': 'work of art'}, {'concept': 'musical ensemble'}], 'genre', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { FILTER ( ?f >= 7 ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) ?m WHERE { ?i rdf:type ?x . VALUES ( ?x ) { ( ontology:work_of_art ) ( ontology:musical_ensemble ) } } GROUP BY ?m } }
[]
classification scheme work of art musical ensemble
SYSTEM
3
Q1107 Q1366112 Q7603925
(c(Q838948)|c(Q2088357),P136,c(Q5962346))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P136
type Q5962346
type Q838948
action find_reverse_tuple_counts
relation P136
type Q5962346
type Q2088357
value 7
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q2088357'}], 'P136', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { FILTER ( ?f >= 7 ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) ?m WHERE { ?i rdf:type ?x . VALUES ( ?x ) { ( ontology:Q838948 ) ( ontology:Q2088357 ) } } GROUP BY ?m } }
anime television drama television documentary
3
action count
action atleast
action union
action find_reverse_tuple_counts
relation genre
type classification scheme
type work of art
action find_reverse_tuple_counts
relation genre
type classification scheme
type musical ensemble
value 7
[[{'concept': 'work of art'}, {'concept': 'musical ensemble'}], 'genre', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { FILTER ( ?f >= 7 ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) ?m WHERE { ?i rdf:type ?x . VALUES ( ?x ) { ( ontology:work_of_art ) ( ontology:musical_ensemble ) } } GROUP BY ?m } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q18633458 Q21450801
P27
Q15617994
USER
Which administrative territories are Antônio Rodrigues Ferreira or Oskar Nissinen a civilian of ?
OR((Q21450801,P27,c(Q15617994)), (Q18633458,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q21450801
relation P27
action find
entity Q18633458
relation P27
type Q15617994
{'OR': [['Q21450801', 'P27', {'concept': 'Q15617994'}], ['Q18633458', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . { VALUES ( ?b ) { ( resource:Q21450801 ) ( resource:Q18633458 ) } . ?b property:P27 ?y } }
Oskar Nissinen Antônio Rodrigues Ferreira
action filter_type
action union
action find
entity Antônio Rodrigues Ferreira
relation country of citizenship
action find
entity Oskar Nissinen
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Antônio Rodrigues Ferreira', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Oskar Nissinen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?b ) { ( resource:Antônio_Rodrigues_Ferreira ) ( resource:Oskar_Nissinen ) } . ?b property:country_of_citizenship ?y } }
[]
designation for an administrative territorial entity
Q155 Q33
SYSTEM
Brazil, Finland
Q155 Q33
OR((Q21450801,P27,c(Q15617994)), (Q18633458,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q21450801
relation P27
action find
entity Q18633458
relation P27
type Q15617994
[ANSWERS] are Antônio Rodrigues Ferreira or Oskar Nissinen a civilian of
{'OR': [['Q21450801', 'P27', {'concept': 'Q15617994'}], ['Q18633458', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . { VALUES ( ?b ) { ( resource:Q21450801 ) ( resource:Q18633458 ) } . ?b property:P27 ?y } }
Brazil Finland
Brazil and Finland are Antônio Rodrigues Ferreira or Oskar Nissinen a civilian of
Brazil Finland
action filter_type
action union
action find
entity Antônio Rodrigues Ferreira
relation country of citizenship
action find
entity Oskar Nissinen
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Antônio Rodrigues Ferreira', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Oskar Nissinen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?b ) { ( resource:Antônio_Rodrigues_Ferreira ) ( resource:Oskar_Nissinen ) } . ?b property:country_of_citizenship ?y } }
[]