Simple Question (Direct)
Simple Question
Q5076
P9
Q502895
USER
Who are Wanyan Yongji a sibling of ?
(Q5076,P9,c(Q502895))
action filter_type
action find
entity Q5076
relation P9
type Q502895
['Q5076', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q5076 property:P9 ?s . ?s rdf:type ontology:Q502895 }
Wanyan Yongji
action filter_type
action find
entity Wanyan Yongji
relation sister
type common name
['Wanyan Yongji', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Wanyan_Yongji property:sister ?s . ?s rdf:type ontology:common_name }
[]
common name
Q15941130 Q16603440
SYSTEM
Wanyan Changle, Princess Caoguo
Q15941130 Q16603440
(Q5076,P9,c(Q502895))
action filter_type
action find
entity Q5076
relation P9
type Q502895
Wanyan Yongji a sibling of are Prince [ANSWERS]
['Q5076', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q5076 property:P9 ?s . ?s rdf:type ontology:Q502895 }
Wanyan Changle Princess Caoguo
Wanyan Yongji a sibling of are Prince Wanyan Changle and Princess Caoguo
Wanyan Changle Princess Caoguo
action filter_type
action find
entity Wanyan Yongji
relation sister
type common name
['Wanyan Yongji', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Wanyan_Yongji property:sister ?s . ?s rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q15941130 Q16603440
P40
Q502895
USER
Who have Wanyan Changle and Princess Caoguo as a child ?
(c(Q502895),P40,Q15941130) (c(Q502895),P40,Q16603440)
action union
action filter_type
action find_reverse
entity Q15941130
relation P40
type Q502895
action filter_type
action find_reverse
entity Q16603440
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q15941130'] [{'concept': 'Q502895'}, 'P40', 'Q16603440']
SELECT DISTINCT ?f WHERE { { ?f property:P40 resource:Q15941130 . ?f rdf:type ontology:Q502895 } UNION { ?f property:P40 resource:Q16603440 . ?f rdf:type ontology:Q502895 } }
Wanyan Changle Princess Caoguo
action union
action filter_type
action find_reverse
entity Wanyan Changle
relation child
type common name
action filter_type
action find_reverse
entity Princess Caoguo
relation child
type common name
[{'concept': 'common name'}, 'child', 'Wanyan Changle'] [{'concept': 'common name'}, 'child', 'Princess Caoguo']
SELECT DISTINCT ?f WHERE { { ?f property:child resource:Wanyan_Changle . ?f rdf:type ontology:common_name } UNION { ?f property:child resource:Princess_Caoguo . ?f rdf:type ontology:common_name } }
[]
common name
Q7066719 Q5073 Q5073
SYSTEM
Lady Li for 1st, Emperor Shizong of Jin for 2nd, 3rd
Q7066719 Q5073 Q5073
(c(Q502895),P40,Q15941130) (c(Q502895),P40,Q16603440)
action union
action filter_type
action find_reverse
entity Q15941130
relation P40
type Q502895
action filter_type
action find_reverse
entity Q16603440
relation P40
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P40', 'Q15941130'] [{'concept': 'Q502895'}, 'P40', 'Q16603440']
SELECT DISTINCT ?f WHERE { { ?f property:P40 resource:Q15941130 . ?f rdf:type ontology:Q502895 } UNION { ?f property:P40 resource:Q16603440 . ?f rdf:type ontology:Q502895 } }
Lady Li Emperor Shizong of Jin Emperor Shizong of Jin
Lady Li, Emperor Shizong of Jin and Emperor Shizong of Jin have Wanyan Changle and Princess Caoguo as a child
Lady Li Emperor Shizong of Jin Emperor Shizong of Jin
action union
action filter_type
action find_reverse
entity Wanyan Changle
relation child
type common name
action filter_type
action find_reverse
entity Princess Caoguo
relation child
type common name
[{'concept': 'common name'}, 'child', 'Wanyan Changle'] [{'concept': 'common name'}, 'child', 'Princess Caoguo']
SELECT DISTINCT ?f WHERE { { ?f property:child resource:Wanyan_Changle . ?f rdf:type ontology:common_name } UNION { ?f property:child resource:Princess_Caoguo . ?f rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5073
P22
Q502895
USER
Which people have Emperor Shizong of Jin as a parent ?
(c(Q502895),P22,Q5073)
action filter_type
action find_reverse
entity Q5073
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q5073']
SELECT DISTINCT ?s WHERE { ?s property:P22 resource:Q5073 . ?s rdf:type ontology:Q502895 }
Emperor Shizong of Jin
action filter_type
action find_reverse
entity Emperor Shizong of Jin
relation father
type common name
[{'concept': 'common name'}, 'father', 'Emperor Shizong of Jin']
SELECT DISTINCT ?s WHERE { ?s property:father resource:Emperor_Shizong_of_Jin . ?s rdf:type ontology:common_name }
[]
common name
Q10768878 Q5076 Q15941130
SYSTEM
Wanyan Yungong, Wanyan Yongji, Wanyan Changle
Q5076 Q10766509 Q16603440 Q16075354 Q15941130 Q10947940 Q10947941 Q15900906 Q15942989 Q16075334 Q10947942 Q10768878
(c(Q502895),P22,Q5073)
action filter_type
action find_reverse
entity Q5073
relation P22
type Q502895
[ANSWERS] have Emperor Shizong of Jin as a parent
[{'concept': 'Q502895'}, 'P22', 'Q5073']
SELECT DISTINCT ?s WHERE { ?s property:P22 resource:Q5073 . ?s rdf:type ontology:Q502895 }
Wanyan Yongji Wanyan Yongzhong Princess Caoguo Wanyan Yongde Wanyan Changle Wanyan Yonggong Wanyan Yongcheng Wanyan Shunian Wanyan Xielu Wanyan Yongsheng Wanyan Yongdao Wanyan Yungong
Wanyan Yungong, Wanyan Yongji and Wanyan Changle have Emperor Shizong of Jin as a parent
Wanyan Yungong Wanyan Yongji Wanyan Changle
action filter_type
action find_reverse
entity Emperor Shizong of Jin
relation father
type common name
[{'concept': 'common name'}, 'father', 'Emperor Shizong of Jin']
SELECT DISTINCT ?s WHERE { ?s property:father resource:Emperor_Shizong_of_Jin . ?s rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5076
P53
Q164950
USER
What dynasty does Wanyan Yongji belong to ?
(Q5076,P53,c(Q164950))
action filter_type
action find
entity Q5076
relation P53
type Q164950
['Q5076', 'P53', {'concept': 'Q164950'}]
SELECT DISTINCT ?q WHERE { resource:Q5076 property:P53 ?q . ?q rdf:type ontology:Q164950 }
Wanyan Yongji
action filter_type
action find
entity Wanyan Yongji
relation noble family
type dynasty
['Wanyan Yongji', 'noble family', {'concept': 'dynasty'}]
SELECT DISTINCT ?q WHERE { resource:Wanyan_Yongji property:noble_family ?q . ?q rdf:type ontology:dynasty }
[]
dynasty
Q5066
SYSTEM
Jin dynasty
Q5066
(Q5076,P53,c(Q164950))
action filter_type
action find
entity Q5076
relation P53
type Q164950
Wanyan Yongji belongs to [ANSWER]
['Q5076', 'P53', {'concept': 'Q164950'}]
SELECT DISTINCT ?q WHERE { resource:Q5076 property:P53 ?q . ?q rdf:type ontology:Q164950 }
Jin dynasty
Wanyan Yongji belongs to Jin dynasty
Jin dynasty
action filter_type
action find
entity Wanyan Yongji
relation noble family
type dynasty
['Wanyan Yongji', 'noble family', {'concept': 'dynasty'}]
SELECT DISTINCT ?q WHERE { resource:Wanyan_Yongji property:noble_family ?q . ?q rdf:type ontology:dynasty }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10768878
P7
Q502895
USER
Which people have Wanyan Yungong as their brother ?
(c(Q502895),P7,Q10768878)
action filter_type
action find_reverse
entity Q10768878
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q10768878']
SELECT DISTINCT ?f WHERE { ?f property:P7 resource:Q10768878 . ?f rdf:type ontology:Q502895 }
Wanyan Yungong
action filter_type
action find_reverse
entity Wanyan Yungong
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Wanyan Yungong']
SELECT DISTINCT ?f WHERE { ?f property:brother resource:Wanyan_Yungong . ?f rdf:type ontology:common_name }
[]
common name
Q5076 Q15941130 Q16075354
SYSTEM
Wanyan Yongji, Wanyan Changle, Wanyan Yongde
Q5076 Q10766509 Q16603440 Q16075354 Q15941130 Q10947940 Q10947941 Q15900906 Q15942989 Q16075334 Q10947942
(c(Q502895),P7,Q10768878)
action filter_type
action find_reverse
entity Q10768878
relation P7
type Q502895
[ANSWERS] have Wanyan Yungong as their brother
[{'concept': 'Q502895'}, 'P7', 'Q10768878']
SELECT DISTINCT ?f WHERE { ?f property:P7 resource:Q10768878 . ?f rdf:type ontology:Q502895 }
Wanyan Yongji Wanyan Yongzhong Princess Caoguo Wanyan Yongde Wanyan Changle Wanyan Yonggong Wanyan Yongcheng Wanyan Shunian Wanyan Xielu Wanyan Yongsheng Wanyan Yongdao
Wanyan Yongji, Wanyan Changle and Wanyan Yongde have Wanyan Yungong as their brother
Wanyan Yongji Wanyan Changle Wanyan Yongde
action filter_type
action find_reverse
entity Wanyan Yungong
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Wanyan Yungong']
SELECT DISTINCT ?f WHERE { ?f property:brother resource:Wanyan_Yungong . ?f rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q5076 Q15941130 Q16075354
P7
Q502895
USER
Who have those ones as their brother ?
(Q5076,P7,c(Q502895)) (Q15941130,P7,c(Q502895)) (Q16075354,P7,c(Q502895))
action filter_type
action find
entity prev_answer
relation P7
type Q502895
['Q5076', 'P7', {'concept': 'Q502895'}] ['Q15941130', 'P7', {'concept': 'Q502895'}] ['Q16075354', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { ?o property:P7 ?i . ?i rdf:type ontology:Q502895 . VALUES ( ?o ) { ( resource:Q5076 ) ( resource:Q10766509 ) ( resource:Q16603440 ) } }
Wanyan Yongji Wanyan Changle Wanyan Yongde
action filter_type
action find
entity prev_answer
relation brother
type common name
['Wanyan Yongji', 'brother', {'concept': 'common name'}] ['Wanyan Changle', 'brother', {'concept': 'common name'}] ['Wanyan Yongde', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { ?o property:brother ?i . ?i rdf:type ontology:common_name . VALUES ( ?o ) { ( resource:Wanyan_Yongji ) ( resource:Wanyan_Yongzhong ) ( resource:Princess_Caoguo ) } }
[]
common name
Q10768878 Q10768878 Q10768878
SYSTEM
Wanyan Yungong
Q10766509 Q16075354 Q10947940 Q10947941 Q10947942 Q15942989 Q15900906 Q16075334 Q10768878 Q5076 Q10766509 Q16075334 Q10947940 Q10947941 Q15900906 Q15942989 Q10947942 Q16075354 Q10768878 Q5076 Q10766509 Q16075334 Q10947940 Q10947941 Q15900906 Q15942989 Q10947942 Q10768878
(Q5076,P7,c(Q502895)) (Q15941130,P7,c(Q502895)) (Q16075354,P7,c(Q502895))
action filter_type
action find
entity prev_answer
relation P7
type Q502895
[ANSWER], [ANSWER] and [ANSWER] have those ones as their brother
['Q5076', 'P7', {'concept': 'Q502895'}] ['Q15941130', 'P7', {'concept': 'Q502895'}] ['Q16075354', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { ?o property:P7 ?i . ?i rdf:type ontology:Q502895 . VALUES ( ?o ) { ( resource:Q5076 ) ( resource:Q10766509 ) ( resource:Q16603440 ) } }
Wanyan Yongzhong Wanyan Yongde Wanyan Yonggong Wanyan Yongcheng Wanyan Yongdao Wanyan Xielu Wanyan Shunian Wanyan Yongsheng Wanyan Yungong Wanyan Yongji Wanyan Yongzhong Wanyan Yongsheng Wanyan Yonggong Wanyan Yongcheng Wanyan Shunian Wanyan Xielu Wanyan Yongdao Wanyan Yongde Wanyan Yungong Wanyan Yongji Wanyan Yongzhong Wanyan Yongsheng Wanyan Yonggong Wanyan Yongcheng Wanyan Shunian Wanyan Xielu Wanyan Yongdao Wanyan Yungong
Wanyan Yungong, Wanyan Yungong and Wanyan Yungong have those ones as their brother
Wanyan Yungong Wanyan Yungong Wanyan Yungong
action filter_type
action find
entity prev_answer
relation brother
type common name
['Wanyan Yongji', 'brother', {'concept': 'common name'}] ['Wanyan Changle', 'brother', {'concept': 'common name'}] ['Wanyan Yongde', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { ?o property:brother ?i . ?i rdf:type ontology:common_name . VALUES ( ?o ) { ( resource:Wanyan_Yongji ) ( resource:Wanyan_Yongzhong ) ( resource:Princess_Caoguo ) } }
[]