Simple Question (Direct)
Simple Question
Q313806
P7
Q502895
USER
Which person is the brother of Kōkaku ?
(Q313806,P7,c(Q502895))
action filter_type
action find
entity Q313806
relation P7
type Q502895
['Q313806', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q313806 property:P7 ?d . ?d rdf:type ontology:Q502895 }
Kōkaku
action filter_type
action find
entity Kōkaku
relation brother
type common name
['Kōkaku', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Kōkaku property:brother ?d . ?d rdf:type ontology:common_name }
[]
common name
Q11655355
SYSTEM
Kan'in-no-miya Haruhito-shinnō
Q11655355
(Q313806,P7,c(Q502895))
action filter_type
action find
entity Q313806
relation P7
type Q502895
Of [ANSWER] is the brother of Kōkaku
['Q313806', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q313806 property:P7 ?d . ?d rdf:type ontology:Q502895 }
Kan'in-no-miya Haruhito-shinnō
Of Kan'in-no-miya Haruhito-shinnō is the brother of Kōkaku
Kan'in-no-miya Haruhito-shinnō
action filter_type
action find
entity Kōkaku
relation brother
type common name
['Kōkaku', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Kōkaku property:brother ?d . ?d rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11655355
P40
Q502895
USER
Who has that one as a child ?
(c(Q502895),P40,Q11655355)
action filter_type
action find_reverse
entity Q11655355
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q11655355']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . ?b property:P40 resource:Q11655355 }
Kan'in-no-miya Haruhito-shinnō
action filter_type
action find_reverse
entity Kan'in-no-miya Haruhito-shinnō
relation child
type common name
[{'concept': 'common name'}, 'child', "Kan'in-no-miya Haruhito-shinnō"]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . ?b property:child resource:Kan'in-no-miya_Haruhito-shinnō }
[]
common name
Q5355626
SYSTEM
Kan'in-no-miya Sukehito-shinnō
Q5355626
(c(Q502895),P40,Q11655355)
action filter_type
action find_reverse
entity Q11655355
relation P40
type Q502895
[ANSWER] has that one as a child
[{'concept': 'Q502895'}, 'P40', 'Q11655355']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . ?b property:P40 resource:Q11655355 }
Kan'in-no-miya Sukehito-shinnō
Kan'in-no-miya Sukehito-shinnō has that one as a child
Kan'in-no-miya Sukehito-shinnō
action filter_type
action find_reverse
entity Kan'in-no-miya Haruhito-shinnō
relation child
type common name
[{'concept': 'common name'}, 'child', "Kan'in-no-miya Haruhito-shinnō"]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . ?b property:child resource:Kan'in-no-miya_Haruhito-shinnō }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q313806
P22
Q502895
USER
Who are the offspring of Kōkaku ?
(c(Q502895),P22,Q313806)
action filter_type
action find_reverse
entity Q313806
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q313806']
SELECT DISTINCT ?n WHERE { ?n property:P22 resource:Q313806 . ?n rdf:type ontology:Q502895 }
Kōkaku
action filter_type
action find_reverse
entity Kōkaku
relation father
type common name
[{'concept': 'common name'}, 'father', 'Kōkaku']
SELECT DISTINCT ?n WHERE { ?n property:father resource:Kōkaku . ?n rdf:type ontology:common_name }
[]
common name
Q11111429 Q312351 Q11015281
SYSTEM
Katsura-no-miya Takehito-shinnō, Ninkō, Masuhito-shinnō
Q11111429 Q312351 Q11015281
(c(Q502895),P22,Q313806)
action filter_type
action find_reverse
entity Q313806
relation P22
type Q502895
The offspring of Kōkaku are [ANSWERS]
[{'concept': 'Q502895'}, 'P22', 'Q313806']
SELECT DISTINCT ?n WHERE { ?n property:P22 resource:Q313806 . ?n rdf:type ontology:Q502895 }
Katsura-no-miya Takehito-shinnō Ninkō Masuhito-shinnō
The offspring of Kōkaku are Katsura-no-miya Takehito-shinnō, Ninkō and Masuhito-shinnō
Katsura-no-miya Takehito-shinnō Ninkō Masuhito-shinnō
action filter_type
action find_reverse
entity Kōkaku
relation father
type common name
[{'concept': 'common name'}, 'father', 'Kōkaku']
SELECT DISTINCT ?n WHERE { ?n property:father resource:Kōkaku . ?n rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q11111429 Q312351 Q11015281
P7
Q502895
USER
Which people are the brothers of Katsura-no-miya Takehito-shinnō, Ninkō and Masuhito-shinnō ?
(Q11111429,P7,c(Q502895)) (Q312351,P7,c(Q502895)) (Q11015281,P7,c(Q502895))
action union
action filter_type
action find
entity Q11111429
relation P7
type Q502895
action filter_type
action find
entity Q312351
relation P7
type Q502895
action filter_type
action find
entity Q11015281
relation P7
type Q502895
['Q11111429', 'P7', {'concept': 'Q502895'}] ['Q312351', 'P7', {'concept': 'Q502895'}] ['Q11015281', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { VALUES ( ?u ) { ( resource:Q11111429 ) ( resource:Q312351 ) } . ?u property:P7 ?k }
Katsura-no-miya Takehito-shinnō Ninkō Masuhito-shinnō
action union
action filter_type
action find
entity Katsura-no-miya Takehito-shinnō
relation brother
type common name
action filter_type
action find
entity Ninkō
relation brother
type common name
action filter_type
action find
entity Masuhito-shinnō
relation brother
type common name
['Katsura-no-miya Takehito-shinnō', 'brother', {'concept': 'common name'}] ['Ninkō', 'brother', {'concept': 'common name'}] ['Masuhito-shinnō', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { VALUES ( ?u ) { ( resource:Katsura-no-miya_Takehito-shinnō ) ( resource:Ninkō ) } . ?u property:brother ?k }
[]
common name
Q312351 Q312351 Q11015281
SYSTEM
Ninkō for 1st, 2nd, Masuhito-shinnō for 3rd
Q312351 Q11015281 Q11111429 Q11015281 Q11111429 Q312351
(Q11111429,P7,c(Q502895)) (Q312351,P7,c(Q502895)) (Q11015281,P7,c(Q502895))
action union
action filter_type
action find
entity Q11111429
relation P7
type Q502895
action filter_type
action find
entity Q312351
relation P7
type Q502895
action filter_type
action find
entity Q11015281
relation P7
type Q502895
[ANSWERS]
['Q11111429', 'P7', {'concept': 'Q502895'}] ['Q312351', 'P7', {'concept': 'Q502895'}] ['Q11015281', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { VALUES ( ?u ) { ( resource:Q11111429 ) ( resource:Q312351 ) } . ?u property:P7 ?k }
Ninkō Masuhito-shinnō Katsura-no-miya Takehito-shinnō Masuhito-shinnō Katsura-no-miya Takehito-shinnō Ninkō
Ninkō, Ninkō and Masuhito-shinnō are the brothers of Katsura-no-miya Takehito-shinnō, Ninkō and Masuhito-shinnō
Ninkō Ninkō Masuhito-shinnō
action union
action filter_type
action find
entity Katsura-no-miya Takehito-shinnō
relation brother
type common name
action filter_type
action find
entity Ninkō
relation brother
type common name
action filter_type
action find
entity Masuhito-shinnō
relation brother
type common name
['Katsura-no-miya Takehito-shinnō', 'brother', {'concept': 'common name'}] ['Ninkō', 'brother', {'concept': 'common name'}] ['Masuhito-shinnō', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { VALUES ( ?u ) { ( resource:Katsura-no-miya_Takehito-shinnō ) ( resource:Ninkō ) } . ?u property:brother ?k }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11015281
P25
Q502895
USER
Which person was the mother of Masuhito-shinnō ?
(Q11015281,P25,c(Q502895))
action filter_type
action find
entity Q11015281
relation P25
type Q502895
['Q11015281', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q11015281 property:P25 ?y . ?y rdf:type ontology:Q502895 }
Masuhito-shinnō
action filter_type
action find
entity Masuhito-shinnō
relation mother
type common name
['Masuhito-shinnō', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Masuhito-shinnō property:mother ?y . ?y rdf:type ontology:common_name }
[]
common name
Q378987
SYSTEM
Yoshiko-naishinnō
Q378987
(Q11015281,P25,c(Q502895))
action filter_type
action find
entity Q11015281
relation P25
type Q502895
[ANSWER] was the mother of Masuhito-shinnō
['Q11015281', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q11015281 property:P25 ?y . ?y rdf:type ontology:Q502895 }
Yoshiko-naishinnō
Yoshiko-naishinnō was the mother of Masuhito-shinnō
Yoshiko-naishinnō
action filter_type
action find
entity Masuhito-shinnō
relation mother
type common name
['Masuhito-shinnō', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Masuhito-shinnō property:mother ?y . ?y rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q312351
P26
Q502895
USER
Who are married to Ninkō ?
(c(Q502895),P26,Q312351)
action filter_type
action find
entity Q312351
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q312351']
SELECT DISTINCT ?k WHERE { resource:Q312351 property:P26 ?k . ?k rdf:type ontology:Q502895 }
Ninkō
action filter_type
action find
entity Ninkō
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Ninkō']
SELECT DISTINCT ?k WHERE { resource:Ninkō property:spouse ?k . ?k rdf:type ontology:common_name }
[]
common name
Q11121905 Q11123561 Q7140596
SYSTEM
Hashimoto Tsuneko, Tsuneko Fujiwara, Tsunako Takatsukasa
Q11121905 Q11123561 Q7140596
(c(Q502895),P26,Q312351)
action filter_type
action find
entity Q312351
relation P26
type Q502895
[ANSWERS] are married to Ninkō
[{'concept': 'Q502895'}, 'P26', 'Q312351']
SELECT DISTINCT ?k WHERE { resource:Q312351 property:P26 ?k . ?k rdf:type ontology:Q502895 }
Hashimoto Tsuneko Tsuneko Fujiwara Tsunako Takatsukasa
Hashimoto Tsuneko, Tsuneko Fujiwara and Tsunako Takatsukasa are married to Ninkō
Hashimoto Tsuneko Tsuneko Fujiwara Tsunako Takatsukasa
action filter_type
action find
entity Ninkō
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Ninkō']
SELECT DISTINCT ?k WHERE { resource:Ninkō property:spouse ?k . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q11121905 Q11123561 Q7140596
P26
Q502895
USER
Who are married to those ones ?
(c(Q502895),P26,Q11121905) (c(Q502895),P26,Q11123561) (c(Q502895),P26,Q7140596)
action filter_type
action find
entity prev_answer
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q11121905'] [{'concept': 'Q502895'}, 'P26', 'Q11123561'] [{'concept': 'Q502895'}, 'P26', 'Q7140596']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . ?z property:P26 ?k . VALUES ( ?z ) { ( resource:Q11121905 ) ( resource:Q11123561 ) ( resource:Q7140596 ) } }
Hashimoto Tsuneko Tsuneko Fujiwara Tsunako Takatsukasa
action filter_type
action find
entity prev_answer
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Hashimoto Tsuneko'] [{'concept': 'common name'}, 'spouse', 'Tsuneko Fujiwara'] [{'concept': 'common name'}, 'spouse', 'Tsunako Takatsukasa']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . ?z property:spouse ?k . VALUES ( ?z ) { ( resource:Hashimoto_Tsuneko ) ( resource:Tsuneko_Fujiwara ) ( resource:Tsunako_Takatsukasa ) } }
[]
common name
Q312351
SYSTEM
Ninkō
Q312351
(c(Q502895),P26,Q11121905) (c(Q502895),P26,Q11123561) (c(Q502895),P26,Q7140596)
action filter_type
action find
entity prev_answer
relation P26
type Q502895
[ANSWER] is married to those ones
[{'concept': 'Q502895'}, 'P26', 'Q11121905'] [{'concept': 'Q502895'}, 'P26', 'Q11123561'] [{'concept': 'Q502895'}, 'P26', 'Q7140596']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . ?z property:P26 ?k . VALUES ( ?z ) { ( resource:Q11121905 ) ( resource:Q11123561 ) ( resource:Q7140596 ) } }
Ninkō
Ninkō is married to those ones
Ninkō
action filter_type
action find
entity prev_answer
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Hashimoto Tsuneko'] [{'concept': 'common name'}, 'spouse', 'Tsuneko Fujiwara'] [{'concept': 'common name'}, 'spouse', 'Tsunako Takatsukasa']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . ?z property:spouse ?k . VALUES ( ?z ) { ( resource:Hashimoto_Tsuneko ) ( resource:Tsuneko_Fujiwara ) ( resource:Tsunako_Takatsukasa ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q312351
P21
Q290
USER
Which sex does that person belong to ?
(Q312351,P21,c(Q290))
action filter_type
action find
entity Q312351
relation P21
type Q290
['Q312351', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q312351 property:P21 ?p . ?p rdf:type ontology:Q290 }
Ninkō
action filter_type
action find
entity Ninkō
relation gender
type sex
['Ninkō', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Ninkō property:gender ?p . ?p rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q312351,P21,c(Q290))
action filter_type
action find
entity Q312351
relation P21
type Q290
That person belongs to [ANSWER]
['Q312351', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q312351 property:P21 ?p . ?p rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Ninkō
relation gender
type sex
['Ninkō', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Ninkō property:gender ?p . ?p rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q21006400
P21
Q502895
USER
Is Wolf Kankare a that sex ?
(Q21006400,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q21006400
relation P21
['Q21006400', 'P21', 'Q6581097']
ASK WHERE { resource:Q21006400 property:P21 resource:Q6581097 }
male Wolf Kankare
action is_in
entity male
action find
entity Wolf Kankare
relation gender
['Wolf Kankare', 'gender', 'male']
ASK WHERE { resource:Wolf_Kankare property:gender resource:male }
[]
common name
SYSTEM
YES
(Q21006400,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q21006400
relation P21
[ANSWER]
['Q21006400', 'P21', 'Q6581097']
ASK WHERE { resource:Q21006400 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Wolf Kankare
relation gender
['Wolf Kankare', 'gender', 'male']
ASK WHERE { resource:Wolf_Kankare property:gender resource:male }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q312351 Q5592118 Q5019773
P27
Q15617994
USER
Is Ninkō a native of Grady County Schools and Calhoun County School District ?
(Q312351,P27,Q5592118) (Q312351,P27,Q5019773)
action is_in
entity Q312351
action intersection
action find_reverse
entity Q5592118
relation P27
action find_reverse
entity Q5019773
relation P27
['Q312351', 'P27', 'Q5592118'] ['Q312351', 'P27', 'Q5019773']
ASK WHERE { resource:Q312351 property:P27 resource:Q5019773 . resource:Q312351 property:P27 resource:Q5592118 }
Ninkō Grady County Schools Calhoun County School District
action is_in
entity Ninkō
action intersection
action find_reverse
entity Grady County Schools
relation country of citizenship
action find_reverse
entity Calhoun County School District
relation country of citizenship
['Ninkō', 'country of citizenship', 'Grady County Schools'] ['Ninkō', 'country of citizenship', 'Calhoun County School District']
ASK WHERE { resource:Ninkō property:country_of_citizenship resource:Calhoun_County_School_District . resource:Ninkō property:country_of_citizenship resource:Grady_County_Schools }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q312351,P27,Q5592118) (Q312351,P27,Q5019773)
action is_in
entity Q312351
action intersection
action find_reverse
entity Q5592118
relation P27
action find_reverse
entity Q5019773
relation P27
[ANSWER]
['Q312351', 'P27', 'Q5592118'] ['Q312351', 'P27', 'Q5019773']
ASK WHERE { resource:Q312351 property:P27 resource:Q5019773 . resource:Q312351 property:P27 resource:Q5592118 }
No
action is_in
entity Ninkō
action intersection
action find_reverse
entity Grady County Schools
relation country of citizenship
action find_reverse
entity Calhoun County School District
relation country of citizenship
['Ninkō', 'country of citizenship', 'Grady County Schools'] ['Ninkō', 'country of citizenship', 'Calhoun County School District']
ASK WHERE { resource:Ninkō property:country_of_citizenship resource:Calhoun_County_School_District . resource:Ninkō property:country_of_citizenship resource:Grady_County_Schools }
[]