Simple Question (Direct)
Simple Question
Q6835380
P241
Q781132
USER
Which military branches are Michael Willoughby, 11th Baron Middleton associated with ?
(Q6835380,P241,c(Q781132))
action filter_type
action find
entity Q6835380
relation P241
type Q781132
['Q6835380', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?l WHERE { resource:Q6835380 property:P241 ?l . ?l rdf:type ontology:Q781132 }
Michael Willoughby, 11th Baron Middleton
action filter_type
action find
entity Michael Willoughby, 11th Baron Middleton
relation military branch
type military branch
['Michael Willoughby, 11th Baron Middleton', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?l WHERE { resource:Michael_Willoughby,_11th_Baron_Middleton property:military_branch ?l . ?l rdf:type ontology:military_branch }
[]
military branch
Q222595 Q642932
SYSTEM
British Army, Indian Army
Q222595 Q642932
(Q6835380,P241,c(Q781132))
action filter_type
action find
entity Q6835380
relation P241
type Q781132
Michael Willoughby , 11th Baron Middleton are associated with the [ANSWERS]
['Q6835380', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?l WHERE { resource:Q6835380 property:P241 ?l . ?l rdf:type ontology:Q781132 }
British Army Indian Army
Michael Willoughby , 11th Baron Middleton are associated with the British Army and Indian Army
British Army Indian Army
action filter_type
action find
entity Michael Willoughby, 11th Baron Middleton
relation military branch
type military branch
['Michael Willoughby, 11th Baron Middleton', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?l WHERE { resource:Michael_Willoughby,_11th_Baron_Middleton property:military_branch ?l . ?l rdf:type ontology:military_branch }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6835380
P607
Q198
USER
Which wars did that person take part in ?
(Q222595,P607,c(Q198)) (Q642932,P607,c(Q198))
action filter_type
action find
entity Q6835380
relation P607
type Q198
['Q222595', 'P607', {'concept': 'Q198'}] ['Q642932', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?x WHERE { resource:Q6835380 property:P607 ?x . ?x rdf:type ontology:Q198 }
Michael Willoughby, 11th Baron Middleton
action filter_type
action find
entity Michael Willoughby, 11th Baron Middleton
relation conflict
type war
['British Army', 'conflict', {'concept': 'war'}] ['Indian Army', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?x WHERE { resource:Michael_Willoughby,_11th_Baron_Middleton property:conflict ?x . ?x rdf:type ontology:war }
[]
war
Q362 Q361
SYSTEM
World War II, World War I
Q362 Q361
(Q222595,P607,c(Q198)) (Q642932,P607,c(Q198))
action filter_type
action find
entity Q6835380
relation P607
type Q198
That person took part in [ANSWERS]
['Q222595', 'P607', {'concept': 'Q198'}] ['Q642932', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?x WHERE { resource:Q6835380 property:P607 ?x . ?x rdf:type ontology:Q198 }
World War II World War I
That person took part in World War II and World War I
World War II World War I
action filter_type
action find
entity Michael Willoughby, 11th Baron Middleton
relation conflict
type war
['British Army', 'conflict', {'concept': 'war'}] ['Indian Army', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?x WHERE { resource:Michael_Willoughby,_11th_Baron_Middleton property:conflict ?x . ?x rdf:type ontology:war }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6835380
P166
Q618779
USER
Which award was received by that person ?
(Q362,P166,c(Q618779)) (Q361,P166,c(Q618779))
action filter_type
action find
entity Q6835380
relation P166
type Q618779
['Q362', 'P166', {'concept': 'Q618779'}] ['Q361', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?g WHERE { resource:Q6835380 property:P166 ?g . ?g rdf:type ontology:Q618779 }
Michael Willoughby, 11th Baron Middleton
action filter_type
action find
entity Michael Willoughby, 11th Baron Middleton
relation award received
type award
['World War II', 'award received', {'concept': 'award'}] ['World War I', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?g WHERE { resource:Michael_Willoughby,_11th_Baron_Middleton property:award_received ?g . ?g rdf:type ontology:award }
[]
award
Q1335064
SYSTEM
Military Cross
Q1335064
(Q362,P166,c(Q618779)) (Q361,P166,c(Q618779))
action filter_type
action find
entity Q6835380
relation P166
type Q618779
The [ANSWER] was received by that person
['Q362', 'P166', {'concept': 'Q618779'}] ['Q361', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?g WHERE { resource:Q6835380 property:P166 ?g . ?g rdf:type ontology:Q618779 }
Military Cross
The Military Cross was received by that person
Military Cross
action filter_type
action find
entity Michael Willoughby, 11th Baron Middleton
relation award received
type award
['World War II', 'award received', {'concept': 'award'}] ['World War I', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?g WHERE { resource:Michael_Willoughby,_11th_Baron_Middleton property:award_received ?g . ?g rdf:type ontology:award }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q3848121
P137
Q781132 Q1076486 Q2235308
USER
Which military branches operate less number of sports venues or ship types than United Arab Emirates Navy ?
(c(Q1076486)|c(Q2235308),P137,c(Q781132))
action less
action union
action find_reverse_tuple_counts
relation P137
type Q781132
type Q1076486
action find_reverse_tuple_counts
relation P137
type Q781132
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q3848121
relation P137
type Q1076486
type Q2235308
[[{'concept': 'Q1076486'}, {'concept': 'Q2235308'}], 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) ?b WHERE { ?o rdf:type ?a . VALUES ( ?a ) { ( ontology:Q2235308 ) ( ontology:Q1076486 ) } } GROUP BY ?b } . FILTER ( ?c < ?q ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { ?z property:P137 resource:Q3848121 . { ?z rdf:type ?u . VALUES ( ?u ) { ( ontology:Q1076486 ) ( ontology:Q2235308 ) } } } } }
United Arab Emirates Navy
action less
action union
action find_reverse_tuple_counts
relation operator
type military branch
type sports venue
action find_reverse_tuple_counts
relation operator
type military branch
type ship type
action count
action filter_multi_types
action find_reverse
entity United Arab Emirates Navy
relation operator
type sports venue
type ship type
[[{'concept': 'sports venue'}, {'concept': 'ship type'}], 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) ?b WHERE { ?o rdf:type ?a . VALUES ( ?a ) { ( ontology:ship_type ) ( ontology:sports_venue ) } } GROUP BY ?b } . FILTER ( ?c < ?q ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { ?z property:operator resource:United_Arab_Emirates_Navy . { ?z rdf:type ?u . VALUES ( ?u ) { ( ontology:sports_venue ) ( ontology:ship_type ) } } } } }
[]
military branch sports venue ship type
Q3277832 Q4419309 Q2074039
SYSTEM
Hungarian Ground Forces, Kazakh Air and Air Defence Forces, Latvian Land Forces
Q222595 Q2427907 Q169025 Q704397 Q6648444 Q3510333 Q246813 Q376676 Q2505986 Q1113589 Q1076619 Q11322507 Q2384177 Q643834 Q3958034 Q897614 Q1815399 Q4419309 Q2387294 Q56018 Q2067603 Q2258261 Q2055634 Q19344622 Q1285655 Q1188381 Q2537847 Q1774585 Q25436 Q2630039 Q6479134 Q4114459 Q2370391 Q2292358 Q11218 Q5334371 Q355771 Q2074039 Q1322103 Q15705369 Q781360 Q2408298 Q4115107 Q1038047 Q4114435 Q2575188 Q889751 Q898671 Q2566387 Q1944482 Q4855270 Q7032867 Q1324290 Q2301347 Q9212 Q861530 Q1046947 Q2594652 Q3274075 Q17404781 Q2745472 Q2742227 Q3277832 Q4939559 Q3848018 Q1311627 Q2749588 Q2665572 Q1370395 Q1366319 Q2492012 Q796411 Q2383264 Q510534 Q4303265 Q575932 Q569328
(c(Q1076486)|c(Q2235308),P137,c(Q781132))
action less
action union
action find_reverse_tuple_counts
relation P137
type Q781132
type Q1076486
action find_reverse_tuple_counts
relation P137
type Q781132
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q3848121
relation P137
type Q1076486
type Q2235308
[ANSWERS] operate less number of sports venues or ship types than United Arab Emirates Navy
[[{'concept': 'Q1076486'}, {'concept': 'Q2235308'}], 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) ?b WHERE { ?o rdf:type ?a . VALUES ( ?a ) { ( ontology:Q2235308 ) ( ontology:Q1076486 ) } } GROUP BY ?b } . FILTER ( ?c < ?q ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { ?z property:P137 resource:Q3848121 . { ?z rdf:type ?u . VALUES ( ?u ) { ( ontology:Q1076486 ) ( ontology:Q2235308 ) } } } } }
British Army Royal Thai Navy National Navy of Uruguay Republic of China Army Lithuanian Army Nigerian Navy Luxembourg Army Albanian Naval Force National Army of Venezuela Saudi Arabian Army French Army German Army Norwegian Army German Navy Argentine Army Aviation Iraqi Army South African Army Kazakh Air and Air Defence Forces Romanian Naval Forces Joint Medical Service Royal Indian Navy Pakistan Navy Royal Bahrain Naval Force naval reserve force 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 Ecuadorian Army Indian Army Latvian Land Forces Spanish Army Tudor navy Australian Army Islamic Republic of Iran Navy National Army of Colombia Irish Army Royal Naval Force Royal Danish Army Japan Ground Self-Defense Force Iraqi Navy Yugoslav Navy Mongolian People's Army Bangladesh Army Nigerian Army Vietnam People's Navy Argentine Army United States Army Royal Malaysian Navy Royal Marines Naval Service Sri Lanka Navy Afghan Special Mission Wing Chilean Army Royal Saudi Navy Hungarian Ground Forces Bolivian Army Italian Co-Belligerent Navy Syrian Navy Royal Thai Army Algerian National Navy Estonian Land Forces Libyan Navy Swedish Army Italian Army Finnish Army Israeli 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 operate less number of sports venues or ship types than United Arab Emirates 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 sports venue
action find_reverse_tuple_counts
relation operator
type military branch
type ship type
action count
action filter_multi_types
action find_reverse
entity United Arab Emirates Navy
relation operator
type sports venue
type ship type
[[{'concept': 'sports venue'}, {'concept': 'ship type'}], 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) ?b WHERE { ?o rdf:type ?a . VALUES ( ?a ) { ( ontology:ship_type ) ( ontology:sports_venue ) } } GROUP BY ?b } . FILTER ( ?c < ?q ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { ?z property:operator resource:United_Arab_Emirates_Navy . { ?z rdf:type ?u . VALUES ( ?u ) { ( ontology:sports_venue ) ( ontology:ship_type ) } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q172771
P137
Q781132 Q1076486 Q2235308
USER
And what about Royal Navy?
(c(Q1076486)|c(Q2235308),P137,c(Q781132))
action less
action union
action find_reverse_tuple_counts
relation P137
type Q781132
type Q1076486
action find_reverse_tuple_counts
relation P137
type Q781132
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q172771
relation P137
type Q1076486
type Q2235308
[[{'concept': 'Q1076486'}, {'concept': 'Q2235308'}], 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) ?t WHERE { { ?z property:P137 ?t . ?t rdf:type ontology:Q781132 . ?z rdf:type ontology:Q1076486 } UNION { ?t rdf:type ontology:Q781132 . ?z rdf:type ontology:Q2235308 . ?z property:P137 ?t } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:P137 resource:Q172771 . { VALUES ( ?x ) { ( ontology:Q1076486 ) ( ontology:Q2235308 ) } . ?i rdf:type ?x } } } . FILTER ( ?h < ?a ) }
Royal Navy
action less
action union
action find_reverse_tuple_counts
relation operator
type military branch
type sports venue
action find_reverse_tuple_counts
relation operator
type military branch
type ship type
action count
action filter_multi_types
action find_reverse
entity Royal Navy
relation operator
type sports venue
type ship type
[[{'concept': 'sports venue'}, {'concept': 'ship type'}], 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) ?t WHERE { { ?z property:operator ?t . ?t rdf:type ontology:military_branch . ?z rdf:type ontology:sports_venue } UNION { ?t rdf:type ontology:military_branch . ?z rdf:type ontology:ship_type . ?z property:operator ?t } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:operator resource:Royal_Navy . { VALUES ( ?x ) { ( ontology:sports_venue ) ( ontology:ship_type ) } . ?i rdf:type ?x } } } . FILTER ( ?h < ?a ) }
[]
military branch sports venue ship type
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 Q156649 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 Q219712 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 Q151701 Q796411 Q588089 Q2383264 Q510534 Q1124986 Q4303265 Q575932 Q569328
(c(Q1076486)|c(Q2235308),P137,c(Q781132))
action less
action union
action find_reverse_tuple_counts
relation P137
type Q781132
type Q1076486
action find_reverse_tuple_counts
relation P137
type Q781132
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q172771
relation P137
type Q1076486
type Q2235308
[ANSWERS]
[[{'concept': 'Q1076486'}, {'concept': 'Q2235308'}], 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) ?t WHERE { { ?z property:P137 ?t . ?t rdf:type ontology:Q781132 . ?z rdf:type ontology:Q1076486 } UNION { ?t rdf:type ontology:Q781132 . ?z rdf:type ontology:Q2235308 . ?z property:P137 ?t } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:P137 resource:Q172771 . { VALUES ( ?x ) { ( ontology:Q1076486 ) ( ontology:Q2235308 ) } . ?i rdf:type ?x } } } . FILTER ( ?h < ?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 Imperial German 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 Imperial Japanese 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 Kriegsmarine 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 sports venue
action find_reverse_tuple_counts
relation operator
type military branch
type ship type
action count
action filter_multi_types
action find_reverse
entity Royal Navy
relation operator
type sports venue
type ship type
[[{'concept': 'sports venue'}, {'concept': 'ship type'}], 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) ?t WHERE { { ?z property:operator ?t . ?t rdf:type ontology:military_branch . ?z rdf:type ontology:sports_venue } UNION { ?t rdf:type ontology:military_branch . ?z rdf:type ontology:ship_type . ?z property:operator ?t } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:operator resource:Royal_Navy . { VALUES ( ?x ) { ( ontology:sports_venue ) ( ontology:ship_type ) } . ?i rdf:type ?x } } } . FILTER ( ?h < ?a ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q362
P710
Q15617994 Q1048835
USER
How many administrative territories or political territories participated in World War II ?
(Q362,P710,c(Q15617994)) (Q362,P710,c(Q1048835))
action count
action union
action filter_type
action find
entity Q362
relation P710
type Q15617994
action filter_type
action find
entity Q362
relation P710
type Q1048835
['Q362', 'P710', {'concept': 'Q15617994'}] ['Q362', 'P710', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { { ?c rdf:type ontology:Q15617994 . resource:Q362 property:P710 ?c } UNION { resource:Q362 property:P710 ?c . ?c rdf:type ontology:Q1048835 } }
World War II
action count
action union
action filter_type
action find
entity World War II
relation participant
type designation for an administrative territorial entity
action filter_type
action find
entity World War II
relation participant
type political territorial entity
['World War II', 'participant', {'concept': 'designation for an administrative territorial entity'}] ['World War II', 'participant', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:World_War_II property:participant ?c } UNION { resource:World_War_II property:participant ?c . ?c rdf:type ontology:political_territorial_entity } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
6
Q142 Q145 Q183 Q17 Q30 Q38
(Q362,P710,c(Q15617994)) (Q362,P710,c(Q1048835))
action count
action union
action filter_type
action find
entity Q362
relation P710
type Q15617994
action filter_type
action find
entity Q362
relation P710
type Q1048835
[ANSWER]
['Q362', 'P710', {'concept': 'Q15617994'}] ['Q362', 'P710', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { { ?c rdf:type ontology:Q15617994 . resource:Q362 property:P710 ?c } UNION { resource:Q362 property:P710 ?c . ?c rdf:type ontology:Q1048835 } }
France United Kingdom Germany Japan United States of America Italy
6
action count
action union
action filter_type
action find
entity World War II
relation participant
type designation for an administrative territorial entity
action filter_type
action find
entity World War II
relation participant
type political territorial entity
['World War II', 'participant', {'concept': 'designation for an administrative territorial entity'}] ['World War II', 'participant', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:World_War_II property:participant ?c } UNION { resource:World_War_II property:participant ?c . ?c rdf:type ontology:political_territorial_entity } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q781132 Q895526 Q176799
USER
How many military branches are around 2 authority organs or military units a portion of ?
(c(Q895526)|c(Q176799),P361,c(Q781132))
action count
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q781132
type Q895526
action find_reverse_tuple_counts
relation P361
type Q781132
type Q176799
value 2
[[{'concept': 'Q895526'}, {'concept': 'Q176799'}], 'P361', {'concept': 'Q781132'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) ?p WHERE { { ?w property:P361 ?p . ?w rdf:type ontology:Q895526 . ?p rdf:type ontology:Q781132 } UNION { ?w property:P361 ?p . ?p rdf:type ontology:Q781132 . ?w rdf:type ontology:Q176799 } } GROUP BY ?p } . FILTER ( ?x = 2 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation part of
type military branch
type authority organ
action find_reverse_tuple_counts
relation part of
type military branch
type military unit
value 2
[[{'concept': 'authority organ'}, {'concept': 'military unit'}], 'part of', {'concept': 'military branch'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) ?p WHERE { { ?w property:part_of ?p . ?w rdf:type ontology:authority_organ . ?p rdf:type ontology:military_branch } UNION { ?w property:part_of ?p . ?p rdf:type ontology:military_branch . ?w rdf:type ontology:military_unit } } GROUP BY ?p } . FILTER ( ?x = 2 ) }
[]
military branch authority organ military unit
SYSTEM
82
Q16056518 Q23905126 Q222595 Q56015 Q210606 Q1799545 Q2328515 Q483268 Q1114493 Q1815399 Q3068744 Q11220 Q1046947 Q172771 Q701923 Q1078222 Q2078095 Q676404 Q5555333 Q313422 Q9160892 Q2558747 Q19344622 Q311689 Q248989 Q642932 Q1038047 Q833040 Q4117226 Q217406 Q2575188 Q488756 Q156649 Q1546449 Q1067064 Q889751 Q2492012 Q2862927 Q2749588 Q4447359 Q1652708 Q19247539 Q1951484 Q276535 Q1750688 Q276538 Q272110 Q796411 Q56012 Q7275540 Q25387 Q208711 Q1076619 Q897614 Q6479134 Q741691 Q11322507 Q2292358 Q151701 Q11218 Q2301347 Q167682 Q2383264 Q18643350 Q465283 Q2384177 Q1124986 Q25436 Q1358152 Q2258261 Q4447363 Q9212 Q355771 Q18129370 Q1753805 Q731647 Q706042 Q2630039 Q219712 Q706996 Q1674702 Q1370395
(c(Q895526)|c(Q176799),P361,c(Q781132))
action count
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q781132
type Q895526
action find_reverse_tuple_counts
relation P361
type Q781132
type Q176799
value 2
[ANSWER]
[[{'concept': 'Q895526'}, {'concept': 'Q176799'}], 'P361', {'concept': 'Q781132'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) ?p WHERE { { ?w property:P361 ?p . ?w rdf:type ontology:Q895526 . ?p rdf:type ontology:Q781132 } UNION { ?w property:P361 ?p . ?p rdf:type ontology:Q781132 . ?w rdf:type ontology:Q176799 } } GROUP BY ?p } . FILTER ( ?x = 2 ) }
Nepalese Army Slovak Army British Army German Navy 2nd Marine Division Philippine Army Belize Defence Force Republic of Korea Army Roman army South African Army Syrian Arab Army United States Navy Royal Marines Royal Navy German Army Imperial Russian Army Pakistan Army Spanish Navy Ghana Army German Army fortress artillery Romanian Land Forces naval reserve force Royal Hungarian Army Polish Land Forces Indian Army Irish Army Italian Navy Royal Jordanian Land Force French Navy Royal Danish Army Republic of Korea Navy Imperial German Navy Hellenic Army United States Special Operations Command Japan Ground Self-Defense Force Swedish Army Indonesian Army Royal Thai Army Austrian Land Forces South African Navy Ottoman Army Georgian Land Forces Imperial Japanese Army Brazilian Navy Eurocorps Yugoslav People's Army Italian Army German Army RAF Regiment Royal Canadian Navy Chilean Navy French Army Iraqi Army Egyptian Army Royal Australian Navy German Army Brazilian Army Kriegsmarine United States Marine Corps Argentine Army rocket artillery Finnish Army Islamic Republic of Iran Ground Force Russian Navy Norwegian Army Confederate States Navy Canadian Army Korean People's Army Ground Force Pakistan Navy Lebanese Ground Forces United States Army Indian Army Philippine Commonwealth Army Croatian Army Japan Maritime Self-Defense Force Prussian Army New Zealand Army Imperial Japanese Navy Southern Expeditionary Army Group GOC Army Headquarters Estonian Land Forces
82
action count
action approx
action union
action find_reverse_tuple_counts
relation part of
type military branch
type authority organ
action find_reverse_tuple_counts
relation part of
type military branch
type military unit
value 2
[[{'concept': 'authority organ'}, {'concept': 'military unit'}], 'part of', {'concept': 'military branch'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) ?p WHERE { { ?w property:part_of ?p . ?w rdf:type ontology:authority_organ . ?p rdf:type ontology:military_branch } UNION { ?w property:part_of ?p . ?p rdf:type ontology:military_branch . ?w rdf:type ontology:military_unit } } GROUP BY ?p } . FILTER ( ?x = 2 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q313422
P361
Q781132 Q781132 Q12737077
USER
How many military branches are less number of military branches or occupations a part of than German Army ?
(c(Q781132)|c(Q12737077),P361,c(Q781132))
action count
action less
action union
action find_reverse_tuple_counts
relation P361
type Q781132
type Q781132
action find_reverse_tuple_counts
relation P361
type Q781132
type Q12737077
action count
action filter_multi_types
action find_reverse
entity Q313422
relation P361
type Q781132
type Q12737077
[[{'concept': 'Q781132'}, {'concept': 'Q12737077'}], 'P361', {'concept': 'Q781132'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) ?k WHERE { ?e rdf:type ?d . VALUES ( ?d ) { ( ontology:Q781132 ) ( ontology:Q12737077 ) } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { { { ?j rdf:type ontology:Q781132 } UNION { ?j rdf:type ontology:Q12737077 } } . ?j property:P361 resource:Q313422 } } . FILTER ( ?p < ?f ) }
German Army
action count
action less
action union
action find_reverse_tuple_counts
relation part of
type military branch
type military branch
action find_reverse_tuple_counts
relation part of
type military branch
type occupation
action count
action filter_multi_types
action find_reverse
entity German Army
relation part of
type military branch
type occupation
[[{'concept': 'military branch'}, {'concept': 'occupation'}], 'part of', {'concept': 'military branch'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) ?k WHERE { ?e rdf:type ?d . VALUES ( ?d ) { ( ontology:military_branch ) ( ontology:occupation ) } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { { { ?j rdf:type ontology:military_branch } UNION { ?j rdf:type ontology:occupation } } . ?j property:part_of resource:German_Army } } . FILTER ( ?p < ?f ) }
[]
military branch military branch occupation
SYSTEM
63
Q16056518 Q23905126 Q56015 Q210606 Q1799545 Q2328515 Q483268 Q1114493 Q1815399 Q3068744 Q701923 Q1078222 Q2078095 Q5555333 Q9160892 Q2558747 Q19344622 Q311689 Q248989 Q642932 Q1038047 Q833040 Q4117226 Q217406 Q2575188 Q156649 Q1546449 Q889751 Q2492012 Q2749588 Q4447359 Q1652708 Q19247539 Q1951484 Q276535 Q276538 Q272110 Q796411 Q56012 Q7275540 Q1076619 Q897614 Q6479134 Q11322507 Q151701 Q11218 Q167682 Q2383264 Q465283 Q2384177 Q1124986 Q25436 Q1358152 Q4447363 Q18129370 Q1753805 Q731647 Q706042 Q2630039 Q219712 Q706996 Q1674702 Q1370395
(c(Q781132)|c(Q12737077),P361,c(Q781132))
action count
action less
action union
action find_reverse_tuple_counts
relation P361
type Q781132
type Q781132
action find_reverse_tuple_counts
relation P361
type Q781132
type Q12737077
action count
action filter_multi_types
action find_reverse
entity Q313422
relation P361
type Q781132
type Q12737077
[ANSWER]
[[{'concept': 'Q781132'}, {'concept': 'Q12737077'}], 'P361', {'concept': 'Q781132'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) ?k WHERE { ?e rdf:type ?d . VALUES ( ?d ) { ( ontology:Q781132 ) ( ontology:Q12737077 ) } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { { { ?j rdf:type ontology:Q781132 } UNION { ?j rdf:type ontology:Q12737077 } } . ?j property:P361 resource:Q313422 } } . FILTER ( ?p < ?f ) }
Nepalese Army Slovak Army German Navy 2nd Marine Division Philippine Army Belize Defence Force Republic of Korea Army Roman army South African Army Syrian Arab Army German Army Imperial Russian Army Pakistan Army Ghana Army fortress artillery Romanian Land Forces naval reserve force Royal Hungarian Army Polish Land Forces Indian Army Irish Army Italian Navy Royal Jordanian Land Force French Navy Royal Danish Army Imperial German Navy Hellenic Army Japan Ground Self-Defense Force Swedish Army Royal Thai Army Austrian Land Forces South African Navy Ottoman Army Georgian Land Forces Imperial Japanese Army Eurocorps Yugoslav People's Army Italian Army German Army RAF Regiment French Army Iraqi Army Egyptian Army German Army Kriegsmarine United States Marine Corps rocket artillery Finnish Army Russian Navy Norwegian Army Confederate States Navy Canadian Army Korean People's Army Ground Force Lebanese Ground Forces Philippine Commonwealth Army Croatian Army Japan Maritime Self-Defense Force Prussian Army New Zealand Army Imperial Japanese Navy Southern Expeditionary Army Group GOC Army Headquarters Estonian Land Forces
63
action count
action less
action union
action find_reverse_tuple_counts
relation part of
type military branch
type military branch
action find_reverse_tuple_counts
relation part of
type military branch
type occupation
action count
action filter_multi_types
action find_reverse
entity German Army
relation part of
type military branch
type occupation
[[{'concept': 'military branch'}, {'concept': 'occupation'}], 'part of', {'concept': 'military branch'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) ?k WHERE { ?e rdf:type ?d . VALUES ( ?d ) { ( ontology:military_branch ) ( ontology:occupation ) } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { { { ?j rdf:type ontology:military_branch } UNION { ?j rdf:type ontology:occupation } } . ?j property:part_of resource:German_Army } } . FILTER ( ?p < ?f ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q488756
P361
Q781132 Q781132 Q12737077
USER
And what about Republic of Korea Navy?
(c(Q781132)|c(Q12737077),P361,c(Q781132))
action count
action less
action union
action find_reverse_tuple_counts
relation P361
type Q781132
type Q781132
action find_reverse_tuple_counts
relation P361
type Q781132
type Q12737077
action count
action filter_multi_types
action find_reverse
entity Q488756
relation P361
type Q781132
type Q12737077
[[{'concept': 'Q781132'}, {'concept': 'Q12737077'}], 'P361', {'concept': 'Q781132'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) ?f WHERE { ?s rdf:type ?r . VALUES ( ?r ) { ( ontology:Q781132 ) ( ontology:Q12737077 ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { ?i rdf:type ?k . VALUES ( ?k ) { ( ontology:Q781132 ) ( ontology:Q12737077 ) } } . ?i property:P361 resource:Q488756 } } . FILTER ( ?l < ?a ) }
Republic of Korea Navy
action count
action less
action union
action find_reverse_tuple_counts
relation part of
type military branch
type military branch
action find_reverse_tuple_counts
relation part of
type military branch
type occupation
action count
action filter_multi_types
action find_reverse
entity Republic of Korea Navy
relation part of
type military branch
type occupation
[[{'concept': 'military branch'}, {'concept': 'occupation'}], 'part of', {'concept': 'military branch'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) ?f WHERE { ?s rdf:type ?r . VALUES ( ?r ) { ( ontology:military_branch ) ( ontology:occupation ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { ?i rdf:type ?k . VALUES ( ?k ) { ( ontology:military_branch ) ( ontology:occupation ) } } . ?i property:part_of resource:Republic_of_Korea_Navy } } . FILTER ( ?l < ?a ) }
[]
military branch military branch occupation
SYSTEM
63
Q16056518 Q23905126 Q56015 Q210606 Q1799545 Q2328515 Q483268 Q1114493 Q1815399 Q3068744 Q701923 Q1078222 Q2078095 Q5555333 Q9160892 Q2558747 Q19344622 Q311689 Q248989 Q642932 Q1038047 Q833040 Q4117226 Q217406 Q2575188 Q156649 Q1546449 Q889751 Q2492012 Q2749588 Q4447359 Q1652708 Q19247539 Q1951484 Q276535 Q276538 Q272110 Q796411 Q56012 Q7275540 Q1076619 Q897614 Q6479134 Q11322507 Q151701 Q11218 Q167682 Q2383264 Q465283 Q2384177 Q1124986 Q25436 Q1358152 Q4447363 Q18129370 Q1753805 Q731647 Q706042 Q2630039 Q219712 Q706996 Q1674702 Q1370395
(c(Q781132)|c(Q12737077),P361,c(Q781132))
action count
action less
action union
action find_reverse_tuple_counts
relation P361
type Q781132
type Q781132
action find_reverse_tuple_counts
relation P361
type Q781132
type Q12737077
action count
action filter_multi_types
action find_reverse
entity Q488756
relation P361
type Q781132
type Q12737077
[ANSWER]
[[{'concept': 'Q781132'}, {'concept': 'Q12737077'}], 'P361', {'concept': 'Q781132'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) ?f WHERE { ?s rdf:type ?r . VALUES ( ?r ) { ( ontology:Q781132 ) ( ontology:Q12737077 ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { ?i rdf:type ?k . VALUES ( ?k ) { ( ontology:Q781132 ) ( ontology:Q12737077 ) } } . ?i property:P361 resource:Q488756 } } . FILTER ( ?l < ?a ) }
Nepalese Army Slovak Army German Navy 2nd Marine Division Philippine Army Belize Defence Force Republic of Korea Army Roman army South African Army Syrian Arab Army German Army Imperial Russian Army Pakistan Army Ghana Army fortress artillery Romanian Land Forces naval reserve force Royal Hungarian Army Polish Land Forces Indian Army Irish Army Italian Navy Royal Jordanian Land Force French Navy Royal Danish Army Imperial German Navy Hellenic Army Japan Ground Self-Defense Force Swedish Army Royal Thai Army Austrian Land Forces South African Navy Ottoman Army Georgian Land Forces Imperial Japanese Army Eurocorps Yugoslav People's Army Italian Army German Army RAF Regiment French Army Iraqi Army Egyptian Army German Army Kriegsmarine United States Marine Corps rocket artillery Finnish Army Russian Navy Norwegian Army Confederate States Navy Canadian Army Korean People's Army Ground Force Lebanese Ground Forces Philippine Commonwealth Army Croatian Army Japan Maritime Self-Defense Force Prussian Army New Zealand Army Imperial Japanese Navy Southern Expeditionary Army Group GOC Army Headquarters Estonian Land Forces
63
action count
action less
action union
action find_reverse_tuple_counts
relation part of
type military branch
type military branch
action find_reverse_tuple_counts
relation part of
type military branch
type occupation
action count
action filter_multi_types
action find_reverse
entity Republic of Korea Navy
relation part of
type military branch
type occupation
[[{'concept': 'military branch'}, {'concept': 'occupation'}], 'part of', {'concept': 'military branch'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) ?f WHERE { ?s rdf:type ?r . VALUES ( ?r ) { ( ontology:military_branch ) ( ontology:occupation ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { ?i rdf:type ?k . VALUES ( ?k ) { ( ontology:military_branch ) ( ontology:occupation ) } } . ?i property:part_of resource:Republic_of_Korea_Navy } } . FILTER ( ?l < ?a ) }
[]