Simple Question (Direct)
Simple Question
Q15838922
P22
Q502895
USER
Which male person was the parent of Minamoto no Akimasa ?
(Q15838922,P22,c(Q502895))
action filter_type
action find
entity Q15838922
relation P22
type Q502895
['Q15838922', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q15838922 property:P22 ?u . ?u rdf:type ontology:Q502895 }
Minamoto no Akimasa
action filter_type
action find
entity Minamoto no Akimasa
relation father
type common name
['Minamoto no Akimasa', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Minamoto_no_Akimasa property:father ?u . ?u rdf:type ontology:common_name }
[]
common name
Q11564369
SYSTEM
Minamoto no Akifusa
Q11564369
(Q15838922,P22,c(Q502895))
action filter_type
action find
entity Q15838922
relation P22
type Q502895
Of [ANSWER] was the parent of Minamoto no Akimasa
['Q15838922', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q15838922 property:P22 ?u . ?u rdf:type ontology:Q502895 }
Minamoto no Akifusa
Of Minamoto no Akifusa was the parent of Minamoto no Akimasa
Minamoto no Akifusa
action filter_type
action find
entity Minamoto no Akimasa
relation father
type common name
['Minamoto no Akimasa', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Minamoto_no_Akimasa property:father ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15838922
P7
Q502895
USER
Who are siblings of Minamoto no Akimasa ?
(c(Q502895),P7,Q15838922)
action filter_type
action find_reverse
entity Q15838922
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q15838922']
SELECT DISTINCT ?o WHERE { ?o property:P7 resource:Q15838922 . ?o rdf:type ontology:Q502895 }
Minamoto no Akimasa
action filter_type
action find_reverse
entity Minamoto no Akimasa
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Minamoto no Akimasa']
SELECT DISTINCT ?o WHERE { ?o property:brother resource:Minamoto_no_Akimasa . ?o rdf:type ontology:common_name }
[]
common name
Q5507520 Q11564333 Q11563994
SYSTEM
Fujiwara no Kenshi, Minamoto no Masakane, Minamoto no Nobumasa
Q11564032 Q11564333 Q11564335 Q11564368 Q5507520 Q11563994 Q11452244
(c(Q502895),P7,Q15838922)
action filter_type
action find_reverse
entity Q15838922
relation P7
type Q502895
Siblings of Minamoto no Akimasa are the [ANSWERS]
[{'concept': 'Q502895'}, 'P7', 'Q15838922']
SELECT DISTINCT ?o WHERE { ?o property:P7 resource:Q15838922 . ?o rdf:type ontology:Q502895 }
Minamoto no Kunizane Minamoto no Masakane Minamoto no Masazane Minamoto no Akinaka Fujiwara no Kenshi Minamoto no Nobumasa Jōkai
Siblings of Minamoto no Akimasa are the Fujiwara no Kenshi, Minamoto no Masakane and Minamoto no Nobumasa
Fujiwara no Kenshi Minamoto no Masakane Minamoto no Nobumasa
action filter_type
action find_reverse
entity Minamoto no Akimasa
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Minamoto no Akimasa']
SELECT DISTINCT ?o WHERE { ?o property:brother resource:Minamoto_no_Akimasa . ?o rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q5507520 Q11564333 Q11563994
P21
Q290
USER
Which sexes do those people have ?
(Q5507520,P21,c(Q290)) (Q11564333,P21,c(Q290)) (Q11563994,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q5507520', 'P21', {'concept': 'Q290'}] ['Q11564333', 'P21', {'concept': 'Q290'}] ['Q11563994', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { VALUES ( ?r ) { ( resource:Q11564032 ) ( resource:Q11564333 ) ( resource:Q11564335 ) } . ?y rdf:type ontology:Q290 . ?r property:P21 ?y }
Fujiwara no Kenshi Minamoto no Masakane Minamoto no Nobumasa
action filter_type
action find
entity prev_answer
relation gender
type sex
['Fujiwara no Kenshi', 'gender', {'concept': 'sex'}] ['Minamoto no Masakane', 'gender', {'concept': 'sex'}] ['Minamoto no Nobumasa', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { VALUES ( ?r ) { ( resource:Minamoto_no_Kunizane ) ( resource:Minamoto_no_Masakane ) ( resource:Minamoto_no_Masazane ) } . ?y rdf:type ontology:sex . ?r property:gender ?y }
[]
sex
Q6581072 Q6581097 Q6581097
SYSTEM
male for 2nd, 3rd, female for 1st
Q6581072 Q6581097 Q6581097
(Q5507520,P21,c(Q290)) (Q11564333,P21,c(Q290)) (Q11563994,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
[ANSWERS]
['Q5507520', 'P21', {'concept': 'Q290'}] ['Q11564333', 'P21', {'concept': 'Q290'}] ['Q11563994', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { VALUES ( ?r ) { ( resource:Q11564032 ) ( resource:Q11564333 ) ( resource:Q11564335 ) } . ?y rdf:type ontology:Q290 . ?r property:P21 ?y }
female male male
Those people have a female, male and male
female male male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Fujiwara no Kenshi', 'gender', {'concept': 'sex'}] ['Minamoto no Masakane', 'gender', {'concept': 'sex'}] ['Minamoto no Nobumasa', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { VALUES ( ?r ) { ( resource:Minamoto_no_Kunizane ) ( resource:Minamoto_no_Masakane ) ( resource:Minamoto_no_Masazane ) } . ?y rdf:type ontology:sex . ?r property:gender ?y }
[]
Clarification
Simple Question|Single Entity|Indirect
Q6581072
P180
Q811430
USER
Which construction depicts that sex ?
(c(Q811430),P180,Q6581072)
action filter_type
action find_reverse
entity Q6581072
relation P180
type Q811430
[{'concept': 'Q811430'}, 'P180', 'Q6581072']
SELECT DISTINCT ?c WHERE { ?c property:P180 resource:Q6581072 . ?c rdf:type ontology:Q811430 }
female
action filter_type
action find_reverse
entity female
relation depicts
type construction
[{'concept': 'construction'}, 'depicts', 'female']
SELECT DISTINCT ?c WHERE { ?c property:depicts resource:female . ?c rdf:type ontology:construction }
[]
construction
Clarification for simple ques.
Q6581097
SYSTEM
Did you mean male ?
Q6581072 Q6581097 Q6581097
(c(Q811430),P180,Q6581072) (c(Q811430),P180,Q6581097) (c(Q811430),P180,Q6581097)
[ANSWER]
[{'concept': 'Q811430'}, 'P180', 'Q6581072'] [{'concept': 'Q811430'}, 'P180', 'Q6581097'] [{'concept': 'Q811430'}, 'P180', 'Q6581097']
SELECT DISTINCT ?c WHERE { ?c property:P180 resource:Q6581072 . ?c rdf:type ontology:Q811430 }
female male male
Did you mean male ?
male
[{'concept': 'construction'}, 'depicts', 'female'] [{'concept': 'construction'}, 'depicts', 'male'] [{'concept': 'construction'}, 'depicts', 'male']
SELECT DISTINCT ?c WHERE { ?c property:depicts resource:female . ?c rdf:type ontology:construction }
[]
Simple Question (Coreferenced)
USER
No, I meant female. Could you tell me the answer for that?
(c(Q811430),P180,Q6581072)
Q6581072
[{'concept': 'Q811430'}, 'P180', 'Q6581072']
[{'concept': 'construction'}, 'depicts', 'female']
[]
Q707669
SYSTEM
Bavaria
Q707669
(c(Q811430),P180,Q6581072)
action filter_type
action find_reverse
entity Q6581072
relation P180
type Q811430
[ANSWER] depicts that sex
[{'concept': 'Q811430'}, 'P180', 'Q6581072']
SELECT DISTINCT ?c WHERE { ?c property:P180 resource:Q6581072 . ?c rdf:type ontology:Q811430 }
Bavaria
Bavaria depicts that sex
Bavaria
action filter_type
action find_reverse
entity female
relation depicts
type construction
[{'concept': 'construction'}, 'depicts', 'female']
SELECT DISTINCT ?c WHERE { ?c property:depicts resource:female . ?c rdf:type ontology:construction }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5507520
P25
Q502895
USER
Which people have Fujiwara no Kenshi as mom ?
(c(Q502895),P25,Q5507520)
action filter_type
action find_reverse
entity Q5507520
relation P25
type Q502895
[{'concept': 'Q502895'}, 'P25', 'Q5507520']
SELECT DISTINCT ?q WHERE { ?q property:P25 resource:Q5507520 . ?q rdf:type ontology:Q502895 }
Fujiwara no Kenshi
action filter_type
action find_reverse
entity Fujiwara no Kenshi
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Fujiwara no Kenshi']
SELECT DISTINCT ?q WHERE { ?q property:mother resource:Fujiwara_no_Kenshi . ?q rdf:type ontology:common_name }
[]
common name
Q10884465 Q464267 Q3266789
SYSTEM
Reishi-naishinnō, Emperor Horikawa, Yasuko-naishinnō
Q10884465 Q464267 Q3266789
(c(Q502895),P25,Q5507520)
action filter_type
action find_reverse
entity Q5507520
relation P25
type Q502895
[ANSWERS] have Fujiwara no Kenshi as mom
[{'concept': 'Q502895'}, 'P25', 'Q5507520']
SELECT DISTINCT ?q WHERE { ?q property:P25 resource:Q5507520 . ?q rdf:type ontology:Q502895 }
Reishi-naishinnō Emperor Horikawa Yasuko-naishinnō
Reishi-naishinnō, Emperor Horikawa and Yasuko-naishinnō have Fujiwara no Kenshi as mom
Reishi-naishinnō Emperor Horikawa Yasuko-naishinnō
action filter_type
action find_reverse
entity Fujiwara no Kenshi
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Fujiwara no Kenshi']
SELECT DISTINCT ?q WHERE { ?q property:mother resource:Fujiwara_no_Kenshi . ?q rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q10884465 Q464267 Q3266789
P40
Q502895
USER
Who have Reishi-naishinnō, Emperor Horikawa and Yasuko-naishinnō as an offspring ?
(c(Q502895),P40,Q10884465) (c(Q502895),P40,Q464267) (c(Q502895),P40,Q3266789)
action union
action filter_type
action find_reverse
entity Q10884465
relation P40
type Q502895
action filter_type
action find_reverse
entity Q464267
relation P40
type Q502895
action filter_type
action find_reverse
entity Q3266789
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q10884465'] [{'concept': 'Q502895'}, 'P40', 'Q464267'] [{'concept': 'Q502895'}, 'P40', 'Q3266789']
SELECT DISTINCT ?y WHERE { { ?y property:P40 resource:Q10884465 . ?y rdf:type ontology:Q502895 } UNION { ?y property:P40 resource:Q464267 . ?y rdf:type ontology:Q502895 } }
Reishi-naishinnō Emperor Horikawa Yasuko-naishinnō
action union
action filter_type
action find_reverse
entity Reishi-naishinnō
relation child
type common name
action filter_type
action find_reverse
entity Emperor Horikawa
relation child
type common name
action filter_type
action find_reverse
entity Yasuko-naishinnō
relation child
type common name
[{'concept': 'common name'}, 'child', 'Reishi-naishinnō'] [{'concept': 'common name'}, 'child', 'Emperor Horikawa'] [{'concept': 'common name'}, 'child', 'Yasuko-naishinnō']
SELECT DISTINCT ?y WHERE { { ?y property:child resource:Reishi-naishinnō . ?y rdf:type ontology:common_name } UNION { ?y property:child resource:Emperor_Horikawa . ?y rdf:type ontology:common_name } }
[]
common name
Q60949 Q60949 Q60949
SYSTEM
Emperor Shirakawa
Q5507520 Q60949 Q5507520 Q60949 Q5507520 Q60949
(c(Q502895),P40,Q10884465) (c(Q502895),P40,Q464267) (c(Q502895),P40,Q3266789)
action union
action filter_type
action find_reverse
entity Q10884465
relation P40
type Q502895
action filter_type
action find_reverse
entity Q464267
relation P40
type Q502895
action filter_type
action find_reverse
entity Q3266789
relation P40
type Q502895
[ANSWER], [ANSWER] and [ANSWER] have Reishi-naishinnō, Emperor Horikawa and Yasuko-naishinnō as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q10884465'] [{'concept': 'Q502895'}, 'P40', 'Q464267'] [{'concept': 'Q502895'}, 'P40', 'Q3266789']
SELECT DISTINCT ?y WHERE { { ?y property:P40 resource:Q10884465 . ?y rdf:type ontology:Q502895 } UNION { ?y property:P40 resource:Q464267 . ?y rdf:type ontology:Q502895 } }
Fujiwara no Kenshi Emperor Shirakawa Fujiwara no Kenshi Emperor Shirakawa Fujiwara no Kenshi Emperor Shirakawa
Emperor Shirakawa, Emperor Shirakawa and Emperor Shirakawa have Reishi-naishinnō, Emperor Horikawa and Yasuko-naishinnō as an offspring
Emperor Shirakawa Emperor Shirakawa Emperor Shirakawa
action union
action filter_type
action find_reverse
entity Reishi-naishinnō
relation child
type common name
action filter_type
action find_reverse
entity Emperor Horikawa
relation child
type common name
action filter_type
action find_reverse
entity Yasuko-naishinnō
relation child
type common name
[{'concept': 'common name'}, 'child', 'Reishi-naishinnō'] [{'concept': 'common name'}, 'child', 'Emperor Horikawa'] [{'concept': 'common name'}, 'child', 'Yasuko-naishinnō']
SELECT DISTINCT ?y WHERE { { ?y property:child resource:Reishi-naishinnō . ?y rdf:type ontology:common_name } UNION { ?y property:child resource:Emperor_Horikawa . ?y rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q60949
P26
Q502895
USER
Who is married to Emperor Shirakawa ?
(c(Q502895),P26,Q60949)
action filter_type
action find
entity Q60949
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q60949']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . resource:Q60949 property:P26 ?u }
Emperor Shirakawa
action filter_type
action find
entity Emperor Shirakawa
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Emperor Shirakawa']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . resource:Emperor_Shirakawa property:spouse ?u }
[]
common name
Q5507520
SYSTEM
Fujiwara no Kenshi
Q5507520
(c(Q502895),P26,Q60949)
action filter_type
action find
entity Q60949
relation P26
type Q502895
Emperor [ANSWER] is married to Emperor Shirakawa
[{'concept': 'Q502895'}, 'P26', 'Q60949']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . resource:Q60949 property:P26 ?u }
Fujiwara no Kenshi
Emperor Fujiwara no Kenshi is married to Emperor Shirakawa
Fujiwara no Kenshi
action filter_type
action find
entity Emperor Shirakawa
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Emperor Shirakawa']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . resource:Emperor_Shirakawa property:spouse ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5507520
P9
Q502895
USER
Who had that one as their sibling ?
(c(Q502895),P9,Q5507520)
action filter_type
action find_reverse
entity Q5507520
relation P9
type Q502895
[{'concept': 'Q502895'}, 'P9', 'Q5507520']
SELECT DISTINCT ?o WHERE { ?o property:P9 resource:Q5507520 . ?o rdf:type ontology:Q502895 }
Fujiwara no Kenshi
action filter_type
action find_reverse
entity Fujiwara no Kenshi
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Fujiwara no Kenshi']
SELECT DISTINCT ?o WHERE { ?o property:sister resource:Fujiwara_no_Kenshi . ?o rdf:type ontology:common_name }
[]
common name
Q15838925 Q11564333 Q11563994
SYSTEM
Fujiwara no Sonshi, Minamoto no Masakane, Minamoto no Nobumasa
Q11564032 Q15838922 Q11564333 Q11564335 Q11564368 Q15838925 Q11563994 Q11452244
(c(Q502895),P9,Q5507520)
action filter_type
action find_reverse
entity Q5507520
relation P9
type Q502895
[ANSWERS] had that one as their sibling
[{'concept': 'Q502895'}, 'P9', 'Q5507520']
SELECT DISTINCT ?o WHERE { ?o property:P9 resource:Q5507520 . ?o rdf:type ontology:Q502895 }
Minamoto no Kunizane Minamoto no Akimasa Minamoto no Masakane Minamoto no Masazane Minamoto no Akinaka Fujiwara no Sonshi Minamoto no Nobumasa Jōkai
Fujiwara no Sonshi, Minamoto no Masakane and Minamoto no Nobumasa had that one as their sibling
Fujiwara no Sonshi Minamoto no Masakane Minamoto no Nobumasa
action filter_type
action find_reverse
entity Fujiwara no Kenshi
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Fujiwara no Kenshi']
SELECT DISTINCT ?o WHERE { ?o property:sister resource:Fujiwara_no_Kenshi . ?o rdf:type ontology:common_name }
[]