Simple Question (Direct)
Simple Question
Q14947970
P607
Q198
USER
What battle was Charles Bulkeley Bulkeley-Johnson a part of ?
(Q14947970,P607,c(Q198))
action filter_type
action find
entity Q14947970
relation P607
type Q198
['Q14947970', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?j WHERE { resource:Q14947970 property:P607 ?j . ?j rdf:type ontology:Q198 }
Charles Bulkeley Bulkeley-Johnson
action filter_type
action find
entity Charles Bulkeley Bulkeley-Johnson
relation conflict
type war
['Charles Bulkeley Bulkeley-Johnson', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?j WHERE { resource:Charles_Bulkeley_Bulkeley-Johnson property:conflict ?j . ?j rdf:type ontology:war }
[]
war
Q361
SYSTEM
World War I
Q361
(Q14947970,P607,c(Q198))
action filter_type
action find
entity Q14947970
relation P607
type Q198
[ANSWER] was Charles Bulkeley Bulkeley-Johnson a part of
['Q14947970', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?j WHERE { resource:Q14947970 property:P607 ?j . ?j rdf:type ontology:Q198 }
World War I
World War I was Charles Bulkeley Bulkeley-Johnson a part of
World War I
action filter_type
action find
entity Charles Bulkeley Bulkeley-Johnson
relation conflict
type war
['Charles Bulkeley Bulkeley-Johnson', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?j WHERE { resource:Charles_Bulkeley_Bulkeley-Johnson property:conflict ?j . ?j rdf:type ontology:war }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q14947970
P40
Q502895
USER
Who has Charles Bulkeley Bulkeley-Johnson as an offspring ?
(c(Q502895),P40,Q14947970)
action filter_type
action find_reverse
entity Q14947970
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q14947970']
SELECT DISTINCT ?d WHERE { ?d property:P40 resource:Q14947970 . ?d rdf:type ontology:Q502895 }
Charles Bulkeley Bulkeley-Johnson
action filter_type
action find_reverse
entity Charles Bulkeley Bulkeley-Johnson
relation child
type common name
[{'concept': 'common name'}, 'child', 'Charles Bulkeley Bulkeley-Johnson']
SELECT DISTINCT ?d WHERE { ?d property:child resource:Charles_Bulkeley_Bulkeley-Johnson . ?d rdf:type ontology:common_name }
[]
common name
Q17626879
SYSTEM
Francis Bulkeley Johnson
Q17626879
(c(Q502895),P40,Q14947970)
action filter_type
action find_reverse
entity Q14947970
relation P40
type Q502895
[ANSWER] has Charles Bulkeley Bulkeley-Johnson as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q14947970']
SELECT DISTINCT ?d WHERE { ?d property:P40 resource:Q14947970 . ?d rdf:type ontology:Q502895 }
Francis Bulkeley Johnson
Francis Bulkeley Johnson has Charles Bulkeley Bulkeley-Johnson as an offspring
Francis Bulkeley Johnson
action filter_type
action find_reverse
entity Charles Bulkeley Bulkeley-Johnson
relation child
type common name
[{'concept': 'common name'}, 'child', 'Charles Bulkeley Bulkeley-Johnson']
SELECT DISTINCT ?d WHERE { ?d property:child resource:Charles_Bulkeley_Bulkeley-Johnson . ?d rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17626879
P22
Q502895
USER
Who has that one as a father ?
(c(Q502895),P22,Q17626879)
action filter_type
action find_reverse
entity Q17626879
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q17626879']
SELECT DISTINCT ?b WHERE { ?b property:P22 resource:Q17626879 . ?b rdf:type ontology:Q502895 }
Francis Bulkeley Johnson
action filter_type
action find_reverse
entity Francis Bulkeley Johnson
relation father
type common name
[{'concept': 'common name'}, 'father', 'Francis Bulkeley Johnson']
SELECT DISTINCT ?b WHERE { ?b property:father resource:Francis_Bulkeley_Johnson . ?b rdf:type ontology:common_name }
[]
common name
Q14947970
SYSTEM
Charles Bulkeley Bulkeley-Johnson
Q14947970
(c(Q502895),P22,Q17626879)
action filter_type
action find_reverse
entity Q17626879
relation P22
type Q502895
[ANSWER] has that one as a father
[{'concept': 'Q502895'}, 'P22', 'Q17626879']
SELECT DISTINCT ?b WHERE { ?b property:P22 resource:Q17626879 . ?b rdf:type ontology:Q502895 }
Charles Bulkeley Bulkeley-Johnson
Charles Bulkeley Bulkeley-Johnson has that one as a father
Charles Bulkeley Bulkeley-Johnson
action filter_type
action find_reverse
entity Francis Bulkeley Johnson
relation father
type common name
[{'concept': 'common name'}, 'father', 'Francis Bulkeley Johnson']
SELECT DISTINCT ?b WHERE { ?b property:father resource:Francis_Bulkeley_Johnson . ?b rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q14947970
P241
Q781132
USER
Which military branch was that person a part of ?
(Q14947970,P241,c(Q781132))
action filter_type
action find
entity Q14947970
relation P241
type Q781132
['Q14947970', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q781132 . resource:Q14947970 property:P241 ?o }
Charles Bulkeley Bulkeley-Johnson
action filter_type
action find
entity Charles Bulkeley Bulkeley-Johnson
relation military branch
type military branch
['Charles Bulkeley Bulkeley-Johnson', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:military_branch . resource:Charles_Bulkeley_Bulkeley-Johnson property:military_branch ?o }
[]
military branch
Q222595
SYSTEM
British Army
Q222595
(Q14947970,P241,c(Q781132))
action filter_type
action find
entity Q14947970
relation P241
type Q781132
The [ANSWER] was that person a part of
['Q14947970', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q781132 . resource:Q14947970 property:P241 ?o }
British Army
The British Army was that person a part of
British Army
action filter_type
action find
entity Charles Bulkeley Bulkeley-Johnson
relation military branch
type military branch
['Charles Bulkeley Bulkeley-Johnson', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:military_branch . resource:Charles_Bulkeley_Bulkeley-Johnson property:military_branch ?o }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q781132 Q895526 Q781132
USER
Which military branches are a component of atmost 1 military branches or authority organs ?
(c(Q781132),P361,c(Q781132)|c(Q895526))
action atmost
action union
action find_tuple_counts
relation P361
type Q781132
type Q781132
action find_tuple_counts
relation P361
type Q781132
type Q895526
value 1
[{'concept': 'Q781132'}, 'P361', [{'concept': 'Q781132'}, {'concept': 'Q895526'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?n ) AS ?x ) WHERE { { ?n rdf:type ontology:Q781132 . ?w rdf:type ontology:Q781132 . ?w property:P361 ?n } UNION { ?w property:P361 ?n . ?w rdf:type ontology:Q781132 . ?n rdf:type ontology:Q895526 } } GROUP BY ?w } . FILTER ( ?x <= 1 ) }
action atmost
action union
action find_tuple_counts
relation part of
type military branch
type military branch
action find_tuple_counts
relation part of
type military branch
type authority organ
value 1
[{'concept': 'military branch'}, 'part of', [{'concept': 'military branch'}, {'concept': 'authority organ'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?n ) AS ?x ) WHERE { { ?n rdf:type ontology:military_branch . ?w rdf:type ontology:military_branch . ?w property:part_of ?n } UNION { ?w property:part_of ?n . ?w rdf:type ontology:military_branch . ?n rdf:type ontology:authority_organ } } GROUP BY ?w } . FILTER ( ?x <= 1 ) }
[]
military branch authority organ military branch
Q17597972 Q3277832 Q4419309
SYSTEM
Angolan Army, Hungarian Ground Forces, Kazakh Air and Air Defence Forces
Q222595 Q56015 Q4855270 Q704397 Q16010756 Q4114435 Q6641434 Q5290731 Q6047425 Q5370743 Q676404 Q12645011 Q1137373 Q1363476 Q248989 Q18596375 Q18601754 Q217406 Q18706531 Q18610096 Q356359 Q18610098 Q376676 Q18601907 Q2490375 Q18601902 Q2505986 Q3277832 Q15885502 Q2383264 Q1076619 Q4633784 Q2711719 Q741691 Q18668466 Q7574566 Q4114441 Q4774797 Q25436 Q1401100 Q6068085 Q3068744 Q643834 Q1370337 Q6510939 Q4637390 Q5524457 Q932840 Q192366 Q7574723 Q17597972 Q2408298 Q208711 Q3848123 Q465283 Q3848121 Q6082582 Q3480057 Q897614 Q2630039 Q2055270 Q483268 Q1815399 Q4419309 Q2387294 Q1129369 Q18615980 Q4948888 Q2258261 Q2078095 Q17812275 Q5555333 Q18612015 Q4447363 Q18612288 Q16960948 Q2055634 Q19344622 Q18611816 Q1318378 Q919292 Q17812427 Q1187401 Q488756 Q2071948 Q3124137 Q3293231 Q6025264 Q1499997 Q1188381 Q4115107 Q15059515 Q7406484 Q706042 Q1426835 Q7275540 Q2993856 Q1491482 Q457188 Q13423902 Q6479134 Q4114459 Q4114457 Q604425 Q4631091 Q2292358 Q11218 Q18640848 Q2349884 Q18643350 Q7373859 Q1358152 Q5985661 Q355771 Q1067064 Q2074039 Q267167 Q18615977 Q702116 Q17605054 Q18706999 Q1322103 Q796754 Q11322507 Q2670650 Q1799545 Q10497058 Q781360 Q18611637 Q18696932 Q18706763 Q2883880 Q1547773 Q18676717 Q16492183 Q8501879 Q18612033 Q1678316 Q557432 Q3657642 Q18600123 Q508647 Q311381 Q4867847 Q1038047 Q833040 Q2984556 Q2575188 Q4447370 Q2257572 Q4447372 Q889751 Q2704661 Q18597127 Q898671 Q2862841 Q19247539 Q701923 Q1750688 Q1311627 Q18597663 Q4114434 Q17069134 Q2083573 Q4642716 Q18696718 Q1546449 Q2626138 Q755179 Q63481 Q2745472 Q2301347 Q4709134 Q20894979 Q56018 Q9212 Q1066532 Q1046947 Q257736 Q190949 Q4447361 Q11220 Q2526431 Q2016459 Q1753805 Q17584707 Q487238 Q2594652 Q792296 Q3958034 Q1141396 Q4117226 Q682152 Q1953312 Q6019843 Q18640177 Q1951484 Q18600100 Q18640173 Q172771 Q1550893 Q18640276 Q2742227 Q675932 Q6448938 Q7125810 Q2558747 Q18642947 Q5403575 Q3079743 Q2528358 Q2640550 Q2905423 Q18669736 Q6497421 Q4939559 Q2006452 Q4925654 Q382551 Q15901085 Q2862927 Q2985739 Q4447359 Q1777326 Q163416 Q1130695 Q5610863 Q17049310 Q5957893 Q383108 Q25387 Q18640167 Q18640164 Q18619862 Q1370395 Q1366319 Q963354 Q2370391 Q2492012 Q4947401 Q151701 Q796411 Q3293247 Q588089 Q17111011 Q510534 Q18668460 Q18707076 Q2046686 Q18129370 Q1674702 Q575932 Q18707175 Q1427990 Q569328 Q16514728 Q18597159
(c(Q781132),P361,c(Q781132)|c(Q895526))
action atmost
action union
action find_tuple_counts
relation P361
type Q781132
type Q781132
action find_tuple_counts
relation P361
type Q781132
type Q895526
value 1
[ANSWERS] are a component of atmost 1 military branches or authority organs
[{'concept': 'Q781132'}, 'P361', [{'concept': 'Q781132'}, {'concept': 'Q895526'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?n ) AS ?x ) WHERE { { ?n rdf:type ontology:Q781132 . ?w rdf:type ontology:Q781132 . ?w property:P361 ?n } UNION { ?w property:P361 ?n . ?w rdf:type ontology:Q781132 . ?n rdf:type ontology:Q895526 } } GROUP BY ?w } . FILTER ( ?x <= 1 ) }
British Army German Navy Bangladesh Army Republic of China Army Djiboutian Army Royal Naval Force Royal Thai Air Force Commando Company Dominican Army German Army Special Boarding Unit Spanish Navy Wolves Libyan Army Korean People's Navy Polish Land Forces Army of Burkina Faso Congolese Navy French Navy 23rd Infantry Brigade Equatorial Guinean Army Indian Navy Equatorial Guinean Navy Albanian Naval Force Revolutionary Navy Royal Cambodian Army Revolutionary Army National Army of Venezuela Hungarian Ground Forces Spetsnaz GRU Finnish Army French Army 2nd Massachusetts Regiment Lithuanian Naval Force Royal Australian Navy National Army Force of Côte d'Ivoire Special Forces Brigade Naval Force of El Salvador Antigua and Barbuda Regiment Canadian Army Myanmar Army Iraqi Special Operations Forces Syrian Arab Army German Navy Estonian Navy Lebanese Special Operations Command 40 Commando Garud Commando Force Ukrainian Navy Royal Bahraini Army Special Service Group Navy Angolan Army Islamic Republic of Iran Navy Chilean Navy Kazakh Naval Force Russian Navy United Arab Emirates Navy Islamic Republic of Iran Air Defense Force Division Action Iraqi Army New Zealand Army Brazilian Army Aviation Command Republic of Korea Army South African Army Kazakh Air and Air Defence Forces Romanian Naval Forces Hellenic Navy Gambian Navy Botswana Ground Force Pakistan Navy Pakistan Army Brazilian Surface Fleet Ghana Army Military Health Service Lebanese Ground Forces Gabonese Navy Chadian ground forces Royal Bahrain Naval Force naval reserve force Naval Unit Republic of Fiji Military Forces Recherche Assistance Intervention Dissuasion Ecuadorian Navy Brazilian Submarine Fleet People's Liberation Army Ground Force Republic of Korea Navy Finnish Navy Dominican Navy Bangladesh Navy Ottoman Army Lithuanian Land Force Bulgarian Navy National Army of Colombia Myanmar Navy Salvadoran Army Prussian Army anti-aircraft artillery RAF Regiment Azerbaijani Navy Lao People's Navy Prussian Navy Czech Land Forces Egyptian Army Eritrean Navy Djiboutian Navy Coast Guard of Georgia 21st Continental Regiment Brazilian Army United States Marine Corps Bissau-Guinean Navy Croatian Navy Islamic Republic of Iran Ground Force Royal Brunei Land Forces Korean People's Army Ground Force Iceland Air Defence System Indian Army United States Special Operations Command Latvian Land Forces Polish Navy Gambian National Army Republic of China Navy Azerbaijani Air Defence Force 1st Mechanized Infantry Brigade Spanish Army Soviet Navy German Army Navy of the Army of the Guardians of the Islamic Revolution Philippine Army Swedish Airbase Rangers Australian Army Ethiopian Army Lao People's Army Libyan Ground Forces Barbados Regiment Groupes d'Intervention de la Police Nationale Kazakh Ground Forces Honduran Army Ghana Navy Gabonese Army Jagdkommando East German Land Forces Eritrean Army Republican Guard Volksmarine Quds Force Basque Auxiliary Navy Irish Army Italian Navy Azerbaijani Land Force Royal Danish Army Belarusian Army Belgian Land Component Tunisian Army Japan Ground Self-Defense Force Indonesian Navy Cameroon Army Iraqi Navy Congolese Army Ottoman Army German Army Brazilian Navy Syrian Navy Cape Verde National Guard Honduran Navy Force Kenya Army Royal Norwegian Navy 6th Massachusetts Regiment Kyrgyz Army Hellenic Army Armenian Army People's Liberation Army Navy National Gendarmerie Intervention Group Chilean Army Argentine Army Albanian Land Force Malian Army Joint Medical Service United States Army Brazilian Marine Corps Royal Marines Lithuanian Special Operations Force Vietnamese Independence League Algerian People's National Army United States Navy National Navy of Colombia Polish Special Forces Croatian Army Benin Army Republic of Korea Marine Corps Naval Service Belgian Naval Component Argentine Army Aviation Swedish Navy Royal Jordanian Land Force Ukrainian Ground Forces Bulgarian Land Forces Army Medical Corps Guinean Navy Georgian Land Forces Central African Army People's Army of Guinea Royal Navy Grupo Especial de Operaciones Bissau-Guinean Army Royal Saudi Navy Kenya Navy Kuwaiti Army Pakistan Marines Romanian Land Forces Army Aviation Center Ethiopian Navy Kuwait Naval Force Mexican Navy Chilean Marine Corps Lebanese Navy Jamaica Regiment Special Tasks Unit Bolivian Army Royal Danish Navy Royal Cambodian Navy Egyptian Navy Russian special operations forces Indonesian Army Egyptian Air Defense Command Austrian Land Forces Argentine Navy 1st Cavalry Army Royal Brunei Navy Ground Forces of the Army of the Guardians of the Islamic Revolution Angolan Navy Islamic Republic of Iran Army Aviation Afghan National Army Royal Canadian Navy Navy of National Defense National Army of Guatemala Georgian Naval Forces Estonian Land Forces Libyan Navy United States Naval Special Warfare Development Group Royal Bhutan Army Swedish Army Bosnian Ground Forces Kriegsmarine Italian Army Benin Naval Forces Portuguese Navy Navy of the Democratic Republic of the Congo Israeli Navy National Navy of Côte d'Ivoire Malagasy Army Cyprus Naval Command Philippine Commonwealth Army GOC Army Headquarters Royal New Zealand Navy Malawi Army Naval Detachment Women's Hospital Corps Air Force and Anti-Air Defence Brigade Tanzania Naval Command Cameroon Navy
Angolan Army, Hungarian Ground Forces and Kazakh Air and Air Defence Forces are a component of atmost 1 military branches or authority organs
Angolan Army Hungarian Ground Forces Kazakh Air and Air Defence Forces
action atmost
action union
action find_tuple_counts
relation part of
type military branch
type military branch
action find_tuple_counts
relation part of
type military branch
type authority organ
value 1
[{'concept': 'military branch'}, 'part of', [{'concept': 'military branch'}, {'concept': 'authority organ'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?n ) AS ?x ) WHERE { { ?n rdf:type ontology:military_branch . ?w rdf:type ontology:military_branch . ?w property:part_of ?n } UNION { ?w property:part_of ?n . ?w rdf:type ontology:military_branch . ?n rdf:type ontology:authority_organ } } GROUP BY ?w } . FILTER ( ?x <= 1 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q219712
P137
Q781132 Q2235308 Q811979
USER
Which military branches manages less number of ship types and architectural structures than Imperial Japanese Navy ?
(c(Q2235308)|c(Q811979),P137,c(Q781132))
action less
action union
action find_reverse_tuple_counts
relation P137
type Q781132
type Q2235308
action find_reverse_tuple_counts
relation P137
type Q781132
type Q811979
action count
action filter_multi_types
action find_reverse
entity Q219712
relation P137
type Q2235308
type Q811979
[[{'concept': 'Q2235308'}, {'concept': 'Q811979'}], 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?h ) AS ?i ) WHERE { { ?h property:P137 ?r . ?h rdf:type ontology:Q2235308 . ?r rdf:type ontology:Q781132 } UNION { ?r rdf:type ontology:Q781132 . ?h rdf:type ontology:Q811979 . ?h property:P137 ?r } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { ?b property:P137 resource:Q219712 . { VALUES ( ?v ) { ( ontology:Q811979 ) ( ontology:Q2235308 ) } . ?b rdf:type ?v } } } . FILTER ( ?i < ?a ) }
Imperial Japanese Navy
action less
action union
action find_reverse_tuple_counts
relation operator
type military branch
type ship type
action find_reverse_tuple_counts
relation operator
type military branch
type architectural structure
action count
action filter_multi_types
action find_reverse
entity Imperial Japanese Navy
relation operator
type ship type
type architectural structure
[[{'concept': 'ship type'}, {'concept': 'architectural structure'}], 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?h ) AS ?i ) WHERE { { ?h property:operator ?r . ?h rdf:type ontology:ship_type . ?r rdf:type ontology:military_branch } UNION { ?r rdf:type ontology:military_branch . ?h rdf:type ontology:architectural_structure . ?h property:operator ?r } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { ?b property:operator resource:Imperial_Japanese_Navy . { VALUES ( ?v ) { ( ontology:architectural_structure ) ( ontology:ship_type ) } . ?b rdf:type ?v } } } . FILTER ( ?i < ?a ) }
[]
military branch ship type 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 Q217406 Q702430 Q356359 Q376676 Q1652708 Q2505986 Q1113589 Q3293231 Q1076619 Q741691 Q19562444 Q855186 Q11322507 Q2384177 Q643834 Q1370337 Q465283 Q931281 Q3958034 Q2531890 Q932840 Q3848121 Q796754 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(Q2235308)|c(Q811979),P137,c(Q781132))
action less
action union
action find_reverse_tuple_counts
relation P137
type Q781132
type Q2235308
action find_reverse_tuple_counts
relation P137
type Q781132
type Q811979
action count
action filter_multi_types
action find_reverse
entity Q219712
relation P137
type Q2235308
type Q811979
[ANSWERS] manage less number of ship types and architectural structures than Imperial Japanese Navy
[[{'concept': 'Q2235308'}, {'concept': 'Q811979'}], 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?h ) AS ?i ) WHERE { { ?h property:P137 ?r . ?h rdf:type ontology:Q2235308 . ?r rdf:type ontology:Q781132 } UNION { ?r rdf:type ontology:Q781132 . ?h rdf:type ontology:Q811979 . ?h property:P137 ?r } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { ?b property:P137 resource:Q219712 . { VALUES ( ?v ) { ( ontology:Q811979 ) ( ontology:Q2235308 ) } . ?b rdf:type ?v } } } . FILTER ( ?i < ?a ) }
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 French Navy 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 Russian Navy Royal Netherlands Navy Argentine Army Aviation Republic of Singapore Navy Ukrainian Navy United Arab Emirates Navy Soviet 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 less number of ship types and architectural structures than Imperial Japanese Navy
Hungarian Ground Forces Kazakh Air and Air Defence Forces Latvian Land Forces
action less
action union
action find_reverse_tuple_counts
relation operator
type military branch
type ship type
action find_reverse_tuple_counts
relation operator
type military branch
type architectural structure
action count
action filter_multi_types
action find_reverse
entity Imperial Japanese Navy
relation operator
type ship type
type architectural structure
[[{'concept': 'ship type'}, {'concept': 'architectural structure'}], 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?h ) AS ?i ) WHERE { { ?h property:operator ?r . ?h rdf:type ontology:ship_type . ?r rdf:type ontology:military_branch } UNION { ?r rdf:type ontology:military_branch . ?h rdf:type ontology:architectural_structure . ?h property:operator ?r } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { ?b property:operator resource:Imperial_Japanese_Navy . { VALUES ( ?v ) { ( ontology:architectural_structure ) ( ontology:ship_type ) } . ?b rdf:type ?v } } } . FILTER ( ?i < ?a ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q755179
P137
Q781132 Q2235308 Q811979
USER
And how about People's Liberation Army Navy?
(c(Q2235308)|c(Q811979),P137,c(Q781132))
action less
action union
action find_reverse_tuple_counts
relation P137
type Q781132
type Q2235308
action find_reverse_tuple_counts
relation P137
type Q781132
type Q811979
action count
action filter_multi_types
action find_reverse
entity Q755179
relation P137
type Q2235308
type Q811979
[[{'concept': 'Q2235308'}, {'concept': 'Q811979'}], 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) ?v WHERE { VALUES ( ?t ) { ( ontology:Q2235308 ) ( ontology:Q811979 ) } . ?w rdf:type ?t } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { ?p property:P137 resource:Q755179 . { { ?p rdf:type ontology:Q811979 } UNION { ?p rdf:type ontology:Q2235308 } } } } . FILTER ( ?n < ?z ) }
People's Liberation Army Navy
action less
action union
action find_reverse_tuple_counts
relation operator
type military branch
type ship type
action find_reverse_tuple_counts
relation operator
type military branch
type architectural structure
action count
action filter_multi_types
action find_reverse
entity People's Liberation Army Navy
relation operator
type ship type
type architectural structure
[[{'concept': 'ship type'}, {'concept': 'architectural structure'}], 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) ?v WHERE { VALUES ( ?t ) { ( ontology:ship_type ) ( ontology:architectural_structure ) } . ?w rdf:type ?t } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { ?p property:operator resource:People's_Liberation_Army_Navy . { { ?p rdf:type ontology:architectural_structure } UNION { ?p rdf:type ontology:ship_type } } } } . FILTER ( ?n < ?z ) }
[]
military branch ship type architectural structure
Q3277832 Q4419309 Q2074039
SYSTEM
Hungarian Ground Forces, Kazakh Air and Air Defence Forces, Latvian Land Forces
Q222595 Q2427907 Q169025 Q704397 Q6648444 Q3510333 Q246813 Q2705826 Q702430 Q376676 Q1652708 Q2505986 Q1113589 Q3293231 Q1076619 Q19562444 Q11322507 Q2384177 Q643834 Q1370337 Q931281 Q3958034 Q2531890 Q932840 Q3848121 Q897614 Q1815399 Q4419309 Q2387294 Q56018 Q2067603 Q2258261 Q56015 Q2055634 Q19344622 Q952444 Q488756 Q16408580 Q1285655 Q1188381 Q2537847 Q1774585 Q25436 Q2630039 Q6479134 Q4114459 Q2370391 Q2292358 Q11218 Q3546162 Q5334371 Q355771 Q2074039 Q2349884 Q583941 Q1322103 Q15705369 Q781360 Q2408298 Q4115107 Q16151032 Q1038047 Q4114435 Q2575188 Q889751 Q2704661 Q898671 Q2566387 Q1944482 Q1750688 Q4855270 Q7032867 Q1324290 Q2301347 Q9212 Q861530 Q1046947 Q2526431 Q2594652 Q792296 Q3274075 Q17404781 Q2745472 Q1062125 Q2742227 Q3277832 Q2528358 Q4939559 Q3848018 Q1311627 Q2749588 Q2665572 Q1370395 Q1366319 Q2492012 Q796411 Q588089 Q2383264 Q510534 Q1124986 Q4303265 Q575932 Q569328
(c(Q2235308)|c(Q811979),P137,c(Q781132))
action less
action union
action find_reverse_tuple_counts
relation P137
type Q781132
type Q2235308
action find_reverse_tuple_counts
relation P137
type Q781132
type Q811979
action count
action filter_multi_types
action find_reverse
entity Q755179
relation P137
type Q2235308
type Q811979
[ANSWERS]
[[{'concept': 'Q2235308'}, {'concept': 'Q811979'}], 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) ?v WHERE { VALUES ( ?t ) { ( ontology:Q2235308 ) ( ontology:Q811979 ) } . ?w rdf:type ?t } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { ?p property:P137 resource:Q755179 . { { ?p rdf:type ontology:Q811979 } UNION { ?p rdf:type ontology:Q2235308 } } } } . FILTER ( ?n < ?z ) }
British Army Royal Thai Navy National Navy of Uruguay Republic of China Army Lithuanian Army Nigerian Navy Luxembourg Army Free French Naval Forces Beiyang Fleet Albanian Naval Force South African Navy National Army of Venezuela Saudi Arabian Army Bangladesh Navy French Army Danish-Norwegian navy 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 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 Latvian Land Forces Croatian Navy Imperial Russian Navy Spanish Army Tudor navy Australian Army Islamic Republic of Iran Navy National Army of Colombia Dano-Norwegian Navy Irish Army 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 Vietnam People's Navy Argentine Army United States Army Royal Malaysian Navy Royal Marines National Navy of Colombia Naval Service Belgian Naval Component Sri Lanka Navy Afghan Special Mission Wing Chilean Army Ottoman Navy Royal Saudi Navy Hungarian Ground Forces Mexican Navy Bolivian Army Italian Co-Belligerent Navy Syrian Navy Royal Thai Army Algerian National Navy Estonian Land Forces Libyan 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 Latvian Land Forces
action less
action union
action find_reverse_tuple_counts
relation operator
type military branch
type ship type
action find_reverse_tuple_counts
relation operator
type military branch
type architectural structure
action count
action filter_multi_types
action find_reverse
entity People's Liberation Army Navy
relation operator
type ship type
type architectural structure
[[{'concept': 'ship type'}, {'concept': 'architectural structure'}], 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) ?v WHERE { VALUES ( ?t ) { ( ontology:ship_type ) ( ontology:architectural_structure ) } . ?w rdf:type ?t } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { ?p property:operator resource:People's_Liberation_Army_Navy . { { ?p rdf:type ontology:architectural_structure } UNION { ?p rdf:type ontology:ship_type } } } } . FILTER ( ?n < ?z ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3277832
P121
Q12876
USER
What is operated by Hungarian Ground Forces ?
(Q3277832,P121,c(Q12876))
action filter_type
action find
entity Q3277832
relation P121
type Q12876
['Q3277832', 'P121', {'concept': 'Q12876'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q12876 . resource:Q3277832 property:P121 ?b }
Hungarian Ground Forces
action filter_type
action find
entity Hungarian Ground Forces
relation item operated
type tank
['Hungarian Ground Forces', 'item operated', {'concept': 'tank'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:tank . resource:Hungarian_Ground_Forces property:item_operated ?b }
[]
tank
Q155658
SYSTEM
T-72
Q155658
(Q3277832,P121,c(Q12876))
action filter_type
action find
entity Q3277832
relation P121
type Q12876
[ANSWER] is operated by Hungarian Ground Forces
['Q3277832', 'P121', {'concept': 'Q12876'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q12876 . resource:Q3277832 property:P121 ?b }
T-72
T-72 is operated by Hungarian Ground Forces
T-72
action filter_type
action find
entity Hungarian Ground Forces
relation item operated
type tank
['Hungarian Ground Forces', 'item operated', {'concept': 'tank'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:tank . resource:Hungarian_Ground_Forces property:item_operated ?b }
[]