Simple Question (Direct)
Simple Question
Q10540020
P734
Q101352
USER
Which family name is associated with Zhao Kuangzan ?
(Q10540020,P734,c(Q101352))
action filter_type
action find
entity Q10540020
relation P734
type Q101352
['Q10540020', 'P734', {'concept': 'Q101352'}]
SELECT DISTINCT ?u WHERE { resource:Q10540020 property:P734 ?u . ?u rdf:type ontology:Q101352 }
Zhao Kuangzan
action filter_type
action find
entity Zhao Kuangzan
relation family name
type family name
['Zhao Kuangzan', 'family name', {'concept': 'family name'}]
SELECT DISTINCT ?u WHERE { resource:Zhao_Kuangzan property:family_name ?u . ?u rdf:type ontology:family_name }
[]
family name
Q804886
SYSTEM
Zhao
Q804886
(Q10540020,P734,c(Q101352))
action filter_type
action find
entity Q10540020
relation P734
type Q101352
Song [ANSWER] is associated with [ANSWER] Kuangzan
['Q10540020', 'P734', {'concept': 'Q101352'}]
SELECT DISTINCT ?u WHERE { resource:Q10540020 property:P734 ?u . ?u rdf:type ontology:Q101352 }
Zhao
Song Zhao is associated with Zhao Kuangzan
Zhao
action filter_type
action find
entity Zhao Kuangzan
relation family name
type family name
['Zhao Kuangzan', 'family name', {'concept': 'family name'}]
SELECT DISTINCT ?u WHERE { resource:Zhao_Kuangzan property:family_name ?u . ?u rdf:type ontology:family_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10540020
P7
Q502895
USER
Who are siblings of Zhao Kuangzan ?
(c(Q502895),P7,Q10540020)
action filter_type
action find_reverse
entity Q10540020
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q10540020']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P7 resource:Q10540020 }
Zhao Kuangzan
action filter_type
action find_reverse
entity Zhao Kuangzan
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Zhao Kuangzan']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:brother resource:Zhao_Kuangzan }
[]
common name
Q7473 Q7471 Q15913401
SYSTEM
Emperor Taizong of Song, Emperor Taizu of Song, Zhao Tingmei
Q15932617 Q7471 Q7473 Q16603710 Q15941504 Q15913401
(c(Q502895),P7,Q10540020)
action filter_type
action find_reverse
entity Q10540020
relation P7
type Q502895
Siblings of Zhao Kuangzan are [ANSWERS]
[{'concept': 'Q502895'}, 'P7', 'Q10540020']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P7 resource:Q10540020 }
Princess Yanguo Zhang Emperor Taizu of Song Emperor Taizong of Song Princess Chenguo Zhang Zhao Kuangji Zhao Tingmei
Siblings of Zhao Kuangzan are Emperor Taizong of Song, Emperor Taizu of Song and Zhao Tingmei
Emperor Taizong of Song Emperor Taizu of Song Zhao Tingmei
action filter_type
action find_reverse
entity Zhao Kuangzan
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Zhao Kuangzan']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:brother resource:Zhao_Kuangzan }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q7473 Q7471 Q15913401
P22
Q502895
USER
Which people were the father of those ones ?
(Q7473,P22,c(Q502895)) (Q7471,P22,c(Q502895)) (Q15913401,P22,c(Q502895))
action filter_type
action find
entity prev_answer
relation P22
type Q502895
['Q7473', 'P22', {'concept': 'Q502895'}] ['Q7471', 'P22', {'concept': 'Q502895'}] ['Q15913401', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { VALUES ( ?m ) { ( resource:Q15932617 ) ( resource:Q7471 ) ( resource:Q7473 ) } . ?m property:P22 ?f . ?f rdf:type ontology:Q502895 }
Emperor Taizong of Song Emperor Taizu of Song Zhao Tingmei
action filter_type
action find
entity prev_answer
relation father
type common name
['Emperor Taizong of Song', 'father', {'concept': 'common name'}] ['Emperor Taizu of Song', 'father', {'concept': 'common name'}] ['Zhao Tingmei', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { VALUES ( ?m ) { ( resource:Princess_Yanguo_Zhang ) ( resource:Emperor_Taizu_of_Song ) ( resource:Emperor_Taizong_of_Song ) } . ?m property:father ?f . ?f rdf:type ontology:common_name }
[]
common name
Q7209784 Q7209784 Q7209784
SYSTEM
Zhao Hongyin
Q7209784 Q7209784 Q7209784
(Q7473,P22,c(Q502895)) (Q7471,P22,c(Q502895)) (Q15913401,P22,c(Q502895))
action filter_type
action find
entity prev_answer
relation P22
type Q502895
[ANSWER], [ANSWER] and [ANSWER] were the father of those ones
['Q7473', 'P22', {'concept': 'Q502895'}] ['Q7471', 'P22', {'concept': 'Q502895'}] ['Q15913401', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { VALUES ( ?m ) { ( resource:Q15932617 ) ( resource:Q7471 ) ( resource:Q7473 ) } . ?m property:P22 ?f . ?f rdf:type ontology:Q502895 }
Zhao Hongyin Zhao Hongyin Zhao Hongyin
Zhao Hongyin, Zhao Hongyin and Zhao Hongyin were the father of those ones
Zhao Hongyin Zhao Hongyin Zhao Hongyin
action filter_type
action find
entity prev_answer
relation father
type common name
['Emperor Taizong of Song', 'father', {'concept': 'common name'}] ['Emperor Taizu of Song', 'father', {'concept': 'common name'}] ['Zhao Tingmei', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { VALUES ( ?m ) { ( resource:Princess_Yanguo_Zhang ) ( resource:Emperor_Taizu_of_Song ) ( resource:Emperor_Taizong_of_Song ) } . ?m property:father ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7209784
P26
Q502895
USER
Who is the spouse of Zhao Hongyin ?
(Q7209784,P26,c(Q502895))
action filter_type
action find
entity Q7209784
relation P26
type Q502895
['Q7209784', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q7209784 property:P26 ?j . ?j rdf:type ontology:Q502895 }
Zhao Hongyin
action filter_type
action find
entity Zhao Hongyin
relation spouse
type common name
['Zhao Hongyin', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Zhao_Hongyin property:spouse ?j . ?j rdf:type ontology:common_name }
[]
common name
Q8259161
SYSTEM
Empress Dowager Du
Q8259161
(Q7209784,P26,c(Q502895))
action filter_type
action find
entity Q7209784
relation P26
type Q502895
The spouse of Zhao Hongyin is the [ANSWER]
['Q7209784', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q7209784 property:P26 ?j . ?j rdf:type ontology:Q502895 }
Empress Dowager Du
The spouse of Zhao Hongyin is the Empress Dowager Du
Empress Dowager Du
action filter_type
action find
entity Zhao Hongyin
relation spouse
type common name
['Zhao Hongyin', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Zhao_Hongyin property:spouse ?j . ?j rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5809907
Q502895
USER
And also tell me about Per Holknekt?
(Q5809907,P26,c(Q502895))
action filter_type
action find
entity Q5809907
relation P26
type Q502895
['Q5809907', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q5809907 property:P26 ?i . ?i rdf:type ontology:Q502895 }
Per Holknekt
action filter_type
action find
entity Per Holknekt
relation spouse
type common name
['Per Holknekt', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Per_Holknekt property:spouse ?i . ?i rdf:type ontology:common_name }
[]
common name
Q442863 Q235825
SYSTEM
Viktoria Tolstoy, Lena Philipsson
Q442863 Q235825
(Q5809907,P26,c(Q502895))
action filter_type
action find
entity Q5809907
relation P26
type Q502895
[ANSWERS]
['Q5809907', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q5809907 property:P26 ?i . ?i rdf:type ontology:Q502895 }
Viktoria Tolstoy Lena Philipsson
Viktoria Tolstoy Lena Philipsson
action filter_type
action find
entity Per Holknekt
relation spouse
type common name
['Per Holknekt', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Per_Holknekt property:spouse ?i . ?i rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5809907
P26
Q502895
USER
Are Per Holknekt married to those ones ?
(Q5809907,P26,Q442863) (Q5809907,P26,Q235825)
action is_in
entity prev_answer
action find
entity Q5809907
relation P26
['Q5809907', 'P26', 'Q442863'] ['Q5809907', 'P26', 'Q235825']
ASK WHERE { resource:Q5809907 property:P26 ?j . VALUES ( ?j ) { ( resource:Q442863 ) ( resource:Q235825 ) } }
Per Holknekt
action is_in
entity prev_answer
action find
entity Per Holknekt
relation spouse
['Per Holknekt', 'spouse', 'Viktoria Tolstoy'] ['Per Holknekt', 'spouse', 'Lena Philipsson']
ASK WHERE { resource:Per_Holknekt property:spouse ?j . VALUES ( ?j ) { ( resource:Viktoria_Tolstoy ) ( resource:Lena_Philipsson ) } }
[]
common name
SYSTEM
YES
(Q5809907,P26,Q442863) (Q5809907,P26,Q235825)
action is_in
entity prev_answer
action find
entity Q5809907
relation P26
[ANSWER]
['Q5809907', 'P26', 'Q442863'] ['Q5809907', 'P26', 'Q235825']
ASK WHERE { resource:Q5809907 property:P26 ?j . VALUES ( ?j ) { ( resource:Q442863 ) ( resource:Q235825 ) } }
Yes
action is_in
entity prev_answer
action find
entity Per Holknekt
relation spouse
['Per Holknekt', 'spouse', 'Viktoria Tolstoy'] ['Per Holknekt', 'spouse', 'Lena Philipsson']
ASK WHERE { resource:Per_Holknekt property:spouse ?j . VALUES ( ?j ) { ( resource:Viktoria_Tolstoy ) ( resource:Lena_Philipsson ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8259161
P25
Q502895
USER
Who are the offspring of Empress Dowager Du ?
(c(Q502895),P25,Q8259161)
action filter_type
action find_reverse
entity Q8259161
relation P25
type Q502895
[{'concept': 'Q502895'}, 'P25', 'Q8259161']
SELECT DISTINCT ?u WHERE { ?u property:P25 resource:Q8259161 . ?u rdf:type ontology:Q502895 }
Empress Dowager Du
action filter_type
action find_reverse
entity Empress Dowager Du
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Empress Dowager Du']
SELECT DISTINCT ?u WHERE { ?u property:mother resource:Empress_Dowager_Du . ?u rdf:type ontology:common_name }
[]
common name
Q7473 Q7471 Q15941504
SYSTEM
Emperor Taizong of Song, Emperor Taizu of Song, Zhao Kuangji
Q15932617 Q7471 Q7473 Q16603710 Q15941504 Q10540020
(c(Q502895),P25,Q8259161)
action filter_type
action find_reverse
entity Q8259161
relation P25
type Q502895
The offspring of Empress Dowager Du are [ANSWERS]
[{'concept': 'Q502895'}, 'P25', 'Q8259161']
SELECT DISTINCT ?u WHERE { ?u property:P25 resource:Q8259161 . ?u rdf:type ontology:Q502895 }
Princess Yanguo Zhang Emperor Taizu of Song Emperor Taizong of Song Princess Chenguo Zhang Zhao Kuangji Zhao Kuangzan
The offspring of Empress Dowager Du are Emperor Taizong of Song, Emperor Taizu of Song and Zhao Kuangji
Emperor Taizong of Song Emperor Taizu of Song Zhao Kuangji
action filter_type
action find_reverse
entity Empress Dowager Du
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Empress Dowager Du']
SELECT DISTINCT ?u WHERE { ?u property:mother resource:Empress_Dowager_Du . ?u rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7473
P21
Q290
USER
Which sex does Emperor Taizong of Song belong to ?
(Q7473,P21,c(Q290))
action filter_type
action find
entity Q7473
relation P21
type Q290
['Q7473', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q7473 property:P21 ?e . ?e rdf:type ontology:Q290 }
Emperor Taizong of Song
action filter_type
action find
entity Emperor Taizong of Song
relation gender
type sex
['Emperor Taizong of Song', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Emperor_Taizong_of_Song property:gender ?e . ?e rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7473,P21,c(Q290))
action filter_type
action find
entity Q7473
relation P21
type Q290
Emperor Taizong of Song belongs to the [ANSWER]
['Q7473', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q7473 property:P21 ?e . ?e rdf:type ontology:Q290 }
male
Emperor Taizong of Song belongs to the male
male
action filter_type
action find
entity Emperor Taizong of Song
relation gender
type sex
['Emperor Taizong of Song', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Emperor_Taizong_of_Song property:gender ?e . ?e rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7473
P40
Q502895
USER
Whose child are that one ?
(c(Q502895),P40,Q6581097)
action filter_type
action find_reverse
entity Q7473
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q6581097']
SELECT DISTINCT ?z WHERE { ?z property:P40 resource:Q7473 . ?z rdf:type ontology:Q502895 }
Emperor Taizong of Song
action filter_type
action find_reverse
entity Emperor Taizong of Song
relation child
type common name
[{'concept': 'common name'}, 'child', 'male']
SELECT DISTINCT ?z WHERE { ?z property:child resource:Emperor_Taizong_of_Song . ?z rdf:type ontology:common_name }
[]
common name
Q8259161 Q7209784
SYSTEM
Empress Dowager Du, Zhao Hongyin
Q8259161 Q7209784
(c(Q502895),P40,Q6581097)
action filter_type
action find_reverse
entity Q7473
relation P40
type Q502895
[ANSWERS] are that one
[{'concept': 'Q502895'}, 'P40', 'Q6581097']
SELECT DISTINCT ?z WHERE { ?z property:P40 resource:Q7473 . ?z rdf:type ontology:Q502895 }
Empress Dowager Du Zhao Hongyin
Empress Dowager Du and Zhao Hongyin are that one
Empress Dowager Du Zhao Hongyin
action filter_type
action find_reverse
entity Emperor Taizong of Song
relation child
type common name
[{'concept': 'common name'}, 'child', 'male']
SELECT DISTINCT ?z WHERE { ?z property:child resource:Emperor_Taizong_of_Song . ?z rdf:type ontology:common_name }
[]