Simple Question (Direct)
Simple Question
Q5725557
P69
Q1935049
USER
Which military school is the alma mater of Henry Martyn Robert ?
(Q5725557,P69,c(Q1935049))
action filter_type
action find
entity Q5725557
relation P69
type Q1935049
['Q5725557', 'P69', {'concept': 'Q1935049'}]
SELECT DISTINCT ?r WHERE { resource:Q5725557 property:P69 ?r . ?r rdf:type ontology:Q1935049 }
Henry Martyn Robert
action filter_type
action find
entity Henry Martyn Robert
relation educated at
type military school
['Henry Martyn Robert', 'educated at', {'concept': 'military school'}]
SELECT DISTINCT ?r WHERE { resource:Henry_Martyn_Robert property:educated_at ?r . ?r rdf:type ontology:military_school }
[]
military school
Q9219
SYSTEM
United States Military Academy at West Point
Q9219
(Q5725557,P69,c(Q1935049))
action filter_type
action find
entity Q5725557
relation P69
type Q1935049
The [ANSWER] is the alma mater of Henry Martyn Robert
['Q5725557', 'P69', {'concept': 'Q1935049'}]
SELECT DISTINCT ?r WHERE { resource:Q5725557 property:P69 ?r . ?r rdf:type ontology:Q1935049 }
United States Military Academy at West Point
The United States Military Academy at West Point is the alma mater of Henry Martyn Robert
United States Military Academy at West Point
action filter_type
action find
entity Henry Martyn Robert
relation educated at
type military school
['Henry Martyn Robert', 'educated at', {'concept': 'military school'}]
SELECT DISTINCT ?r WHERE { resource:Henry_Martyn_Robert property:educated_at ?r . ?r rdf:type ontology:military_school }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5725557
P607
Q350604
USER
What was the armed conflict that Henry Martyn Robert took part in
(Q5725557,P607,c(Q350604))
action filter_type
action find
entity Q5725557
relation P607
type Q350604
['Q5725557', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?e WHERE { resource:Q5725557 property:P607 ?e . ?e rdf:type ontology:Q350604 }
Henry Martyn Robert
action filter_type
action find
entity Henry Martyn Robert
relation conflict
type armed conflict
['Henry Martyn Robert', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?e WHERE { resource:Henry_Martyn_Robert property:conflict ?e . ?e rdf:type ontology:armed_conflict }
[]
armed conflict
Q1064335
SYSTEM
Pig War
Q1064335
(Q5725557,P607,c(Q350604))
action filter_type
action find
entity Q5725557
relation P607
type Q350604
The armed conflict that Henry Martyn Robert took part in was the [ANSWER]
['Q5725557', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?e WHERE { resource:Q5725557 property:P607 ?e . ?e rdf:type ontology:Q350604 }
Pig War
The armed conflict that Henry Martyn Robert took part in was the Pig War
Pig War
action filter_type
action find
entity Henry Martyn Robert
relation conflict
type armed conflict
['Henry Martyn Robert', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?e WHERE { resource:Henry_Martyn_Robert property:conflict ?e . ?e rdf:type ontology:armed_conflict }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q5725557
Q198
USER
And which war?
(Q5725557,P607,c(Q198))
action filter_type
action find
entity Q5725557
relation P607
type Q198
['Q5725557', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?y WHERE { resource:Q5725557 property:P607 ?y . ?y rdf:type ontology:Q198 }
Henry Martyn Robert
action filter_type
action find
entity Henry Martyn Robert
relation conflict
type war
['Henry Martyn Robert', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?y WHERE { resource:Henry_Martyn_Robert property:conflict ?y . ?y rdf:type ontology:war }
[]
war
Q8676
SYSTEM
American Civil War
Q8676
(Q5725557,P607,c(Q198))
action filter_type
action find
entity Q5725557
relation P607
type Q198
[ANSWER]
['Q5725557', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?y WHERE { resource:Q5725557 property:P607 ?y . ?y rdf:type ontology:Q198 }
American Civil War
American Civil War
action filter_type
action find
entity Henry Martyn Robert
relation conflict
type war
['Henry Martyn Robert', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?y WHERE { resource:Henry_Martyn_Robert property:conflict ?y . ?y rdf:type ontology:war }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8676
P710
Q1048835
USER
Who was a participant of that war ?
(Q8676,P710,c(Q1048835))
action filter_type
action find
entity Q8676
relation P710
type Q1048835
['Q8676', 'P710', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { resource:Q8676 property:P710 ?c . ?c rdf:type ontology:Q1048835 }
American Civil War
action filter_type
action find
entity American Civil War
relation participant
type political territorial entity
['American Civil War', 'participant', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:American_Civil_War property:participant ?c . ?c rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q214102
SYSTEM
Union
Q214102
(Q8676,P710,c(Q1048835))
action filter_type
action find
entity Q8676
relation P710
type Q1048835
The [ANSWER] was a participant of that war
['Q8676', 'P710', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { resource:Q8676 property:P710 ?c . ?c rdf:type ontology:Q1048835 }
Union
The Union was a participant of that war
Union
action filter_type
action find
entity American Civil War
relation participant
type political territorial entity
['American Civil War', 'participant', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:American_Civil_War property:participant ?c . ?c rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5725557
P21
Q290
USER
What is the sex of Henry Martyn Robert ?
(Q5725557,P21,c(Q290))
action filter_type
action find
entity Q5725557
relation P21
type Q290
['Q5725557', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q290 . resource:Q5725557 property:P21 ?d }
Henry Martyn Robert
action filter_type
action find
entity Henry Martyn Robert
relation gender
type sex
['Henry Martyn Robert', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:sex . resource:Henry_Martyn_Robert property:gender ?d }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5725557,P21,c(Q290))
action filter_type
action find
entity Q5725557
relation P21
type Q290
The sex of Henry Martyn Robert is a [ANSWER]
['Q5725557', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q290 . resource:Q5725557 property:P21 ?d }
male
The sex of Henry Martyn Robert is a male
male
action filter_type
action find
entity Henry Martyn Robert
relation gender
type sex
['Henry Martyn Robert', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:sex . resource:Henry_Martyn_Robert property:gender ?d }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16526837
Q290
USER
And also tell me about Aital Witoszyński?
(Q16526837,P21,c(Q290))
action filter_type
action find
entity Q16526837
relation P21
type Q290
['Q16526837', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q16526837 property:P21 ?s . ?s rdf:type ontology:Q290 }
Aital Witoszyński
action filter_type
action find
entity Aital Witoszyński
relation gender
type sex
['Aital Witoszyński', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Aital_Witoszyński property:gender ?s . ?s rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q16526837,P21,c(Q290))
action filter_type
action find
entity Q16526837
relation P21
type Q290
[ANSWER]
['Q16526837', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q16526837 property:P21 ?s . ?s rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Aital Witoszyński
relation gender
type sex
['Aital Witoszyński', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Aital_Witoszyński property:gender ?s . ?s rdf:type ontology:sex }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q4120277
P607
Q350604 Q502895 Q2235308
USER
Which armed conflicts did less number of people or ship types take part in than Second Samoan Civil War ?
(c(Q502895)|c(Q2235308),P607,c(Q350604))
action less
action union
action find_reverse_tuple_counts
relation P607
type Q350604
type Q502895
action find_reverse_tuple_counts
relation P607
type Q350604
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q4120277
relation P607
type Q502895
type Q2235308
[[{'concept': 'Q502895'}, {'concept': 'Q2235308'}], 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { { ?d rdf:type ontology:Q502895 } UNION { ?d rdf:type ontology:Q2235308 } } . ?d property:P607 resource:Q4120277 } } . FILTER ( ?u < ?w ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) ?t WHERE { ?p rdf:type ?x . VALUES ( ?x ) { ( ontology:Q502895 ) ( ontology:Q2235308 ) } } GROUP BY ?t } }
Second Samoan Civil War
action less
action union
action find_reverse_tuple_counts
relation conflict
type armed conflict
type common name
action find_reverse_tuple_counts
relation conflict
type armed conflict
type ship type
action count
action filter_multi_types
action find_reverse
entity Second Samoan Civil War
relation conflict
type common name
type ship type
[[{'concept': 'common name'}, {'concept': 'ship type'}], 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { { ?d rdf:type ontology:common_name } UNION { ?d rdf:type ontology:ship_type } } . ?d property:conflict resource:Second_Samoan_Civil_War } } . FILTER ( ?u < ?w ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) ?t WHERE { ?p rdf:type ?x . VALUES ( ?x ) { ( ontology:common_name ) ( ontology:ship_type ) } } GROUP BY ?t } }
[]
armed conflict common name ship type
Q486831 Q2060306 Q619749
SYSTEM
Roman–Syrian war, Red Cloud's War, Kurdish–Turkish conflict
Q1760930 Q698281 Q196409 Q619749 Q154940 Q5453768 Q6334 Q285280 Q103495 Q18920712 Q4116897 Q2632175 Q651008 Q431806 Q1080711 Q260684 Q1936011 Q3439047 Q165136 Q4940496 Q223126 Q777345 Q2320020 Q891806 Q327150 Q677316 Q39194 Q1382989 Q369291 Q2441248 Q636365 Q2407716 Q2090475 Q1495944 Q1500631 Q1455917 Q1837308 Q553184 Q842380 Q1362209 Q551888 Q690361 Q698985 Q1282732 Q858108 Q7572892 Q14947002 Q7210108 Q2337340 Q2599340 Q325314 Q1249270 Q7125242 Q486831 Q1361354 Q2032554 Q2992403 Q76118 Q2060306 Q1949299 Q2471586 Q1047682 Q12055176 Q3118990 Q4207759 Q233702 Q859815 Q1783607 Q755170 Q11154636 Q3119132 Q223085 Q79791 Q623171 Q7166879 Q2909600 Q11050383 Q202465 Q478301 Q75756 Q2665664 Q28365 Q1780850 Q26690200 Q2670249 Q202578 Q1962709 Q1178424 Q3365438 Q937255 Q696389 Q74109 Q1814745 Q3119015 Q1154983 Q4176199 Q1069736 Q42937 Q838695 Q1143379 Q151622 Q1265114
(c(Q502895)|c(Q2235308),P607,c(Q350604))
action less
action union
action find_reverse_tuple_counts
relation P607
type Q350604
type Q502895
action find_reverse_tuple_counts
relation P607
type Q350604
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q4120277
relation P607
type Q502895
type Q2235308
[ANSWERS] less number of people or ship types took part in than Second Samoan Civil War
[[{'concept': 'Q502895'}, {'concept': 'Q2235308'}], 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { { ?d rdf:type ontology:Q502895 } UNION { ?d rdf:type ontology:Q2235308 } } . ?d property:P607 resource:Q4120277 } } . FILTER ( ?u < ?w ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) ?t WHERE { ?p rdf:type ?x . VALUES ( ?x ) { ( ontology:Q502895 ) ( ontology:Q2235308 ) } } GROUP BY ?t } }
Paquisha War Italian War of 1521–1526 Livonian Crusade Kurdish–Turkish conflict Lapland War First Rohilla War Third Punic War War of Transnistria world war War in Afghanistan Second Kurdish–Iraqi War Dunmore's War Corinthian War Arauco War Ottoman–Hungarian Wars Alexander's Balkan campaign Cold War (1962–79) Dominican War of Independence Swabian War Bombardment of Algiers Chaco War Mad War Byzantine–Sassanid War of 572–591 Bombardment of Algiers (1816) Byzantine–Norman wars Social War Spanish reconquest of Santo Domingo Rogue River Wars Anglo-Spanish War (1654–1660) Anglo-Russian War War of the League of Cambrai Roman–Sassanid War Second Franco-Dahomean War Polish–Lithuanian War Ecuadorian–Peruvian War Umayyad conquest of Hispania Rus'–Byzantine War (941) Gaza–Israel conflict Second Sudanese Civil War First Anglo-Maratha War Wars of Alexander the Great Long War Ottoman wars in Europe Guatemalan Civil War Byzantine–Sassanid Wars Spain in the American Revolutionary War Chechen–Russian conflict Polish–Swedish War (1621–25) Cenepa War War of the Sicilian Vespers Tecumseh's War Third Sacred War Paiute War Roman–Syrian war Nine Years' War Second Melillan campaign Franco-Syrian War Third Macedonian War Red Cloud's War Russo-Kazan Wars Pomeranian War Asian and Pacific theatre of World War I Angolan Civil War War for Brittany Seleucid–Parthian wars Second Silesian War Ishiyama Hongan-ji War Salvadoran Civil War Anglo-Dutch Wars Eelam War III Indo-Pakistani wars and conflicts Football War Reconquista Sino-Vietnamese War Perak War Bombardment of Genoa Eelam War II Uganda–Tanzania War Hussite Wars Second Congo War Prussian Crusade Lamian War Swedish-Norwegian War Rutulian War Bombardment of Alexandria First Jewish-Roman War Ingrian War Carlist Wars War in Vietnam (1945–46) Polish–Lithuanian–Teutonic War Soviet–Japanese border conflicts Albanian resistance during World War II Eelam War I Yakima War Ottoman–Venetian War cold war Croat–Bosniak War Trojan War First Congo War 1991–1992 South Ossetia War Israeli–Palestinian conflict Father Rale's War
Roman–Syrian war, Red Cloud's War and Kurdish–Turkish conflict less number of people or ship types took part in than Second Samoan Civil War
Roman–Syrian war Red Cloud's War Kurdish–Turkish conflict
action less
action union
action find_reverse_tuple_counts
relation conflict
type armed conflict
type common name
action find_reverse_tuple_counts
relation conflict
type armed conflict
type ship type
action count
action filter_multi_types
action find_reverse
entity Second Samoan Civil War
relation conflict
type common name
type ship type
[[{'concept': 'common name'}, {'concept': 'ship type'}], 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { { ?d rdf:type ontology:common_name } UNION { ?d rdf:type ontology:ship_type } } . ?d property:conflict resource:Second_Samoan_Civil_War } } . FILTER ( ?u < ?w ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) ?t WHERE { ?p rdf:type ?x . VALUES ( ?x ) { ( ontology:common_name ) ( ontology:ship_type ) } } GROUP BY ?t } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q11050383
P607
Q350604 Q502895 Q2235308
USER
And what about Eelam War II?
(c(Q502895)|c(Q2235308),P607,c(Q350604))
action less
action union
action find_reverse_tuple_counts
relation P607
type Q350604
type Q502895
action find_reverse_tuple_counts
relation P607
type Q350604
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q11050383
relation P607
type Q502895
type Q2235308
[[{'concept': 'Q502895'}, {'concept': 'Q2235308'}], 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) ?p WHERE { VALUES ( ?v ) { ( ontology:Q2235308 ) ( ontology:Q502895 ) } . ?u rdf:type ?v } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { ?z property:P607 resource:Q11050383 . { { ?z rdf:type ontology:Q502895 } UNION { ?z rdf:type ontology:Q2235308 } } } } . FILTER ( ?b < ?f ) }
Eelam War II
action less
action union
action find_reverse_tuple_counts
relation conflict
type armed conflict
type common name
action find_reverse_tuple_counts
relation conflict
type armed conflict
type ship type
action count
action filter_multi_types
action find_reverse
entity Eelam War II
relation conflict
type common name
type ship type
[[{'concept': 'common name'}, {'concept': 'ship type'}], 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) ?p WHERE { VALUES ( ?v ) { ( ontology:ship_type ) ( ontology:common_name ) } . ?u rdf:type ?v } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { ?z property:conflict resource:Eelam_War_II . { { ?z rdf:type ontology:common_name } UNION { ?z rdf:type ontology:ship_type } } } } . FILTER ( ?b < ?f ) }
[]
armed conflict common name ship type
Q42937 Q18920712 Q2337340
SYSTEM
Trojan War, War in Afghanistan, Cenepa War
Q18920712 Q1500631 Q553184 Q1362209 Q1282732 Q2337340 Q2032554 Q1949299 Q233702 Q1783607 Q3119132 Q223085 Q26690200 Q2670249 Q4176199 Q42937
(c(Q502895)|c(Q2235308),P607,c(Q350604))
action less
action union
action find_reverse_tuple_counts
relation P607
type Q350604
type Q502895
action find_reverse_tuple_counts
relation P607
type Q350604
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q11050383
relation P607
type Q502895
type Q2235308
[ANSWERS]
[[{'concept': 'Q502895'}, {'concept': 'Q2235308'}], 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) ?p WHERE { VALUES ( ?v ) { ( ontology:Q2235308 ) ( ontology:Q502895 ) } . ?u rdf:type ?v } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { ?z property:P607 resource:Q11050383 . { { ?z rdf:type ontology:Q502895 } UNION { ?z rdf:type ontology:Q2235308 } } } } . FILTER ( ?b < ?f ) }
War in Afghanistan Ecuadorian–Peruvian War Gaza–Israel conflict First Anglo-Maratha War Guatemalan Civil War Cenepa War Second Melillan campaign Russo-Kazan Wars Second Silesian War Salvadoran Civil War Indo-Pakistani wars and conflicts Football War Rutulian War Bombardment of Alexandria cold war Trojan War
Trojan War War in Afghanistan Cenepa War
action less
action union
action find_reverse_tuple_counts
relation conflict
type armed conflict
type common name
action find_reverse_tuple_counts
relation conflict
type armed conflict
type ship type
action count
action filter_multi_types
action find_reverse
entity Eelam War II
relation conflict
type common name
type ship type
[[{'concept': 'common name'}, {'concept': 'ship type'}], 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) ?p WHERE { VALUES ( ?v ) { ( ontology:ship_type ) ( ontology:common_name ) } . ?u rdf:type ?v } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { ?z property:conflict resource:Eelam_War_II . { { ?z rdf:type ontology:common_name } UNION { ?z rdf:type ontology:ship_type } } } } . FILTER ( ?b < ?f ) }
[]