Simple Question (Direct)
Simple Question
Q5662202
P27
Q15617994
USER
Which administrative territory does Harold Robert Aaron belong to ?
(Q5662202,P27,c(Q15617994))
action filter_type
action find
entity Q5662202
relation P27
type Q15617994
['Q5662202', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q5662202 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Harold Robert Aaron
action filter_type
action find
entity Harold Robert Aaron
relation country of citizenship
type designation for an administrative territorial entity
['Harold Robert Aaron', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Harold_Robert_Aaron property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q5662202,P27,c(Q15617994))
action filter_type
action find
entity Q5662202
relation P27
type Q15617994
Harold Robert Aaron belongs to [ANSWER]
['Q5662202', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q5662202 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
United States of America
Harold Robert Aaron belongs to United States of America
United States of America
action filter_type
action find
entity Harold Robert Aaron
relation country of citizenship
type designation for an administrative territorial entity
['Harold Robert Aaron', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Harold_Robert_Aaron property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5662202
P69
Q1935049
USER
Which military school is the alma mater of that person ?
(Q30,P69,c(Q1935049))
action filter_type
action find
entity Q5662202
relation P69
type Q1935049
['Q30', 'P69', {'concept': 'Q1935049'}]
SELECT DISTINCT ?z WHERE { resource:Q5662202 property:P69 ?z . ?z rdf:type ontology:Q1935049 }
Harold Robert Aaron
action filter_type
action find
entity Harold Robert Aaron
relation educated at
type military school
['United States of America', 'educated at', {'concept': 'military school'}]
SELECT DISTINCT ?z WHERE { resource:Harold_Robert_Aaron property:educated_at ?z . ?z rdf:type ontology:military_school }
[]
military school
Q9219
SYSTEM
United States Military Academy at West Point
Q9219
(Q30,P69,c(Q1935049))
action filter_type
action find
entity Q5662202
relation P69
type Q1935049
[ANSWER] is the alma mater of that person
['Q30', 'P69', {'concept': 'Q1935049'}]
SELECT DISTINCT ?z WHERE { resource:Q5662202 property:P69 ?z . ?z rdf:type ontology:Q1935049 }
United States Military Academy at West Point
United States Military Academy at West Point is the alma mater of that person
United States Military Academy at West Point
action filter_type
action find
entity Harold Robert Aaron
relation educated at
type military school
['United States of America', 'educated at', {'concept': 'military school'}]
SELECT DISTINCT ?z WHERE { resource:Harold_Robert_Aaron property:educated_at ?z . ?z rdf:type ontology:military_school }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5662202
P119
Q39614
USER
Where is the place of burial for that person located ?
(Q9219,P119,c(Q39614))
action filter_type
action find
entity Q5662202
relation P119
type Q39614
['Q9219', 'P119', {'concept': 'Q39614'}]
SELECT DISTINCT ?e WHERE { resource:Q5662202 property:P119 ?e . ?e rdf:type ontology:Q39614 }
Harold Robert Aaron
action filter_type
action find
entity Harold Robert Aaron
relation place of burial
type cemetery
['United States Military Academy at West Point', 'place of burial', {'concept': 'cemetery'}]
SELECT DISTINCT ?e WHERE { resource:Harold_Robert_Aaron property:place_of_burial ?e . ?e rdf:type ontology:cemetery }
[]
cemetery
Q216344
SYSTEM
Arlington National Cemetery
Q216344
(Q9219,P119,c(Q39614))
action filter_type
action find
entity Q5662202
relation P119
type Q39614
Is the place of burial for that person located in [ANSWER]
['Q9219', 'P119', {'concept': 'Q39614'}]
SELECT DISTINCT ?e WHERE { resource:Q5662202 property:P119 ?e . ?e rdf:type ontology:Q39614 }
Arlington National Cemetery
Is the place of burial for that person located in Arlington National Cemetery
Arlington National Cemetery
action filter_type
action find
entity Harold Robert Aaron
relation place of burial
type cemetery
['United States Military Academy at West Point', 'place of burial', {'concept': 'cemetery'}]
SELECT DISTINCT ?e WHERE { resource:Harold_Robert_Aaron property:place_of_burial ?e . ?e rdf:type ontology:cemetery }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5623623 Q5662202
P607
Q198
USER
Which wars did Harold Robert Aaron or Gwilym Hugh Lewis take part in ?
OR((Q5662202,P607,c(Q198)), (Q5623623,P607,c(Q198)))
action filter_type
action union
action find
entity Q5662202
relation P607
action find
entity Q5623623
relation P607
type Q198
{'OR': [['Q5662202', 'P607', {'concept': 'Q198'}], ['Q5623623', 'P607', {'concept': 'Q198'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?z ) { ( resource:Q5623623 ) ( resource:Q5662202 ) } . ?z property:P607 ?n } . ?n rdf:type ontology:Q198 }
Gwilym Hugh Lewis Harold Robert Aaron
action filter_type
action union
action find
entity Harold Robert Aaron
relation conflict
action find
entity Gwilym Hugh Lewis
relation conflict
type war
{'OR': [['Harold Robert Aaron', 'conflict', {'concept': 'war'}], ['Gwilym Hugh Lewis', 'conflict', {'concept': 'war'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?z ) { ( resource:Gwilym_Hugh_Lewis ) ( resource:Harold_Robert_Aaron ) } . ?z property:conflict ?n } . ?n rdf:type ontology:war }
[]
war
Q8683 Q362 Q361
SYSTEM
Cold War, World War II, World War I
Q8683 Q362 Q361
OR((Q5662202,P607,c(Q198)), (Q5623623,P607,c(Q198)))
action filter_type
action union
action find
entity Q5662202
relation P607
action find
entity Q5623623
relation P607
type Q198
Harold Robert Aaron or Gwilym Hugh Lewis took in the [ANSWERS] part
{'OR': [['Q5662202', 'P607', {'concept': 'Q198'}], ['Q5623623', 'P607', {'concept': 'Q198'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?z ) { ( resource:Q5623623 ) ( resource:Q5662202 ) } . ?z property:P607 ?n } . ?n rdf:type ontology:Q198 }
Cold War World War II World War I
Harold Robert Aaron or Gwilym Hugh Lewis took in the Cold War, World War II and World War I part
Cold War World War II World War I
action filter_type
action union
action find
entity Harold Robert Aaron
relation conflict
action find
entity Gwilym Hugh Lewis
relation conflict
type war
{'OR': [['Harold Robert Aaron', 'conflict', {'concept': 'war'}], ['Gwilym Hugh Lewis', 'conflict', {'concept': 'war'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?z ) { ( resource:Gwilym_Hugh_Lewis ) ( resource:Harold_Robert_Aaron ) } . ?z property:conflict ?n } . ?n rdf:type ontology:war }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3903120
P607
Q502895
USER
Did those wars take part in Pierluigi Mingotti ?
(Q3903120,P607,Q8683) (Q3903120,P607,Q362) (Q3903120,P607,Q361)
action is_in
entity prev_answer
action find
entity Q3903120
relation P607
['Q3903120', 'P607', 'Q8683'] ['Q3903120', 'P607', 'Q362'] ['Q3903120', 'P607', 'Q361']
ASK WHERE { VALUES ( ?g ) { ( resource:Q8683 ) ( resource:Q362 ) ( resource:Q361 ) } . resource:Q3903120 property:P607 ?g }
Pierluigi Mingotti
action is_in
entity prev_answer
action find
entity Pierluigi Mingotti
relation conflict
['Pierluigi Mingotti', 'conflict', 'Cold War'] ['Pierluigi Mingotti', 'conflict', 'World War II'] ['Pierluigi Mingotti', 'conflict', 'World War I']
ASK WHERE { VALUES ( ?g ) { ( resource:Cold_War ) ( resource:World_War_II ) ( resource:World_War_I ) } . resource:Pierluigi_Mingotti property:conflict ?g }
[]
common name
SYSTEM
NO
(Q3903120,P607,Q8683) (Q3903120,P607,Q362) (Q3903120,P607,Q361)
action is_in
entity prev_answer
action find
entity Q3903120
relation P607
[ANSWER]
['Q3903120', 'P607', 'Q8683'] ['Q3903120', 'P607', 'Q362'] ['Q3903120', 'P607', 'Q361']
ASK WHERE { VALUES ( ?g ) { ( resource:Q8683 ) ( resource:Q362 ) ( resource:Q361 ) } . resource:Q3903120 property:P607 ?g }
No
action is_in
entity prev_answer
action find
entity Pierluigi Mingotti
relation conflict
['Pierluigi Mingotti', 'conflict', 'Cold War'] ['Pierluigi Mingotti', 'conflict', 'World War II'] ['Pierluigi Mingotti', 'conflict', 'World War I']
ASK WHERE { VALUES ( ?g ) { ( resource:Cold_War ) ( resource:World_War_II ) ( resource:World_War_I ) } . resource:Pierluigi_Mingotti property:conflict ?g }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q362 Q4488927
P607
Q502895
USER
How many people did World War II and Pacification of Libya take part in ?
(c(Q502895),P607,Q362) (c(Q502895),P607,Q4488927)
action count
action intersection
action filter_type
action find_reverse
entity Q362
relation P607
type Q502895
action filter_type
action find_reverse
entity Q4488927
relation P607
type Q502895
[{'concept': 'Q502895'}, 'P607', 'Q362'] [{'concept': 'Q502895'}, 'P607', 'Q4488927']
SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { ?t property:P607 resource:Q362 . ?t rdf:type ontology:Q502895 . ?t property:P607 resource:Q4488927 . ?t rdf:type ontology:Q502895 }
World War II Pacification of Libya
action count
action intersection
action filter_type
action find_reverse
entity World War II
relation conflict
type common name
action filter_type
action find_reverse
entity Pacification of Libya
relation conflict
type common name
[{'concept': 'common name'}, 'conflict', 'World War II'] [{'concept': 'common name'}, 'conflict', 'Pacification of Libya']
SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { ?t property:conflict resource:World_War_II . ?t rdf:type ontology:common_name . ?t property:conflict resource:Pacification_of_Libya . ?t rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q200085 Q319156
(c(Q502895),P607,Q362) (c(Q502895),P607,Q4488927)
action count
action intersection
action filter_type
action find_reverse
entity Q362
relation P607
type Q502895
action filter_type
action find_reverse
entity Q4488927
relation P607
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P607', 'Q362'] [{'concept': 'Q502895'}, 'P607', 'Q4488927']
SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { ?t property:P607 resource:Q362 . ?t rdf:type ontology:Q502895 . ?t property:P607 resource:Q4488927 . ?t rdf:type ontology:Q502895 }
Pietro Badoglio Rodolfo Graziani
2
action count
action intersection
action filter_type
action find_reverse
entity World War II
relation conflict
type common name
action filter_type
action find_reverse
entity Pacification of Libya
relation conflict
type common name
[{'concept': 'common name'}, 'conflict', 'World War II'] [{'concept': 'common name'}, 'conflict', 'Pacification of Libya']
SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { ?t property:conflict resource:World_War_II . ?t rdf:type ontology:common_name . ?t property:conflict resource:Pacification_of_Libya . ?t rdf:type ontology:common_name }
[]