Simple Question (Direct)
Simple Question
Q11070388
P22
Q502895
USER
Which male person was the parent of Xu ?
(Q11070388,P22,c(Q502895))
action filter_type
action find
entity Q11070388
relation P22
type Q502895
['Q11070388', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q11070388 property:P22 ?v . ?v rdf:type ontology:Q502895 }
Xu
action filter_type
action find
entity Xu
relation father
type common name
['Xu', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Xu property:father ?v . ?v rdf:type ontology:common_name }
[]
common name
Q7477
SYSTEM
Emperor Renzong of Song
Q7477
(Q11070388,P22,c(Q502895))
action filter_type
action find
entity Q11070388
relation P22
type Q502895
Of [ANSWER] was the parent of Xu
['Q11070388', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q11070388 property:P22 ?v . ?v rdf:type ontology:Q502895 }
Emperor Renzong of Song
Of Emperor Renzong of Song was the parent of Xu
Emperor Renzong of Song
action filter_type
action find
entity Xu
relation father
type common name
['Xu', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Xu property:father ?v . ?v rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7477
P26
Q502895
USER
Which people are the life partner of that one ?
(c(Q502895),P26,Q7477)
action filter_type
action find
entity Q7477
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q7477']
SELECT DISTINCT ?p WHERE { resource:Q7477 property:P26 ?p . ?p rdf:type ontology:Q502895 }
Emperor Renzong of Song
action filter_type
action find
entity Emperor Renzong of Song
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Emperor Renzong of Song']
SELECT DISTINCT ?p WHERE { resource:Emperor_Renzong_of_Song property:spouse ?p . ?p rdf:type ontology:common_name }
[]
common name
Q8251729 Q8251739 Q8251697
SYSTEM
Zhaoshu guifei, Wencheng, Zhaojie guifei
Q5374527 Q8251729 Q8251739 Q8251697 Q704227 Q10887818 Q16603742
(c(Q502895),P26,Q7477)
action filter_type
action find
entity Q7477
relation P26
type Q502895
[ANSWERS] are the life partner of that one
[{'concept': 'Q502895'}, 'P26', 'Q7477']
SELECT DISTINCT ?p WHERE { resource:Q7477 property:P26 ?p . ?p rdf:type ontology:Q502895 }
Empress Guo Zhaoshu guifei Wencheng Zhaojie guifei Empress Cao Yu-defei Feng xianfei
Zhaoshu guifei, Wencheng and Zhaojie guifei are the life partner of that one
Zhaoshu guifei Wencheng Zhaojie guifei
action filter_type
action find
entity Emperor Renzong of Song
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Emperor Renzong of Song']
SELECT DISTINCT ?p WHERE { resource:Emperor_Renzong_of_Song property:spouse ?p . ?p rdf:type ontology:common_name }
[]