Simple Question (Direct)
Simple Question
Q8008815
P241
Q781132
USER
Which military branch did William F. Kernan belong to ?
(Q8008815,P241,c(Q781132))
action filter_type
action find
entity Q8008815
relation P241
type Q781132
['Q8008815', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q781132 . resource:Q8008815 property:P241 ?f }
William F. Kernan
action filter_type
action find
entity William F. Kernan
relation military branch
type military branch
['William F. Kernan', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:military_branch . resource:William_F._Kernan property:military_branch ?f }
[]
military branch
Q9212
SYSTEM
United States Army
Q9212
(Q8008815,P241,c(Q781132))
action filter_type
action find
entity Q8008815
relation P241
type Q781132
William F. Kernan belonged to the [ANSWER]
['Q8008815', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q781132 . resource:Q8008815 property:P241 ?f }
United States Army
William F. Kernan belonged to the United States Army
United States Army
action filter_type
action find
entity William F. Kernan
relation military branch
type military branch
['William F. Kernan', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:military_branch . resource:William_F._Kernan property:military_branch ?f }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8008815
P39
Q176799
USER
Which military unit was a position for which William F. Kernan was appointed ?
(Q8008815,P39,c(Q176799))
action filter_type
action find
entity Q8008815
relation P39
type Q176799
['Q8008815', 'P39', {'concept': 'Q176799'}]
SELECT DISTINCT ?l WHERE { resource:Q8008815 property:P39 ?l . ?l rdf:type ontology:Q176799 }
William F. Kernan
action filter_type
action find
entity William F. Kernan
relation position held
type military unit
['William F. Kernan', 'position held', {'concept': 'military unit'}]
SELECT DISTINCT ?l WHERE { resource:William_F._Kernan property:position_held ?l . ?l rdf:type ontology:military_unit }
[]
military unit
Q653215
SYSTEM
Supreme Allied Commander Atlantic
Q653215
(Q8008815,P39,c(Q176799))
action filter_type
action find
entity Q8008815
relation P39
type Q176799
[ANSWER] was a position for which William F. Kernan was appointed
['Q8008815', 'P39', {'concept': 'Q176799'}]
SELECT DISTINCT ?l WHERE { resource:Q8008815 property:P39 ?l . ?l rdf:type ontology:Q176799 }
Supreme Allied Commander Atlantic
Supreme Allied Commander Atlantic was a position for which William F. Kernan was appointed
Supreme Allied Commander Atlantic
action filter_type
action find
entity William F. Kernan
relation position held
type military unit
['William F. Kernan', 'position held', {'concept': 'military unit'}]
SELECT DISTINCT ?l WHERE { resource:William_F._Kernan property:position_held ?l . ?l rdf:type ontology:military_unit }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6708623
Q176799
USER
And what about Lynde D. McCormick?
(Q6708623,P39,c(Q176799))
action filter_type
action find
entity Q6708623
relation P39
type Q176799
['Q6708623', 'P39', {'concept': 'Q176799'}]
SELECT DISTINCT ?n WHERE { resource:Q6708623 property:P39 ?n . ?n rdf:type ontology:Q176799 }
Lynde D. McCormick
action filter_type
action find
entity Lynde D. McCormick
relation position held
type military unit
['Lynde D. McCormick', 'position held', {'concept': 'military unit'}]
SELECT DISTINCT ?n WHERE { resource:Lynde_D._McCormick property:position_held ?n . ?n rdf:type ontology:military_unit }
[]
military unit
Q653215
SYSTEM
Supreme Allied Commander Atlantic
Q653215
(Q6708623,P39,c(Q176799))
action filter_type
action find
entity Q6708623
relation P39
type Q176799
[ANSWER]
['Q6708623', 'P39', {'concept': 'Q176799'}]
SELECT DISTINCT ?n WHERE { resource:Q6708623 property:P39 ?n . ?n rdf:type ontology:Q176799 }
Supreme Allied Commander Atlantic
Supreme Allied Commander Atlantic
action filter_type
action find
entity Lynde D. McCormick
relation position held
type military unit
['Lynde D. McCormick', 'position held', {'concept': 'military unit'}]
SELECT DISTINCT ?n WHERE { resource:Lynde_D._McCormick property:position_held ?n . ?n rdf:type ontology:military_unit }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q653215
P361
Q484652
USER
Which international organization is that military unit a component of ?
(Q653215,P361,c(Q484652))
action filter_type
action find
entity Q653215
relation P361
type Q484652
['Q653215', 'P361', {'concept': 'Q484652'}]
SELECT DISTINCT ?b WHERE { resource:Q653215 property:P361 ?b . ?b rdf:type ontology:Q484652 }
Supreme Allied Commander Atlantic
action filter_type
action find
entity Supreme Allied Commander Atlantic
relation part of
type international organization
['Supreme Allied Commander Atlantic', 'part of', {'concept': 'international organization'}]
SELECT DISTINCT ?b WHERE { resource:Supreme_Allied_Commander_Atlantic property:part_of ?b . ?b rdf:type ontology:international_organization }
[]
international organization
Q7184
SYSTEM
North Atlantic Treaty Organisation
Q7184
(Q653215,P361,c(Q484652))
action filter_type
action find
entity Q653215
relation P361
type Q484652
The [ANSWER] is that military unit a component of
['Q653215', 'P361', {'concept': 'Q484652'}]
SELECT DISTINCT ?b WHERE { resource:Q653215 property:P361 ?b . ?b rdf:type ontology:Q484652 }
North Atlantic Treaty Organisation
The North Atlantic Treaty Organisation is that military unit a component of
North Atlantic Treaty Organisation
action filter_type
action find
entity Supreme Allied Commander Atlantic
relation part of
type international organization
['Supreme Allied Commander Atlantic', 'part of', {'concept': 'international organization'}]
SELECT DISTINCT ?b WHERE { resource:Supreme_Allied_Commander_Atlantic property:part_of ?b . ?b rdf:type ontology:international_organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P710
Q1190554
USER
How many events did that international organization participate in ?
(c(Q1190554),P710,Q7184)
action count
action filter_type
action find_reverse
entity Q7184
relation P710
type Q1190554
[{'concept': 'Q1190554'}, 'P710', 'Q7184']
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { ?u property:P710 resource:Q7184 . ?u rdf:type ontology:Q1190554 }
action count
action filter_type
action find_reverse
entity North Atlantic Treaty Organisation
relation participant
type event
[{'concept': 'event'}, 'participant', 'North Atlantic Treaty Organisation']
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { ?u property:participant resource:North_Atlantic_Treaty_Organisation . ?u rdf:type ontology:event }
[]
event
SYSTEM
4
Q1640453 Q5420029 Q4872534 Q7097589
(c(Q1190554),P710,Q7184)
action count
action filter_type
action find_reverse
entity Q7184
relation P710
type Q1190554
[ANSWER]
[{'concept': 'Q1190554'}, 'P710', 'Q7184']
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { ?u property:P710 resource:Q7184 . ?u rdf:type ontology:Q1190554 }
Exercise Reforger Exercise Grand Slam Battle of Tetovo Operation Strikeback
4
action count
action filter_type
action find_reverse
entity North Atlantic Treaty Organisation
relation participant
type event
[{'concept': 'event'}, 'participant', 'North Atlantic Treaty Organisation']
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { ?u property:participant resource:North_Atlantic_Treaty_Organisation . ?u rdf:type ontology:event }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P121
Q20027951 Q1875621 Q176799
USER
How many military units operate around 8 aircraft power classes and aircraft classes ?
(c(Q176799),P121,c(Q20027951)|c(Q1875621))
action count
action approx
action union
action find_tuple_counts
relation P121
type Q176799
type Q20027951
action find_tuple_counts
relation P121
type Q176799
type Q1875621
value 8
[{'concept': 'Q176799'}, 'P121', [{'concept': 'Q20027951'}, {'concept': 'Q1875621'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?t ) WHERE { VALUES ( ?z ) { ( ontology:Q20027951 ) ( ontology:Q1875621 ) } . ?u rdf:type ?z } GROUP BY ?b } . FILTER ( ?t = 8 ) }
action count
action approx
action union
action find_tuple_counts
relation item operated
type military unit
type aircraft power class
action find_tuple_counts
relation item operated
type military unit
type aircraft class
value 8
[{'concept': 'military unit'}, 'item operated', [{'concept': 'aircraft power class'}, {'concept': 'aircraft class'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?t ) WHERE { VALUES ( ?z ) { ( ontology:aircraft_power_class ) ( ontology:aircraft_class ) } . ?u rdf:type ?z } GROUP BY ?b } . FILTER ( ?t = 8 ) }
[]
aircraft power class aircraft class military unit
SYSTEM
1
Q5427480
(c(Q176799),P121,c(Q20027951)|c(Q1875621))
action count
action approx
action union
action find_tuple_counts
relation P121
type Q176799
type Q20027951
action find_tuple_counts
relation P121
type Q176799
type Q1875621
value 8
[ANSWER]
[{'concept': 'Q176799'}, 'P121', [{'concept': 'Q20027951'}, {'concept': 'Q1875621'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?t ) WHERE { VALUES ( ?z ) { ( ontology:Q20027951 ) ( ontology:Q1875621 ) } . ?u rdf:type ?z } GROUP BY ?b } . FILTER ( ?t = 8 ) }
Kungliga Krigsflygskolan
1
action count
action approx
action union
action find_tuple_counts
relation item operated
type military unit
type aircraft power class
action find_tuple_counts
relation item operated
type military unit
type aircraft class
value 8
[{'concept': 'military unit'}, 'item operated', [{'concept': 'aircraft power class'}, {'concept': 'aircraft class'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?t ) WHERE { VALUES ( ?z ) { ( ontology:aircraft_power_class ) ( ontology:aircraft_class ) } . ?u rdf:type ?z } GROUP BY ?b } . FILTER ( ?t = 8 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4885413 Q8008815
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of William F. Kernan or Ben Charles Edwards ?
OR((Q8008815,P27,c(Q15617994)), (Q4885413,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q8008815
relation P27
action find
entity Q4885413
relation P27
type Q15617994
{'OR': [['Q8008815', 'P27', {'concept': 'Q15617994'}], ['Q4885413', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . { { resource:Q8008815 property:P27 ?j } UNION { resource:Q4885413 property:P27 ?j } } }
Ben Charles Edwards William F. Kernan
action filter_type
action union
action find
entity William F. Kernan
relation country of citizenship
action find
entity Ben Charles Edwards
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['William F. Kernan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ben Charles Edwards', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:William_F._Kernan property:country_of_citizenship ?j } UNION { resource:Ben_Charles_Edwards property:country_of_citizenship ?j } } }
[]
designation for an administrative territorial entity
Q30 Q145
SYSTEM
United States of America, United Kingdom
Q30 Q145
OR((Q8008815,P27,c(Q15617994)), (Q4885413,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q8008815
relation P27
action find
entity Q4885413
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of William F. Kernan or Ben Charles Edwards
{'OR': [['Q8008815', 'P27', {'concept': 'Q15617994'}], ['Q4885413', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . { { resource:Q8008815 property:P27 ?j } UNION { resource:Q4885413 property:P27 ?j } } }
United States of America United Kingdom
United States of America and United Kingdom are the countries of citizenship of William F. Kernan or Ben Charles Edwards
United States of America United Kingdom
action filter_type
action union
action find
entity William F. Kernan
relation country of citizenship
action find
entity Ben Charles Edwards
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['William F. Kernan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ben Charles Edwards', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:William_F._Kernan property:country_of_citizenship ?j } UNION { resource:Ben_Charles_Edwards property:country_of_citizenship ?j } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3007211
P495
Q838948
USER
Do Into the Abyss have those administrative territories as their place of origin ?
(Q3007211,P495,Q30) (Q3007211,P495,Q145)
action is_in
entity prev_answer
action find
entity Q3007211
relation P495
['Q3007211', 'P495', 'Q30'] ['Q3007211', 'P495', 'Q145']
ASK WHERE { resource:Q3007211 property:P495 ?x . VALUES ( ?x ) { ( resource:Q30 ) ( resource:Q145 ) } }
Into the Abyss
action is_in
entity prev_answer
action find
entity Into the Abyss
relation country of origin
['Into the Abyss', 'country of origin', 'United States of America'] ['Into the Abyss', 'country of origin', 'United Kingdom']
ASK WHERE { resource:Into_the_Abyss property:country_of_origin ?x . VALUES ( ?x ) { ( resource:United_States_of_America ) ( resource:United_Kingdom ) } }
[]
work of art
SYSTEM
YES
(Q3007211,P495,Q30) (Q3007211,P495,Q145)
action is_in
entity prev_answer
action find
entity Q3007211
relation P495
[ANSWER]
['Q3007211', 'P495', 'Q30'] ['Q3007211', 'P495', 'Q145']
ASK WHERE { resource:Q3007211 property:P495 ?x . VALUES ( ?x ) { ( resource:Q30 ) ( resource:Q145 ) } }
Yes
action is_in
entity prev_answer
action find
entity Into the Abyss
relation country of origin
['Into the Abyss', 'country of origin', 'United States of America'] ['Into the Abyss', 'country of origin', 'United Kingdom']
ASK WHERE { resource:Into_the_Abyss property:country_of_origin ?x . VALUES ( ?x ) { ( resource:United_States_of_America ) ( resource:United_Kingdom ) } }
[]