Simple Question (Direct)
Simple Question
Q9761
P39
Q12737077
USER
What was the position for which Emperor Xianzong of Tang was appointed ?
(Q9761,P39,c(Q12737077))
action filter_type
action find
entity Q9761
relation P39
type Q12737077
['Q9761', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q9761 property:P39 ?t . ?t rdf:type ontology:Q12737077 }
Emperor Xianzong of Tang
action filter_type
action find
entity Emperor Xianzong of Tang
relation position held
type occupation
['Emperor Xianzong of Tang', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Emperor_Xianzong_of_Tang property:position_held ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q268218
SYSTEM
Emperor of China
Q268218
(Q9761,P39,c(Q12737077))
action filter_type
action find
entity Q9761
relation P39
type Q12737077
[ANSWER]
['Q9761', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q9761 property:P39 ?t . ?t rdf:type ontology:Q12737077 }
Emperor of China
Emperor of China
Emperor of China
action filter_type
action find
entity Emperor Xianzong of Tang
relation position held
type occupation
['Emperor Xianzong of Tang', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Emperor_Xianzong_of_Tang property:position_held ?t . ?t rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9761
P26
Q502895
USER
Which people are the life partner of Emperor Xianzong of Tang ?
(Q9761,P26,c(Q502895))
action filter_type
action find
entity Q9761
relation P26
type Q502895
['Q9761', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q9761 property:P26 ?v . ?v rdf:type ontology:Q502895 }
Emperor Xianzong of Tang
action filter_type
action find
entity Emperor Xianzong of Tang
relation spouse
type common name
['Emperor Xianzong of Tang', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Emperor_Xianzong_of_Tang property:spouse ?v . ?v rdf:type ontology:common_name }
[]
common name
Q5374477 Q5374499
SYSTEM
Empress Dowager Guo, Empress Dowager Zheng
Q5374477 Q5374499
(Q9761,P26,c(Q502895))
action filter_type
action find
entity Q9761
relation P26
type Q502895
[ANSWERS] are the life partner of Emperor Xianzong of Tang
['Q9761', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q9761 property:P26 ?v . ?v rdf:type ontology:Q502895 }
Empress Dowager Guo Empress Dowager Zheng
Empress Dowager Guo and Empress Dowager Zheng are the life partner of Emperor Xianzong of Tang
Empress Dowager Guo Empress Dowager Zheng
action filter_type
action find
entity Emperor Xianzong of Tang
relation spouse
type common name
['Emperor Xianzong of Tang', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Emperor_Xianzong_of_Tang property:spouse ?v . ?v rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q520352
Q502895
USER
And what about Frank Schöbel?
(Q520352,P26,c(Q502895))
action filter_type
action find
entity Q520352
relation P26
type Q502895
['Q520352', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q520352 property:P26 ?p . ?p rdf:type ontology:Q502895 }
Frank Schöbel
action filter_type
action find
entity Frank Schöbel
relation spouse
type common name
['Frank Schöbel', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Frank_Schöbel property:spouse ?p . ?p rdf:type ontology:common_name }
[]
common name
Q384920 Q1077171
SYSTEM
Aurora Lacasa, Chris Doerk
Q384920 Q1077171
(Q520352,P26,c(Q502895))
action filter_type
action find
entity Q520352
relation P26
type Q502895
[ANSWERS]
['Q520352', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q520352 property:P26 ?p . ?p rdf:type ontology:Q502895 }
Aurora Lacasa Chris Doerk
Aurora Lacasa Chris Doerk
action filter_type
action find
entity Frank Schöbel
relation spouse
type common name
['Frank Schöbel', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Frank_Schöbel property:spouse ?p . ?p rdf:type ontology:common_name }
[]