Simple Question (Direct)
Simple Question
Q8549
P53
Q8436
USER
What is the family that Gegeen Khan belongs to ?
(Q8549,P53,c(Q8436))
action filter_type
action find
entity Q8549
relation P53
type Q8436
['Q8549', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?c WHERE { resource:Q8549 property:P53 ?c . ?c rdf:type ontology:Q8436 }
Gegeen Khan
action filter_type
action find
entity Gegeen Khan
relation noble family
type family
['Gegeen Khan', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?c WHERE { resource:Gegeen_Khan property:noble_family ?c . ?c rdf:type ontology:family }
[]
family
Q7313
SYSTEM
Yuan dynasty
Q7313
(Q8549,P53,c(Q8436))
action filter_type
action find
entity Q8549
relation P53
type Q8436
The family that Gegeen Khan belongs to is the [ANSWER]
['Q8549', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?c WHERE { resource:Q8549 property:P53 ?c . ?c rdf:type ontology:Q8436 }
Yuan dynasty
The family that Gegeen Khan belongs to is the Yuan dynasty
Yuan dynasty
action filter_type
action find
entity Gegeen Khan
relation noble family
type family
['Gegeen Khan', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?c WHERE { resource:Gegeen_Khan property:noble_family ?c . ?c rdf:type ontology:family }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8549
P9
Q502895
USER
Who has Gegeen Khan as thier sibling ?
(Q8549,P9,c(Q502895))
action filter_type
action find
entity Q8549
relation P9
type Q502895
['Q8549', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q8549 property:P9 ?l . ?l rdf:type ontology:Q502895 }
Gegeen Khan
action filter_type
action find
entity Gegeen Khan
relation sister
type common name
['Gegeen Khan', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Gegeen_Khan property:sister ?l . ?l rdf:type ontology:common_name }
[]
common name
Q19853940
SYSTEM
Princesse Kuokuolun
Q19853940
(Q8549,P9,c(Q502895))
action filter_type
action find
entity Q8549
relation P9
type Q502895
[ANSWER] has Gegeen Khan as thier sibling
['Q8549', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q8549 property:P9 ?l . ?l rdf:type ontology:Q502895 }
Princesse Kuokuolun
Princesse Kuokuolun has Gegeen Khan as thier sibling
Princesse Kuokuolun
action filter_type
action find
entity Gegeen Khan
relation sister
type common name
['Gegeen Khan', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Gegeen_Khan property:sister ?l . ?l rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4534876
Q502895
USER
And also tell me about Yury Ivanovich?
(Q4534876,P9,c(Q502895))
action filter_type
action find
entity Q4534876
relation P9
type Q502895
['Q4534876', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q4534876 property:P9 ?a }
Yury Ivanovich
action filter_type
action find
entity Yury Ivanovich
relation sister
type common name
['Yury Ivanovich', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:Yury_Ivanovich property:sister ?a }
[]
common name
Q265430
SYSTEM
Helena of Moscow
Q265430
(Q4534876,P9,c(Q502895))
action filter_type
action find
entity Q4534876
relation P9
type Q502895
[ANSWER]
['Q4534876', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q4534876 property:P9 ?a }
Helena of Moscow
Helena of Moscow
action filter_type
action find
entity Yury Ivanovich
relation sister
type common name
['Yury Ivanovich', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:Yury_Ivanovich property:sister ?a }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q265430
P25
Q502895
USER
Which person was the mother of that one ?
(Q265430,P25,c(Q502895))
action filter_type
action find
entity Q265430
relation P25
type Q502895
['Q265430', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . resource:Q265430 property:P25 ?u }
Helena of Moscow
action filter_type
action find
entity Helena of Moscow
relation mother
type common name
['Helena of Moscow', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . resource:Helena_of_Moscow property:mother ?u }
[]
common name
Q234944
SYSTEM
Sophia Palaiologina
Q234944
(Q265430,P25,c(Q502895))
action filter_type
action find
entity Q265430
relation P25
type Q502895
[ANSWER] was the mother of that one
['Q265430', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . resource:Q265430 property:P25 ?u }
Sophia Palaiologina
Sophia Palaiologina was the mother of that one
Sophia Palaiologina
action filter_type
action find
entity Helena of Moscow
relation mother
type common name
['Helena of Moscow', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . resource:Helena_of_Moscow property:mother ?u }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q234944 Q472427
P22
Q502895
USER
Was Thomas Palaiologos the father of Sophia Palaiologina ?
(Q234944,P22,Q472427)
action is_in
entity Q472427
action find
entity Q234944
relation P22
['Q234944', 'P22', 'Q472427']
ASK WHERE { resource:Q234944 property:P22 resource:Q472427 }
Sophia Palaiologina Thomas Palaiologos
action is_in
entity Thomas Palaiologos
action find
entity Sophia Palaiologina
relation father
['Sophia Palaiologina', 'father', 'Thomas Palaiologos']
ASK WHERE { resource:Sophia_Palaiologina property:father resource:Thomas_Palaiologos }
[]
common name
SYSTEM
YES
(Q234944,P22,Q472427)
action is_in
entity Q472427
action find
entity Q234944
relation P22
[ANSWER]
['Q234944', 'P22', 'Q472427']
ASK WHERE { resource:Q234944 property:P22 resource:Q472427 }
Yes
action is_in
entity Thomas Palaiologos
action find
entity Sophia Palaiologina
relation father
['Sophia Palaiologina', 'father', 'Thomas Palaiologos']
ASK WHERE { resource:Sophia_Palaiologina property:father resource:Thomas_Palaiologos }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q8333629 Q7313
P30
Q2221906
USER
Which geographic locations are Yuan dynasty or Hawkes Heights located in ?
OR((Q7313,P30,c(Q2221906)), (Q8333629,P30,c(Q2221906)))
action filter_type
action union
action find
entity Q7313
relation P30
action find
entity Q8333629
relation P30
type Q2221906
{'OR': [['Q7313', 'P30', {'concept': 'Q2221906'}], ['Q8333629', 'P30', {'concept': 'Q2221906'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q7313 property:P30 ?a } UNION { resource:Q8333629 property:P30 ?a } } . ?a rdf:type ontology:Q2221906 }
Hawkes Heights Yuan dynasty
action filter_type
action union
action find
entity Yuan dynasty
relation continent
action find
entity Hawkes Heights
relation continent
type geographic location
{'OR': [['Yuan dynasty', 'continent', {'concept': 'geographic location'}], ['Hawkes Heights', 'continent', {'concept': 'geographic location'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Yuan_dynasty property:continent ?a } UNION { resource:Hawkes_Heights property:continent ?a } } . ?a rdf:type ontology:geographic_location }
[]
geographic location
Q51 Q48
SYSTEM
Antarctica, Asia
Q51 Q48
OR((Q7313,P30,c(Q2221906)), (Q8333629,P30,c(Q2221906)))
action filter_type
action union
action find
entity Q7313
relation P30
action find
entity Q8333629
relation P30
type Q2221906
Yuan dynasty or Hawkes Heights are located in [ANSWERS]
{'OR': [['Q7313', 'P30', {'concept': 'Q2221906'}], ['Q8333629', 'P30', {'concept': 'Q2221906'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q7313 property:P30 ?a } UNION { resource:Q8333629 property:P30 ?a } } . ?a rdf:type ontology:Q2221906 }
Antarctica Asia
Yuan dynasty or Hawkes Heights are located in Antarctica and Asia
Antarctica Asia
action filter_type
action union
action find
entity Yuan dynasty
relation continent
action find
entity Hawkes Heights
relation continent
type geographic location
{'OR': [['Yuan dynasty', 'continent', {'concept': 'geographic location'}], ['Hawkes Heights', 'continent', {'concept': 'geographic location'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Yuan_dynasty property:continent ?a } UNION { resource:Hawkes_Heights property:continent ?a } } . ?a rdf:type ontology:geographic_location }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q8680
P30
Q3024240
USER
Are British Empire located in those geographic locations ?
(Q8680,P30,Q51) (Q8680,P30,Q48)
action is_in
entity prev_answer
action find
entity Q8680
relation P30
['Q8680', 'P30', 'Q51'] ['Q8680', 'P30', 'Q48']
ASK WHERE { VALUES ( ?l ) { ( resource:Q51 ) ( resource:Q48 ) } . resource:Q8680 property:P30 ?l }
British Empire
action is_in
entity prev_answer
action find
entity British Empire
relation continent
['British Empire', 'continent', 'Antarctica'] ['British Empire', 'continent', 'Asia']
ASK WHERE { VALUES ( ?l ) { ( resource:Antarctica ) ( resource:Asia ) } . resource:British_Empire property:continent ?l }
[]
former country
SYSTEM
YES
(Q8680,P30,Q51) (Q8680,P30,Q48)
action is_in
entity prev_answer
action find
entity Q8680
relation P30
[ANSWER]
['Q8680', 'P30', 'Q51'] ['Q8680', 'P30', 'Q48']
ASK WHERE { VALUES ( ?l ) { ( resource:Q51 ) ( resource:Q48 ) } . resource:Q8680 property:P30 ?l }
Yes
action is_in
entity prev_answer
action find
entity British Empire
relation continent
['British Empire', 'continent', 'Antarctica'] ['British Empire', 'continent', 'Asia']
ASK WHERE { VALUES ( ?l ) { ( resource:Antarctica ) ( resource:Asia ) } . resource:British_Empire property:continent ?l }
[]