Simple Question (Direct)
Simple Question
Q382031
P607
Q198
USER
Which battle did E. H. Shepard take part in ?
(Q382031,P607,c(Q198))
action filter_type
action find
entity Q382031
relation P607
type Q198
['Q382031', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q198 . resource:Q382031 property:P607 ?k }
E. H. Shepard
action filter_type
action find
entity E. H. Shepard
relation conflict
type war
['E. H. Shepard', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:war . resource:E._H._Shepard property:conflict ?k }
[]
war
Q361
SYSTEM
World War I
Q361
(Q382031,P607,c(Q198))
action filter_type
action find
entity Q382031
relation P607
type Q198
[ANSWER] did E. H. Shepard take part in
['Q382031', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q198 . resource:Q382031 property:P607 ?k }
World War I
World War I did E. H. Shepard take part in
World War I
action filter_type
action find
entity E. H. Shepard
relation conflict
type war
['E. H. Shepard', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:war . resource:E._H._Shepard property:conflict ?k }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q382031
P241
Q781132
USER
Which military branch contains that person as its part ?
(Q361,P241,c(Q781132))
action filter_type
action find
entity Q382031
relation P241
type Q781132
['Q361', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?z WHERE { resource:Q382031 property:P241 ?z . ?z rdf:type ontology:Q781132 }
E. H. Shepard
action filter_type
action find
entity E. H. Shepard
relation military branch
type military branch
['World War I', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?z WHERE { resource:E._H._Shepard property:military_branch ?z . ?z rdf:type ontology:military_branch }
[]
military branch
Q222595
SYSTEM
British Army
Q222595
(Q361,P241,c(Q781132))
action filter_type
action find
entity Q382031
relation P241
type Q781132
[ANSWER] contains that person as its part
['Q361', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?z WHERE { resource:Q382031 property:P241 ?z . ?z rdf:type ontology:Q781132 }
British Army
British Army contains that person as its part
British Army
action filter_type
action find
entity E. H. Shepard
relation military branch
type military branch
['World War I', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?z WHERE { resource:E._H._Shepard property:military_branch ?z . ?z rdf:type ontology:military_branch }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q222595 Q2909148 Q145
P17
Q15617994
USER
Is that military branch present in Boji and United Kingdom ?
(Q222595,P17,Q2909148) (Q222595,P17,Q145)
action is_in
entity Q222595
action intersection
action find_reverse
entity Q2909148
relation P17
action find_reverse
entity Q145
relation P17
['Q222595', 'P17', 'Q2909148'] ['Q222595', 'P17', 'Q145']
ASK WHERE { resource:Q222595 property:P17 resource:Q145 . resource:Q222595 property:P17 resource:Q2909148 }
British Army Boji United Kingdom
action is_in
entity British Army
action intersection
action find_reverse
entity Boji
relation country
action find_reverse
entity United Kingdom
relation country
['British Army', 'country', 'Boji'] ['British Army', 'country', 'United Kingdom']
ASK WHERE { resource:British_Army property:country resource:United_Kingdom . resource:British_Army property:country resource:Boji }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q222595,P17,Q2909148) (Q222595,P17,Q145)
action is_in
entity Q222595
action intersection
action find_reverse
entity Q2909148
relation P17
action find_reverse
entity Q145
relation P17
[ANSWER]
['Q222595', 'P17', 'Q2909148'] ['Q222595', 'P17', 'Q145']
ASK WHERE { resource:Q222595 property:P17 resource:Q145 . resource:Q222595 property:P17 resource:Q2909148 }
NO and YES respectively
action is_in
entity British Army
action intersection
action find_reverse
entity Boji
relation country
action find_reverse
entity United Kingdom
relation country
['British Army', 'country', 'Boji'] ['British Army', 'country', 'United Kingdom']
ASK WHERE { resource:British_Army property:country resource:United_Kingdom . resource:British_Army property:country resource:Boji }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q6405680
P137
Q781132 Q5962346
USER
How many classification schemes were operated by more number of military branches than Type D submarine ?
(c(Q5962346),P137,c(Q781132))
action count
action greater
action find_tuple_counts
relation P137
type Q5962346
type Q781132
action count
action filter_type
action find
entity Q6405680
relation P137
type Q5962346
[{'concept': 'Q5962346'}, 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?w ) AS ?m ) WHERE { ?i property:P137 ?w . ?w rdf:type ontology:Q781132 . ?i rdf:type ontology:Q5962346 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { resource:Q6405680 property:P137 ?p . ?p rdf:type ontology:Q5962346 } } . FILTER ( ?m > ?x ) }
Type D submarine
action count
action greater
action find_tuple_counts
relation operator
type classification scheme
type military branch
action count
action filter_type
action find
entity Type D submarine
relation operator
type classification scheme
[{'concept': 'classification scheme'}, 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?w ) AS ?m ) WHERE { ?i property:operator ?w . ?w rdf:type ontology:military_branch . ?i rdf:type ontology:classification_scheme } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { resource:Type_D_submarine property:operator ?p . ?p rdf:type ontology:classification_scheme } } . FILTER ( ?m > ?x ) }
[]
military branch classification scheme
SYSTEM
75
Q2451575 Q1960377 Q2975881 Q1499693 Q1773877 Q1782356 Q699842 Q1066814 Q1720127 Q513869 Q2993149 Q395500 Q19623641 Q55520 Q264912 Q686973 Q13360583 Q2449165 Q494403 Q637775 Q1288529 Q6676568 Q846078 Q911728 Q713262 Q4172473 Q385734 Q4367177 Q1987866 Q3679377 Q842423 Q11797542 Q2596671 Q975420 Q1068329 Q7862861 Q765764 Q1194287 Q337990 Q1998900 Q2975947 Q2062612 Q482835 Q2297597 Q6675326 Q1153647 Q955978 Q4785927 Q7449173 Q1754293 Q1541289 Q2000100 Q1626375 Q7862878 Q876616 Q1070632 Q913512 Q528109 Q4367155 Q4367153 Q4367159 Q15631872 Q1475075 Q663037 Q1968562 Q3503826 Q1544451 Q1545043 Q1124859 Q14906943 Q2707876 Q2307521 Q442303 Q1389261 Q1719789
(c(Q5962346),P137,c(Q781132))
action count
action greater
action find_tuple_counts
relation P137
type Q5962346
type Q781132
action count
action filter_type
action find
entity Q6405680
relation P137
type Q5962346
[ANSWER]
[{'concept': 'Q5962346'}, 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?w ) AS ?m ) WHERE { ?i property:P137 ?w . ?w rdf:type ontology:Q781132 . ?i rdf:type ontology:Q5962346 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { resource:Q6405680 property:P137 ?p . ?p rdf:type ontology:Q5962346 } } . FILTER ( ?m > ?x ) }
Karp-class submarine Soviet S-class submarine British H-class submarine Yankee-class submarine CB-class midget submarine Delta IV-class submarine Balao-class submarine Charlie-class submarine British J-class submarine Oscar-class submarine Holland 602 type submarine Agosta-class submarine Oscar-I-class submarine Kilo-class submarine November-class submarine Type 206 submarine Papa class submarine Kasatka-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 Whiskey-class submarine Ronis-class submarine Bars-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 Kobben-class submarine Tango-class submarine Juliett class submarine Russian Narval-class submarine Morzh-class submarine S1000 class submarines Type 209 submarine 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 Akula-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 German Type UB II submarine Greater Underwater Propulsion Power Program Delta-class submarine Oberon-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
75
action count
action greater
action find_tuple_counts
relation operator
type classification scheme
type military branch
action count
action filter_type
action find
entity Type D submarine
relation operator
type classification scheme
[{'concept': 'classification scheme'}, 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?w ) AS ?m ) WHERE { ?i property:operator ?w . ?w rdf:type ontology:military_branch . ?i rdf:type ontology:classification_scheme } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { resource:Type_D_submarine property:operator ?p . ?p rdf:type ontology:classification_scheme } } . FILTER ( ?m > ?x ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q889751
P137
Q781132 Q2235308 Q811979
USER
Which military branches operate more number of ship types or architectural structures than Japan Ground Self-Defense Force ?
(c(Q2235308)|c(Q811979),P137,c(Q781132))
action greater
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 Q889751
relation P137
type Q2235308
type Q811979
[[{'concept': 'Q2235308'}, {'concept': 'Q811979'}], 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) ?x WHERE { { ?h property:P137 ?x . ?x rdf:type ontology:Q781132 . ?h rdf:type ontology:Q811979 } UNION { ?h property:P137 ?x . ?x rdf:type ontology:Q781132 . ?h rdf:type ontology:Q2235308 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { ?v property:P137 resource:Q889751 . { { ?v rdf:type ontology:Q2235308 } UNION { ?v rdf:type ontology:Q811979 } } } } . FILTER ( ?q > ?g ) }
Japan Ground Self-Defense Force
action greater
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 Japan Ground Self-Defense Force
relation operator
type ship type
type architectural structure
[[{'concept': 'ship type'}, {'concept': 'architectural structure'}], 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) ?x WHERE { { ?h property:operator ?x . ?x rdf:type ontology:military_branch . ?h rdf:type ontology:architectural_structure } UNION { ?h property:operator ?x . ?x rdf:type ontology:military_branch . ?h rdf:type ontology:ship_type } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { ?v property:operator resource:Japan_Ground_Self-Defense_Force . { { ?v rdf:type ontology:ship_type } UNION { ?v rdf:type ontology:architectural_structure } } } } . FILTER ( ?q > ?g ) }
[]
military branch ship type architectural structure
Q3277832 Q2071948 Q11220
SYSTEM
Hungarian Ground Forces, Finnish Navy, United States Navy
Q222595 Q2427907 Q676404 Q2705826 Q217406 Q156649 Q702430 Q356359 Q376676 Q1652708 Q3293231 Q741691 Q19562444 Q855186 Q643834 Q1370337 Q465283 Q931281 Q2531890 Q932840 Q3848121 Q796754 Q2387294 Q2067603 Q2258261 Q56015 Q952444 Q488756 Q16408580 Q2071948 Q1774585 Q4114459 Q3546162 Q159211 Q267167 Q702116 Q2349884 Q583941 Q15705369 Q781360 Q1129369 Q16151032 Q219712 Q833040 Q4114435 Q2704661 Q1750688 Q208711 Q2083573 Q755179 Q9212 Q1046947 Q731647 Q2526431 Q2594652 Q792296 Q3274075 Q1141396 Q11220 Q1062125 Q172771 Q2006452 Q3277832 Q2528358 Q2749588 Q1777326 Q25387 Q3293295 Q151701 Q588089 Q1124986
(c(Q2235308)|c(Q811979),P137,c(Q781132))
action greater
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 Q889751
relation P137
type Q2235308
type Q811979
[ANSWERS] operate more number of ship types or architectural structures than Japan Ground Self-Defense Force
[[{'concept': 'Q2235308'}, {'concept': 'Q811979'}], 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) ?x WHERE { { ?h property:P137 ?x . ?x rdf:type ontology:Q781132 . ?h rdf:type ontology:Q811979 } UNION { ?h property:P137 ?x . ?x rdf:type ontology:Q781132 . ?h rdf:type ontology:Q2235308 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { ?v property:P137 resource:Q889751 . { { ?v rdf:type ontology:Q2235308 } UNION { ?v rdf:type ontology:Q811979 } } } } . FILTER ( ?q > ?g ) }
British Army Royal Thai Navy Spanish Navy Free French Naval Forces French Navy Imperial German Navy Beiyang Fleet Indian Navy Albanian Naval Force South African Navy Bangladesh Navy Royal Australian Navy Danish-Norwegian navy Regia Marina German Navy Estonian Navy Russian Navy Royal Netherlands Navy Republic of Singapore Navy Ukrainian Navy United Arab Emirates Navy Soviet Navy Romanian Naval Forces Royal Indian Navy Pakistan Navy German Navy Peruvian Navy Republic of Korea Navy Eesti Merevägi Finnish Navy Swedish Amphibious Corps Eritrean Navy Philippine Navy Austro-Hungarian Navy Polish Navy Republic of China Navy Croatian Navy Imperial Russian Navy Tudor navy Australian Army Hellenic Navy Dano-Norwegian Navy Imperial Japanese Navy Italian Navy Royal Naval Force Indonesian Navy Brazilian Navy Chilean Navy Royal Norwegian Navy People's Liberation Army Navy United States Army Royal Marines Japan Maritime Self-Defense Force National Navy of Colombia Naval Service Belgian Naval Component Sri Lanka Navy Swedish Navy United States Navy Ottoman Navy Royal Navy Royal Danish Navy Hungarian Ground Forces Mexican Navy Royal Thai Army Argentine Navy Royal Canadian Navy Turkish Navy Kriegsmarine Portuguese Navy Confederate States Navy
Hungarian Ground Forces, Finnish Navy and United States Navy operate more number of ship types or architectural structures than Japan Ground Self-Defense Force
Hungarian Ground Forces Finnish Navy United States Navy
action greater
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 Japan Ground Self-Defense Force
relation operator
type ship type
type architectural structure
[[{'concept': 'ship type'}, {'concept': 'architectural structure'}], 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) ?x WHERE { { ?h property:operator ?x . ?x rdf:type ontology:military_branch . ?h rdf:type ontology:architectural_structure } UNION { ?h property:operator ?x . ?x rdf:type ontology:military_branch . ?h rdf:type ontology:ship_type } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { ?v property:operator resource:Japan_Ground_Self-Defense_Force . { { ?v rdf:type ontology:ship_type } UNION { ?v rdf:type ontology:architectural_structure } } } } . FILTER ( ?q > ?g ) }
[]
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 greater
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 ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?t ) WHERE { { ?m property:P137 ?b . ?b rdf:type ontology:Q781132 . ?m rdf:type ontology:Q811979 } UNION { ?b rdf:type ontology:Q781132 . ?m rdf:type ontology:Q2235308 . ?m property:P137 ?b } } GROUP BY ?b } . FILTER ( ?t > ?q ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { ?n property:P137 resource:Q755179 . { { ?n rdf:type ontology:Q2235308 } UNION { ?n rdf:type ontology:Q811979 } } } } }
People's Liberation Army Navy
action greater
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 ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?t ) WHERE { { ?m property:operator ?b . ?b rdf:type ontology:military_branch . ?m rdf:type ontology:architectural_structure } UNION { ?b rdf:type ontology:military_branch . ?m rdf:type ontology:ship_type . ?m property:operator ?b } } GROUP BY ?b } . FILTER ( ?t > ?q ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { ?n property:operator resource:People's_Liberation_Army_Navy . { { ?n rdf:type ontology:ship_type } UNION { ?n rdf:type ontology:architectural_structure } } } } }
[]
military branch ship type architectural structure
Q2071948 Q11220 Q741691
SYSTEM
Finnish Navy, United States Navy, Royal Australian Navy
Q676404 Q217406 Q156649 Q356359 Q741691 Q855186 Q465283 Q796754 Q2071948 Q159211 Q267167 Q702116 Q1129369 Q219712 Q833040 Q208711 Q2083573 Q731647 Q1141396 Q11220 Q172771 Q2006452 Q1777326 Q25387 Q3293295 Q151701
(c(Q2235308)|c(Q811979),P137,c(Q781132))
action greater
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 ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?t ) WHERE { { ?m property:P137 ?b . ?b rdf:type ontology:Q781132 . ?m rdf:type ontology:Q811979 } UNION { ?b rdf:type ontology:Q781132 . ?m rdf:type ontology:Q2235308 . ?m property:P137 ?b } } GROUP BY ?b } . FILTER ( ?t > ?q ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { ?n property:P137 resource:Q755179 . { { ?n rdf:type ontology:Q2235308 } UNION { ?n rdf:type ontology:Q811979 } } } } }
Spanish Navy French Navy Imperial German Navy Indian Navy Royal Australian Navy Regia Marina Russian Navy Soviet Navy Finnish Navy Austro-Hungarian Navy Polish Navy Republic of China Navy Hellenic Navy Imperial Japanese Navy Italian Navy Chilean Navy Royal Norwegian Navy Japan Maritime Self-Defense Force Swedish Navy United States Navy Royal Navy Royal Danish Navy Argentine Navy Royal Canadian Navy Turkish Navy Kriegsmarine
Finnish Navy United States Navy Royal Australian Navy
action greater
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 ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?t ) WHERE { { ?m property:operator ?b . ?b rdf:type ontology:military_branch . ?m rdf:type ontology:architectural_structure } UNION { ?b rdf:type ontology:military_branch . ?m rdf:type ontology:ship_type . ?m property:operator ?b } } GROUP BY ?b } . FILTER ( ?t > ?q ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { ?n property:operator resource:People's_Liberation_Army_Navy . { { ?n rdf:type ontology:ship_type } UNION { ?n rdf:type ontology:architectural_structure } } } } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P366
Q350604 Q180684 Q781132
USER
Which military branches have their main use as min number of armed conflicts or conflicts ?
(c(Q781132),P366,c(Q350604)|c(Q180684))
action argmin
action union
action find_tuple_counts
relation P366
type Q781132
type Q350604
action find_tuple_counts
relation P366
type Q781132
type Q180684
[{'concept': 'Q781132'}, 'P366', [{'concept': 'Q350604'}, {'concept': 'Q180684'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?r ) AS ?m ) { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?r ) WHERE { ?t rdf:type ?x . VALUES ( ?x ) { ( ontology:Q350604 ) ( ontology:Q180684 ) } } GROUP BY ?b } } . { SELECT DISTINCT ?p ( COUNT ( ?g ) AS ?j ) WHERE { { ?p property:P366 ?g . ?p rdf:type ontology:Q781132 . ?g rdf:type ontology:Q350604 } UNION { ?g rdf:type ontology:Q180684 . ?p rdf:type ontology:Q781132 . ?p property:P366 ?g } } GROUP BY ?p } . FILTER ( ?j = ?m ) }
action argmin
action union
action find_tuple_counts
relation use
type military branch
type armed conflict
action find_tuple_counts
relation use
type military branch
type conflict
[{'concept': 'military branch'}, 'use', [{'concept': 'armed conflict'}, {'concept': 'conflict'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?r ) AS ?m ) { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?r ) WHERE { ?t rdf:type ?x . VALUES ( ?x ) { ( ontology:armed_conflict ) ( ontology:conflict ) } } GROUP BY ?b } } . { SELECT DISTINCT ?p ( COUNT ( ?g ) AS ?j ) WHERE { { ?p property:use ?g . ?p rdf:type ontology:military_branch . ?g rdf:type ontology:armed_conflict } UNION { ?g rdf:type ontology:conflict . ?p rdf:type ontology:military_branch . ?p property:use ?g } } GROUP BY ?p } . FILTER ( ?j = ?m ) }
[]
armed conflict conflict military branch
Q15885502 Q210606 Q18669736
SYSTEM
Spetsnaz GRU, 2nd Marine Division, Jamaica Regiment
Q210606 Q18669736 Q1426835 Q15885502
(c(Q781132),P366,c(Q350604)|c(Q180684))
action argmin
action union
action find_tuple_counts
relation P366
type Q781132
type Q350604
action find_tuple_counts
relation P366
type Q781132
type Q180684
[ANSWERS] have their main use as min number of armed conflicts or conflicts
[{'concept': 'Q781132'}, 'P366', [{'concept': 'Q350604'}, {'concept': 'Q180684'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?r ) AS ?m ) { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?r ) WHERE { ?t rdf:type ?x . VALUES ( ?x ) { ( ontology:Q350604 ) ( ontology:Q180684 ) } } GROUP BY ?b } } . { SELECT DISTINCT ?p ( COUNT ( ?g ) AS ?j ) WHERE { { ?p property:P366 ?g . ?p rdf:type ontology:Q781132 . ?g rdf:type ontology:Q350604 } UNION { ?g rdf:type ontology:Q180684 . ?p rdf:type ontology:Q781132 . ?p property:P366 ?g } } GROUP BY ?p } . FILTER ( ?j = ?m ) }
2nd Marine Division Jamaica Regiment anti-aircraft artillery Spetsnaz GRU
Spetsnaz GRU, 2nd Marine Division and Jamaica Regiment have their main use as min number of armed conflicts or conflicts
Spetsnaz GRU 2nd Marine Division Jamaica Regiment
action argmin
action union
action find_tuple_counts
relation use
type military branch
type armed conflict
action find_tuple_counts
relation use
type military branch
type conflict
[{'concept': 'military branch'}, 'use', [{'concept': 'armed conflict'}, {'concept': 'conflict'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?r ) AS ?m ) { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?r ) WHERE { ?t rdf:type ?x . VALUES ( ?x ) { ( ontology:armed_conflict ) ( ontology:conflict ) } } GROUP BY ?b } } . { SELECT DISTINCT ?p ( COUNT ( ?g ) AS ?j ) WHERE { { ?p property:use ?g . ?p rdf:type ontology:military_branch . ?g rdf:type ontology:armed_conflict } UNION { ?g rdf:type ontology:conflict . ?p rdf:type ontology:military_branch . ?p property:use ?g } } GROUP BY ?p } . FILTER ( ?j = ?m ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q182789
P137
Q781132 Q62447
USER
How many aerodromes can be described as facility operator of greater number of military branches than Vadsø Airport ?
(c(Q62447),P137,c(Q781132))
action count
action greater
action find_tuple_counts
relation P137
type Q62447
type Q781132
action count
action filter_type
action find
entity Q182789
relation P137
type Q62447
[{'concept': 'Q62447'}, 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?s ) AS ?h ) WHERE { ?z rdf:type ontology:Q62447 . ?s rdf:type ontology:Q781132 . ?z property:P137 ?s } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { resource:Q182789 property:P137 ?r . ?r rdf:type ontology:Q62447 } } . FILTER ( ?h > ?b ) }
Vadsø Airport
action count
action greater
action find_tuple_counts
relation operator
type aerodrome
type military branch
action count
action filter_type
action find
entity Vadsø Airport
relation operator
type aerodrome
[{'concept': 'aerodrome'}, 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?s ) AS ?h ) WHERE { ?z rdf:type ontology:aerodrome . ?s rdf:type ontology:military_branch . ?z property:operator ?s } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { resource:Vadsø_Airport property:operator ?r . ?r rdf:type ontology:aerodrome } } . FILTER ( ?h > ?b ) }
[]
military branch aerodrome
SYSTEM
3
Q800126 Q5135044 Q3017076
(c(Q62447),P137,c(Q781132))
action count
action greater
action find_tuple_counts
relation P137
type Q62447
type Q781132
action count
action filter_type
action find
entity Q182789
relation P137
type Q62447
[ANSWER]
[{'concept': 'Q62447'}, 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?s ) AS ?h ) WHERE { ?z rdf:type ontology:Q62447 . ?s rdf:type ontology:Q781132 . ?z property:P137 ?s } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { resource:Q182789 property:P137 ?r . ?r rdf:type ontology:Q62447 } } . FILTER ( ?h > ?b ) }
Bagram Airfield Narsarsuaq Air Base Naval Air Station Jacksonville
3
action count
action greater
action find_tuple_counts
relation operator
type aerodrome
type military branch
action count
action filter_type
action find
entity Vadsø Airport
relation operator
type aerodrome
[{'concept': 'aerodrome'}, 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?s ) AS ?h ) WHERE { ?z rdf:type ontology:aerodrome . ?s rdf:type ontology:military_branch . ?z property:operator ?s } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { resource:Vadsø_Airport property:operator ?r . ?r rdf:type ontology:aerodrome } } . FILTER ( ?h > ?b ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q2667407
P137
Q781132 Q62447
USER
And also tell me about Stornoway Airport?
(c(Q62447),P137,c(Q781132))
action count
action greater
action find_tuple_counts
relation P137
type Q62447
type Q781132
action count
action filter_type
action find
entity Q2667407
relation P137
type Q62447
[{'concept': 'Q62447'}, 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { resource:Q2667407 property:P137 ?z . ?z rdf:type ontology:Q62447 } } . FILTER ( ?a > ?l ) . { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?a ) WHERE { ?s property:P137 ?y . ?y rdf:type ontology:Q781132 . ?s rdf:type ontology:Q62447 } GROUP BY ?s } }
Stornoway Airport
action count
action greater
action find_tuple_counts
relation operator
type aerodrome
type military branch
action count
action filter_type
action find
entity Stornoway Airport
relation operator
type aerodrome
[{'concept': 'aerodrome'}, 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { resource:Stornoway_Airport property:operator ?z . ?z rdf:type ontology:aerodrome } } . FILTER ( ?a > ?l ) . { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?a ) WHERE { ?s property:operator ?y . ?y rdf:type ontology:military_branch . ?s rdf:type ontology:aerodrome } GROUP BY ?s } }
[]
military branch aerodrome
SYSTEM
3
Q800126 Q5135044 Q3017076
(c(Q62447),P137,c(Q781132))
action count
action greater
action find_tuple_counts
relation P137
type Q62447
type Q781132
action count
action filter_type
action find
entity Q2667407
relation P137
type Q62447
[ANSWER]
[{'concept': 'Q62447'}, 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { resource:Q2667407 property:P137 ?z . ?z rdf:type ontology:Q62447 } } . FILTER ( ?a > ?l ) . { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?a ) WHERE { ?s property:P137 ?y . ?y rdf:type ontology:Q781132 . ?s rdf:type ontology:Q62447 } GROUP BY ?s } }
Bagram Airfield Narsarsuaq Air Base Naval Air Station Jacksonville
3
action count
action greater
action find_tuple_counts
relation operator
type aerodrome
type military branch
action count
action filter_type
action find
entity Stornoway Airport
relation operator
type aerodrome
[{'concept': 'aerodrome'}, 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { resource:Stornoway_Airport property:operator ?z . ?z rdf:type ontology:aerodrome } } . FILTER ( ?a > ?l ) . { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?a ) WHERE { ?s property:operator ?y . ?y rdf:type ontology:military_branch . ?s rdf:type ontology:aerodrome } GROUP BY ?s } }
[]