Simple Question (Direct)
Simple Question
Q8022065
P9
Q502895
USER
Which people are the sisters of Mianyu ?
(Q8022065,P9,c(Q502895))
action filter_type
action find
entity Q8022065
relation P9
type Q502895
['Q8022065', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q8022065 property:P9 ?l . ?l rdf:type ontology:Q502895 }
Mianyu
action filter_type
action find
entity Mianyu
relation sister
type common name
['Mianyu', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Mianyu property:sister ?l . ?l rdf:type ontology:common_name }
[]
common name
Q8114291 Q8114082 Q8114691
SYSTEM
Kurun Princess Zhuangjing, Chuang-ching, Kurun Princess Huimin
Q8114691 Q8114291 Q8114528 Q8114082
(Q8022065,P9,c(Q502895))
action filter_type
action find
entity Q8022065
relation P9
type Q502895
[ANSWERS] are the sisters of Mianyu
['Q8022065', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q8022065 property:P9 ?l . ?l rdf:type ontology:Q502895 }
Kurun Princess Huimin Kurun Princess Zhuangjing Princess Hui'an Chuang-ching
Kurun Princess Zhuangjing, Chuang-ching and Kurun Princess Huimin are the sisters of Mianyu
Kurun Princess Zhuangjing Chuang-ching Kurun Princess Huimin
action filter_type
action find
entity Mianyu
relation sister
type common name
['Mianyu', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Mianyu property:sister ?l . ?l rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8114291
P22
Q502895
USER
Which male person has a child named Kurun Princess Zhuangjing ?
(Q8114291,P22,c(Q502895))
action filter_type
action find
entity Q8114291
relation P22
type Q502895
['Q8114291', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q8114291 property:P22 ?f . ?f rdf:type ontology:Q502895 }
Kurun Princess Zhuangjing
action filter_type
action find
entity Kurun Princess Zhuangjing
relation father
type common name
['Kurun Princess Zhuangjing', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Kurun_Princess_Zhuangjing property:father ?f . ?f rdf:type ontology:common_name }
[]
common name
Q333178
SYSTEM
Jiaqing Emperor
Q333178
(Q8114291,P22,c(Q502895))
action filter_type
action find
entity Q8114291
relation P22
type Q502895
Emperor [ANSWER] has a child named Kurun Princess Zhuangjing
['Q8114291', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q8114291 property:P22 ?f . ?f rdf:type ontology:Q502895 }
Jiaqing Emperor
Emperor Jiaqing Emperor has a child named Kurun Princess Zhuangjing
Jiaqing Emperor
action filter_type
action find
entity Kurun Princess Zhuangjing
relation father
type common name
['Kurun Princess Zhuangjing', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Kurun_Princess_Zhuangjing property:father ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q333178
P106
Q12737077
USER
What is the job of that person ?
(Q333178,P106,c(Q12737077))
action filter_type
action find
entity Q333178
relation P106
type Q12737077
['Q333178', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q333178 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
Jiaqing Emperor
action filter_type
action find
entity Jiaqing Emperor
relation occupation
type occupation
['Jiaqing Emperor', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Jiaqing_Emperor property:occupation ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q333178,P106,c(Q12737077))
action filter_type
action find
entity Q333178
relation P106
type Q12737077
The job of that person is a [ANSWER]
['Q333178', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q333178 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
politician
The job of that person is a politician
politician
action filter_type
action find
entity Jiaqing Emperor
relation occupation
type occupation
['Jiaqing Emperor', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Jiaqing_Emperor property:occupation ?k . ?k rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q333178
P7
Q502895
USER
Who are that one a brother of ?
(c(Q502895),P7,Q82955)
action filter_type
action find_reverse
entity Q333178
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q82955']
SELECT DISTINCT ?k WHERE { ?k property:P7 resource:Q333178 . ?k rdf:type ontology:Q502895 }
Jiaqing Emperor
action filter_type
action find_reverse
entity Jiaqing Emperor
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'politician']
SELECT DISTINCT ?k WHERE { ?k property:brother resource:Jiaqing_Emperor . ?k rdf:type ontology:common_name }
[]
common name
Q1021962 Q7901429 Q7821688
SYSTEM
Yongqi, Yonglin, Yongrong
Q7824142 Q7824503 Q8003640 Q7901317 Q8004407 Q7823711 Q7813500 Q7822221 Q7822603 Q8003781 Q7901993 Q7814011 Q1021962 Q17362575 Q8004217 Q7901032 Q7823137 Q7824775 Q7478741 Q7814257 Q6447443 Q7771969 Q7901429 Q7814474 Q7901795 Q7720969 Q7821688
(c(Q502895),P7,Q82955)
action filter_type
action find_reverse
entity Q333178
relation P7
type Q502895
That one a brother of are in [ANSWERS]
[{'concept': 'Q502895'}, 'P7', 'Q82955']
SELECT DISTINCT ?k WHERE { ?k property:P7 resource:Q333178 . ?k rdf:type ontology:Q502895 }
Yong Xing Yongji fifth daughter of Qianlong sixteenth son of Qianlong Heshuo Princess Heke tenth son of Qianlong Yonghuang Yongcong Yong Xuan sixth daughter of Qianlong Kurun Princess Hejing Yonglian Yongqi eldest daughter of Qianlong eighth daughter of Qianlong Yonglu ninth son of Qianlong Yongjing Kurun Princess Hejing Yongzhang Kurun Princess Hexiao Heshuo Princess Hejia Yonglin Yong Cheng second daughter of Qianlong Heshuo Princess Hewan Yongrong
That one a brother of are in Yongqi, Yonglin and Yongrong
Yongqi Yonglin Yongrong
action filter_type
action find_reverse
entity Jiaqing Emperor
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'politician']
SELECT DISTINCT ?k WHERE { ?k property:brother resource:Jiaqing_Emperor . ?k rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1021962
P40
Q502895
USER
Which person is a successor of Yongqi ?
(Q1021962,P40,c(Q502895))
action filter_type
action find
entity Q1021962
relation P40
type Q502895
['Q1021962', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q1021962 property:P40 ?p . ?p rdf:type ontology:Q502895 }
Yongqi
action filter_type
action find
entity Yongqi
relation child
type common name
['Yongqi', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Yongqi property:child ?p . ?p rdf:type ontology:common_name }
[]
common name
Q7815130
SYSTEM
Miên Ức
Q7815130
(Q1021962,P40,c(Q502895))
action filter_type
action find
entity Q1021962
relation P40
type Q502895
[ANSWER] is a successor of Yongqi
['Q1021962', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q1021962 property:P40 ?p . ?p rdf:type ontology:Q502895 }
Miên Ức
Miên Ức is a successor of Yongqi
Miên Ức
action filter_type
action find
entity Yongqi
relation child
type common name
['Yongqi', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Yongqi property:child ?p . ?p rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8114291
P26
Q502895
USER
Which person is the life partner of Kurun Princess Zhuangjing ?
(c(Q502895),P26,Q8114291)
action filter_type
action find
entity Q8114291
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q8114291']
SELECT DISTINCT ?r WHERE { resource:Q8114291 property:P26 ?r . ?r rdf:type ontology:Q502895 }
Kurun Princess Zhuangjing
action filter_type
action find
entity Kurun Princess Zhuangjing
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Kurun Princess Zhuangjing']
SELECT DISTINCT ?r WHERE { resource:Kurun_Princess_Zhuangjing property:spouse ?r . ?r rdf:type ontology:common_name }
[]
common name
Q8114405
SYSTEM
Manibadala
Q8114405
(c(Q502895),P26,Q8114291)
action filter_type
action find
entity Q8114291
relation P26
type Q502895
[ANSWER] is the life partner of Kurun Princess Zhuangjing
[{'concept': 'Q502895'}, 'P26', 'Q8114291']
SELECT DISTINCT ?r WHERE { resource:Q8114291 property:P26 ?r . ?r rdf:type ontology:Q502895 }
Manibadala
Manibadala is the life partner of Kurun Princess Zhuangjing
Manibadala
action filter_type
action find
entity Kurun Princess Zhuangjing
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Kurun Princess Zhuangjing']
SELECT DISTINCT ?r WHERE { resource:Kurun_Princess_Zhuangjing property:spouse ?r . ?r rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8114291
P25
Q502895
USER
Who was the mom of Kurun Princess Zhuangjing ?
(Q8114291,P25,c(Q502895))
action filter_type
action find
entity Q8114291
relation P25
type Q502895
['Q8114291', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q8114291 property:P25 ?g . ?g rdf:type ontology:Q502895 }
Kurun Princess Zhuangjing
action filter_type
action find
entity Kurun Princess Zhuangjing
relation mother
type common name
['Kurun Princess Zhuangjing', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Kurun_Princess_Zhuangjing property:mother ?g . ?g rdf:type ontology:common_name }
[]
common name
Q1044463
SYSTEM
Empress Xiaoshurui
Q1044463
(Q8114291,P25,c(Q502895))
action filter_type
action find
entity Q8114291
relation P25
type Q502895
The mom of Kurun Princess Zhuangjing was the [ANSWER]
['Q8114291', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q8114291 property:P25 ?g . ?g rdf:type ontology:Q502895 }
Empress Xiaoshurui
The mom of Kurun Princess Zhuangjing was the Empress Xiaoshurui
Empress Xiaoshurui
action filter_type
action find
entity Kurun Princess Zhuangjing
relation mother
type common name
['Kurun Princess Zhuangjing', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Kurun_Princess_Zhuangjing property:mother ?g . ?g rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q296863
Q502895
USER
And how about Ferdinand I of León and Castile?
(Q296863,P25,c(Q502895))
action filter_type
action find
entity Q296863
relation P25
type Q502895
['Q296863', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q296863 property:P25 ?u . ?u rdf:type ontology:Q502895 }
Ferdinand I of León and Castile
action filter_type
action find
entity Ferdinand I of León and Castile
relation mother
type common name
['Ferdinand I of León and Castile', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Ferdinand_I_of_León_and_Castile property:mother ?u . ?u rdf:type ontology:common_name }
[]
common name
Q260831
SYSTEM
Mayor of Castile
Q260831
(Q296863,P25,c(Q502895))
action filter_type
action find
entity Q296863
relation P25
type Q502895
[ANSWER]
['Q296863', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q296863 property:P25 ?u . ?u rdf:type ontology:Q502895 }
Mayor of Castile
Mayor of Castile
action filter_type
action find
entity Ferdinand I of León and Castile
relation mother
type common name
['Ferdinand I of León and Castile', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Ferdinand_I_of_León_and_Castile property:mother ?u . ?u rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5043327 Q8114405
P26
Q502895
USER
Which people are the spouse of Manibadala or Carmel Tebbutt ?
OR((c(Q502895),P26,Q8114405), (c(Q502895),P26,Q5043327))
action filter_type
action union
action find_reverse
entity Q8114405
relation P26
action find_reverse
entity Q5043327
relation P26
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P26', 'Q8114405'], [{'concept': 'Q502895'}, 'P26', 'Q5043327']]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . { VALUES ( ?q ) { ( resource:Q5043327 ) ( resource:Q8114405 ) } . ?b property:P26 ?q } }
Carmel Tebbutt Manibadala
action filter_type
action union
action find_reverse
entity Manibadala
relation spouse
action find_reverse
entity Carmel Tebbutt
relation spouse
type common name
{'OR': [[{'concept': 'common name'}, 'spouse', 'Manibadala'], [{'concept': 'common name'}, 'spouse', 'Carmel Tebbutt']]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . { VALUES ( ?q ) { ( resource:Carmel_Tebbutt ) ( resource:Manibadala ) } . ?b property:spouse ?q } }
[]
common name
Q8114291 Q335697
SYSTEM
Kurun Princess Zhuangjing, Anthony Albanese
Q8114291 Q335697
OR((c(Q502895),P26,Q8114405), (c(Q502895),P26,Q5043327))
action filter_type
action union
action find_reverse
entity Q8114405
relation P26
action find_reverse
entity Q5043327
relation P26
type Q502895
[ANSWERS] are the spouse of Manibadala or Carmel Tebbutt
{'OR': [[{'concept': 'Q502895'}, 'P26', 'Q8114405'], [{'concept': 'Q502895'}, 'P26', 'Q5043327']]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . { VALUES ( ?q ) { ( resource:Q5043327 ) ( resource:Q8114405 ) } . ?b property:P26 ?q } }
Kurun Princess Zhuangjing Anthony Albanese
Kurun Princess Zhuangjing and Anthony Albanese are the spouse of Manibadala or Carmel Tebbutt
Kurun Princess Zhuangjing Anthony Albanese
action filter_type
action union
action find_reverse
entity Manibadala
relation spouse
action find_reverse
entity Carmel Tebbutt
relation spouse
type common name
{'OR': [[{'concept': 'common name'}, 'spouse', 'Manibadala'], [{'concept': 'common name'}, 'spouse', 'Carmel Tebbutt']]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . { VALUES ( ?q ) { ( resource:Carmel_Tebbutt ) ( resource:Manibadala ) } . ?b property:spouse ?q } }
[]