Simple Question (Direct)
Simple Question
Q15938710
P734
Q82799
USER
Which name is associated with Wanyan Zongchao ?
(Q15938710,P734,c(Q82799))
action filter_type
action find
entity Q15938710
relation P734
type Q82799
['Q15938710', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?s WHERE { resource:Q15938710 property:P734 ?s . ?s rdf:type ontology:Q82799 }
Wanyan Zongchao
action filter_type
action find
entity Wanyan Zongchao
relation family name
type name
['Wanyan Zongchao', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?s WHERE { resource:Wanyan_Zongchao property:family_name ?s . ?s rdf:type ontology:name }
[]
name
Q1072149
SYSTEM
Wanyan
Q1072149
(Q15938710,P734,c(Q82799))
action filter_type
action find
entity Q15938710
relation P734
type Q82799
[ANSWER] is associated with [ANSWER] Zongchao
['Q15938710', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?s WHERE { resource:Q15938710 property:P734 ?s . ?s rdf:type ontology:Q82799 }
Wanyan
Wanyan is associated with Wanyan Zongchao
Wanyan
action filter_type
action find
entity Wanyan Zongchao
relation family name
type name
['Wanyan Zongchao', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?s WHERE { resource:Wanyan_Zongchao property:family_name ?s . ?s rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15938710
P25
Q502895
USER
Which person was the mother of that one ?
(Q1072149,P25,c(Q502895))
action filter_type
action find
entity Q15938710
relation P25
type Q502895
['Q1072149', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q15938710 property:P25 ?n . ?n rdf:type ontology:Q502895 }
Wanyan Zongchao
action filter_type
action find
entity Wanyan Zongchao
relation mother
type common name
['Wanyan', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Wanyan_Zongchao property:mother ?n . ?n rdf:type ontology:common_name }
[]
common name
Q8258706
SYSTEM
Empress Shengmu
Q8258706
(Q1072149,P25,c(Q502895))
action filter_type
action find
entity Q15938710
relation P25
type Q502895
[ANSWER] was the mother of that one
['Q1072149', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q15938710 property:P25 ?n . ?n rdf:type ontology:Q502895 }
Empress Shengmu
Empress Shengmu was the mother of that one
Empress Shengmu
action filter_type
action find
entity Wanyan Zongchao
relation mother
type common name
['Wanyan', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Wanyan_Zongchao property:mother ?n . ?n rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16165509 Q15938710
P22
Q502895
USER
Which people were the father of Wanyan Zongchao or Ablai-Taisha ?
OR((Q15938710,P22,c(Q502895)), (Q16165509,P22,c(Q502895)))
action filter_type
action union
action find
entity Q15938710
relation P22
action find
entity Q16165509
relation P22
type Q502895
{'OR': [['Q15938710', 'P22', {'concept': 'Q502895'}], ['Q16165509', 'P22', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q15938710 property:P22 ?y } UNION { resource:Q16165509 property:P22 ?y } } . ?y rdf:type ontology:Q502895 }
Ablai-Taisha Wanyan Zongchao
action filter_type
action union
action find
entity Wanyan Zongchao
relation father
action find
entity Ablai-Taisha
relation father
type common name
{'OR': [['Wanyan Zongchao', 'father', {'concept': 'common name'}], ['Ablai-Taisha', 'father', {'concept': 'common name'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Wanyan_Zongchao property:father ?y } UNION { resource:Ablai-Taisha property:father ?y } } . ?y rdf:type ontology:common_name }
[]
common name
Q16535152 Q5060
SYSTEM
Baibagas, Emperor Taizu of Jin
Q16535152 Q5060
OR((Q15938710,P22,c(Q502895)), (Q16165509,P22,c(Q502895)))
action filter_type
action union
action find
entity Q15938710
relation P22
action find
entity Q16165509
relation P22
type Q502895
[ANSWERS] were the father of Wanyan Zongchao or Ablai-Taisha
{'OR': [['Q15938710', 'P22', {'concept': 'Q502895'}], ['Q16165509', 'P22', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q15938710 property:P22 ?y } UNION { resource:Q16165509 property:P22 ?y } } . ?y rdf:type ontology:Q502895 }
Baibagas Emperor Taizu of Jin
Baibagas and Emperor Taizu of Jin were the father of Wanyan Zongchao or Ablai-Taisha
Baibagas Emperor Taizu of Jin
action filter_type
action union
action find
entity Wanyan Zongchao
relation father
action find
entity Ablai-Taisha
relation father
type common name
{'OR': [['Wanyan Zongchao', 'father', {'concept': 'common name'}], ['Ablai-Taisha', 'father', {'concept': 'common name'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Wanyan_Zongchao property:father ?y } UNION { resource:Ablai-Taisha property:father ?y } } . ?y rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q16535152 Q5060
P22
Q502895
USER
Who are the offspring of Baibagas and Emperor Taizu of Jin ?
(c(Q502895),P22,Q16535152) (c(Q502895),P22,Q5060)
action union
action filter_type
action find_reverse
entity Q16535152
relation P22
type Q502895
action filter_type
action find_reverse
entity Q5060
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q16535152'] [{'concept': 'Q502895'}, 'P22', 'Q5060']
SELECT DISTINCT ?s WHERE { { ?s rdf:type ontology:Q502895 . ?s property:P22 resource:Q16535152 } UNION { ?s rdf:type ontology:Q502895 . ?s property:P22 resource:Q5060 } }
Baibagas Emperor Taizu of Jin
action union
action filter_type
action find_reverse
entity Baibagas
relation father
type common name
action filter_type
action find_reverse
entity Emperor Taizu of Jin
relation father
type common name
[{'concept': 'common name'}, 'father', 'Baibagas'] [{'concept': 'common name'}, 'father', 'Emperor Taizu of Jin']
SELECT DISTINCT ?s WHERE { { ?s rdf:type ontology:common_name . ?s property:father resource:Baibagas } UNION { ?s rdf:type ontology:common_name . ?s property:father resource:Emperor_Taizu_of_Jin } }
[]
common name
Q2582969 Q8007723 Q8007620
SYSTEM
Wanyan Zonggan, Wanyan Zongyao, Wanyan Zongjun
Q167813 Q16165509 Q4340725 Q836741 Q2582969 Q16603382 Q16260828 Q16260900 Q15938710 Q15952928 Q613587 Q10947929 Q10947923 Q10947921 Q10947925 Q17010027 Q16260511 Q8007723 Q15956106 Q8007620
(c(Q502895),P22,Q16535152) (c(Q502895),P22,Q5060)
action union
action filter_type
action find_reverse
entity Q16535152
relation P22
type Q502895
action filter_type
action find_reverse
entity Q5060
relation P22
type Q502895
The offspring of Baibagas and Emperor Taizu of Jin are named [ANSWERS]
[{'concept': 'Q502895'}, 'P22', 'Q16535152'] [{'concept': 'Q502895'}, 'P22', 'Q5060']
SELECT DISTINCT ?s WHERE { { ?s rdf:type ontology:Q502895 . ?s property:P22 resource:Q16535152 } UNION { ?s rdf:type ontology:Q502895 . ?s property:P22 resource:Q5060 } }
Zaya Pandita Ablai-Taisha Ochirtu Khan Wuzhu Wanyan Zonggan Wanyan Wulu Wanyan Wohu Wanyan Xinilie Wanyan Zongchao Wanyan Eluduo Wanyan Zongwang Wanyan Zongjun Wanyan Zongjiang Wanyan Zongjie Wanyan Zongmin Wanyan Yansun Wanyan Ningji Wanyan Zongyao Wanyan Elu Wanyan Zongjun
The offspring of Baibagas and Emperor Taizu of Jin are named Wanyan Zonggan, Wanyan Zongyao and Wanyan Zongjun
Wanyan Zonggan Wanyan Zongyao Wanyan Zongjun
action union
action filter_type
action find_reverse
entity Baibagas
relation father
type common name
action filter_type
action find_reverse
entity Emperor Taizu of Jin
relation father
type common name
[{'concept': 'common name'}, 'father', 'Baibagas'] [{'concept': 'common name'}, 'father', 'Emperor Taizu of Jin']
SELECT DISTINCT ?s WHERE { { ?s rdf:type ontology:common_name . ?s property:father resource:Baibagas } UNION { ?s rdf:type ontology:common_name . ?s property:father resource:Emperor_Taizu_of_Jin } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2582969
P53
Q164950
USER
What is the dynasty that Wanyan Zonggan belongs to ?
(Q2582969,P53,c(Q164950))
action filter_type
action find
entity Q2582969
relation P53
type Q164950
['Q2582969', 'P53', {'concept': 'Q164950'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q164950 . resource:Q2582969 property:P53 ?b }
Wanyan Zonggan
action filter_type
action find
entity Wanyan Zonggan
relation noble family
type dynasty
['Wanyan Zonggan', 'noble family', {'concept': 'dynasty'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:dynasty . resource:Wanyan_Zonggan property:noble_family ?b }
[]
dynasty
Q5066
SYSTEM
Jin dynasty
Q5066
(Q2582969,P53,c(Q164950))
action filter_type
action find
entity Q2582969
relation P53
type Q164950
The dynasty that Wanyan Zonggan belongs to is the [ANSWER]
['Q2582969', 'P53', {'concept': 'Q164950'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q164950 . resource:Q2582969 property:P53 ?b }
Jin dynasty
The dynasty that Wanyan Zonggan belongs to is the Jin dynasty
Jin dynasty
action filter_type
action find
entity Wanyan Zonggan
relation noble family
type dynasty
['Wanyan Zonggan', 'noble family', {'concept': 'dynasty'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:dynasty . resource:Wanyan_Zonggan property:noble_family ?b }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15938710
P40
Q502895
USER
Whose child are Wanyan Zongchao ?
(c(Q502895),P40,Q15938710)
action filter_type
action find_reverse
entity Q15938710
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q15938710']
SELECT DISTINCT ?c WHERE { ?c property:P40 resource:Q15938710 . ?c rdf:type ontology:Q502895 }
Wanyan Zongchao
action filter_type
action find_reverse
entity Wanyan Zongchao
relation child
type common name
[{'concept': 'common name'}, 'child', 'Wanyan Zongchao']
SELECT DISTINCT ?c WHERE { ?c property:child resource:Wanyan_Zongchao . ?c rdf:type ontology:common_name }
[]
common name
Q8258706 Q5060
SYSTEM
Empress Shengmu, Emperor Taizu of Jin
Q8258706 Q5060
(c(Q502895),P40,Q15938710)
action filter_type
action find_reverse
entity Q15938710
relation P40
type Q502895
[ANSWERS] are Wanyan Zongchao
[{'concept': 'Q502895'}, 'P40', 'Q15938710']
SELECT DISTINCT ?c WHERE { ?c property:P40 resource:Q15938710 . ?c rdf:type ontology:Q502895 }
Empress Shengmu Emperor Taizu of Jin
Empress Shengmu and Emperor Taizu of Jin are Wanyan Zongchao
Empress Shengmu Emperor Taizu of Jin
action filter_type
action find_reverse
entity Wanyan Zongchao
relation child
type common name
[{'concept': 'common name'}, 'child', 'Wanyan Zongchao']
SELECT DISTINCT ?c WHERE { ?c property:child resource:Wanyan_Zongchao . ?c rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5060
P106
Q12737077
USER
Which occupation has Emperor Taizu of Jin as his/her 's career ?
(Q5060,P106,c(Q12737077))
action filter_type
action find
entity Q5060
relation P106
type Q12737077
['Q5060', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q5060 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
Emperor Taizu of Jin
action filter_type
action find
entity Emperor Taizu of Jin
relation occupation
type occupation
['Emperor Taizu of Jin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Emperor_Taizu_of_Jin property:occupation ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q273108
SYSTEM
condottiero
Q273108
(Q5060,P106,c(Q12737077))
action filter_type
action find
entity Q5060
relation P106
type Q12737077
[ANSWER] has Emperor Taizu of Jin as his/her 's career
['Q5060', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q5060 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
condottiero
Condottiero has Emperor Taizu of Jin as his/her 's career
condottiero
action filter_type
action find
entity Emperor Taizu of Jin
relation occupation
type occupation
['Emperor Taizu of Jin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Emperor_Taizu_of_Jin property:occupation ?d . ?d rdf:type ontology:occupation }
[]