Simple Question (Direct)
Simple Question
Q1347372
P1196
Q1190554
USER
What situation did Narcisse Quellien die in ?
(Q1347372,P1196,c(Q1190554))
action filter_type
action find
entity Q1347372
relation P1196
type Q1190554
['Q1347372', 'P1196', {'concept': 'Q1190554'}]
SELECT DISTINCT ?m WHERE { resource:Q1347372 property:P1196 ?m . ?m rdf:type ontology:Q1190554 }
Narcisse Quellien
action filter_type
action find
entity Narcisse Quellien
relation manner of death
type event
['Narcisse Quellien', 'manner of death', {'concept': 'event'}]
SELECT DISTINCT ?m WHERE { resource:Narcisse_Quellien property:manner_of_death ?m . ?m rdf:type ontology:event }
[]
event
Q171558
SYSTEM
accident
Q171558
(Q1347372,P1196,c(Q1190554))
action filter_type
action find
entity Q1347372
relation P1196
type Q1190554
Narcisse Quellien died an [ANSWER]
['Q1347372', 'P1196', {'concept': 'Q1190554'}]
SELECT DISTINCT ?m WHERE { resource:Q1347372 property:P1196 ?m . ?m rdf:type ontology:Q1190554 }
accident
Narcisse Quellien died an accident
accident
action filter_type
action find
entity Narcisse Quellien
relation manner of death
type event
['Narcisse Quellien', 'manner of death', {'concept': 'event'}]
SELECT DISTINCT ?m WHERE { resource:Narcisse_Quellien property:manner_of_death ?m . ?m rdf:type ontology:event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1347372
P50
Q2342494
USER
Which collectable is written by Narcisse Quellien ?
(c(Q2342494),P50,Q1347372)
action filter_type
action find_reverse
entity Q1347372
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q1347372']
SELECT DISTINCT ?o WHERE { ?o property:P50 resource:Q1347372 . ?o rdf:type ontology:Q2342494 }
Narcisse Quellien
action filter_type
action find_reverse
entity Narcisse Quellien
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Narcisse Quellien']
SELECT DISTINCT ?o WHERE { ?o property:author resource:Narcisse_Quellien . ?o rdf:type ontology:collectable }
[]
collectable
Q25991161
SYSTEM
Annaïk
Q25991161
(c(Q2342494),P50,Q1347372)
action filter_type
action find_reverse
entity Q1347372
relation P50
type Q2342494
[ANSWER] is written by Narcisse Quellien
[{'concept': 'Q2342494'}, 'P50', 'Q1347372']
SELECT DISTINCT ?o WHERE { ?o property:P50 resource:Q1347372 . ?o rdf:type ontology:Q2342494 }
Annaïk
Annaïk is written by Narcisse Quellien
Annaïk
action filter_type
action find_reverse
entity Narcisse Quellien
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Narcisse Quellien']
SELECT DISTINCT ?o WHERE { ?o property:author resource:Narcisse_Quellien . ?o rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q25991161
P291
Q56061
USER
Which administrative territory is the location of publication of that collectable ?
(Q25991161,P291,c(Q56061))
action filter_type
action find
entity Q25991161
relation P291
type Q56061
['Q25991161', 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q25991161 property:P291 ?x . ?x rdf:type ontology:Q56061 }
Annaïk
action filter_type
action find
entity Annaïk
relation place of publication
type administrative territorial entity
['Annaïk', 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Annaïk property:place_of_publication ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q25991161,P291,c(Q56061))
action filter_type
action find
entity Q25991161
relation P291
type Q56061
[ANSWER] is the location of publication of that collectable
['Q25991161', 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q25991161 property:P291 ?x . ?x rdf:type ontology:Q56061 }
Paris
Paris is the location of publication of that collectable
Paris
action filter_type
action find
entity Annaïk
relation place of publication
type administrative territorial entity
['Annaïk', 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Annaïk property:place_of_publication ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q23703779
Q56061
USER
And also tell me about Aberistwith Castle, in Cardiganshire?
(Q23703779,P291,c(Q56061))
action filter_type
action find
entity Q23703779
relation P291
type Q56061
['Q23703779', 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q23703779 property:P291 ?s . ?s rdf:type ontology:Q56061 }
Aberistwith Castle, in Cardiganshire
action filter_type
action find
entity Aberistwith Castle, in Cardiganshire
relation place of publication
type administrative territorial entity
['Aberistwith Castle, in Cardiganshire', 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Aberistwith_Castle,_in_Cardiganshire property:place_of_publication ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q23703779,P291,c(Q56061))
action filter_type
action find
entity Q23703779
relation P291
type Q56061
[ANSWER]
['Q23703779', 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q23703779 property:P291 ?s . ?s rdf:type ontology:Q56061 }
London
London
action filter_type
action find
entity Aberistwith Castle, in Cardiganshire
relation place of publication
type administrative territorial entity
['Aberistwith Castle, in Cardiganshire', 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Aberistwith_Castle,_in_Cardiganshire property:place_of_publication ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P532
Q56061 Q2235308
USER
How many ship types are the registry port of exactly 1 administrative territory ?
(c(Q2235308),P532,c(Q56061))
action count
action equal
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 1
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { FILTER ( ?s = 1 ) . { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?s ) WHERE { ?e property:P532 ?t . ?e rdf:type ontology:Q2235308 . ?t rdf:type ontology:Q56061 } GROUP BY ?e } }
action count
action equal
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 1
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { FILTER ( ?s = 1 ) . { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?s ) WHERE { ?e property:port_of_registry ?t . ?e rdf:type ontology:ship_type . ?t rdf:type ontology:administrative_territorial_entity } GROUP BY ?e } }
[]
administrative territorial entity ship type
SYSTEM
65
Q2992316 Q2301456 Q983141 Q133606 Q26988086 Q168474 Q300311 Q20489530 Q5338632 Q7499755 Q2124429 Q1293488 Q1017179 Q7120838 Q7393546 Q25173 Q14493958 Q18128240 Q664284 Q26988094 Q21196329 Q10659251 Q477173 Q130373 Q19608222 Q1026780 Q22342351 Q15662618 Q16854668 Q1325547 Q761593 Q26883829 Q2124449 Q778649 Q3952367 Q11705702 Q24039469 Q751584 Q6930211 Q16629249 Q497065 Q3053251 Q1439419 Q23579589 Q4686475 Q26987769 Q11891639 Q321007 Q6720006 Q741803 Q338340 Q7120888 Q215692 Q917188 Q18213370 Q1129910 Q2714360 Q16852551 Q1514126 Q18711004 Q1339472 Q3558075 Q192381 Q493616 Q35462
(c(Q2235308),P532,c(Q56061))
action count
action equal
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 1
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { FILTER ( ?s = 1 ) . { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?s ) WHERE { ?e property:P532 ?t . ?e rdf:type ontology:Q2235308 . ?t rdf:type ontology:Q56061 } GROUP BY ?e } }
HSC Condor Rapide MS Viking XPRS MY Sam Simon MS Star Meteora MV Arctic Sunrise A MS Harmony of the Seas Edith Mærsk Shoalway RMS Samaria MV Esperanza SS Burutu PS Empress Queen SS Empire Airman RMS Titanic Mærsk Mc-Kinney Møller MS Quantum of the Seas Pioneering Spirit Emma Victory SS Argentina S/S Drottningholm Emma Mærsk Admiral Makarov HSC Condor Liberation SS California Modern Express Djurgården 8 Mein Schiff 4 MT Mastera CMA CGM Marco Polo VOS Sympathy RMS St Helena Eclipse MS Norman Atlantic MV Ascension HSC Highspeed 5 MS Express Samina msy Wind Song Varnek (ship, 1974-2010) MV Baltic Ace Empire Sandy Vitus Bering MV Christinaki Adventure British Explorer SS Coccolita RMS Olympic MV Royal Daffodil RMS Mauretania MV Boudicca SS Prince of Wales HMHS Britannic MS Brilliance of the Seas Anthem of the Seas SS Potsdam MS Empress MS Epsilon MS Marco Polo MV Hoegh Osaka RMS Empress of Ireland Vieux Crabe MS Oasis of the Seas Royal Clipper RMS Aquitania
65
action count
action equal
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 1
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { FILTER ( ?s = 1 ) . { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?s ) WHERE { ?e property:port_of_registry ?t . ?e rdf:type ontology:ship_type . ?t rdf:type ontology:administrative_territorial_entity } GROUP BY ?e } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q3491709
P361
Q1190554 Q350604 Q15619164
USER
Which events are more number of armed conflicts and abstract beings a component of than Glencairn's rising ?
(c(Q350604)|c(Q15619164),P361,c(Q1190554))
action greater
action union
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q350604
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q15619164
action count
action filter_multi_types
action find_reverse
entity Q3491709
relation P361
type Q350604
type Q15619164
[[{'concept': 'Q350604'}, {'concept': 'Q15619164'}], 'P361', {'concept': 'Q1190554'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) ?d WHERE { ?l rdf:type ?w . VALUES ( ?w ) { ( ontology:Q15619164 ) ( ontology:Q350604 ) } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { ?t property:P361 resource:Q3491709 . { { ?t rdf:type ontology:Q350604 } UNION { ?t rdf:type ontology:Q15619164 } } } } . FILTER ( ?u > ?f ) }
Glencairn's rising
action greater
action union
action find_reverse_tuple_counts
relation part of
type event
type armed conflict
action find_reverse_tuple_counts
relation part of
type event
type abstract being
action count
action filter_multi_types
action find_reverse
entity Glencairn's rising
relation part of
type armed conflict
type abstract being
[[{'concept': 'armed conflict'}, {'concept': 'abstract being'}], 'part of', {'concept': 'event'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) ?d WHERE { ?l rdf:type ?w . VALUES ( ?w ) { ( ontology:abstract_being ) ( ontology:armed_conflict ) } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { ?t property:part_of resource:Glencairn's_rising . { { ?t rdf:type ontology:armed_conflict } UNION { ?t rdf:type ontology:abstract_being } } } } . FILTER ( ?u > ?f ) }
[]
event armed conflict abstract being
Q789406 Q165725 Q19362030
SYSTEM
Balkans Campaign, Balkan Wars, aftermath of the 2014–15 Yemeni coup d'état
Q19870743 Q19362030 Q654006 Q2067876 Q78994 Q1514908 Q8669 Q51662 Q18817 Q789406 Q640100 Q673175 Q1758572 Q1413732 Q165725 Q16918333
(c(Q350604)|c(Q15619164),P361,c(Q1190554))
action greater
action union
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q350604
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q15619164
action count
action filter_multi_types
action find_reverse
entity Q3491709
relation P361
type Q350604
type Q15619164
[ANSWERS] are more number of armed conflicts and abstract beings a component of than Glencairn's rising
[[{'concept': 'Q350604'}, {'concept': 'Q15619164'}], 'P361', {'concept': 'Q1190554'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) ?d WHERE { ?l rdf:type ?w . VALUES ( ?w ) { ( ontology:Q15619164 ) ( ontology:Q350604 ) } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { ?t property:P361 resource:Q3491709 . { { ?t rdf:type ontology:Q350604 } UNION { ?t rdf:type ontology:Q15619164 } } } } . FILTER ( ?u > ?f ) }
Anglo-French war of 1202–14 aftermath of the 2014–15 Yemeni coup d'état Second Northern War Polish–Swedish War (1600-29) Napoleonic Wars Cuban War of Independence Arab–Israeli conflict Northern Crusades War of the First Coalition Balkans Campaign Battles of the Bruch French Wars of Religion Hook and Cod wars Kashmir conflict Balkan Wars Ukrainian crisis
Balkans Campaign, Balkan Wars and aftermath of the 2014–15 Yemeni coup d'état are more number of armed conflicts and abstract beings a component of than Glencairn's rising
Balkans Campaign Balkan Wars aftermath of the 2014–15 Yemeni coup d'état
action greater
action union
action find_reverse_tuple_counts
relation part of
type event
type armed conflict
action find_reverse_tuple_counts
relation part of
type event
type abstract being
action count
action filter_multi_types
action find_reverse
entity Glencairn's rising
relation part of
type armed conflict
type abstract being
[[{'concept': 'armed conflict'}, {'concept': 'abstract being'}], 'part of', {'concept': 'event'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) ?d WHERE { ?l rdf:type ?w . VALUES ( ?w ) { ( ontology:abstract_being ) ( ontology:armed_conflict ) } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { ?t property:part_of resource:Glencairn's_rising . { { ?t rdf:type ontology:armed_conflict } UNION { ?t rdf:type ontology:abstract_being } } } } . FILTER ( ?u > ?f ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1758572
P361
Q1190554 Q350604 Q15619164
USER
And how about Hook and Cod wars?
(c(Q350604)|c(Q15619164),P361,c(Q1190554))
action greater
action union
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q350604
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q15619164
action count
action filter_multi_types
action find_reverse
entity Q1758572
relation P361
type Q350604
type Q15619164
[[{'concept': 'Q350604'}, {'concept': 'Q15619164'}], 'P361', {'concept': 'Q1190554'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?e > ?b ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { ?j property:P361 resource:Q1758572 . { { ?j rdf:type ontology:Q350604 } UNION { ?j rdf:type ontology:Q15619164 } } } } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) ?r WHERE { { ?u property:P361 ?r . ?r rdf:type ontology:Q1190554 . ?u rdf:type ontology:Q15619164 } UNION { ?u property:P361 ?r . ?r rdf:type ontology:Q1190554 . ?u rdf:type ontology:Q350604 } } GROUP BY ?r } }
Hook and Cod wars
action greater
action union
action find_reverse_tuple_counts
relation part of
type event
type armed conflict
action find_reverse_tuple_counts
relation part of
type event
type abstract being
action count
action filter_multi_types
action find_reverse
entity Hook and Cod wars
relation part of
type armed conflict
type abstract being
[[{'concept': 'armed conflict'}, {'concept': 'abstract being'}], 'part of', {'concept': 'event'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?e > ?b ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { ?j property:part_of resource:Hook_and_Cod_wars . { { ?j rdf:type ontology:armed_conflict } UNION { ?j rdf:type ontology:abstract_being } } } } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) ?r WHERE { { ?u property:part_of ?r . ?r rdf:type ontology:event . ?u rdf:type ontology:abstract_being } UNION { ?u property:part_of ?r . ?r rdf:type ontology:event . ?u rdf:type ontology:armed_conflict } } GROUP BY ?r } }
[]
event armed conflict abstract being
Q2067876 Q78994 Q8669
SYSTEM
Polish–Swedish War (1600-29), Napoleonic Wars, Arab–Israeli conflict
Q2067876 Q78994 Q8669
(c(Q350604)|c(Q15619164),P361,c(Q1190554))
action greater
action union
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q350604
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q15619164
action count
action filter_multi_types
action find_reverse
entity Q1758572
relation P361
type Q350604
type Q15619164
[ANSWERS]
[[{'concept': 'Q350604'}, {'concept': 'Q15619164'}], 'P361', {'concept': 'Q1190554'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?e > ?b ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { ?j property:P361 resource:Q1758572 . { { ?j rdf:type ontology:Q350604 } UNION { ?j rdf:type ontology:Q15619164 } } } } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) ?r WHERE { { ?u property:P361 ?r . ?r rdf:type ontology:Q1190554 . ?u rdf:type ontology:Q15619164 } UNION { ?u property:P361 ?r . ?r rdf:type ontology:Q1190554 . ?u rdf:type ontology:Q350604 } } GROUP BY ?r } }
Polish–Swedish War (1600-29) Napoleonic Wars Arab–Israeli conflict
Polish–Swedish War (1600-29) Napoleonic Wars Arab–Israeli conflict
action greater
action union
action find_reverse_tuple_counts
relation part of
type event
type armed conflict
action find_reverse_tuple_counts
relation part of
type event
type abstract being
action count
action filter_multi_types
action find_reverse
entity Hook and Cod wars
relation part of
type armed conflict
type abstract being
[[{'concept': 'armed conflict'}, {'concept': 'abstract being'}], 'part of', {'concept': 'event'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?e > ?b ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { ?j property:part_of resource:Hook_and_Cod_wars . { { ?j rdf:type ontology:armed_conflict } UNION { ?j rdf:type ontology:abstract_being } } } } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) ?r WHERE { { ?u property:part_of ?r . ?r rdf:type ontology:event . ?u rdf:type ontology:abstract_being } UNION { ?u property:part_of ?r . ?r rdf:type ontology:event . ?u rdf:type ontology:armed_conflict } } GROUP BY ?r } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q2067876 Q78994 Q8669
P361
Q350604
USER
Which armed conflicts are a portion of those events ?
(c(Q350604),P361,Q2067876) (c(Q350604),P361,Q78994) (c(Q350604),P361,Q8669)
action filter_type
action find_reverse
entity prev_answer
relation P361
type Q350604
[{'concept': 'Q350604'}, 'P361', 'Q2067876'] [{'concept': 'Q350604'}, 'P361', 'Q78994'] [{'concept': 'Q350604'}, 'P361', 'Q8669']
SELECT DISTINCT ?m WHERE { ?m property:P361 ?o . VALUES ( ?o ) { ( resource:Q2067876 ) ( resource:Q78994 ) ( resource:Q8669 ) } . ?m rdf:type ontology:Q350604 }
Polish–Swedish War (1600-29) Napoleonic Wars Arab–Israeli conflict
action filter_type
action find_reverse
entity prev_answer
relation part of
type armed conflict
[{'concept': 'armed conflict'}, 'part of', 'Polish–Swedish War (1600-29)'] [{'concept': 'armed conflict'}, 'part of', 'Napoleonic Wars'] [{'concept': 'armed conflict'}, 'part of', 'Arab–Israeli conflict']
SELECT DISTINCT ?m WHERE { ?m property:part_of ?o . VALUES ( ?o ) { ( resource:Polish–Swedish_War_(1600-29) ) ( resource:Napoleonic_Wars ) ( resource:Arab–Israeli_conflict ) } . ?m rdf:type ontology:armed_conflict }
[]
armed conflict
Q49100 Q49077 Q179250
SYSTEM
Yom Kippur War, Six-Day War, French invasion of Russia
Q7210108 Q598774 Q2985977 Q2373506 Q4065191 Q179250 Q249232 Q199955 Q233642 Q17126147 Q151622 Q49097 Q49077 Q322607 Q49100
(c(Q350604),P361,Q2067876) (c(Q350604),P361,Q78994) (c(Q350604),P361,Q8669)
action filter_type
action find_reverse
entity prev_answer
relation P361
type Q350604
[ANSWERS] are a portion of those events
[{'concept': 'Q350604'}, 'P361', 'Q2067876'] [{'concept': 'Q350604'}, 'P361', 'Q78994'] [{'concept': 'Q350604'}, 'P361', 'Q8669']
SELECT DISTINCT ?m WHERE { ?m property:P361 ?o . VALUES ( ?o ) { ( resource:Q2067876 ) ( resource:Q78994 ) ( resource:Q8669 ) } . ?m rdf:type ontology:Q350604 }
Polish–Swedish War (1621–25) Polish–Swedish War (1600–11) Polish–Swedish War (1626–29) Polish–Swedish War (1617-18) Anglo-Spanish War (1796–1808) French invasion of Russia War of the Third Coalition Hundred Days Second Anglo-Maratha War Arab–Israeli wars Israeli–Palestinian conflict 1948 Palestine war Six-Day War War of Attrition Yom Kippur War
Yom Kippur War, Six-Day War and French invasion of Russia are a portion of those events
Yom Kippur War Six-Day War French invasion of Russia
action filter_type
action find_reverse
entity prev_answer
relation part of
type armed conflict
[{'concept': 'armed conflict'}, 'part of', 'Polish–Swedish War (1600-29)'] [{'concept': 'armed conflict'}, 'part of', 'Napoleonic Wars'] [{'concept': 'armed conflict'}, 'part of', 'Arab–Israeli conflict']
SELECT DISTINCT ?m WHERE { ?m property:part_of ?o . VALUES ( ?o ) { ( resource:Polish–Swedish_War_(1600-29) ) ( resource:Napoleonic_Wars ) ( resource:Arab–Israeli_conflict ) } . ?m rdf:type ontology:armed_conflict }
[]
Clarification
Simple Question|Single Entity|Indirect
Q49100
P710
Q15617994
USER
Which administrative territory was a participant of that armed conflict ?
(Q49100,P710,c(Q15617994))
action filter_type
action find
entity Q49100
relation P710
type Q15617994
['Q49100', 'P710', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q49100 property:P710 ?a . ?a rdf:type ontology:Q15617994 }
Yom Kippur War
action filter_type
action find
entity Yom Kippur War
relation participant
type designation for an administrative territorial entity
['Yom Kippur War', 'participant', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Yom_Kippur_War property:participant ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q49100
SYSTEM
Did you mean Yom Kippur War ?
Q49100 Q49077 Q179250
(Q49100,P710,c(Q15617994)) (Q49077,P710,c(Q15617994)) (Q179250,P710,c(Q15617994))
[ANSWER]
['Q49100', 'P710', {'concept': 'Q15617994'}] ['Q49077', 'P710', {'concept': 'Q15617994'}] ['Q179250', 'P710', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q49100 property:P710 ?a . ?a rdf:type ontology:Q15617994 }
Yom Kippur War Six-Day War French invasion of Russia
Did you mean Yom Kippur War ?
Yom Kippur War
['Yom Kippur War', 'participant', {'concept': 'designation for an administrative territorial entity'}] ['Six-Day War', 'participant', {'concept': 'designation for an administrative territorial entity'}] ['French invasion of Russia', 'participant', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Yom_Kippur_War property:participant ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q49100,P710,c(Q15617994))
['Q49100', 'P710', {'concept': 'Q15617994'}]
['Yom Kippur War', 'participant', {'concept': 'designation for an administrative territorial entity'}]
[]
Q801
SYSTEM
Israel
Q801
(Q49100,P710,c(Q15617994))
action filter_type
action find
entity Q49100
relation P710
type Q15617994
[ANSWER] was a participant of that armed conflict
['Q49100', 'P710', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q49100 property:P710 ?a . ?a rdf:type ontology:Q15617994 }
Israel
Israel was a participant of that armed conflict
Israel
action filter_type
action find
entity Yom Kippur War
relation participant
type designation for an administrative territorial entity
['Yom Kippur War', 'participant', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Yom_Kippur_War property:participant ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]