Simple Question (Direct)
Simple Question
Q7350238
P69
Q1935049
USER
Where was Robert T. Marsh educated ?
(Q7350238,P69,c(Q1935049))
action filter_type
action find
entity Q7350238
relation P69
type Q1935049
['Q7350238', 'P69', {'concept': 'Q1935049'}]
SELECT DISTINCT ?r WHERE { resource:Q7350238 property:P69 ?r . ?r rdf:type ontology:Q1935049 }
Robert T. Marsh
action filter_type
action find
entity Robert T. Marsh
relation educated at
type military school
['Robert T. Marsh', 'educated at', {'concept': 'military school'}]
SELECT DISTINCT ?r WHERE { resource:Robert_T._Marsh property:educated_at ?r . ?r rdf:type ontology:military_school }
[]
military school
Q9219
SYSTEM
United States Military Academy at West Point
Q9219
(Q7350238,P69,c(Q1935049))
action filter_type
action find
entity Q7350238
relation P69
type Q1935049
Educated Robert T. Marsh was the [ANSWER]
['Q7350238', 'P69', {'concept': 'Q1935049'}]
SELECT DISTINCT ?r WHERE { resource:Q7350238 property:P69 ?r . ?r rdf:type ontology:Q1935049 }
United States Military Academy at West Point
Educated Robert T. Marsh was the United States Military Academy at West Point
United States Military Academy at West Point
action filter_type
action find
entity Robert T. Marsh
relation educated at
type military school
['Robert T. Marsh', 'educated at', {'concept': 'military school'}]
SELECT DISTINCT ?r WHERE { resource:Robert_T._Marsh property:educated_at ?r . ?r rdf:type ontology:military_school }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7350238
P607
Q198
USER
What was was that person a part of ?
(Q9219,P607,c(Q198))
action filter_type
action find
entity Q7350238
relation P607
type Q198
['Q9219', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?a WHERE { resource:Q7350238 property:P607 ?a . ?a rdf:type ontology:Q198 }
Robert T. Marsh
action filter_type
action find
entity Robert T. Marsh
relation conflict
type war
['United States Military Academy at West Point', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?a WHERE { resource:Robert_T._Marsh property:conflict ?a . ?a rdf:type ontology:war }
[]
war
Q362
SYSTEM
World War II
Q362
(Q9219,P607,c(Q198))
action filter_type
action find
entity Q7350238
relation P607
type Q198
That person was a part of [ANSWER]
['Q9219', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?a WHERE { resource:Q7350238 property:P607 ?a . ?a rdf:type ontology:Q198 }
World War II
That person was a part of World War II
World War II
action filter_type
action find
entity Robert T. Marsh
relation conflict
type war
['United States Military Academy at West Point', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?a WHERE { resource:Robert_T._Marsh property:conflict ?a . ?a rdf:type ontology:war }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q362 Q5077447
P607
Q502895
USER
Did that war engage in Charles Evans ?
(Q5077447,P607,Q362)
action is_in
entity Q362
action find
entity Q5077447
relation P607
['Q5077447', 'P607', 'Q362']
ASK WHERE { resource:Q5077447 property:P607 resource:Q362 }
World War II Charles Evans
action is_in
entity World War II
action find
entity Charles Evans
relation conflict
['Charles Evans', 'conflict', 'World War II']
ASK WHERE { resource:Charles_Evans property:conflict resource:World_War_II }
[]
common name
SYSTEM
YES
(Q5077447,P607,Q362)
action is_in
entity Q362
action find
entity Q5077447
relation P607
[ANSWER]
['Q5077447', 'P607', 'Q362']
ASK WHERE { resource:Q5077447 property:P607 resource:Q362 }
Yes
action is_in
entity World War II
action find
entity Charles Evans
relation conflict
['Charles Evans', 'conflict', 'World War II']
ASK WHERE { resource:Charles_Evans property:conflict resource:World_War_II }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q7350238 Q30
P27
Q15617994
USER
Is Robert T. Marsh a civilian of United States of America ?
(Q7350238,P27,Q30)
action is_in
entity Q30
action find
entity Q7350238
relation P27
['Q7350238', 'P27', 'Q30']
ASK WHERE { resource:Q7350238 property:P27 resource:Q30 }
Robert T. Marsh United States of America
action is_in
entity United States of America
action find
entity Robert T. Marsh
relation country of citizenship
['Robert T. Marsh', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Robert_T._Marsh property:country_of_citizenship resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q7350238,P27,Q30)
action is_in
entity Q30
action find
entity Q7350238
relation P27
[ANSWER]
['Q7350238', 'P27', 'Q30']
ASK WHERE { resource:Q7350238 property:P27 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Robert T. Marsh
relation country of citizenship
['Robert T. Marsh', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Robert_T._Marsh property:country_of_citizenship resource:United_States_of_America }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q198 Q176799 Q350604
USER
Which wars are around 5 military units and armed conflicts a component of ?
(c(Q176799)|c(Q350604),P361,c(Q198))
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q198
type Q176799
action find_reverse_tuple_counts
relation P361
type Q198
type Q350604
value 5
[[{'concept': 'Q176799'}, {'concept': 'Q350604'}], 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?i ) AS ?m ) WHERE { ?i rdf:type ?l . VALUES ( ?l ) { ( ontology:Q350604 ) ( ontology:Q176799 ) } } GROUP BY ?b } . FILTER ( ?m = 5 ) }
action approx
action union
action find_reverse_tuple_counts
relation part of
type war
type military unit
action find_reverse_tuple_counts
relation part of
type war
type armed conflict
value 5
[[{'concept': 'military unit'}, {'concept': 'armed conflict'}], 'part of', {'concept': 'war'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?i ) AS ?m ) WHERE { ?i rdf:type ?l . VALUES ( ?l ) { ( ontology:armed_conflict ) ( ontology:military_unit ) } } GROUP BY ?b } . FILTER ( ?m = 5 ) }
[]
war military unit armed conflict
Q8683 Q3778746
SYSTEM
Cold War, Sioux Wars
Q8683 Q3778746
(c(Q176799)|c(Q350604),P361,c(Q198))
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q198
type Q176799
action find_reverse_tuple_counts
relation P361
type Q198
type Q350604
value 5
[ANSWERS] are around 5 military units and armed conflicts a component of
[[{'concept': 'Q176799'}, {'concept': 'Q350604'}], 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?i ) AS ?m ) WHERE { ?i rdf:type ?l . VALUES ( ?l ) { ( ontology:Q350604 ) ( ontology:Q176799 ) } } GROUP BY ?b } . FILTER ( ?m = 5 ) }
Cold War Sioux Wars
Cold War and Sioux Wars are around 5 military units and armed conflicts a component of
Cold War Sioux Wars
action approx
action union
action find_reverse_tuple_counts
relation part of
type war
type military unit
action find_reverse_tuple_counts
relation part of
type war
type armed conflict
value 5
[[{'concept': 'military unit'}, {'concept': 'armed conflict'}], 'part of', {'concept': 'war'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?i ) AS ?m ) WHERE { ?i rdf:type ?l . VALUES ( ?l ) { ( ontology:armed_conflict ) ( ontology:military_unit ) } } GROUP BY ?b } . FILTER ( ?m = 5 ) }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P361
Q198 Q645883 Q12737077
USER
Which wars are around the same number of military operations and occupations a part of as that war ?
(c(Q645883)|c(Q12737077),P361,c(Q198))
[[{'concept': 'Q645883'}, {'concept': 'Q12737077'}], 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?q ) { ( ?z ) ( ?x ) } . ?q property:P361 ?y } . ?z rdf:type ontology:Q645883 . ?y rdf:type ontology:Q26883397 . ?x rdf:type ontology:Q528892 }
[[{'concept': 'military operation'}, {'concept': 'occupation'}], 'part of', {'concept': 'war'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?q ) { ( ?z ) ( ?x ) } . ?q property:part_of ?y } . ?z rdf:type ontology:military_operation . ?y rdf:type ontology:war . ?x rdf:type ontology:occupation }
[]
war military operation occupation
Comparative|More/Less|Mult. entity type|Clarification
Q3778746
SYSTEM
Did you mean Sioux Wars ?
(c(Q645883)|c(Q12737077),P361,c(Q198))
[ANSWER]
[[{'concept': 'Q645883'}, {'concept': 'Q12737077'}], 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?q ) { ( ?z ) ( ?x ) } . ?q property:P361 ?y } . ?z rdf:type ontology:Q645883 . ?y rdf:type ontology:Q26883397 . ?x rdf:type ontology:Q528892 }
Did you mean Sioux Wars ?
Sioux Wars
[[{'concept': 'military operation'}, {'concept': 'occupation'}], 'part of', {'concept': 'war'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?q ) { ( ?z ) ( ?x ) } . ?q property:part_of ?y } . ?z rdf:type ontology:military_operation . ?y rdf:type ontology:war . ?x rdf:type ontology:occupation }
[]
Comparative Reasoning (All)
USER
No, I meant Cold War. Could you tell me the answer for that?
(c(Q645883)|c(Q12737077),P361,c(Q198))
Q8683
[[{'concept': 'Q645883'}, {'concept': 'Q12737077'}], 'P361', {'concept': 'Q198'}]
[[{'concept': 'military operation'}, {'concept': 'occupation'}], 'part of', {'concept': 'war'}]
[]
Q545449 Q17984356 Q17507684
SYSTEM
Iraq War, Iraqi Civil War, military intervention against ISIL
Q8683 Q211855 Q4783165 Q795269 Q3778746 Q920894 Q81545 Q10859 Q362 Q18121212 Q361 Q1021160 Q17984356 Q1072889 Q1758829 Q209297 Q242352 Q2105495 Q5334383 Q178810 Q545449 Q2658255 Q16954835 Q208484 Q1432624 Q2086498 Q1238338 Q15059994 Q1049945 Q8676 Q1127302 Q1052332 Q475678 Q743768 Q213394 Q17507684 Q18159629 Q2672972 Q243620 Q79911
(c(Q645883)|c(Q12737077),P361,c(Q198))
[ANSWERS] are around the same number of military operations and occupations a part of as that war
[[{'concept': 'Q645883'}, {'concept': 'Q12737077'}], 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P361 ?y } UNION { ?x property:P361 ?y } } . ?z rdf:type ontology:Q645883 . ?y rdf:type ontology:Q26883397 . ?x rdf:type ontology:Q528892 }
Cold War Finnish Civil War Arab Cold War Sierra Leone Civil War Sioux Wars First Italian War of Independence 2011 Libyan Civil War Spanish Civil War World War II American-led intervention in Syria World War I Armagnac–Burgundian Civil War Iraqi Civil War Chilean War of Independence urban guerrilla warfare Farroupilha Revolution Yugoslav Wars 1383-85 Portuguese Interregnum Ecuadorian War of Independence Syrian Civil War Iraq War Byzantine civil war of 1341–1347 Nagorno-Karabakh conflict Lebanese Civil War Genkō War First Barons' War Caesar's Civil War Iran–Israel proxy conflict Jacobite rising of 1745 American Civil War Estonian War of Independence War in Somalia Mexican Drug War The Anarchy Sri Lankan Civil War military intervention against ISIL American-led intervention in Iraq Uruguayan Civil War Somali Civil War Russian Civil War
Iraq War, Iraqi Civil War and military intervention against ISIL are around the same number of military operations and occupations a part of as that war
Iraq War Iraqi Civil War military intervention against ISIL
[[{'concept': 'military operation'}, {'concept': 'occupation'}], 'part of', {'concept': 'war'}]
SELECT DISTINCT ?y WHERE { { { ?z property:part_of ?y } UNION { ?x property:part_of ?y } } . ?z rdf:type ontology:military_operation . ?y rdf:type ontology:war . ?x rdf:type ontology:occupation }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P361
Q198 Q178561 Q350604
USER
How many wars are more number of battles and armed conflicts a component of than that war ?
(c(Q178561)|c(Q350604),P361,c(Q198))
[[{'concept': 'Q178561'}, {'concept': 'Q350604'}], 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P361 ?y } UNION { ?x property:P361 ?y } } . ?z rdf:type ontology:Q178561 . ?y rdf:type ontology:Q26883397 . ?x rdf:type ontology:Q350604 }
[[{'concept': 'battle'}, {'concept': 'armed conflict'}], 'part of', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:part_of ?y } UNION { ?x property:part_of ?y } } . ?z rdf:type ontology:battle . ?y rdf:type ontology:war . ?x rdf:type ontology:armed_conflict }
[]
war battle armed conflict
Comparative|Count over More/Less|Mult. entity type|Clarification
Q17507684
SYSTEM
Did you mean military intervention against ISIL ?
(c(Q178561)|c(Q350604),P361,c(Q198))
[ANSWER]
[[{'concept': 'Q178561'}, {'concept': 'Q350604'}], 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P361 ?y } UNION { ?x property:P361 ?y } } . ?z rdf:type ontology:Q178561 . ?y rdf:type ontology:Q26883397 . ?x rdf:type ontology:Q350604 }
Did you mean military intervention against ISIL ?
military intervention against ISIL
[[{'concept': 'battle'}, {'concept': 'armed conflict'}], 'part of', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:part_of ?y } UNION { ?x property:part_of ?y } } . ?z rdf:type ontology:battle . ?y rdf:type ontology:war . ?x rdf:type ontology:armed_conflict }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q178561)|c(Q350604),P361,c(Q198))
[[{'concept': 'Q178561'}, {'concept': 'Q350604'}], 'P361', {'concept': 'Q198'}]
[[{'concept': 'battle'}, {'concept': 'armed conflict'}], 'part of', {'concept': 'war'}]
[]
SYSTEM
16
Q8683 Q4783165 Q3778746 Q10859 Q362 Q361 Q17984356 Q242352 Q178810 Q16954835 Q1238338 Q15059994 Q8676 Q2672972 Q243620 Q79911
(c(Q178561)|c(Q350604),P361,c(Q198))
[ANSWER]
[[{'concept': 'Q178561'}, {'concept': 'Q350604'}], 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P361 ?y } UNION { ?x property:P361 ?y } } . ?z rdf:type ontology:Q178561 . ?y rdf:type ontology:Q26883397 . ?x rdf:type ontology:Q350604 }
Cold War Arab Cold War Sioux Wars Spanish Civil War World War II World War I Iraqi Civil War Yugoslav Wars Syrian Civil War Nagorno-Karabakh conflict Caesar's Civil War Iran–Israel proxy conflict American Civil War Uruguayan Civil War Somali Civil War Russian Civil War
16
[[{'concept': 'battle'}, {'concept': 'armed conflict'}], 'part of', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:part_of ?y } UNION { ?x property:part_of ?y } } . ?z rdf:type ontology:battle . ?y rdf:type ontology:war . ?x rdf:type ontology:armed_conflict }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q17507684
Q198
USER
And which war?
(Q17507684,P361,c(Q198))
action filter_type
action find
entity Q17507684
relation P361
type Q198
['Q17507684', 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ?w WHERE { resource:Q17507684 property:P361 ?w . ?w rdf:type ontology:Q198 }
military intervention against ISIL
action filter_type
action find
entity military intervention against ISIL
relation part of
type war
['military intervention against ISIL', 'part of', {'concept': 'war'}]
SELECT DISTINCT ?w WHERE { resource:military_intervention_against_ISIL property:part_of ?w . ?w rdf:type ontology:war }
[]
war
Q178810
SYSTEM
Syrian Civil War
Q178810
(Q17507684,P361,c(Q198))
action filter_type
action find
entity Q17507684
relation P361
type Q198
[ANSWER]
['Q17507684', 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ?w WHERE { resource:Q17507684 property:P361 ?w . ?w rdf:type ontology:Q198 }
Syrian Civil War
Syrian Civil War
action filter_type
action find
entity military intervention against ISIL
relation part of
type war
['military intervention against ISIL', 'part of', {'concept': 'war'}]
SELECT DISTINCT ?w WHERE { resource:military_intervention_against_ISIL property:part_of ?w . ?w rdf:type ontology:war }
[]