Simple Question (Direct)
Simple Question
Q7361377
P9
Q502895
USER
Who have Yinlu as thier sibling ?
(Q7361377,P9,c(Q502895))
action filter_type
action find
entity Q7361377
relation P9
type Q502895
['Q7361377', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . resource:Q7361377 property:P9 ?k }
Yinlu
action filter_type
action find
entity Yinlu
relation sister
type common name
['Yinlu', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . resource:Yinlu property:sister ?k }
[]
common name
Q7362690 Q7362099 Q7367744
SYSTEM
State Princess Kejing, State Princess Rongxian, Kurun Princess Wenxian
Q7368398 Q7362690 Q7369212 Q15940598 Q7369135 Q7362099 Q7362335 Q7368998 Q7367744
(Q7361377,P9,c(Q502895))
action filter_type
action find
entity Q7361377
relation P9
type Q502895
[ANSWERS] have Yinlu as thier sibling
['Q7361377', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . resource:Q7361377 property:P9 ?k }
State Princess Chunque State Princess Kejing Princess Dunke of the Second Rank eighth daughter of Kangxi Princess Quejing of the Second Rank State Princess Rongxian Princess Duanjing of the Second Rank Princess Wenke of the Second Rank Kurun Princess Wenxian
State Princess Kejing, State Princess Rongxian and Kurun Princess Wenxian have Yinlu as thier sibling
State Princess Kejing State Princess Rongxian Kurun Princess Wenxian
action filter_type
action find
entity Yinlu
relation sister
type common name
['Yinlu', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . resource:Yinlu property:sister ?k }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q7362690 Q7362099 Q7367744
P7
Q502895
USER
Which people are the brothers of those ones ?
(Q7362690,P7,c(Q502895)) (Q7362099,P7,c(Q502895)) (Q7367744,P7,c(Q502895))
action filter_type
action find
entity prev_answer
relation P7
type Q502895
['Q7362690', 'P7', {'concept': 'Q502895'}] ['Q7362099', 'P7', {'concept': 'Q502895'}] ['Q7367744', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { VALUES ( ?q ) { ( resource:Q7368398 ) ( resource:Q7362690 ) ( resource:Q7369212 ) } . ?q property:P7 ?i . ?i rdf:type ontology:Q502895 }
State Princess Kejing State Princess Rongxian Kurun Princess Wenxian
action filter_type
action find
entity prev_answer
relation brother
type common name
['State Princess Kejing', 'brother', {'concept': 'common name'}] ['State Princess Rongxian', 'brother', {'concept': 'common name'}] ['Kurun Princess Wenxian', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { VALUES ( ?q ) { ( resource:State_Princess_Chunque ) ( resource:State_Princess_Kejing ) ( resource:Princess_Dunke_of_the_Second_Rank ) } . ?q property:brother ?i . ?i rdf:type ontology:common_name }
[]
common name
Q317839 Q317839 Q317839
SYSTEM
Yongzheng Emperor
Q7360943 Q7361819 Q7361731 Q7357341 Q7359943 Q7361777 Q7359757 Q7355099 Q7358635 Q7359299 Q831169 Q7358028 Q7355425 Q3375172 Q7361377 Q7361681 Q7355646 Q7359492 Q6853955 Q317839 Q7361552 Q7356509 Q7355911 Q7361708 Q7359660 Q1076775 Q4260294 Q7361115 Q4260394 Q7361874 Q7361717 Q7357918 Q7361796 Q7355310 Q7355554 Q7360943 Q7361819 Q7361731 Q7357341 Q7359943 Q7361777 Q7359757 Q7355099 Q7358635 Q7359299 Q831169 Q7358028 Q7355425 Q3375172 Q7361377 Q7361681 Q7355646 Q7359492 Q6853955 Q317839 Q7361552 Q7356509 Q7355911 Q7361708 Q7359660 Q1076775 Q4260294 Q7361115 Q4260394 Q7361874 Q7361717 Q7357918 Q7361796 Q7355310 Q7355554 Q7360943 Q7361819 Q7361731 Q7357341 Q7359943 Q7361777 Q7359757 Q7355099 Q7358635 Q7359299 Q831169 Q7358028 Q7355425 Q3375172 Q7361377 Q7361681 Q7355646 Q7359492 Q6853955 Q317839 Q7361552 Q7356509 Q7355911 Q7361708 Q7359660 Q1076775 Q4260294 Q7361115 Q4260394 Q7361874 Q7361717 Q7357918 Q7361796 Q7355310 Q7355554
(Q7362690,P7,c(Q502895)) (Q7362099,P7,c(Q502895)) (Q7367744,P7,c(Q502895))
action filter_type
action find
entity prev_answer
relation P7
type Q502895
[ANSWER], [ANSWER] and [ANSWER] are the brothers of those ones
['Q7362690', 'P7', {'concept': 'Q502895'}] ['Q7362099', 'P7', {'concept': 'Q502895'}] ['Q7367744', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { VALUES ( ?q ) { ( resource:Q7368398 ) ( resource:Q7362690 ) ( resource:Q7369212 ) } . ?q property:P7 ?i . ?i rdf:type ontology:Q502895 }
Yinji Yinmi Yinxi Wanpu Yintao Yinhu Yinzi Chengrui Yinyou Yuntang Yinxiang Yinqi Chengqing Yunti Yinlu Yinxie Yunzhi, Prince Zhi Yin’e Yinzhuo Yongzheng Emperor Yunli Changsheng Changhua Yinji Yinju Yunreng Yunsi Yinwu Yunzhi, Prince Cheng Yinyuan Yinyi Yinzan Yinqi Chenghu Sayinchahun Yinji Yinmi Yinxi Wanpu Yintao Yinhu Yinzi Chengrui Yinyou Yuntang Yinxiang Yinqi Chengqing Yunti Yinlu Yinxie Yunzhi, Prince Zhi Yin’e Yinzhuo Yongzheng Emperor Yunli Changsheng Changhua Yinji Yinju Yunreng Yunsi Yinwu Yunzhi, Prince Cheng Yinyuan Yinyi Yinzan Yinqi Chenghu Sayinchahun Yinji Yinmi Yinxi Wanpu Yintao Yinhu Yinzi Chengrui Yinyou Yuntang Yinxiang Yinqi Chengqing Yunti Yinlu Yinxie Yunzhi, Prince Zhi Yin’e Yinzhuo Yongzheng Emperor Yunli Changsheng Changhua Yinji Yinju Yunreng Yunsi Yinwu Yunzhi, Prince Cheng Yinyuan Yinyi Yinzan Yinqi Chenghu Sayinchahun
Yongzheng Emperor, Yongzheng Emperor and Yongzheng Emperor are the brothers of those ones
Yongzheng Emperor Yongzheng Emperor Yongzheng Emperor
action filter_type
action find
entity prev_answer
relation brother
type common name
['State Princess Kejing', 'brother', {'concept': 'common name'}] ['State Princess Rongxian', 'brother', {'concept': 'common name'}] ['Kurun Princess Wenxian', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { VALUES ( ?q ) { ( resource:State_Princess_Chunque ) ( resource:State_Princess_Kejing ) ( resource:Princess_Dunke_of_the_Second_Rank ) } . ?q property:brother ?i . ?i rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7362690
P26
Q502895
USER
Which person is the life partner of State Princess Kejing ?
(Q7362690,P26,c(Q502895))
action filter_type
action find
entity Q7362690
relation P26
type Q502895
['Q7362690', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q7362690 property:P26 ?p . ?p rdf:type ontology:Q502895 }
State Princess Kejing
action filter_type
action find
entity State Princess Kejing
relation spouse
type common name
['State Princess Kejing', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:State_Princess_Kejing property:spouse ?p . ?p rdf:type ontology:common_name }
[]
common name
Q7362810
SYSTEM
Borjigit Dunduobudorji
Q7362810
(Q7362690,P26,c(Q502895))
action filter_type
action find
entity Q7362690
relation P26
type Q502895
[ANSWER] is the life partner of State Princess Kejing
['Q7362690', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q7362690 property:P26 ?p . ?p rdf:type ontology:Q502895 }
Borjigit Dunduobudorji
Borjigit Dunduobudorji is the life partner of State Princess Kejing
Borjigit Dunduobudorji
action filter_type
action find
entity State Princess Kejing
relation spouse
type common name
['State Princess Kejing', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:State_Princess_Kejing property:spouse ?p . ?p rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7362690
P22
Q502895
USER
Which person was the father of State Princess Kejing ?
(Q7362690,P22,c(Q502895))
action filter_type
action find
entity Q7362690
relation P22
type Q502895
['Q7362690', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q7362690 property:P22 ?m . ?m rdf:type ontology:Q502895 }
State Princess Kejing
action filter_type
action find
entity State Princess Kejing
relation father
type common name
['State Princess Kejing', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:State_Princess_Kejing property:father ?m . ?m rdf:type ontology:common_name }
[]
common name
Q17790
SYSTEM
Kangxi Emperor
Q17790
(Q7362690,P22,c(Q502895))
action filter_type
action find
entity Q7362690
relation P22
type Q502895
Emperor [ANSWER] was the father of State Princess Kejing
['Q7362690', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q7362690 property:P22 ?m . ?m rdf:type ontology:Q502895 }
Kangxi Emperor
Emperor Kangxi Emperor was the father of State Princess Kejing
Kangxi Emperor
action filter_type
action find
entity State Princess Kejing
relation father
type common name
['State Princess Kejing', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:State_Princess_Kejing property:father ?m . ?m rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7362690
P40
Q502895
USER
Which person has State Princess Kejing as an offspring ?
(c(Q502895),P40,Q7362690)
action filter_type
action find_reverse
entity Q7362690
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q7362690']
SELECT DISTINCT ?k WHERE { ?k property:P40 resource:Q7362690 . ?k rdf:type ontology:Q502895 }
State Princess Kejing
action filter_type
action find_reverse
entity State Princess Kejing
relation child
type common name
[{'concept': 'common name'}, 'child', 'State Princess Kejing']
SELECT DISTINCT ?k WHERE { ?k property:child resource:State_Princess_Kejing . ?k rdf:type ontology:common_name }
[]
common name
Q17790
SYSTEM
Kangxi Emperor
Q17790
(c(Q502895),P40,Q7362690)
action filter_type
action find_reverse
entity Q7362690
relation P40
type Q502895
[ANSWER] has State Princess Kejing as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q7362690']
SELECT DISTINCT ?k WHERE { ?k property:P40 resource:Q7362690 . ?k rdf:type ontology:Q502895 }
Kangxi Emperor
Kangxi Emperor has State Princess Kejing as an offspring
Kangxi Emperor
action filter_type
action find_reverse
entity State Princess Kejing
relation child
type common name
[{'concept': 'common name'}, 'child', 'State Princess Kejing']
SELECT DISTINCT ?k WHERE { ?k property:child resource:State_Princess_Kejing . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17790
P25
Q502895
USER
Which person was the mother of that one ?
(Q17790,P25,c(Q502895))
action filter_type
action find
entity Q17790
relation P25
type Q502895
['Q17790', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q17790 property:P25 ?e . ?e rdf:type ontology:Q502895 }
Kangxi Emperor
action filter_type
action find
entity Kangxi Emperor
relation mother
type common name
['Kangxi Emperor', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Kangxi_Emperor property:mother ?e . ?e rdf:type ontology:common_name }
[]
common name
Q1036431
SYSTEM
Empress Xiaokangzhang
Q1036431
(Q17790,P25,c(Q502895))
action filter_type
action find
entity Q17790
relation P25
type Q502895
[ANSWER] was the mother of that one
['Q17790', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q17790 property:P25 ?e . ?e rdf:type ontology:Q502895 }
Empress Xiaokangzhang
Empress Xiaokangzhang was the mother of that one
Empress Xiaokangzhang
action filter_type
action find
entity Kangxi Emperor
relation mother
type common name
['Kangxi Emperor', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Kangxi_Emperor property:mother ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q317839
P509
Q2057971
USER
Which health problem was the cause of death of Yongzheng Emperor ?
(Q317839,P509,c(Q2057971))
action filter_type
action find
entity Q317839
relation P509
type Q2057971
['Q317839', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?w WHERE { resource:Q317839 property:P509 ?w . ?w rdf:type ontology:Q2057971 }
Yongzheng Emperor
action filter_type
action find
entity Yongzheng Emperor
relation cause of death
type health problem
['Yongzheng Emperor', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?w WHERE { resource:Yongzheng_Emperor property:cause_of_death ?w . ?w rdf:type ontology:health_problem }
[]
health problem
Q12202
SYSTEM
stroke
Q12202
(Q317839,P509,c(Q2057971))
action filter_type
action find
entity Q317839
relation P509
type Q2057971
The [ANSWER] was the cause of death of Yongzheng Emperor
['Q317839', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?w WHERE { resource:Q317839 property:P509 ?w . ?w rdf:type ontology:Q2057971 }
stroke
The stroke was the cause of death of Yongzheng Emperor
stroke
action filter_type
action find
entity Yongzheng Emperor
relation cause of death
type health problem
['Yongzheng Emperor', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?w WHERE { resource:Yongzheng_Emperor property:cause_of_death ?w . ?w rdf:type ontology:health_problem }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q278020
Q2057971
USER
And how about Jean-Marie Collot d'Herbois?
(Q278020,P509,c(Q2057971))
action filter_type
action find
entity Q278020
relation P509
type Q2057971
['Q278020', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q2057971 . resource:Q278020 property:P509 ?h }
Jean-Marie Collot d'Herbois
action filter_type
action find
entity Jean-Marie Collot d'Herbois
relation cause of death
type health problem
["Jean-Marie Collot d'Herbois", 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:health_problem . resource:Jean-Marie_Collot_d'Herbois property:cause_of_death ?h }
[]
health problem
Q154874
SYSTEM
yellow fever
Q154874
(Q278020,P509,c(Q2057971))
action filter_type
action find
entity Q278020
relation P509
type Q2057971
[ANSWER]
['Q278020', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q2057971 . resource:Q278020 property:P509 ?h }
yellow fever
yellow fever
action filter_type
action find
entity Jean-Marie Collot d'Herbois
relation cause of death
type health problem
["Jean-Marie Collot d'Herbois", 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:health_problem . resource:Jean-Marie_Collot_d'Herbois property:cause_of_death ?h }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P1995
Q1047113
USER
How many special fields are the medical specalities concerned with that health problem ?
(Q154874,P1995,c(Q1047113))
action count
action filter_type
action find
entity Q154874
relation P1995
type Q1047113
['Q154874', 'P1995', {'concept': 'Q1047113'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { resource:Q154874 property:P1995 ?g . ?g rdf:type ontology:Q1047113 }
action count
action filter_type
action find
entity yellow fever
relation medical specialty
type special field
['yellow fever', 'medical specialty', {'concept': 'special field'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { resource:yellow_fever property:medical_specialty ?g . ?g rdf:type ontology:special_field }
[]
special field
SYSTEM
1
Q788926
(Q154874,P1995,c(Q1047113))
action count
action filter_type
action find
entity Q154874
relation P1995
type Q1047113
[ANSWER]
['Q154874', 'P1995', {'concept': 'Q1047113'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { resource:Q154874 property:P1995 ?g . ?g rdf:type ontology:Q1047113 }
Infectious disease
1
action count
action filter_type
action find
entity yellow fever
relation medical specialty
type special field
['yellow fever', 'medical specialty', {'concept': 'special field'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { resource:yellow_fever property:medical_specialty ?g . ?g rdf:type ontology:special_field }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P780
Q2057971 Q12136 Q2057971
USER
How many health problems have around 2 health problems and diseases as one of their symptoms ?
(c(Q2057971),P780,c(Q2057971)|c(Q12136))
action count
action approx
action union
action find_tuple_counts
relation P780
type Q2057971
type Q2057971
action find_tuple_counts
relation P780
type Q2057971
type Q12136
value 2
[{'concept': 'Q2057971'}, 'P780', [{'concept': 'Q2057971'}, {'concept': 'Q12136'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) ?f WHERE { { ?f property:P780 ?r . ?f rdf:type ontology:Q2057971 . ?r rdf:type ontology:Q12136 } UNION { ?f property:P780 ?r . ?f rdf:type ontology:Q2057971 . ?r rdf:type ontology:Q2057971 } } GROUP BY ?f } . FILTER ( ?g = 2 ) }
action count
action approx
action union
action find_tuple_counts
relation symptoms
type health problem
type health problem
action find_tuple_counts
relation symptoms
type health problem
type disease
value 2
[{'concept': 'health problem'}, 'symptoms', [{'concept': 'health problem'}, {'concept': 'disease'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) ?f WHERE { { ?f property:symptoms ?r . ?f rdf:type ontology:health_problem . ?r rdf:type ontology:disease } UNION { ?f property:symptoms ?r . ?f rdf:type ontology:health_problem . ?r rdf:type ontology:health_problem } } GROUP BY ?f } . FILTER ( ?g = 2 ) }
[]
health problem disease health problem
SYSTEM
17
Q2583514 Q7688951 Q2388598 Q39222 Q3508705 Q1198391 Q190564 Q10529545 Q127724 Q8071861 Q1077603 Q4421929 Q30953 Q212961 Q264118 Q1981276 Q432396
(c(Q2057971),P780,c(Q2057971)|c(Q12136))
action count
action approx
action union
action find_tuple_counts
relation P780
type Q2057971
type Q2057971
action find_tuple_counts
relation P780
type Q2057971
type Q12136
value 2
[ANSWER]
[{'concept': 'Q2057971'}, 'P780', [{'concept': 'Q2057971'}, {'concept': 'Q12136'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) ?f WHERE { { ?f property:P780 ?r . ?f rdf:type ontology:Q2057971 . ?r rdf:type ontology:Q12136 } UNION { ?f property:P780 ?r . ?f rdf:type ontology:Q2057971 . ?r rdf:type ontology:Q2057971 } } GROUP BY ?f } . FILTER ( ?g = 2 ) }
Argentine hemorrhagic fever Taussig–Bing syndrome Ollier disease rabies Timothy syndrome intracranial aneurysm Huntington's disease hyperandrogenism cataract Zika fever malignant mesothelioma Hippocampal sclerosis dengue fever pancreatic cancer acute myeloid leukemia neuroendocrine tumor achromatopsia
17
action count
action approx
action union
action find_tuple_counts
relation symptoms
type health problem
type health problem
action find_tuple_counts
relation symptoms
type health problem
type disease
value 2
[{'concept': 'health problem'}, 'symptoms', [{'concept': 'health problem'}, {'concept': 'disease'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) ?f WHERE { { ?f property:symptoms ?r . ?f rdf:type ontology:health_problem . ?r rdf:type ontology:disease } UNION { ?f property:symptoms ?r . ?f rdf:type ontology:health_problem . ?r rdf:type ontology:health_problem } } GROUP BY ?f } . FILTER ( ?g = 2 ) }
[]