Simple Question (Direct)
Simple Question
Q265028
P39
Q12737077
USER
Which occupation was a position held by Andrew Bridgen ?
(Q265028,P39,c(Q12737077))
action filter_type
action find
entity Q265028
relation P39
type Q12737077
['Q265028', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q265028 property:P39 ?i . ?i rdf:type ontology:Q12737077 }
Andrew Bridgen
action filter_type
action find
entity Andrew Bridgen
relation position held
type occupation
['Andrew Bridgen', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Andrew_Bridgen property:position_held ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q16707842
SYSTEM
Member of Parliament in the United Kingdom
Q16707842
(Q265028,P39,c(Q12737077))
action filter_type
action find
entity Q265028
relation P39
type Q12737077
The [ANSWER] was a position held by Andrew Bridgen
['Q265028', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q265028 property:P39 ?i . ?i rdf:type ontology:Q12737077 }
Member of Parliament in the United Kingdom
The Member of Parliament in the United Kingdom was a position held by Andrew Bridgen
Member of Parliament in the United Kingdom
action filter_type
action find
entity Andrew Bridgen
relation position held
type occupation
['Andrew Bridgen', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Andrew_Bridgen property:position_held ?i . ?i rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q265028
P241
Q781132
USER
Which military branch contains Andrew Bridgen as its part ?
(Q265028,P241,c(Q781132))
action filter_type
action find
entity Q265028
relation P241
type Q781132
['Q265028', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?p WHERE { resource:Q265028 property:P241 ?p . ?p rdf:type ontology:Q781132 }
Andrew Bridgen
action filter_type
action find
entity Andrew Bridgen
relation military branch
type military branch
['Andrew Bridgen', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?p WHERE { resource:Andrew_Bridgen property:military_branch ?p . ?p rdf:type ontology:military_branch }
[]
military branch
Q1046947
SYSTEM
Royal Marines
Q1046947
(Q265028,P241,c(Q781132))
action filter_type
action find
entity Q265028
relation P241
type Q781132
Regiment [ANSWER] contains Andrew Bridgen as its part
['Q265028', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?p WHERE { resource:Q265028 property:P241 ?p . ?p rdf:type ontology:Q781132 }
Royal Marines
Regiment Royal Marines contains Andrew Bridgen as its part
Royal Marines
action filter_type
action find
entity Andrew Bridgen
relation military branch
type military branch
['Andrew Bridgen', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?p WHERE { resource:Andrew_Bridgen property:military_branch ?p . ?p rdf:type ontology:military_branch }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q265028
P27
Q15617994
USER
Which administrative territory does that person belong to ?
(Q1046947,P27,c(Q15617994))
action filter_type
action find
entity Q265028
relation P27
type Q15617994
['Q1046947', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q265028 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Andrew Bridgen
action filter_type
action find
entity Andrew Bridgen
relation country of citizenship
type designation for an administrative territorial entity
['Royal Marines', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Andrew_Bridgen property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q1046947,P27,c(Q15617994))
action filter_type
action find
entity Q265028
relation P27
type Q15617994
That person belongs to the [ANSWER]
['Q1046947', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q265028 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
United Kingdom
That person belongs to the United Kingdom
United Kingdom
action filter_type
action find
entity Andrew Bridgen
relation country of citizenship
type designation for an administrative territorial entity
['Royal Marines', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Andrew_Bridgen property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q265028
P69
Q3918
USER
What is the university where Andrew Bridgen was educated ?
(Q265028,P69,c(Q3918))
action filter_type
action find
entity Q265028
relation P69
type Q3918
['Q265028', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?p WHERE { resource:Q265028 property:P69 ?p . ?p rdf:type ontology:Q3918 }
Andrew Bridgen
action filter_type
action find
entity Andrew Bridgen
relation educated at
type university
['Andrew Bridgen', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?p WHERE { resource:Andrew_Bridgen property:educated_at ?p . ?p rdf:type ontology:university }
[]
university
Q472316
SYSTEM
University of Nottingham
Q472316
(Q265028,P69,c(Q3918))
action filter_type
action find
entity Q265028
relation P69
type Q3918
The university Andrew Bridgen was educated is the [ANSWER]
['Q265028', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?p WHERE { resource:Q265028 property:P69 ?p . ?p rdf:type ontology:Q3918 }
University of Nottingham
The university Andrew Bridgen was educated is the University of Nottingham
University of Nottingham
action filter_type
action find
entity Andrew Bridgen
relation educated at
type university
['Andrew Bridgen', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?p WHERE { resource:Andrew_Bridgen property:educated_at ?p . ?p rdf:type ontology:university }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q472316 Q7208134 Q511871
P17
Q15617994
USER
Is that university located in Point Pleasant School District and Rückholz ?
(Q472316,P17,Q7208134) (Q472316,P17,Q511871)
action is_in
entity Q472316
action intersection
action find_reverse
entity Q7208134
relation P17
action find_reverse
entity Q511871
relation P17
['Q472316', 'P17', 'Q7208134'] ['Q472316', 'P17', 'Q511871']
ASK WHERE { resource:Q472316 property:P17 resource:Q7208134 . resource:Q472316 property:P17 resource:Q511871 }
University of Nottingham Point Pleasant School District Rückholz
action is_in
entity University of Nottingham
action intersection
action find_reverse
entity Point Pleasant School District
relation country
action find_reverse
entity Rückholz
relation country
['University of Nottingham', 'country', 'Point Pleasant School District'] ['University of Nottingham', 'country', 'Rückholz']
ASK WHERE { resource:University_of_Nottingham property:country resource:Point_Pleasant_School_District . resource:University_of_Nottingham property:country resource:Rückholz }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q472316,P17,Q7208134) (Q472316,P17,Q511871)
action is_in
entity Q472316
action intersection
action find_reverse
entity Q7208134
relation P17
action find_reverse
entity Q511871
relation P17
[ANSWER]
['Q472316', 'P17', 'Q7208134'] ['Q472316', 'P17', 'Q511871']
ASK WHERE { resource:Q472316 property:P17 resource:Q7208134 . resource:Q472316 property:P17 resource:Q511871 }
No
action is_in
entity University of Nottingham
action intersection
action find_reverse
entity Point Pleasant School District
relation country
action find_reverse
entity Rückholz
relation country
['University of Nottingham', 'country', 'Point Pleasant School District'] ['University of Nottingham', 'country', 'Rückholz']
ASK WHERE { resource:University_of_Nottingham property:country resource:Point_Pleasant_School_District . resource:University_of_Nottingham property:country resource:Rückholz }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q4419309
P121
Q197 Q20027951 Q781132
USER
How many military branches are responsible for management of lesser number of airplanes and aircraft power classes than Kazakh Air and Air Defence Forces ?
(c(Q781132),P121,c(Q197)|c(Q20027951))
action count
action less
action union
action find_tuple_counts
relation P121
type Q781132
type Q197
action find_tuple_counts
relation P121
type Q781132
type Q20027951
action count
action filter_multi_types
action find
entity Q4419309
relation P121
type Q197
type Q20027951
[{'concept': 'Q781132'}, 'P121', [{'concept': 'Q197'}, {'concept': 'Q20027951'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) WHERE { resource:Q4419309 property:P121 ?j . { { ?j rdf:type ontology:Q197 } UNION { ?j rdf:type ontology:Q20027951 } } } } . FILTER ( ?a < ?c ) . { SELECT DISTINCT ?g ( COUNT ( ?o ) AS ?a ) WHERE { { ?g property:P121 ?o . ?o rdf:type ontology:Q197 . ?g rdf:type ontology:Q781132 } UNION { ?g property:P121 ?o . ?g rdf:type ontology:Q781132 . ?o rdf:type ontology:Q20027951 } } GROUP BY ?g } }
Kazakh Air and Air Defence Forces
action count
action less
action union
action find_tuple_counts
relation item operated
type military branch
type airplane
action find_tuple_counts
relation item operated
type military branch
type aircraft power class
action count
action filter_multi_types
action find
entity Kazakh Air and Air Defence Forces
relation item operated
type airplane
type aircraft power class
[{'concept': 'military branch'}, 'item operated', [{'concept': 'airplane'}, {'concept': 'aircraft power class'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) WHERE { resource:Kazakh_Air_and_Air_Defence_Forces property:item_operated ?j . { { ?j rdf:type ontology:airplane } UNION { ?j rdf:type ontology:aircraft_power_class } } } } . FILTER ( ?a < ?c ) . { SELECT DISTINCT ?g ( COUNT ( ?o ) AS ?a ) WHERE { { ?g property:item_operated ?o . ?o rdf:type ontology:airplane . ?g rdf:type ontology:military_branch } UNION { ?g property:item_operated ?o . ?g rdf:type ontology:military_branch . ?o rdf:type ontology:aircraft_power_class } } GROUP BY ?g } }
[]
airplane aircraft power class military branch
SYSTEM
49
Q6082582 Q897614 Q17404781 Q18696932 Q1324290 Q18640177 Q11220 Q2408298 Q18615980 Q172771 Q1129369 Q3958034 Q18640276 Q4709164 Q2055634 Q833040 Q2905423 Q1546449 Q4939559 Q2704661 Q3293231 Q356359 Q2862927 Q376676 Q2862841 Q1777326 Q2665572 Q731647 Q3277832 Q4855270 Q1491482 Q1322103 Q4114459 Q2711719 Q2370391 Q11218 Q2301347 Q4709134 Q2349884 Q17597972 Q5985661 Q355771 Q2071948 Q192366 Q2074039 Q17049310 Q18707175 Q3293247 Q569328
(c(Q781132),P121,c(Q197)|c(Q20027951))
action count
action less
action union
action find_tuple_counts
relation P121
type Q781132
type Q197
action find_tuple_counts
relation P121
type Q781132
type Q20027951
action count
action filter_multi_types
action find
entity Q4419309
relation P121
type Q197
type Q20027951
[ANSWER]
[{'concept': 'Q781132'}, 'P121', [{'concept': 'Q197'}, {'concept': 'Q20027951'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) WHERE { resource:Q4419309 property:P121 ?j . { { ?j rdf:type ontology:Q197 } UNION { ?j rdf:type ontology:Q20027951 } } } } . FILTER ( ?a < ?c ) . { SELECT DISTINCT ?g ( COUNT ( ?o ) AS ?a ) WHERE { { ?g property:P121 ?o . ?o rdf:type ontology:Q197 . ?g rdf:type ontology:Q781132 } UNION { ?g property:P121 ?o . ?g rdf:type ontology:Q781132 . ?o rdf:type ontology:Q20027951 } } GROUP BY ?g } }
Islamic Republic of Iran Air Defense Force Iraqi Army Afghan Special Mission Wing Lao People's Army Vietnam People's Navy Guinean Navy United States Navy Islamic Republic of Iran Navy Gambian Navy Royal Navy Hellenic Navy Argentine Army Aviation Bissau-Guinean Army Albanian Royal Army Royal Bahrain Naval Force Italian Navy Lebanese Navy Hellenic Army Bolivian Army Indonesian Navy Bangladesh Navy Indian Navy Indonesian Army Albanian Naval Force Congolese Army Argentine Navy Algerian National Navy Japan Maritime Self-Defense Force Hungarian Ground Forces Bangladesh Army Lao People's Navy Spanish Army Eritrean Navy Lithuanian Naval Force Royal Bhutan Army United States Marine Corps Argentine Army Albanian Land Force Croatian Navy Angolan Army Iceland Air Defence System Indian Army Finnish Navy Royal Bahraini Army Latvian Land Forces Angolan Navy Malawi Army Naval Detachment Benin Naval Forces Air Force and Anti-Air Defence Brigade
49
action count
action less
action union
action find_tuple_counts
relation item operated
type military branch
type airplane
action find_tuple_counts
relation item operated
type military branch
type aircraft power class
action count
action filter_multi_types
action find
entity Kazakh Air and Air Defence Forces
relation item operated
type airplane
type aircraft power class
[{'concept': 'military branch'}, 'item operated', [{'concept': 'airplane'}, {'concept': 'aircraft power class'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) WHERE { resource:Kazakh_Air_and_Air_Defence_Forces property:item_operated ?j . { { ?j rdf:type ontology:airplane } UNION { ?j rdf:type ontology:aircraft_power_class } } } } . FILTER ( ?a < ?c ) . { SELECT DISTINCT ?g ( COUNT ( ?o ) AS ?a ) WHERE { { ?g property:item_operated ?o . ?o rdf:type ontology:airplane . ?g rdf:type ontology:military_branch } UNION { ?g property:item_operated ?o . ?g rdf:type ontology:military_branch . ?o rdf:type ontology:aircraft_power_class } } GROUP BY ?g } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q472316 Q82616
P17
Q15617994
USER
Is University of Nottingham present in Barberino di Mugello ?
(Q472316,P17,Q82616)
action is_in
entity Q82616
action find
entity Q472316
relation P17
['Q472316', 'P17', 'Q82616']
ASK WHERE { resource:Q472316 property:P17 resource:Q82616 }
University of Nottingham Barberino di Mugello
action is_in
entity Barberino di Mugello
action find
entity University of Nottingham
relation country
['University of Nottingham', 'country', 'Barberino di Mugello']
ASK WHERE { resource:University_of_Nottingham property:country resource:Barberino_di_Mugello }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q472316,P17,Q82616)
action is_in
entity Q82616
action find
entity Q472316
relation P17
[ANSWER]
['Q472316', 'P17', 'Q82616']
ASK WHERE { resource:Q472316 property:P17 resource:Q82616 }
No
action is_in
entity Barberino di Mugello
action find
entity University of Nottingham
relation country
['University of Nottingham', 'country', 'Barberino di Mugello']
ASK WHERE { resource:University_of_Nottingham property:country resource:Barberino_di_Mugello }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q145 Q95071
P530
Q15617994
USER
Does Arcene hold diplomatic relationship with United Kingdom ?
(Q145,P530,Q95071)
action is_in
entity Q95071
action find
entity Q145
relation P530
['Q145', 'P530', 'Q95071']
ASK WHERE { resource:Q145 property:P530 resource:Q95071 }
United Kingdom Arcene
action is_in
entity Arcene
action find
entity United Kingdom
relation diplomatic relation
['United Kingdom', 'diplomatic relation', 'Arcene']
ASK WHERE { resource:United_Kingdom property:diplomatic_relation resource:Arcene }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q145,P530,Q95071)
action is_in
entity Q95071
action find
entity Q145
relation P530
[ANSWER]
['Q145', 'P530', 'Q95071']
ASK WHERE { resource:Q145 property:P530 resource:Q95071 }
No
action is_in
entity Arcene
action find
entity United Kingdom
relation diplomatic relation
['United Kingdom', 'diplomatic relation', 'Arcene']
ASK WHERE { resource:United_Kingdom property:diplomatic_relation resource:Arcene }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2862927
P121
Q1875621 Q12876 Q781132
USER
Which military branches manage more number of aircraft classes or tanks than Indonesian Army ?
(c(Q781132),P121,c(Q1875621)|c(Q12876))
action greater
action union
action find_tuple_counts
relation P121
type Q781132
type Q1875621
action find_tuple_counts
relation P121
type Q781132
type Q12876
action count
action filter_multi_types
action find
entity Q2862927
relation P121
type Q1875621
type Q12876
[{'concept': 'Q781132'}, 'P121', [{'concept': 'Q1875621'}, {'concept': 'Q12876'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { { { ?v rdf:type ontology:Q1875621 } UNION { ?v rdf:type ontology:Q12876 } } . resource:Q2862927 property:P121 ?v } } . FILTER ( ?s > ?z ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) ?f WHERE { ?l rdf:type ?j . VALUES ( ?j ) { ( ontology:Q1875621 ) ( ontology:Q12876 ) } } GROUP BY ?f } }
Indonesian Army
action greater
action union
action find_tuple_counts
relation item operated
type military branch
type aircraft class
action find_tuple_counts
relation item operated
type military branch
type tank
action count
action filter_multi_types
action find
entity Indonesian Army
relation item operated
type aircraft class
type tank
[{'concept': 'military branch'}, 'item operated', [{'concept': 'aircraft class'}, {'concept': 'tank'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { { { ?v rdf:type ontology:aircraft_class } UNION { ?v rdf:type ontology:tank } } . resource:Indonesian_Army property:item_operated ?v } } . FILTER ( ?s > ?z ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) ?f WHERE { ?l rdf:type ?j . VALUES ( ?j ) { ( ontology:aircraft_class ) ( ontology:tank ) } } GROUP BY ?f } }
[]
aircraft class tank military branch
Q18640276 Q2862841 Q17597972
SYSTEM
Bissau-Guinean Army, Congolese Army, Angolan Army
Q18640276 Q2862841 Q17597972
(c(Q781132),P121,c(Q1875621)|c(Q12876))
action greater
action union
action find_tuple_counts
relation P121
type Q781132
type Q1875621
action find_tuple_counts
relation P121
type Q781132
type Q12876
action count
action filter_multi_types
action find
entity Q2862927
relation P121
type Q1875621
type Q12876
[ANSWERS] manage more number of aircraft classes or tanks than Indonesian Army
[{'concept': 'Q781132'}, 'P121', [{'concept': 'Q1875621'}, {'concept': 'Q12876'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { { { ?v rdf:type ontology:Q1875621 } UNION { ?v rdf:type ontology:Q12876 } } . resource:Q2862927 property:P121 ?v } } . FILTER ( ?s > ?z ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) ?f WHERE { ?l rdf:type ?j . VALUES ( ?j ) { ( ontology:Q1875621 ) ( ontology:Q12876 ) } } GROUP BY ?f } }
Bissau-Guinean Army Congolese Army Angolan Army
Bissau-Guinean Army, Congolese Army and Angolan Army manage more number of aircraft classes or tanks than Indonesian Army
Bissau-Guinean Army Congolese Army Angolan Army
action greater
action union
action find_tuple_counts
relation item operated
type military branch
type aircraft class
action find_tuple_counts
relation item operated
type military branch
type tank
action count
action filter_multi_types
action find
entity Indonesian Army
relation item operated
type aircraft class
type tank
[{'concept': 'military branch'}, 'item operated', [{'concept': 'aircraft class'}, {'concept': 'tank'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { { { ?v rdf:type ontology:aircraft_class } UNION { ?v rdf:type ontology:tank } } . resource:Indonesian_Army property:item_operated ?v } } . FILTER ( ?s > ?z ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) ?f WHERE { ?l rdf:type ?j . VALUES ( ?j ) { ( ontology:aircraft_class ) ( ontology:tank ) } } GROUP BY ?f } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q172771
P121
Q1875621 Q12876 Q781132
USER
And how about Royal Navy?
(c(Q781132),P121,c(Q1875621)|c(Q12876))
action greater
action union
action find_tuple_counts
relation P121
type Q781132
type Q1875621
action find_tuple_counts
relation P121
type Q781132
type Q12876
action count
action filter_multi_types
action find
entity Q172771
relation P121
type Q1875621
type Q12876
[{'concept': 'Q781132'}, 'P121', [{'concept': 'Q1875621'}, {'concept': 'Q12876'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?l ) WHERE { { ?t property:P121 ?b . ?t rdf:type ontology:Q781132 . ?b rdf:type ontology:Q1875621 } UNION { ?t rdf:type ontology:Q781132 . ?b rdf:type ontology:Q12876 . ?t property:P121 ?b } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { resource:Q172771 property:P121 ?u . { { ?u rdf:type ontology:Q12876 } UNION { ?u rdf:type ontology:Q1875621 } } } } . FILTER ( ?l > ?n ) }
Royal Navy
action greater
action union
action find_tuple_counts
relation item operated
type military branch
type aircraft class
action find_tuple_counts
relation item operated
type military branch
type tank
action count
action filter_multi_types
action find
entity Royal Navy
relation item operated
type aircraft class
type tank
[{'concept': 'military branch'}, 'item operated', [{'concept': 'aircraft class'}, {'concept': 'tank'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?l ) WHERE { { ?t property:item_operated ?b . ?t rdf:type ontology:military_branch . ?b rdf:type ontology:aircraft_class } UNION { ?t rdf:type ontology:military_branch . ?b rdf:type ontology:tank . ?t property:item_operated ?b } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { resource:Royal_Navy property:item_operated ?u . { { ?u rdf:type ontology:tank } UNION { ?u rdf:type ontology:aircraft_class } } } } . FILTER ( ?l > ?n ) }
[]
aircraft class tank military branch
Q17597972 Q3277832 Q18640276
SYSTEM
Angolan Army, Hungarian Ground Forces, Bissau-Guinean Army
Q3958034 Q18640276 Q2862927 Q2862841 Q2665572 Q3277832 Q4855270 Q17597972 Q192366
(c(Q781132),P121,c(Q1875621)|c(Q12876))
action greater
action union
action find_tuple_counts
relation P121
type Q781132
type Q1875621
action find_tuple_counts
relation P121
type Q781132
type Q12876
action count
action filter_multi_types
action find
entity Q172771
relation P121
type Q1875621
type Q12876
[ANSWERS]
[{'concept': 'Q781132'}, 'P121', [{'concept': 'Q1875621'}, {'concept': 'Q12876'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?l ) WHERE { { ?t property:P121 ?b . ?t rdf:type ontology:Q781132 . ?b rdf:type ontology:Q1875621 } UNION { ?t rdf:type ontology:Q781132 . ?b rdf:type ontology:Q12876 . ?t property:P121 ?b } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { resource:Q172771 property:P121 ?u . { { ?u rdf:type ontology:Q12876 } UNION { ?u rdf:type ontology:Q1875621 } } } } . FILTER ( ?l > ?n ) }
Argentine Army Aviation Bissau-Guinean Army Indonesian Army Congolese Army Algerian National Navy Hungarian Ground Forces Bangladesh Army Angolan Army Royal Bahraini Army
Angolan Army Hungarian Ground Forces Bissau-Guinean Army
action greater
action union
action find_tuple_counts
relation item operated
type military branch
type aircraft class
action find_tuple_counts
relation item operated
type military branch
type tank
action count
action filter_multi_types
action find
entity Royal Navy
relation item operated
type aircraft class
type tank
[{'concept': 'military branch'}, 'item operated', [{'concept': 'aircraft class'}, {'concept': 'tank'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?l ) WHERE { { ?t property:item_operated ?b . ?t rdf:type ontology:military_branch . ?b rdf:type ontology:aircraft_class } UNION { ?t rdf:type ontology:military_branch . ?b rdf:type ontology:tank . ?t property:item_operated ?b } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { resource:Royal_Navy property:item_operated ?u . { { ?u rdf:type ontology:tank } UNION { ?u rdf:type ontology:aircraft_class } } } } . FILTER ( ?l > ?n ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q17597972 Q3277832 Q18640276
P121
Q12876
USER
Which tanks are operated by those military branches ?
(Q17597972,P121,c(Q12876)) (Q3277832,P121,c(Q12876)) (Q18640276,P121,c(Q12876))
action filter_type
action find
entity prev_answer
relation P121
type Q12876
['Q17597972', 'P121', {'concept': 'Q12876'}] ['Q3277832', 'P121', {'concept': 'Q12876'}] ['Q18640276', 'P121', {'concept': 'Q12876'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q12876 . ?f property:P121 ?b . VALUES ( ?f ) { ( resource:Q3958034 ) ( resource:Q18640276 ) ( resource:Q2862927 ) } }
Angolan Army Hungarian Ground Forces Bissau-Guinean Army
action filter_type
action find
entity prev_answer
relation item operated
type tank
['Angolan Army', 'item operated', {'concept': 'tank'}] ['Hungarian Ground Forces', 'item operated', {'concept': 'tank'}] ['Bissau-Guinean Army', 'item operated', {'concept': 'tank'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:tank . ?f property:item_operated ?b . VALUES ( ?f ) { ( resource:Argentine_Army_Aviation ) ( resource:Bissau-Guinean_Army ) ( resource:Indonesian_Army ) } }
[]
tank
Q172233 Q155658 Q155658
SYSTEM
T-34 for 1st, T-72 for 2nd, 3rd
Q641764 Q328272 Q155658 Q155658 Q641764 Q328272 Q172233
(Q17597972,P121,c(Q12876)) (Q3277832,P121,c(Q12876)) (Q18640276,P121,c(Q12876))
action filter_type
action find
entity prev_answer
relation P121
type Q12876
[ANSWERS]
['Q17597972', 'P121', {'concept': 'Q12876'}] ['Q3277832', 'P121', {'concept': 'Q12876'}] ['Q18640276', 'P121', {'concept': 'Q12876'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q12876 . ?f property:P121 ?b . VALUES ( ?f ) { ( resource:Q3958034 ) ( resource:Q18640276 ) ( resource:Q2862927 ) } }
PT-76 T-54/55 T-72 T-72 PT-76 T-54/55 T-34
T-34, T-72 and T-72 are operated by those military branches
T-34 T-72 T-72
action filter_type
action find
entity prev_answer
relation item operated
type tank
['Angolan Army', 'item operated', {'concept': 'tank'}] ['Hungarian Ground Forces', 'item operated', {'concept': 'tank'}] ['Bissau-Guinean Army', 'item operated', {'concept': 'tank'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:tank . ?f property:item_operated ?b . VALUES ( ?f ) { ( resource:Argentine_Army_Aviation ) ( resource:Bissau-Guinean_Army ) ( resource:Indonesian_Army ) } }
[]