Simple Question (Direct)
Simple Question
Q19866240
P102
Q7210356
USER
Which party does José Manuel Correa Ceseña belong to ?
(Q19866240,P102,c(Q7210356))
action filter_type
action find
entity Q19866240
relation P102
type Q7210356
['Q19866240', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?c WHERE { resource:Q19866240 property:P102 ?c . ?c rdf:type ontology:Q7210356 }
José Manuel Correa Ceseña
action filter_type
action find
entity José Manuel Correa Ceseña
relation member of political party
type political organization
['José Manuel Correa Ceseña', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?c WHERE { resource:José_Manuel_Correa_Ceseña property:member_of_political_party ?c . ?c rdf:type ontology:political_organization }
[]
political organization
Q682969
SYSTEM
Institutional Revolutionary Party
Q682969
(Q19866240,P102,c(Q7210356))
action filter_type
action find
entity Q19866240
relation P102
type Q7210356
José Manuel Correa Ceseña belongs to [ANSWER]
['Q19866240', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?c WHERE { resource:Q19866240 property:P102 ?c . ?c rdf:type ontology:Q7210356 }
Institutional Revolutionary Party
José Manuel Correa Ceseña belongs to Institutional Revolutionary Party
Institutional Revolutionary Party
action filter_type
action find
entity José Manuel Correa Ceseña
relation member of political party
type political organization
['José Manuel Correa Ceseña', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?c WHERE { resource:José_Manuel_Correa_Ceseña property:member_of_political_party ?c . ?c rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19866240
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q682969,P27,c(Q15617994))
action filter_type
action find
entity Q19866240
relation P27
type Q15617994
['Q682969', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . resource:Q19866240 property:P27 ?r }
José Manuel Correa Ceseña
action filter_type
action find
entity José Manuel Correa Ceseña
relation country of citizenship
type designation for an administrative territorial entity
['Institutional Revolutionary Party', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:José_Manuel_Correa_Ceseña property:country_of_citizenship ?r }
[]
designation for an administrative territorial entity
Q96
SYSTEM
Mexico
Q96
(Q682969,P27,c(Q15617994))
action filter_type
action find
entity Q19866240
relation P27
type Q15617994
[ANSWER] is that person a civilian of
['Q682969', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . resource:Q19866240 property:P27 ?r }
Mexico
Mexico is that person a civilian of
Mexico
action filter_type
action find
entity José Manuel Correa Ceseña
relation country of citizenship
type designation for an administrative territorial entity
['Institutional Revolutionary Party', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:José_Manuel_Correa_Ceseña property:country_of_citizenship ?r }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19866240
P19
Q56061
USER
Which administrative territory was that person born in ?
(Q96,P19,c(Q56061))
action filter_type
action find
entity Q19866240
relation P19
type Q56061
['Q96', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q19866240 property:P19 ?d . ?d rdf:type ontology:Q56061 }
José Manuel Correa Ceseña
action filter_type
action find
entity José Manuel Correa Ceseña
relation place of birth
type administrative territorial entity
['Mexico', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:José_Manuel_Correa_Ceseña property:place_of_birth ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2088134
SYSTEM
San José del Cabo
Q2088134
(Q96,P19,c(Q56061))
action filter_type
action find
entity Q19866240
relation P19
type Q56061
That person was born in [ANSWER]
['Q96', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q19866240 property:P19 ?d . ?d rdf:type ontology:Q56061 }
San José del Cabo
That person was born in San José del Cabo
San José del Cabo
action filter_type
action find
entity José Manuel Correa Ceseña
relation place of birth
type administrative territorial entity
['Mexico', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:José_Manuel_Correa_Ceseña property:place_of_birth ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3101161 Q19866240
P39
Q12737077
USER
Which occupations were a position held by José Manuel Correa Ceseña or Geoffroy d'Eu ?
OR((Q19866240,P39,c(Q12737077)), (Q3101161,P39,c(Q12737077)))
action filter_type
action union
action find
entity Q19866240
relation P39
action find
entity Q3101161
relation P39
type Q12737077
{'OR': [['Q19866240', 'P39', {'concept': 'Q12737077'}], ['Q3101161', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q19866240 property:P39 ?q } UNION { resource:Q3101161 property:P39 ?q } } . ?q rdf:type ontology:Q12737077 }
Geoffroy d'Eu José Manuel Correa Ceseña
action filter_type
action union
action find
entity José Manuel Correa Ceseña
relation position held
action find
entity Geoffroy d'Eu
relation position held
type occupation
{'OR': [['José Manuel Correa Ceseña', 'position held', {'concept': 'occupation'}], ["Geoffroy d'Eu", 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?q WHERE { { { resource:José_Manuel_Correa_Ceseña property:position_held ?q } UNION { resource:Geoffroy_d'Eu property:position_held ?q } } . ?q rdf:type ontology:occupation }
[]
occupation
Q29182 Q18534310
SYSTEM
bishop, Member of the Chamber of Deputies of Mexico
Q29182 Q18534310
OR((Q19866240,P39,c(Q12737077)), (Q3101161,P39,c(Q12737077)))
action filter_type
action union
action find
entity Q19866240
relation P39
action find
entity Q3101161
relation P39
type Q12737077
[ANSWERS] were a position held by José Manuel Correa Ceseña or Geoffroy d'Eu
{'OR': [['Q19866240', 'P39', {'concept': 'Q12737077'}], ['Q3101161', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q19866240 property:P39 ?q } UNION { resource:Q3101161 property:P39 ?q } } . ?q rdf:type ontology:Q12737077 }
bishop Member of the Chamber of Deputies of Mexico
Bishop and Member of the Chamber of Deputies of Mexico were a position held by José Manuel Correa Ceseña or Geoffroy d'Eu
bishop Member of the Chamber of Deputies of Mexico
action filter_type
action union
action find
entity José Manuel Correa Ceseña
relation position held
action find
entity Geoffroy d'Eu
relation position held
type occupation
{'OR': [['José Manuel Correa Ceseña', 'position held', {'concept': 'occupation'}], ["Geoffroy d'Eu", 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?q WHERE { { { resource:José_Manuel_Correa_Ceseña property:position_held ?q } UNION { resource:Geoffroy_d'Eu property:position_held ?q } } . ?q rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5026357
P39
Q502895
USER
Did Cameron Roberts hold the position of those occupations ?
(Q5026357,P39,Q29182) (Q5026357,P39,Q18534310)
action is_in
entity prev_answer
action find
entity Q5026357
relation P39
['Q5026357', 'P39', 'Q29182'] ['Q5026357', 'P39', 'Q18534310']
ASK WHERE { resource:Q5026357 property:P39 ?q . VALUES ( ?q ) { ( resource:Q29182 ) ( resource:Q18534310 ) } }
Cameron Roberts
action is_in
entity prev_answer
action find
entity Cameron Roberts
relation position held
['Cameron Roberts', 'position held', 'bishop'] ['Cameron Roberts', 'position held', 'Member of the Chamber of Deputies of Mexico']
ASK WHERE { resource:Cameron_Roberts property:position_held ?q . VALUES ( ?q ) { ( resource:bishop ) ( resource:Member_of_the_Chamber_of_Deputies_of_Mexico ) } }
[]
common name
SYSTEM
NO
(Q5026357,P39,Q29182) (Q5026357,P39,Q18534310)
action is_in
entity prev_answer
action find
entity Q5026357
relation P39
[ANSWER]
['Q5026357', 'P39', 'Q29182'] ['Q5026357', 'P39', 'Q18534310']
ASK WHERE { resource:Q5026357 property:P39 ?q . VALUES ( ?q ) { ( resource:Q29182 ) ( resource:Q18534310 ) } }
No
action is_in
entity prev_answer
action find
entity Cameron Roberts
relation position held
['Cameron Roberts', 'position held', 'bishop'] ['Cameron Roberts', 'position held', 'Member of the Chamber of Deputies of Mexico']
ASK WHERE { resource:Cameron_Roberts property:position_held ?q . VALUES ( ?q ) { ( resource:bishop ) ( resource:Member_of_the_Chamber_of_Deputies_of_Mexico ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q96
P710
Q1190554
USER
What event did Mexico particiate in ?
(c(Q1190554),P710,Q96)
action filter_type
action find_reverse
entity Q96
relation P710
type Q1190554
[{'concept': 'Q1190554'}, 'P710', 'Q96']
SELECT DISTINCT ?g WHERE { ?g property:P710 resource:Q96 . ?g rdf:type ontology:Q1190554 }
Mexico
action filter_type
action find_reverse
entity Mexico
relation participant
type event
[{'concept': 'event'}, 'participant', 'Mexico']
SELECT DISTINCT ?g WHERE { ?g property:participant resource:Mexico . ?g rdf:type ontology:event }
[]
event
Q6148285 Q235344
SYSTEM
Battle of San Juan de Ulua, Battle of the Alamola
Q6148285 Q235344
(c(Q1190554),P710,Q96)
action filter_type
action find_reverse
entity Q96
relation P710
type Q1190554
Mexico particiated the [ANSWERS]
[{'concept': 'Q1190554'}, 'P710', 'Q96']
SELECT DISTINCT ?g WHERE { ?g property:P710 resource:Q96 . ?g rdf:type ontology:Q1190554 }
Battle of San Juan de Ulua Battle of the Alamola
Mexico particiated the Battle of San Juan de Ulua and Battle of the Alamola
Battle of San Juan de Ulua Battle of the Alamola
action filter_type
action find_reverse
entity Mexico
relation participant
type event
[{'concept': 'event'}, 'participant', 'Mexico']
SELECT DISTINCT ?g WHERE { ?g property:participant resource:Mexico . ?g rdf:type ontology:event }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q6148285 Q235344
P607
Q502895
USER
Which people did Battle of San Juan de Ulua and Battle of the Alamola participate in ?
(c(Q502895),P607,Q6148285) (c(Q502895),P607,Q235344)
action union
action filter_type
action find_reverse
entity Q6148285
relation P607
type Q502895
action filter_type
action find_reverse
entity Q235344
relation P607
type Q502895
[{'concept': 'Q502895'}, 'P607', 'Q6148285'] [{'concept': 'Q502895'}, 'P607', 'Q235344']
SELECT DISTINCT ?t WHERE { { ?t rdf:type ontology:Q502895 . ?t property:P607 resource:Q6148285 } UNION { ?t rdf:type ontology:Q502895 . ?t property:P607 resource:Q235344 } }
Battle of San Juan de Ulua Battle of the Alamola
action union
action filter_type
action find_reverse
entity Battle of San Juan de Ulua
relation conflict
type common name
action filter_type
action find_reverse
entity Battle of the Alamola
relation conflict
type common name
[{'concept': 'common name'}, 'conflict', 'Battle of San Juan de Ulua'] [{'concept': 'common name'}, 'conflict', 'Battle of the Alamola']
SELECT DISTINCT ?t WHERE { { ?t rdf:type ontology:common_name . ?t property:conflict resource:Battle_of_San_Juan_de_Ulua } UNION { ?t rdf:type ontology:common_name . ?t property:conflict resource:Battle_of_the_Alamola } }
[]
common name
Q5994636 Q5537554
SYSTEM
Manuel Zavala, George C. Kimble
Q5994636 Q5537554
(c(Q502895),P607,Q6148285) (c(Q502895),P607,Q235344)
action union
action filter_type
action find_reverse
entity Q6148285
relation P607
type Q502895
action filter_type
action find_reverse
entity Q235344
relation P607
type Q502895
[ANSWERS] Battle of San Juan de Ulua and Battle of the Alamola participated in
[{'concept': 'Q502895'}, 'P607', 'Q6148285'] [{'concept': 'Q502895'}, 'P607', 'Q235344']
SELECT DISTINCT ?t WHERE { { ?t rdf:type ontology:Q502895 . ?t property:P607 resource:Q6148285 } UNION { ?t rdf:type ontology:Q502895 . ?t property:P607 resource:Q235344 } }
Manuel Zavala George C. Kimble
Manuel Zavala and George C. Kimble Battle of San Juan de Ulua and Battle of the Alamola participated in
Manuel Zavala George C. Kimble
action union
action filter_type
action find_reverse
entity Battle of San Juan de Ulua
relation conflict
type common name
action filter_type
action find_reverse
entity Battle of the Alamola
relation conflict
type common name
[{'concept': 'common name'}, 'conflict', 'Battle of San Juan de Ulua'] [{'concept': 'common name'}, 'conflict', 'Battle of the Alamola']
SELECT DISTINCT ?t WHERE { { ?t rdf:type ontology:common_name . ?t property:conflict resource:Battle_of_San_Juan_de_Ulua } UNION { ?t rdf:type ontology:common_name . ?t property:conflict resource:Battle_of_the_Alamola } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q5994636 Q5537554
P607
Q1190554
USER
What battle were Manuel Zavala and George C. Kimble a part of ?
(Q5994636,P607,c(Q1190554)) (Q5537554,P607,c(Q1190554))
action union
action filter_type
action find
entity Q5994636
relation P607
type Q1190554
action filter_type
action find
entity Q5537554
relation P607
type Q1190554
['Q5994636', 'P607', {'concept': 'Q1190554'}] ['Q5537554', 'P607', {'concept': 'Q1190554'}]
SELECT DISTINCT ?r WHERE { { resource:Q5537554 property:P607 ?r . ?r rdf:type ontology:Q1190554 } UNION { resource:Q5994636 property:P607 ?r . ?r rdf:type ontology:Q1190554 } }
Manuel Zavala George C. Kimble
action union
action filter_type
action find
entity Manuel Zavala
relation conflict
type event
action filter_type
action find
entity George C. Kimble
relation conflict
type event
['Manuel Zavala', 'conflict', {'concept': 'event'}] ['George C. Kimble', 'conflict', {'concept': 'event'}]
SELECT DISTINCT ?r WHERE { { resource:George_C._Kimble property:conflict ?r . ?r rdf:type ontology:event } UNION { resource:Manuel_Zavala property:conflict ?r . ?r rdf:type ontology:event } }
[]
event
Q6148285 Q235344 Q934725
SYSTEM
Battle of San Juan de Ulua, Battle of the Alamola, Battle of Puruarán
Q6148285 Q934725 Q2890160 Q235344
(Q5994636,P607,c(Q1190554)) (Q5537554,P607,c(Q1190554))
action union
action filter_type
action find
entity Q5994636
relation P607
type Q1190554
action filter_type
action find
entity Q5537554
relation P607
type Q1190554
[ANSWERS] were Manuel Zavala and George C. Kimble a part of
['Q5994636', 'P607', {'concept': 'Q1190554'}] ['Q5537554', 'P607', {'concept': 'Q1190554'}]
SELECT DISTINCT ?r WHERE { { resource:Q5537554 property:P607 ?r . ?r rdf:type ontology:Q1190554 } UNION { resource:Q5994636 property:P607 ?r . ?r rdf:type ontology:Q1190554 } }
Battle of San Juan de Ulua Battle of Puruarán Battle of Tenancingo Battle of the Alamola
Battle of San Juan de Ulua, Battle of the Alamola and Battle of Puruarán were Manuel Zavala and George C. Kimble a part of
Battle of San Juan de Ulua Battle of the Alamola Battle of Puruarán
action union
action filter_type
action find
entity Manuel Zavala
relation conflict
type event
action filter_type
action find
entity George C. Kimble
relation conflict
type event
['Manuel Zavala', 'conflict', {'concept': 'event'}] ['George C. Kimble', 'conflict', {'concept': 'event'}]
SELECT DISTINCT ?r WHERE { { resource:George_C._Kimble property:conflict ?r . ?r rdf:type ontology:event } UNION { resource:Manuel_Zavala property:conflict ?r . ?r rdf:type ontology:event } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q235344
P20
Q502895
USER
Which people have Battle of the Alamola as the location of death ?
(c(Q502895),P20,Q235344)
action filter_type
action find_reverse
entity Q235344
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q235344']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . ?a property:P20 resource:Q235344 }
Battle of the Alamola
action filter_type
action find_reverse
entity Battle of the Alamola
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Battle of the Alamola']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . ?a property:place_of_death resource:Battle_of_the_Alamola }
[]
common name
Q711818 Q5537554
SYSTEM
William B. Travis, George C. Kimble
Q711818 Q5537554
(c(Q502895),P20,Q235344)
action filter_type
action find_reverse
entity Q235344
relation P20
type Q502895
[ANSWERS] have Battle of the Alamola as the location of death
[{'concept': 'Q502895'}, 'P20', 'Q235344']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . ?a property:P20 resource:Q235344 }
William B. Travis George C. Kimble
William B. Travis and George C. Kimble have Battle of the Alamola as the location of death
William B. Travis George C. Kimble
action filter_type
action find_reverse
entity Battle of the Alamola
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Battle of the Alamola']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . ?a property:place_of_death resource:Battle_of_the_Alamola }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5994636
P1196
Q1931388
USER
What manner did Manuel Zavala die ?
(Q5994636,P1196,c(Q1931388))
action filter_type
action find
entity Q5994636
relation P1196
type Q1931388
['Q5994636', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?u WHERE { resource:Q5994636 property:P1196 ?u . ?u rdf:type ontology:Q1931388 }
Manuel Zavala
action filter_type
action find
entity Manuel Zavala
relation manner of death
type cause of death
['Manuel Zavala', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?u WHERE { resource:Manuel_Zavala property:manner_of_death ?u . ?u rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q5994636,P1196,c(Q1931388))
action filter_type
action find
entity Q5994636
relation P1196
type Q1931388
Manuel Zavala died in [ANSWER]
['Q5994636', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?u WHERE { resource:Q5994636 property:P1196 ?u . ?u rdf:type ontology:Q1931388 }
natural causes
Manuel Zavala died in natural causes
natural causes
action filter_type
action find
entity Manuel Zavala
relation manner of death
type cause of death
['Manuel Zavala', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?u WHERE { resource:Manuel_Zavala property:manner_of_death ?u . ?u rdf:type ontology:cause_of_death }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5374806
Q1931388
USER
And how about Emrys Jones?
(Q5374806,P1196,c(Q1931388))
action filter_type
action find
entity Q5374806
relation P1196
type Q1931388
['Q5374806', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?q WHERE { resource:Q5374806 property:P1196 ?q . ?q rdf:type ontology:Q1931388 }
Emrys Jones
action filter_type
action find
entity Emrys Jones
relation manner of death
type cause of death
['Emrys Jones', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?q WHERE { resource:Emrys_Jones property:manner_of_death ?q . ?q rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q5374806,P1196,c(Q1931388))
action filter_type
action find
entity Q5374806
relation P1196
type Q1931388
[ANSWER]
['Q5374806', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?q WHERE { resource:Q5374806 property:P1196 ?q . ?q rdf:type ontology:Q1931388 }
natural causes
natural causes
action filter_type
action find
entity Emrys Jones
relation manner of death
type cause of death
['Emrys Jones', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?q WHERE { resource:Emrys_Jones property:manner_of_death ?q . ?q rdf:type ontology:cause_of_death }
[]