Simple Question (Direct)
Simple Question
Q270661
P21
Q290
USER
Which sex does Deng Yaping belong to ?
(Q270661,P21,c(Q290))
action filter_type
action find
entity Q270661
relation P21
type Q290
['Q270661', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q270661 property:P21 ?b . ?b rdf:type ontology:Q290 }
Deng Yaping
action filter_type
action find
entity Deng Yaping
relation gender
type sex
['Deng Yaping', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Deng_Yaping property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q270661,P21,c(Q290))
action filter_type
action find
entity Q270661
relation P21
type Q290
Deng Yaping belongs to [ANSWER]
['Q270661', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q270661 property:P21 ?b . ?b rdf:type ontology:Q290 }
female
Deng Yaping belongs to female
female
action filter_type
action find
entity Deng Yaping
relation gender
type sex
['Deng Yaping', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Deng_Yaping property:gender ?b . ?b rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q270661
P26
Q502895
USER
Which person is the life partner of Deng Yaping ?
(c(Q502895),P26,Q270661)
action filter_type
action find
entity Q270661
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q270661']
SELECT DISTINCT ?m WHERE { resource:Q270661 property:P26 ?m . ?m rdf:type ontology:Q502895 }
Deng Yaping
action filter_type
action find
entity Deng Yaping
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Deng Yaping']
SELECT DISTINCT ?m WHERE { resource:Deng_Yaping property:spouse ?m . ?m rdf:type ontology:common_name }
[]
common name
Q9291752
SYSTEM
Lin Zhigang
Q9291752
(c(Q502895),P26,Q270661)
action filter_type
action find
entity Q270661
relation P26
type Q502895
[ANSWER] is the life partner of Deng Yaping
[{'concept': 'Q502895'}, 'P26', 'Q270661']
SELECT DISTINCT ?m WHERE { resource:Q270661 property:P26 ?m . ?m rdf:type ontology:Q502895 }
Lin Zhigang
Lin Zhigang is the life partner of Deng Yaping
Lin Zhigang
action filter_type
action find
entity Deng Yaping
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Deng Yaping']
SELECT DISTINCT ?m WHERE { resource:Deng_Yaping property:spouse ?m . ?m rdf:type ontology:common_name }
[]