Simple Question (Direct)
Simple Question
Q350002
P26
Q502895
USER
Who is married to Charles Le Hon ?
(Q350002,P26,c(Q502895))
action filter_type
action find
entity Q350002
relation P26
type Q502895
['Q350002', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . resource:Q350002 property:P26 ?u }
Charles Le Hon
action filter_type
action find
entity Charles Le Hon
relation spouse
type common name
['Charles Le Hon', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . resource:Charles_Le_Hon property:spouse ?u }
[]
common name
Q2072661
SYSTEM
Fanny Mosselman
Q2072661
(Q350002,P26,c(Q502895))
action filter_type
action find
entity Q350002
relation P26
type Q502895
[ANSWER] is married to Charles Le Hon
['Q350002', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . resource:Q350002 property:P26 ?u }
Fanny Mosselman
Fanny Mosselman is married to Charles Le Hon
Fanny Mosselman
action filter_type
action find
entity Charles Le Hon
relation spouse
type common name
['Charles Le Hon', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . resource:Charles_Le_Hon property:spouse ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2072661
P7
Q502895
USER
Who has that one as their brother ?
(Q2072661,P7,c(Q502895))
action filter_type
action find
entity Q2072661
relation P7
type Q502895
['Q2072661', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q2072661 property:P7 ?a . ?a rdf:type ontology:Q502895 }
Fanny Mosselman
action filter_type
action find
entity Fanny Mosselman
relation brother
type common name
['Fanny Mosselman', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Fanny_Mosselman property:brother ?a . ?a rdf:type ontology:common_name }
[]
common name
Q1869372
SYSTEM
Alfred Mosselman
Q1869372
(Q2072661,P7,c(Q502895))
action filter_type
action find
entity Q2072661
relation P7
type Q502895
[ANSWER] has that one as their brother
['Q2072661', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q2072661 property:P7 ?a . ?a rdf:type ontology:Q502895 }
Alfred Mosselman
Alfred Mosselman has that one as their brother
Alfred Mosselman
action filter_type
action find
entity Fanny Mosselman
relation brother
type common name
['Fanny Mosselman', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Fanny_Mosselman property:brother ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16075348
Q502895
USER
And what about Zhao Gong?
(Q16075348,P7,c(Q502895))
action filter_type
action find
entity Q16075348
relation P7
type Q502895
['Q16075348', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q16075348 property:P7 ?s . ?s rdf:type ontology:Q502895 }
Zhao Gong
action filter_type
action find
entity Zhao Gong
relation brother
type common name
['Zhao Gong', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Zhao_Gong property:brother ?s . ?s rdf:type ontology:common_name }
[]
common name
Q7489 Q7488 Q16078407
SYSTEM
Emperor Gaozong of Song, Emperor Qinzong of Song, Zhao Yi
Q16075388 Q16075415 Q16077916 Q7489 Q7488 Q16078792 Q16078407 Q16075402 Q16075373 Q15953734 Q16075377 Q16075356 Q16075410 Q15926392 Q16075331 Q16075330 Q16075318 Q15927754 Q16075392 Q16077821 Q16078299 Q16075370 Q16078102 Q16075283 Q16075365 Q16075362 Q16075284 Q16075321 Q16075344 Q16075369 Q16075403 Q16075341 Q16075307 Q16075407
(Q16075348,P7,c(Q502895))
action filter_type
action find
entity Q16075348
relation P7
type Q502895
[ANSWERS]
['Q16075348', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q16075348 property:P7 ?s . ?s rdf:type ontology:Q502895 }
Zhao Yang Zhao Tong Zhao Ji Emperor Gaozong of Song Emperor Qinzong of Song Zhao Dong Zhao Yi Zhao Yu Zhao Mu Zhao Shu Zhao Yue Zhao Xiang Zhao Si Zhao Zhen Zhao Xu Zhao Bing Zhao E Zhao Kai Zhao Tan Zhao Zhu Zhao Jian Zhao Ji Zhao Qi Zhao Cheng Zhao Shi Zhao Ji Zhao Pu Zhao Wo Zhao Cai Zhao Chan Zhao Chun Zhao Cong Zhao Di Zhao Zhi
Emperor Gaozong of Song Emperor Qinzong of Song Zhao Yi
action filter_type
action find
entity Zhao Gong
relation brother
type common name
['Zhao Gong', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Zhao_Gong property:brother ?s . ?s rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q16603589
P7
Q502895
USER
Do Princess Fujin have those ones as their brother ?
(Q16603589,P7,Q7489) (Q16603589,P7,Q7488) (Q16603589,P7,Q16078407)
action is_in
entity prev_answer
action find
entity Q16603589
relation P7
['Q16603589', 'P7', 'Q7489'] ['Q16603589', 'P7', 'Q7488'] ['Q16603589', 'P7', 'Q16078407']
ASK WHERE { VALUES ( ?v ) { ( resource:Q16075388 ) ( resource:Q16075415 ) ( resource:Q16077916 ) } . resource:Q16603589 property:P7 ?v }
Princess Fujin
action is_in
entity prev_answer
action find
entity Princess Fujin
relation brother
['Princess Fujin', 'brother', 'Emperor Gaozong of Song'] ['Princess Fujin', 'brother', 'Emperor Qinzong of Song'] ['Princess Fujin', 'brother', 'Zhao Yi']
ASK WHERE { VALUES ( ?v ) { ( resource:Zhao_Yang ) ( resource:Zhao_Tong ) ( resource:Zhao_Ji ) } . resource:Princess_Fujin property:brother ?v }
[]
common name
SYSTEM
YES
(Q16603589,P7,Q7489) (Q16603589,P7,Q7488) (Q16603589,P7,Q16078407)
action is_in
entity prev_answer
action find
entity Q16603589
relation P7
[ANSWER]
['Q16603589', 'P7', 'Q7489'] ['Q16603589', 'P7', 'Q7488'] ['Q16603589', 'P7', 'Q16078407']
ASK WHERE { VALUES ( ?v ) { ( resource:Q16075388 ) ( resource:Q16075415 ) ( resource:Q16077916 ) } . resource:Q16603589 property:P7 ?v }
Yes
action is_in
entity prev_answer
action find
entity Princess Fujin
relation brother
['Princess Fujin', 'brother', 'Emperor Gaozong of Song'] ['Princess Fujin', 'brother', 'Emperor Qinzong of Song'] ['Princess Fujin', 'brother', 'Zhao Yi']
ASK WHERE { VALUES ( ?v ) { ( resource:Zhao_Yang ) ( resource:Zhao_Tong ) ( resource:Zhao_Ji ) } . resource:Princess_Fujin property:brother ?v }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q7489
P7
Q502895
USER
How many people have Emperor Gaozong of Song as their brother ?
(Q7489,P7,c(Q502895))
action count
action filter_type
action find
entity Q7489
relation P7
type Q502895
['Q7489', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { resource:Q7489 property:P7 ?b . ?b rdf:type ontology:Q502895 }
Emperor Gaozong of Song
action count
action filter_type
action find
entity Emperor Gaozong of Song
relation brother
type common name
['Emperor Gaozong of Song', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { resource:Emperor_Gaozong_of_Song property:brother ?b . ?b rdf:type ontology:common_name }
[]
common name
SYSTEM
34
Q16075388 Q16075415 Q16075402 Q7488 Q16078792 Q16078407 Q15926392 Q16075373 Q15953734 Q16075377 Q16075356 Q16075410 Q16075331 Q16075330 Q16075318 Q16077916 Q15927754 Q16075392 Q16077821 Q16078299 Q16075370 Q16078102 Q16075283 Q16075365 Q16075362 Q16075348 Q16075284 Q16075321 Q16075344 Q16075369 Q16075403 Q16075341 Q16075307 Q16075407
(Q7489,P7,c(Q502895))
action count
action filter_type
action find
entity Q7489
relation P7
type Q502895
[ANSWER]
['Q7489', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { resource:Q7489 property:P7 ?b . ?b rdf:type ontology:Q502895 }
Zhao Yang Zhao Tong Zhao Yu Emperor Qinzong of Song Zhao Dong Zhao Yi Zhao Zhen Zhao Mu Zhao Shu Zhao Yue Zhao Xiang Zhao Si Zhao Xu Zhao Bing Zhao E Zhao Ji Zhao Kai Zhao Tan Zhao Zhu Zhao Jian Zhao Ji Zhao Qi Zhao Cheng Zhao Shi Zhao Ji Zhao Gong Zhao Pu Zhao Wo Zhao Cai Zhao Chan Zhao Chun Zhao Cong Zhao Di Zhao Zhi
34
action count
action filter_type
action find
entity Emperor Gaozong of Song
relation brother
type common name
['Emperor Gaozong of Song', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { resource:Emperor_Gaozong_of_Song property:brother ?b . ?b rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q14775521
Q502895
USER
And what about Makaziwe Mandela?
(Q14775521,P7,c(Q502895))
action count
action filter_type
action find
entity Q14775521
relation P7
type Q502895
['Q14775521', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { resource:Q14775521 property:P7 ?e . ?e rdf:type ontology:Q502895 }
Makaziwe Mandela
action count
action filter_type
action find
entity Makaziwe Mandela
relation brother
type common name
['Makaziwe Mandela', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { resource:Makaziwe_Mandela property:brother ?e . ?e rdf:type ontology:common_name }
[]
common name
SYSTEM
2
(Q14775521,P7,c(Q502895))
action count
action filter_type
action find
entity Q14775521
relation P7
type Q502895
[ANSWER]
['Q14775521', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { resource:Q14775521 property:P7 ?e . ?e rdf:type ontology:Q502895 }
2
action count
action filter_type
action find
entity Makaziwe Mandela
relation brother
type common name
['Makaziwe Mandela', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { resource:Makaziwe_Mandela property:brother ?e . ?e rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q764803 Q7489
P9 P40
Q502895
USER
Which people are Emperor Gaozong of Song a sibling of or are children of Honey Irani ?
OR((Q7489,P9,c(Q502895)), (Q764803,P40,c(Q502895)))
action filter_type
action union
action find
entity Q7489
relation P9
action find
entity Q764803
relation P40
type Q502895
{'OR': [['Q7489', 'P9', {'concept': 'Q502895'}], ['Q764803', 'P40', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q7489 property:P9 ?w } UNION { resource:Q764803 property:P40 ?w } } . ?w rdf:type ontology:Q502895 }
Honey Irani Emperor Gaozong of Song
action filter_type
action union
action find
entity Emperor Gaozong of Song
relation sister
action find
entity Honey Irani
relation child
type common name
{'OR': [['Emperor Gaozong of Song', 'sister', {'concept': 'common name'}], ['Honey Irani', 'child', {'concept': 'common name'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Emperor_Gaozong_of_Song property:sister ?w } UNION { resource:Honey_Irani property:child ?w } } . ?w rdf:type ontology:common_name }
[]
common name
Q10883878 Q10884517 Q11052908 Q3070885 Q590853 Q10887681 Q16603589 Q24897866 Q16603509 Q10931691
SYSTEM
Some of them are Renfu Diji, Yifu Diji, Chongde Diji, Zoya Akhtar, Farhan Akhtar, Baoshu Diji, Princess Fujin, Baofu Diji, Xishu Diji, Shoushu Diji
Q16603589 Q11052908 Q10946739 Q8253491 Q590853 Q3070885 Q10884517 Q24897866 Q10887681 Q10883878 Q8253462 Q10921640 Q10931691 Q16603509 Q10946964 Q11063955
OR((Q7489,P9,c(Q502895)), (Q764803,P40,c(Q502895)))
action filter_type
action union
action find
entity Q7489
relation P9
action find
entity Q764803
relation P40
type Q502895
[ANSWERS] are Emperor Gaozong of Song a sibling of or are children of Honey Irani
{'OR': [['Q7489', 'P9', {'concept': 'Q502895'}], ['Q764803', 'P40', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q7489 property:P9 ?w } UNION { resource:Q764803 property:P40 ?w } } . ?w rdf:type ontology:Q502895 }
Princess Fujin Chongde Diji Ande Diji Rongde Diji Farhan Akhtar Zoya Akhtar Yifu Diji Baofu Diji Baoshu Diji Renfu Diji Jiade-diji Hefu Diji Shoushu Diji Xishu Diji Anshu Diji Kangshu Diji
Renfu Diji, Yifu Diji, Chongde Diji, Zoya Akhtar, Farhan Akhtar, Baoshu Diji, Princess Fujin, Baofu Diji, Xishu Diji and Shoushu Diji are Emperor Gaozong of Song a sibling of or are children of Honey Irani
Renfu Diji Yifu Diji Chongde Diji Zoya Akhtar Farhan Akhtar Baoshu Diji Princess Fujin Baofu Diji Xishu Diji Shoushu Diji
action filter_type
action union
action find
entity Emperor Gaozong of Song
relation sister
action find
entity Honey Irani
relation child
type common name
{'OR': [['Emperor Gaozong of Song', 'sister', {'concept': 'common name'}], ['Honey Irani', 'child', {'concept': 'common name'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Emperor_Gaozong_of_Song property:sister ?w } UNION { resource:Honey_Irani property:child ?w } } . ?w rdf:type ontology:common_name }
[]