Simple Question (Direct)
Simple Question
Q4278519
P241
Q781132
USER
Which military branch was John F. Mulholland, Jr. a part of ?
(Q4278519,P241,c(Q781132))
action filter_type
action find
entity Q4278519
relation P241
type Q781132
['Q4278519', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?v WHERE { resource:Q4278519 property:P241 ?v . ?v rdf:type ontology:Q781132 }
John F. Mulholland, Jr.
action filter_type
action find
entity John F. Mulholland, Jr.
relation military branch
type military branch
['John F. Mulholland, Jr.', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?v WHERE { resource:John_F._Mulholland,_Jr. property:military_branch ?v . ?v rdf:type ontology:military_branch }
[]
military branch
Q9212
SYSTEM
United States Army
Q9212
(Q4278519,P241,c(Q781132))
action filter_type
action find
entity Q4278519
relation P241
type Q781132
[ANSWER]
['Q4278519', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?v WHERE { resource:Q4278519 property:P241 ?v . ?v rdf:type ontology:Q781132 }
United States Army
United States Army
action filter_type
action find
entity John F. Mulholland, Jr.
relation military branch
type military branch
['John F. Mulholland, Jr.', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?v WHERE { resource:John_F._Mulholland,_Jr. property:military_branch ?v . ?v rdf:type ontology:military_branch }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4278519
P607
Q180684
USER
What battle was that person a part of ?
(Q9212,P607,c(Q180684))
action filter_type
action find
entity Q4278519
relation P607
type Q180684
['Q9212', 'P607', {'concept': 'Q180684'}]
SELECT DISTINCT ?z WHERE { resource:Q4278519 property:P607 ?z . ?z rdf:type ontology:Q180684 }
John F. Mulholland, Jr.
action filter_type
action find
entity John F. Mulholland, Jr.
relation conflict
type conflict
['United States Army', 'conflict', {'concept': 'conflict'}]
SELECT DISTINCT ?z WHERE { resource:John_F._Mulholland,_Jr. property:conflict ?z . ?z rdf:type ontology:conflict }
[]
conflict
Q326668
SYSTEM
Operation Enduring Freedom
Q326668
(Q9212,P607,c(Q180684))
action filter_type
action find
entity Q4278519
relation P607
type Q180684
[ANSWER]
['Q9212', 'P607', {'concept': 'Q180684'}]
SELECT DISTINCT ?z WHERE { resource:Q4278519 property:P607 ?z . ?z rdf:type ontology:Q180684 }
Operation Enduring Freedom
Operation Enduring Freedom
action filter_type
action find
entity John F. Mulholland, Jr.
relation conflict
type conflict
['United States Army', 'conflict', {'concept': 'conflict'}]
SELECT DISTINCT ?z WHERE { resource:John_F._Mulholland,_Jr. property:conflict ?z . ?z rdf:type ontology:conflict }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q18159629
P361
Q198 Q180684
USER
Which wars are approximately the same number of conflicts a component of as American-led intervention in Iraq ?
(c(Q180684),P361,c(Q198))
action approx
action find_reverse_tuple_counts
relation P361
type Q198
type Q180684
action count
action filter_type
action find
entity Q18159629
relation P361
type Q198
[{'concept': 'Q180684'}, 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?j ) WHERE { ?d property:P361 ?i . ?i rdf:type ontology:Q198 . ?d rdf:type ontology:Q180684 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { resource:Q18159629 property:P361 ?w . ?w rdf:type ontology:Q198 } } . FILTER ( ?j = ?m ) }
American-led intervention in Iraq
action approx
action find_reverse_tuple_counts
relation part of
type war
type conflict
action count
action filter_type
action find
entity American-led intervention in Iraq
relation part of
type war
[{'concept': 'conflict'}, 'part of', {'concept': 'war'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?j ) WHERE { ?d property:part_of ?i . ?i rdf:type ontology:war . ?d rdf:type ontology:conflict } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { resource:American-led_intervention_in_Iraq property:part_of ?w . ?w rdf:type ontology:war } } . FILTER ( ?j = ?m ) }
[]
war conflict
Q17984356 Q79911 Q361
SYSTEM
Iraqi Civil War, Russian Civil War, World War I
Q8683 Q211855 Q4783165 Q795269 Q920894 Q81545 Q10859 Q18121212 Q361 Q1021160 Q17984356 Q1072889 Q1758829 Q209297 Q242352 Q2105495 Q5334383 Q2658255 Q16954835 Q208484 Q1432624 Q2086498 Q1238338 Q15059994 Q1049945 Q8676 Q1127302 Q1052332 Q475678 Q743768 Q213394 Q18159629 Q2672972 Q243620 Q79911
(c(Q180684),P361,c(Q198))
action approx
action find_reverse_tuple_counts
relation P361
type Q198
type Q180684
action count
action filter_type
action find
entity Q18159629
relation P361
type Q198
[ANSWERS]
[{'concept': 'Q180684'}, 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?j ) WHERE { ?d property:P361 ?i . ?i rdf:type ontology:Q198 . ?d rdf:type ontology:Q180684 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { resource:Q18159629 property:P361 ?w . ?w rdf:type ontology:Q198 } } . FILTER ( ?j = ?m ) }
Cold War Finnish Civil War Arab Cold War Sierra Leone Civil War First Italian War of Independence 2011 Libyan Civil War Spanish Civil War 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 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 American-led intervention in Iraq Uruguayan Civil War Somali Civil War Russian Civil War
Iraqi Civil War Russian Civil War World War I
action approx
action find_reverse_tuple_counts
relation part of
type war
type conflict
action count
action filter_type
action find
entity American-led intervention in Iraq
relation part of
type war
[{'concept': 'conflict'}, 'part of', {'concept': 'war'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?j ) WHERE { ?d property:part_of ?i . ?i rdf:type ontology:war . ?d rdf:type ontology:conflict } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { resource:American-led_intervention_in_Iraq property:part_of ?w . ?w rdf:type ontology:war } } . FILTER ( ?j = ?m ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q17507684
P361
Q198 Q180684
USER
And how about military intervention against ISIL?
(c(Q180684),P361,c(Q198))
action approx
action find_reverse_tuple_counts
relation P361
type Q198
type Q180684
action count
action filter_type
action find
entity Q17507684
relation P361
type Q198
[{'concept': 'Q180684'}, 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?i ) WHERE { ?z property:P361 ?k . ?z rdf:type ontology:Q180684 . ?k rdf:type ontology:Q198 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { resource:Q17507684 property:P361 ?v . ?v rdf:type ontology:Q198 } } . FILTER ( ?i = ?s ) }
military intervention against ISIL
action approx
action find_reverse_tuple_counts
relation part of
type war
type conflict
action count
action filter_type
action find
entity military intervention against ISIL
relation part of
type war
[{'concept': 'conflict'}, 'part of', {'concept': 'war'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?i ) WHERE { ?z property:part_of ?k . ?z rdf:type ontology:conflict . ?k rdf:type ontology:war } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { resource:military_intervention_against_ISIL property:part_of ?v . ?v rdf:type ontology:war } } . FILTER ( ?i = ?s ) }
[]
war conflict
Q545449 Q17507684 Q178810
SYSTEM
Iraq War, military intervention against ISIL, Syrian Civil War
Q3778746 Q178810 Q545449 Q17507684 Q179975
(c(Q180684),P361,c(Q198))
action approx
action find_reverse_tuple_counts
relation P361
type Q198
type Q180684
action count
action filter_type
action find
entity Q17507684
relation P361
type Q198
[ANSWERS]
[{'concept': 'Q180684'}, 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?i ) WHERE { ?z property:P361 ?k . ?z rdf:type ontology:Q180684 . ?k rdf:type ontology:Q198 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { resource:Q17507684 property:P361 ?v . ?v rdf:type ontology:Q198 } } . FILTER ( ?i = ?s ) }
Sioux Wars Syrian Civil War Iraq War military intervention against ISIL Chinese Civil War
Iraq War military intervention against ISIL Syrian Civil War
action approx
action find_reverse_tuple_counts
relation part of
type war
type conflict
action count
action filter_type
action find
entity military intervention against ISIL
relation part of
type war
[{'concept': 'conflict'}, 'part of', {'concept': 'war'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?i ) WHERE { ?z property:part_of ?k . ?z rdf:type ontology:conflict . ?k rdf:type ontology:war } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { resource:military_intervention_against_ISIL property:part_of ?v . ?v rdf:type ontology:war } } . FILTER ( ?i = ?s ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P607
Q198 Q2235308 Q502895
USER
How many wars did atleast 9813 ship types and people take part in ?
(c(Q2235308)|c(Q502895),P607,c(Q198))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P607
type Q198
type Q2235308
action find_reverse_tuple_counts
relation P607
type Q198
type Q502895
value 9813
[[{'concept': 'Q2235308'}, {'concept': 'Q502895'}], 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) ?r WHERE { { ?w property:P607 ?r . ?r rdf:type ontology:Q198 . ?w rdf:type ontology:Q2235308 } UNION { ?w property:P607 ?r . ?r rdf:type ontology:Q198 . ?w rdf:type ontology:Q502895 } } GROUP BY ?r } . FILTER ( ?n >= 9813 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation conflict
type war
type ship type
action find_reverse_tuple_counts
relation conflict
type war
type common name
value 9813
[[{'concept': 'ship type'}, {'concept': 'common name'}], 'conflict', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) ?r WHERE { { ?w property:conflict ?r . ?r rdf:type ontology:war . ?w rdf:type ontology:ship_type } UNION { ?w property:conflict ?r . ?r rdf:type ontology:war . ?w rdf:type ontology:common_name } } GROUP BY ?r } . FILTER ( ?n >= 9813 ) }
[]
war ship type common name
SYSTEM
2
Q362 Q361
(c(Q2235308)|c(Q502895),P607,c(Q198))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P607
type Q198
type Q2235308
action find_reverse_tuple_counts
relation P607
type Q198
type Q502895
value 9813
[ANSWER]
[[{'concept': 'Q2235308'}, {'concept': 'Q502895'}], 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) ?r WHERE { { ?w property:P607 ?r . ?r rdf:type ontology:Q198 . ?w rdf:type ontology:Q2235308 } UNION { ?w property:P607 ?r . ?r rdf:type ontology:Q198 . ?w rdf:type ontology:Q502895 } } GROUP BY ?r } . FILTER ( ?n >= 9813 ) }
World War II World War I
2
action count
action atleast
action union
action find_reverse_tuple_counts
relation conflict
type war
type ship type
action find_reverse_tuple_counts
relation conflict
type war
type common name
value 9813
[[{'concept': 'ship type'}, {'concept': 'common name'}], 'conflict', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) ?r WHERE { { ?w property:conflict ?r . ?r rdf:type ontology:war . ?w rdf:type ontology:ship_type } UNION { ?w property:conflict ?r . ?r rdf:type ontology:war . ?w rdf:type ontology:common_name } } GROUP BY ?r } . FILTER ( ?n >= 9813 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q198 Q180684 Q178561
USER
Which wars are around 3 conflicts and battles a portion of ?
(c(Q180684)|c(Q178561),P361,c(Q198))
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q198
type Q180684
action find_reverse_tuple_counts
relation P361
type Q198
type Q178561
value 3
[[{'concept': 'Q180684'}, {'concept': 'Q178561'}], 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?o ) AS ?a ) WHERE { { ?o property:P361 ?c . ?c rdf:type ontology:Q198 . ?o rdf:type ontology:Q180684 } UNION { ?c rdf:type ontology:Q198 . ?o rdf:type ontology:Q178561 . ?o property:P361 ?c } } GROUP BY ?c } . FILTER ( ?a = 3 ) }
action approx
action union
action find_reverse_tuple_counts
relation part of
type war
type conflict
action find_reverse_tuple_counts
relation part of
type war
type battle
value 3
[[{'concept': 'conflict'}, {'concept': 'battle'}], 'part of', {'concept': 'war'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?o ) AS ?a ) WHERE { { ?o property:part_of ?c . ?c rdf:type ontology:war . ?o rdf:type ontology:conflict } UNION { ?c rdf:type ontology:war . ?o rdf:type ontology:battle . ?o property:part_of ?c } } GROUP BY ?c } . FILTER ( ?a = 3 ) }
[]
war conflict battle
Q545449 Q17984356 Q17507684
SYSTEM
Iraq War, Iraqi Civil War, military intervention against ISIL
Q8683 Q211855 Q4783165 Q795269 Q3778746 Q920894 Q81545 Q10859 Q18121212 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 Q179975 Q18159629 Q2672972 Q243620 Q79911
(c(Q180684)|c(Q178561),P361,c(Q198))
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q198
type Q180684
action find_reverse_tuple_counts
relation P361
type Q198
type Q178561
value 3
[ANSWERS]
[[{'concept': 'Q180684'}, {'concept': 'Q178561'}], 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?o ) AS ?a ) WHERE { { ?o property:P361 ?c . ?c rdf:type ontology:Q198 . ?o rdf:type ontology:Q180684 } UNION { ?c rdf:type ontology:Q198 . ?o rdf:type ontology:Q178561 . ?o property:P361 ?c } } GROUP BY ?c } . FILTER ( ?a = 3 ) }
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 American-led intervention in Syria 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 Chinese Civil War American-led intervention in Iraq Uruguayan Civil War Somali Civil War Russian Civil War
Iraq War Iraqi Civil War military intervention against ISIL
action approx
action union
action find_reverse_tuple_counts
relation part of
type war
type conflict
action find_reverse_tuple_counts
relation part of
type war
type battle
value 3
[[{'concept': 'conflict'}, {'concept': 'battle'}], 'part of', {'concept': 'war'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?o ) AS ?a ) WHERE { { ?o property:part_of ?c . ?c rdf:type ontology:war . ?o rdf:type ontology:conflict } UNION { ?c rdf:type ontology:war . ?o rdf:type ontology:battle . ?o property:part_of ?c } } GROUP BY ?c } . FILTER ( ?a = 3 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q545449
P17
Q15617994
USER
How many administrative territories are Iraq War situated in ?
(Q545449,P17,c(Q15617994))
action count
action filter_type
action find
entity Q545449
relation P17
type Q15617994
['Q545449', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { resource:Q545449 property:P17 ?v . ?v rdf:type ontology:Q15617994 }
Iraq War
action count
action filter_type
action find
entity Iraq War
relation country
type designation for an administrative territorial entity
['Iraq War', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { resource:Iraq_War property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
6
Q145 Q796 Q786 Q36 Q29 Q30
(Q545449,P17,c(Q15617994))
action count
action filter_type
action find
entity Q545449
relation P17
type Q15617994
[ANSWER]
['Q545449', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { resource:Q545449 property:P17 ?v . ?v rdf:type ontology:Q15617994 }
United Kingdom Iraq Dominican Republic Poland Spain United States of America
6
action count
action filter_type
action find
entity Iraq War
relation country
type designation for an administrative territorial entity
['Iraq War', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { resource:Iraq_War property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]