Simple Question (Direct)
Simple Question
Q311413
P21
Q290
USER
What is the sex of Li Xiannian ?
(Q311413,P21,c(Q290))
action filter_type
action find
entity Q311413
relation P21
type Q290
['Q311413', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q290 . resource:Q311413 property:P21 ?x }
Li Xiannian
action filter_type
action find
entity Li Xiannian
relation gender
type sex
['Li Xiannian', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:sex . resource:Li_Xiannian property:gender ?x }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q311413,P21,c(Q290))
action filter_type
action find
entity Q311413
relation P21
type Q290
The sex of Li Xiannian is a [ANSWER]
['Q311413', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q290 . resource:Q311413 property:P21 ?x }
male
The sex of Li Xiannian is a male
male
action filter_type
action find
entity Li Xiannian
relation gender
type sex
['Li Xiannian', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:sex . resource:Li_Xiannian property:gender ?x }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q311413
P22
Q502895
USER
Which person has Li Xiannian as a parent ?
(c(Q502895),P22,Q311413)
action filter_type
action find_reverse
entity Q311413
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q311413']
SELECT DISTINCT ?l WHERE { ?l property:P22 resource:Q311413 . ?l rdf:type ontology:Q502895 }
Li Xiannian
action filter_type
action find_reverse
entity Li Xiannian
relation father
type common name
[{'concept': 'common name'}, 'father', 'Li Xiannian']
SELECT DISTINCT ?l WHERE { ?l property:father resource:Li_Xiannian . ?l rdf:type ontology:common_name }
[]
common name
Q8249017
SYSTEM
Li Xiaolin
Q8249017
(c(Q502895),P22,Q311413)
action filter_type
action find_reverse
entity Q311413
relation P22
type Q502895
[ANSWER] has Li Xiannian as a parent
[{'concept': 'Q502895'}, 'P22', 'Q311413']
SELECT DISTINCT ?l WHERE { ?l property:P22 resource:Q311413 . ?l rdf:type ontology:Q502895 }
Li Xiaolin
Li Xiaolin has Li Xiannian as a parent
Li Xiaolin
action filter_type
action find_reverse
entity Li Xiannian
relation father
type common name
[{'concept': 'common name'}, 'father', 'Li Xiannian']
SELECT DISTINCT ?l WHERE { ?l property:father resource:Li_Xiannian . ?l rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8249017
P27
Q15617994
USER
Which administrative territory does that person belong to ?
(Q8249017,P27,c(Q15617994))
action filter_type
action find
entity Q8249017
relation P27
type Q15617994
['Q8249017', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q8249017 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Li Xiaolin
action filter_type
action find
entity Li Xiaolin
relation country of citizenship
type designation for an administrative territorial entity
['Li Xiaolin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Li_Xiaolin property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q148
SYSTEM
People's Republic of China
Q148
(Q8249017,P27,c(Q15617994))
action filter_type
action find
entity Q8249017
relation P27
type Q15617994
That person belongs to a [ANSWER]
['Q8249017', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q8249017 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
People's Republic of China
That person belongs to a People's Republic of China
People's Republic of China
action filter_type
action find
entity Li Xiaolin
relation country of citizenship
type designation for an administrative territorial entity
['Li Xiaolin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Li_Xiaolin property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q148
P17
Q15617994
USER
Which administrative territory does that one belong to ?
(Q148,P17,c(Q15617994))
action filter_type
action find
entity Q148
relation P17
type Q15617994
['Q148', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q148 property:P17 ?a . ?a rdf:type ontology:Q15617994 }
People's Republic of China
action filter_type
action find
entity People's Republic of China
relation country
type designation for an administrative territorial entity
["People's Republic of China", 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:People's_Republic_of_China property:country ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q148
SYSTEM
People's Republic of China
Q148
(Q148,P17,c(Q15617994))
action filter_type
action find
entity Q148
relation P17
type Q15617994
That one belongs to the [ANSWER]
['Q148', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q148 property:P17 ?a . ?a rdf:type ontology:Q15617994 }
People's Republic of China
That one belongs to the People's Republic of China
People's Republic of China
action filter_type
action find
entity People's Republic of China
relation country
type designation for an administrative territorial entity
["People's Republic of China", 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:People's_Republic_of_China property:country ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q148
P183
Q16521
USER
Which taxons are endemic to that administrative territory ?
(c(Q16521),P183,Q148)
action filter_type
action find_reverse
entity Q148
relation P183
type Q16521
[{'concept': 'Q16521'}, 'P183', 'Q148']
SELECT DISTINCT ?d WHERE { ?d property:P183 resource:Q148 . ?d rdf:type ontology:Q16521 }
People's Republic of China
action filter_type
action find_reverse
entity People's Republic of China
relation endemic to
type taxon
[{'concept': 'taxon'}, 'endemic to', "People's Republic of China"]
SELECT DISTINCT ?d WHERE { ?d property:endemic_to resource:People's_Republic_of_China . ?d rdf:type ontology:taxon }
[]
taxon
Q14556972 Q2286815
SYSTEM
Przevalski's Nuthatch, Leptobotia
Q14556972 Q2286815
(c(Q16521),P183,Q148)
action filter_type
action find_reverse
entity Q148
relation P183
type Q16521
And [ANSWERS] are endemic to that administrative territory
[{'concept': 'Q16521'}, 'P183', 'Q148']
SELECT DISTINCT ?d WHERE { ?d property:P183 resource:Q148 . ?d rdf:type ontology:Q16521 }
Przevalski's Nuthatch Leptobotia
And Przevalski's Nuthatch and Leptobotia are endemic to that administrative territory
Przevalski's Nuthatch Leptobotia
action filter_type
action find_reverse
entity People's Republic of China
relation endemic to
type taxon
[{'concept': 'taxon'}, 'endemic to', "People's Republic of China"]
SELECT DISTINCT ?d WHERE { ?d property:endemic_to resource:People's_Republic_of_China . ?d rdf:type ontology:taxon }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q14556972 Q2286815
P183
Q15617994
USER
Which administrative territories are Przevalski's Nuthatch and Leptobotia native to ?
(Q14556972,P183,c(Q15617994)) (Q2286815,P183,c(Q15617994))
action union
action filter_type
action find
entity Q14556972
relation P183
type Q15617994
action filter_type
action find
entity Q2286815
relation P183
type Q15617994
['Q14556972', 'P183', {'concept': 'Q15617994'}] ['Q2286815', 'P183', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { resource:Q14556972 property:P183 ?l . ?l rdf:type ontology:Q15617994 } UNION { resource:Q2286815 property:P183 ?l . ?l rdf:type ontology:Q15617994 } }
Przevalski's Nuthatch Leptobotia
action union
action filter_type
action find
entity Przevalski's Nuthatch
relation endemic to
type designation for an administrative territorial entity
action filter_type
action find
entity Leptobotia
relation endemic to
type designation for an administrative territorial entity
["Przevalski's Nuthatch", 'endemic to', {'concept': 'designation for an administrative territorial entity'}] ['Leptobotia', 'endemic to', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { resource:Przevalski's_Nuthatch property:endemic_to ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Leptobotia property:endemic_to ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q148 Q148
SYSTEM
People's Republic of China
Q148 Q148
(Q14556972,P183,c(Q15617994)) (Q2286815,P183,c(Q15617994))
action union
action filter_type
action find
entity Q14556972
relation P183
type Q15617994
action filter_type
action find
entity Q2286815
relation P183
type Q15617994
[ANSWER] and [ANSWER] are Przevalski's Nuthatch and Leptobotia native to
['Q14556972', 'P183', {'concept': 'Q15617994'}] ['Q2286815', 'P183', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { resource:Q14556972 property:P183 ?l . ?l rdf:type ontology:Q15617994 } UNION { resource:Q2286815 property:P183 ?l . ?l rdf:type ontology:Q15617994 } }
People's Republic of China People's Republic of China
People's Republic of China and People's Republic of China are Przevalski's Nuthatch and Leptobotia native to
People's Republic of China People's Republic of China
action union
action filter_type
action find
entity Przevalski's Nuthatch
relation endemic to
type designation for an administrative territorial entity
action filter_type
action find
entity Leptobotia
relation endemic to
type designation for an administrative territorial entity
["Przevalski's Nuthatch", 'endemic to', {'concept': 'designation for an administrative territorial entity'}] ['Leptobotia', 'endemic to', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { resource:Przevalski's_Nuthatch property:endemic_to ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Leptobotia property:endemic_to ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q148
P35
Q502895
USER
Who are elected as the head of state of that administrative territory ?
(Q148,P35,c(Q502895)) (Q148,P35,c(Q502895))
action filter_type
action find
entity Q148
relation P35
type Q502895
['Q148', 'P35', {'concept': 'Q502895'}] ['Q148', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q148 property:P35 ?a . ?a rdf:type ontology:Q502895 }
People's Republic of China
action filter_type
action find
entity People's Republic of China
relation head of state
type common name
["People's Republic of China", 'head of state', {'concept': 'common name'}] ["People's Republic of China", 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:People's_Republic_of_China property:head_of_state ?a . ?a rdf:type ontology:common_name }
[]
common name
Q5816 Q17132 Q15031
SYSTEM
Mao Zedong, Soong Ching-ling, Xi Jinping
Q311413 Q15029 Q377935 Q17132 Q15031 Q16597 Q968038 Q16988 Q22513 Q504372 Q5816
(Q148,P35,c(Q502895)) (Q148,P35,c(Q502895))
action filter_type
action find
entity Q148
relation P35
type Q502895
[ANSWERS] are elected as the head of state of that administrative territory
['Q148', 'P35', {'concept': 'Q502895'}] ['Q148', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q148 property:P35 ?a . ?a rdf:type ontology:Q502895 }
Li Xiannian Hu Jintao Yang Shangkun Soong Ching-ling Xi Jinping Jiang Zemin Dong Biwu Liu Shaoqi Zhu De Ye Jianying Mao Zedong
Mao Zedong, Soong Ching-ling and Xi Jinping are elected as the head of state of that administrative territory
Mao Zedong Soong Ching-ling Xi Jinping
action filter_type
action find
entity People's Republic of China
relation head of state
type common name
["People's Republic of China", 'head of state', {'concept': 'common name'}] ["People's Republic of China", 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:People's_Republic_of_China property:head_of_state ?a . ?a rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q540568
P35
Q15617994
USER
Do Lonsee have those people as their chief of state ?
(Q540568,P35,Q5816) (Q540568,P35,Q17132) (Q540568,P35,Q15031)
action is_in
entity prev_answer
action find
entity Q540568
relation P35
['Q540568', 'P35', 'Q5816'] ['Q540568', 'P35', 'Q17132'] ['Q540568', 'P35', 'Q15031']
ASK WHERE { VALUES ( ?t ) { ( resource:Q311413 ) ( resource:Q15029 ) ( resource:Q377935 ) } . resource:Q540568 property:P35 ?t }
Lonsee
action is_in
entity prev_answer
action find
entity Lonsee
relation head of state
['Lonsee', 'head of state', 'Mao Zedong'] ['Lonsee', 'head of state', 'Soong Ching-ling'] ['Lonsee', 'head of state', 'Xi Jinping']
ASK WHERE { VALUES ( ?t ) { ( resource:Li_Xiannian ) ( resource:Hu_Jintao ) ( resource:Yang_Shangkun ) } . resource:Lonsee property:head_of_state ?t }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q540568,P35,Q5816) (Q540568,P35,Q17132) (Q540568,P35,Q15031)
action is_in
entity prev_answer
action find
entity Q540568
relation P35
[ANSWER]
['Q540568', 'P35', 'Q5816'] ['Q540568', 'P35', 'Q17132'] ['Q540568', 'P35', 'Q15031']
ASK WHERE { VALUES ( ?t ) { ( resource:Q311413 ) ( resource:Q15029 ) ( resource:Q377935 ) } . resource:Q540568 property:P35 ?t }
No
action is_in
entity prev_answer
action find
entity Lonsee
relation head of state
['Lonsee', 'head of state', 'Mao Zedong'] ['Lonsee', 'head of state', 'Soong Ching-ling'] ['Lonsee', 'head of state', 'Xi Jinping']
ASK WHERE { VALUES ( ?t ) { ( resource:Li_Xiannian ) ( resource:Hu_Jintao ) ( resource:Yang_Shangkun ) } . resource:Lonsee property:head_of_state ?t }
[]