Simple Question (Direct)
Simple Question
Q8044224
P21
Q290
USER
What is the sex of Xiao Qian ?
(Q8044224,P21,c(Q290))
action filter_type
action find
entity Q8044224
relation P21
type Q290
['Q8044224', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q290 . resource:Q8044224 property:P21 ?v }
Xiao Qian
action filter_type
action find
entity Xiao Qian
relation gender
type sex
['Xiao Qian', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sex . resource:Xiao_Qian property:gender ?v }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q8044224,P21,c(Q290))
action filter_type
action find
entity Q8044224
relation P21
type Q290
The sex of Xiao Qian is the [ANSWER]
['Q8044224', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q290 . resource:Q8044224 property:P21 ?v }
male
The sex of Xiao Qian is the male
male
action filter_type
action find
entity Xiao Qian
relation gender
type sex
['Xiao Qian', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sex . resource:Xiao_Qian property:gender ?v }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8044224
P26
Q502895
USER
Who is married to that one ?
(c(Q502895),P26,Q6581097)
action filter_type
action find
entity Q8044224
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q6581097']
SELECT DISTINCT ?i WHERE { resource:Q8044224 property:P26 ?i . ?i rdf:type ontology:Q502895 }
Xiao Qian
action filter_type
action find
entity Xiao Qian
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'male']
SELECT DISTINCT ?i WHERE { resource:Xiao_Qian property:spouse ?i . ?i rdf:type ontology:common_name }
[]
common name
Q9055856
SYSTEM
Wen Jieruo
Q9055856
(c(Q502895),P26,Q6581097)
action filter_type
action find
entity Q8044224
relation P26
type Q502895
[ANSWER] is married to that one
[{'concept': 'Q502895'}, 'P26', 'Q6581097']
SELECT DISTINCT ?i WHERE { resource:Q8044224 property:P26 ?i . ?i rdf:type ontology:Q502895 }
Wen Jieruo
Wen Jieruo is married to that one
Wen Jieruo
action filter_type
action find
entity Xiao Qian
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'male']
SELECT DISTINCT ?i WHERE { resource:Xiao_Qian property:spouse ?i . ?i rdf:type ontology:common_name }
[]