Simple Question (Direct)
Simple Question
Q5481883
P607
Q198
USER
What was the war that Francis Matthews took part in
(Q5481883,P607,c(Q198))
action filter_type
action find
entity Q5481883
relation P607
type Q198
['Q5481883', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?c WHERE { resource:Q5481883 property:P607 ?c . ?c rdf:type ontology:Q198 }
Francis Matthews
action filter_type
action find
entity Francis Matthews
relation conflict
type war
['Francis Matthews', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?c WHERE { resource:Francis_Matthews property:conflict ?c . ?c rdf:type ontology:war }
[]
war
Q362
SYSTEM
World War II
Q362
(Q5481883,P607,c(Q198))
action filter_type
action find
entity Q5481883
relation P607
type Q198
The war that Francis Matthews took part in was during [ANSWER]
['Q5481883', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?c WHERE { resource:Q5481883 property:P607 ?c . ?c rdf:type ontology:Q198 }
World War II
The war that Francis Matthews took part in was during World War II
World War II
action filter_type
action find
entity Francis Matthews
relation conflict
type war
['Francis Matthews', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?c WHERE { resource:Francis_Matthews property:conflict ?c . ?c rdf:type ontology:war }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5481883
P410
Q4189293
USER
Which title has Francis Matthews achieved ?
(Q5481883,P410,c(Q4189293))
action filter_type
action find
entity Q5481883
relation P410
type Q4189293
['Q5481883', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q4189293 . resource:Q5481883 property:P410 ?u }
Francis Matthews
action filter_type
action find
entity Francis Matthews
relation military rank
type title
['Francis Matthews', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:title . resource:Francis_Matthews property:military_rank ?u }
[]
title
Q287709
SYSTEM
major-general
Q287709
(Q5481883,P410,c(Q4189293))
action filter_type
action find
entity Q5481883
relation P410
type Q4189293
Francis Matthews has achieved a [ANSWER]
['Q5481883', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q4189293 . resource:Q5481883 property:P410 ?u }
major-general
Francis Matthews has achieved a major-general
major-general
action filter_type
action find
entity Francis Matthews
relation military rank
type title
['Francis Matthews', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:title . resource:Francis_Matthews property:military_rank ?u }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5481883
P241
Q781132
USER
Which military branch is Francis Matthews associated with ?
(Q5481883,P241,c(Q781132))
action filter_type
action find
entity Q5481883
relation P241
type Q781132
['Q5481883', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?e WHERE { resource:Q5481883 property:P241 ?e . ?e rdf:type ontology:Q781132 }
Francis Matthews
action filter_type
action find
entity Francis Matthews
relation military branch
type military branch
['Francis Matthews', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?e WHERE { resource:Francis_Matthews property:military_branch ?e . ?e rdf:type ontology:military_branch }
[]
military branch
Q222595
SYSTEM
British Army
Q222595
(Q5481883,P241,c(Q781132))
action filter_type
action find
entity Q5481883
relation P241
type Q781132
Francis Matthews is associated with [ANSWER]
['Q5481883', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?e WHERE { resource:Q5481883 property:P241 ?e . ?e rdf:type ontology:Q781132 }
British Army
Francis Matthews is associated with British Army
British Army
action filter_type
action find
entity Francis Matthews
relation military branch
type military branch
['Francis Matthews', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?e WHERE { resource:Francis_Matthews property:military_branch ?e . ?e rdf:type ontology:military_branch }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q222595 Q486128 Q9682
P138
Q502895
USER
Does that military branch have George Wein and Elizabeth II as its namesake ?
(Q222595,P138,Q486128) (Q222595,P138,Q9682)
action is_in
entity Q222595
action intersection
action find_reverse
entity Q486128
relation P138
action find_reverse
entity Q9682
relation P138
['Q222595', 'P138', 'Q486128'] ['Q222595', 'P138', 'Q9682']
ASK WHERE { resource:Q222595 property:P138 resource:Q486128 . resource:Q222595 property:P138 resource:Q9682 }
British Army George Wein Elizabeth II
action is_in
entity British Army
action intersection
action find_reverse
entity George Wein
relation named after
action find_reverse
entity Elizabeth II
relation named after
['British Army', 'named after', 'George Wein'] ['British Army', 'named after', 'Elizabeth II']
ASK WHERE { resource:British_Army property:named_after resource:George_Wein . resource:British_Army property:named_after resource:Elizabeth_II }
[]
common name
SYSTEM
NO and YES respectively
(Q222595,P138,Q486128) (Q222595,P138,Q9682)
action is_in
entity Q222595
action intersection
action find_reverse
entity Q486128
relation P138
action find_reverse
entity Q9682
relation P138
[ANSWER]
['Q222595', 'P138', 'Q486128'] ['Q222595', 'P138', 'Q9682']
ASK WHERE { resource:Q222595 property:P138 resource:Q486128 . resource:Q222595 property:P138 resource:Q9682 }
NO and YES respectively
action is_in
entity British Army
action intersection
action find_reverse
entity George Wein
relation named after
action find_reverse
entity Elizabeth II
relation named after
['British Army', 'named after', 'George Wein'] ['British Army', 'named after', 'Elizabeth II']
ASK WHERE { resource:British_Army property:named_after resource:George_Wein . resource:British_Army property:named_after resource:Elizabeth_II }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q172771
P137
Q781132 Q811979 Q1875621
USER
Which military branches are the facility operator of less number of architectural structures or aircraft classes than Royal Navy ?
(c(Q811979)|c(Q1875621),P137,c(Q781132))
action less
action union
action find_reverse_tuple_counts
relation P137
type Q781132
type Q811979
action find_reverse_tuple_counts
relation P137
type Q781132
type Q1875621
action count
action filter_multi_types
action find_reverse
entity Q172771
relation P137
type Q811979
type Q1875621
[[{'concept': 'Q811979'}, {'concept': 'Q1875621'}], 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { ?i property:P137 resource:Q172771 . { { ?i rdf:type ontology:Q1875621 } UNION { ?i rdf:type ontology:Q811979 } } } } . FILTER ( ?a < ?t ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) ?r WHERE { ?p rdf:type ?m . VALUES ( ?m ) { ( ontology:Q811979 ) ( ontology:Q1875621 ) } } GROUP BY ?r } }
Royal Navy
action less
action union
action find_reverse_tuple_counts
relation operator
type military branch
type architectural structure
action find_reverse_tuple_counts
relation operator
type military branch
type aircraft class
action count
action filter_multi_types
action find_reverse
entity Royal Navy
relation operator
type architectural structure
type aircraft class
[[{'concept': 'architectural structure'}, {'concept': 'aircraft class'}], 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { ?i property:operator resource:Royal_Navy . { { ?i rdf:type ontology:aircraft_class } UNION { ?i rdf:type ontology:architectural_structure } } } } . FILTER ( ?a < ?t ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) ?r WHERE { ?p rdf:type ?m . VALUES ( ?m ) { ( ontology:architectural_structure ) ( ontology:aircraft_class ) } } GROUP BY ?r } }
[]
military branch architectural structure aircraft class
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 Q1076619 Q741691 Q19562444 Q855186 Q11322507 Q2384177 Q643834 Q1370337 Q465283 Q931281 Q2531890 Q932840 Q3848121 Q796754 Q897614 Q1815399 Q4419309 Q2387294 Q56018 Q2067603 Q2258261 Q56015 Q19344622 Q952444 Q488756 Q16408580 Q2071948 Q1285655 Q1188381 Q2537847 Q1774585 Q25436 Q2630039 Q6479134 Q4114459 Q2292358 Q3546162 Q5334371 Q355771 Q159211 Q2074039 Q267167 Q702116 Q2349884 Q583941 Q15705369 Q781360 Q2408298 Q1129369 Q4115107 Q16151032 Q1038047 Q833040 Q4114435 Q2575188 Q889751 Q2704661 Q898671 Q2566387 Q1944482 Q1750688 Q7032867 Q208711 Q2083573 Q755179 Q1324290 Q861530 Q1046947 Q731647 Q2526431 Q2594652 Q792296 Q3274075 Q1141396 Q2745472 Q1062125 Q2742227 Q2006452 Q3277832 Q2528358 Q3848018 Q1311627 Q25387 Q1370395 Q1366319 Q3293295 Q2492012 Q151701 Q796411 Q588089 Q2383264 Q510534 Q1124986 Q4303265 Q575932
(c(Q811979)|c(Q1875621),P137,c(Q781132))
action less
action union
action find_reverse_tuple_counts
relation P137
type Q781132
type Q811979
action find_reverse_tuple_counts
relation P137
type Q781132
type Q1875621
action count
action filter_multi_types
action find_reverse
entity Q172771
relation P137
type Q811979
type Q1875621
[ANSWERS] are the facility operator of less number of architectural structures or aircraft classes than Royal Navy
[[{'concept': 'Q811979'}, {'concept': 'Q1875621'}], 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { ?i property:P137 resource:Q172771 . { { ?i rdf:type ontology:Q1875621 } UNION { ?i rdf:type ontology:Q811979 } } } } . FILTER ( ?a < ?t ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) ?r WHERE { ?p rdf:type ?m . VALUES ( ?m ) { ( ontology:Q811979 ) ( ontology:Q1875621 ) } } GROUP BY ?r } }
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 French Army Royal Australian Navy Danish-Norwegian navy Regia Marina German Army Norwegian Army German Navy Estonian Navy Russian Navy Royal Netherlands Navy 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 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 Brazilian Army Philippine Navy Ecuadorian Army Indian Army Austro-Hungarian Navy Latvian Land Forces Polish Navy Republic of China Navy Croatian Navy Imperial Russian Navy 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 Nigerian Army Chilean Navy Royal Norwegian Navy People's Liberation Army Navy Vietnam People's Navy Royal Malaysian Navy Royal Marines Japan Maritime Self-Defense Force National Navy of Colombia Naval Service Belgian Naval Component Sri Lanka Navy Swedish Navy Chilean Army Ottoman Navy Royal Saudi Navy Royal Danish Navy Hungarian Ground Forces Mexican Navy Italian Co-Belligerent Navy Syrian 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
Hungarian Ground Forces, Kazakh Air and Air Defence Forces and Latvian Land Forces are the facility operator of less number of architectural structures or aircraft classes than Royal 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 architectural structure
action find_reverse_tuple_counts
relation operator
type military branch
type aircraft class
action count
action filter_multi_types
action find_reverse
entity Royal Navy
relation operator
type architectural structure
type aircraft class
[[{'concept': 'architectural structure'}, {'concept': 'aircraft class'}], 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { ?i property:operator resource:Royal_Navy . { { ?i rdf:type ontology:aircraft_class } UNION { ?i rdf:type ontology:architectural_structure } } } } . FILTER ( ?a < ?t ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) ?r WHERE { ?p rdf:type ?m . VALUES ( ?m ) { ( ontology:architectural_structure ) ( ontology:aircraft_class ) } } GROUP BY ?r } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3277832
P108
Q502895
USER
Who works for Hungarian Ground Forces ?
(c(Q502895),P108,Q3277832)
action filter_type
action find_reverse
entity Q3277832
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q3277832']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . ?d property:P108 resource:Q3277832 }
Hungarian Ground Forces
action filter_type
action find_reverse
entity Hungarian Ground Forces
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Hungarian Ground Forces']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . ?d property:employer resource:Hungarian_Ground_Forces }
[]
common name
Q20894787
SYSTEM
Arthur Goergei
Q20894787
(c(Q502895),P108,Q3277832)
action filter_type
action find_reverse
entity Q3277832
relation P108
type Q502895
[ANSWER] works for Hungarian Ground Forces
[{'concept': 'Q502895'}, 'P108', 'Q3277832']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . ?d property:P108 resource:Q3277832 }
Arthur Goergei
Arthur Goergei works for Hungarian Ground Forces
Arthur Goergei
action filter_type
action find_reverse
entity Hungarian Ground Forces
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Hungarian Ground Forces']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . ?d property:employer resource:Hungarian_Ground_Forces }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20894787
P921
Q4894405
USER
Which journalism genre is that person a main subject of ?
(c(Q4894405),P921,Q20894787)
action filter_type
action find_reverse
entity Q20894787
relation P921
type Q4894405
[{'concept': 'Q4894405'}, 'P921', 'Q20894787']
SELECT DISTINCT ?x WHERE { ?x property:P921 resource:Q20894787 . ?x rdf:type ontology:Q4894405 }
Arthur Goergei
action filter_type
action find_reverse
entity Arthur Goergei
relation main subject
type journalism genre
[{'concept': 'journalism genre'}, 'main subject', 'Arthur Goergei']
SELECT DISTINCT ?x WHERE { ?x property:main_subject resource:Arthur_Goergei . ?x rdf:type ontology:journalism_genre }
[]
journalism genre
Q17357076
SYSTEM
Arthur Goergei
Q17357076
(c(Q4894405),P921,Q20894787)
action filter_type
action find_reverse
entity Q20894787
relation P921
type Q4894405
[ANSWER] is that person a main subject of
[{'concept': 'Q4894405'}, 'P921', 'Q20894787']
SELECT DISTINCT ?x WHERE { ?x property:P921 resource:Q20894787 . ?x rdf:type ontology:Q4894405 }
Arthur Goergei
Arthur Goergei is that person a main subject of
Arthur Goergei
action filter_type
action find_reverse
entity Arthur Goergei
relation main subject
type journalism genre
[{'concept': 'journalism genre'}, 'main subject', 'Arthur Goergei']
SELECT DISTINCT ?x WHERE { ?x property:main_subject resource:Arthur_Goergei . ?x rdf:type ontology:journalism_genre }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4707080 Q20894787
P106
Q12737077
USER
Which occupations are the professions of Arthur Goergei or Alan Knipe ?
OR((Q20894787,P106,c(Q12737077)), (Q4707080,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q20894787
relation P106
action find
entity Q4707080
relation P106
type Q12737077
{'OR': [['Q20894787', 'P106', {'concept': 'Q12737077'}], ['Q4707080', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q4707080 property:P106 ?k } UNION { resource:Q20894787 property:P106 ?k } } . ?k rdf:type ontology:Q12737077 }
Alan Knipe Arthur Goergei
action filter_type
action union
action find
entity Arthur Goergei
relation occupation
action find
entity Alan Knipe
relation occupation
type occupation
{'OR': [['Arthur Goergei', 'occupation', {'concept': 'occupation'}], ['Alan Knipe', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Alan_Knipe property:occupation ?k } UNION { resource:Arthur_Goergei property:occupation ?k } } . ?k rdf:type ontology:occupation }
[]
occupation
Q15117302 Q4991371
SYSTEM
volleyball player, soldier
Q15117302 Q4991371
OR((Q20894787,P106,c(Q12737077)), (Q4707080,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q20894787
relation P106
action find
entity Q4707080
relation P106
type Q12737077
The professions of Arthur Goergei or Alan Knipe are a [ANSWERS]
{'OR': [['Q20894787', 'P106', {'concept': 'Q12737077'}], ['Q4707080', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q4707080 property:P106 ?k } UNION { resource:Q20894787 property:P106 ?k } } . ?k rdf:type ontology:Q12737077 }
volleyball player soldier
The professions of Arthur Goergei or Alan Knipe are a volleyball player and soldier
volleyball player soldier
action filter_type
action union
action find
entity Arthur Goergei
relation occupation
action find
entity Alan Knipe
relation occupation
type occupation
{'OR': [['Arthur Goergei', 'occupation', {'concept': 'occupation'}], ['Alan Knipe', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Alan_Knipe property:occupation ?k } UNION { resource:Arthur_Goergei property:occupation ?k } } . ?k rdf:type ontology:occupation }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2630039
P137
Q781132 Q62447 Q2424752
USER
Which military branches manages around the same number of aerodromes or products as New Zealand Army ?
(c(Q62447)|c(Q2424752),P137,c(Q781132))
action approx
action union
action find_reverse_tuple_counts
relation P137
type Q781132
type Q62447
action find_reverse_tuple_counts
relation P137
type Q781132
type Q2424752
action count
action filter_multi_types
action find_reverse
entity Q2630039
relation P137
type Q62447
type Q2424752
[[{'concept': 'Q62447'}, {'concept': 'Q2424752'}], 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?f ) AS ?k ) WHERE { { ?f property:P137 ?u . ?f rdf:type ontology:Q2424752 . ?u rdf:type ontology:Q781132 } UNION { ?u rdf:type ontology:Q781132 . ?f rdf:type ontology:Q62447 . ?f property:P137 ?u } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { { { ?r rdf:type ontology:Q62447 } UNION { ?r rdf:type ontology:Q2424752 } } . ?r property:P137 resource:Q2630039 } } . FILTER ( ?k = ?l ) }
New Zealand Army
action approx
action union
action find_reverse_tuple_counts
relation operator
type military branch
type aerodrome
action find_reverse_tuple_counts
relation operator
type military branch
type product
action count
action filter_multi_types
action find_reverse
entity New Zealand Army
relation operator
type aerodrome
type product
[[{'concept': 'aerodrome'}, {'concept': 'product'}], 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?f ) AS ?k ) WHERE { { ?f property:operator ?u . ?f rdf:type ontology:product . ?u rdf:type ontology:military_branch } UNION { ?u rdf:type ontology:military_branch . ?f rdf:type ontology:aerodrome . ?f property:operator ?u } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { { { ?r rdf:type ontology:aerodrome } UNION { ?r rdf:type ontology:product } } . ?r property:operator resource:New_Zealand_Army } } . FILTER ( ?k = ?l ) }
[]
military branch aerodrome product
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 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 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 Q4855270 Q7032867 Q208711 Q2083573 Q755179 Q1324290 Q2301347 Q861530 Q1046947 Q731647 Q2526431 Q2594652 Q792296 Q3274075 Q17404781 Q1141396 Q2745472 Q1062125 Q172771 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(Q62447)|c(Q2424752),P137,c(Q781132))
action approx
action union
action find_reverse_tuple_counts
relation P137
type Q781132
type Q62447
action find_reverse_tuple_counts
relation P137
type Q781132
type Q2424752
action count
action filter_multi_types
action find_reverse
entity Q2630039
relation P137
type Q62447
type Q2424752
[ANSWERS] manage around the same number of aerodromes or products as New Zealand Army
[[{'concept': 'Q62447'}, {'concept': 'Q2424752'}], 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?f ) AS ?k ) WHERE { { ?f property:P137 ?u . ?f rdf:type ontology:Q2424752 . ?u rdf:type ontology:Q781132 } UNION { ?u rdf:type ontology:Q781132 . ?f rdf:type ontology:Q62447 . ?f property:P137 ?u } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { { { ?r rdf:type ontology:Q62447 } UNION { ?r rdf:type ontology:Q2424752 } } . ?r property:P137 resource:Q2630039 } } . FILTER ( ?k = ?l ) }
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 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 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 Bangladesh Army Nigerian Army Chilean Navy Royal Norwegian Navy People's Liberation Army Navy Vietnam People's Navy Argentine 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 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 and Latvian Land Forces manage around the same number of aerodromes or products as New Zealand Army
Hungarian Ground Forces Kazakh Air and Air Defence Forces Latvian Land Forces
action approx
action union
action find_reverse_tuple_counts
relation operator
type military branch
type aerodrome
action find_reverse_tuple_counts
relation operator
type military branch
type product
action count
action filter_multi_types
action find_reverse
entity New Zealand Army
relation operator
type aerodrome
type product
[[{'concept': 'aerodrome'}, {'concept': 'product'}], 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?f ) AS ?k ) WHERE { { ?f property:operator ?u . ?f rdf:type ontology:product . ?u rdf:type ontology:military_branch } UNION { ?u rdf:type ontology:military_branch . ?f rdf:type ontology:aerodrome . ?f property:operator ?u } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { { { ?r rdf:type ontology:aerodrome } UNION { ?r rdf:type ontology:product } } . ?r property:operator resource:New_Zealand_Army } } . FILTER ( ?k = ?l ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q4939559
P137
Q781132 Q62447 Q2424752
USER
And also tell me about Bolivian Army?
(c(Q62447)|c(Q2424752),P137,c(Q781132))
action approx
action union
action find_reverse_tuple_counts
relation P137
type Q781132
type Q62447
action find_reverse_tuple_counts
relation P137
type Q781132
type Q2424752
action count
action filter_multi_types
action find_reverse
entity Q4939559
relation P137
type Q62447
type Q2424752
[[{'concept': 'Q62447'}, {'concept': 'Q2424752'}], 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) ?w WHERE { VALUES ( ?c ) { ( ontology:Q2424752 ) ( ontology:Q62447 ) } . ?m rdf:type ?c } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { ?l property:P137 resource:Q4939559 . { ?l rdf:type ?r . VALUES ( ?r ) { ( ontology:Q62447 ) ( ontology:Q2424752 ) } } } } . FILTER ( ?n = ?x ) }
Bolivian Army
action approx
action union
action find_reverse_tuple_counts
relation operator
type military branch
type aerodrome
action find_reverse_tuple_counts
relation operator
type military branch
type product
action count
action filter_multi_types
action find_reverse
entity Bolivian Army
relation operator
type aerodrome
type product
[[{'concept': 'aerodrome'}, {'concept': 'product'}], 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) ?w WHERE { VALUES ( ?c ) { ( ontology:product ) ( ontology:aerodrome ) } . ?m rdf:type ?c } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { ?l property:operator resource:Bolivian_Army . { ?l rdf:type ?r . VALUES ( ?r ) { ( ontology:aerodrome ) ( ontology:product ) } } } } . FILTER ( ?n = ?x ) }
[]
military branch aerodrome product
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 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 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 Q4855270 Q7032867 Q208711 Q2083573 Q755179 Q1324290 Q2301347 Q861530 Q1046947 Q731647 Q2526431 Q2594652 Q792296 Q3274075 Q17404781 Q1141396 Q2745472 Q1062125 Q172771 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(Q62447)|c(Q2424752),P137,c(Q781132))
action approx
action union
action find_reverse_tuple_counts
relation P137
type Q781132
type Q62447
action find_reverse_tuple_counts
relation P137
type Q781132
type Q2424752
action count
action filter_multi_types
action find_reverse
entity Q4939559
relation P137
type Q62447
type Q2424752
[ANSWERS]
[[{'concept': 'Q62447'}, {'concept': 'Q2424752'}], 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) ?w WHERE { VALUES ( ?c ) { ( ontology:Q2424752 ) ( ontology:Q62447 ) } . ?m rdf:type ?c } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { ?l property:P137 resource:Q4939559 . { ?l rdf:type ?r . VALUES ( ?r ) { ( ontology:Q62447 ) ( ontology:Q2424752 ) } } } } . FILTER ( ?n = ?x ) }
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 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 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 Bangladesh Army Nigerian Army Chilean Navy Royal Norwegian Navy People's Liberation Army Navy Vietnam People's Navy Argentine 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 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 approx
action union
action find_reverse_tuple_counts
relation operator
type military branch
type aerodrome
action find_reverse_tuple_counts
relation operator
type military branch
type product
action count
action filter_multi_types
action find_reverse
entity Bolivian Army
relation operator
type aerodrome
type product
[[{'concept': 'aerodrome'}, {'concept': 'product'}], 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) ?w WHERE { VALUES ( ?c ) { ( ontology:product ) ( ontology:aerodrome ) } . ?m rdf:type ?c } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { ?l property:operator resource:Bolivian_Army . { ?l rdf:type ?r . VALUES ( ?r ) { ( ontology:aerodrome ) ( ontology:product ) } } } } . FILTER ( ?n = ?x ) }
[]