Simple Question (Direct)
Simple Question
Q556250
P166
Q193622
USER
What was awarded to Kenjirō Shōda ?
(Q556250,P166,c(Q193622))
action filter_type
action find
entity Q556250
relation P166
type Q193622
['Q556250', 'P166', {'concept': 'Q193622'}]
SELECT DISTINCT ?z WHERE { resource:Q556250 property:P166 ?z . ?z rdf:type ontology:Q193622 }
Kenjirō Shōda
action filter_type
action find
entity Kenjirō Shōda
relation award received
type order
['Kenjirō Shōda', 'award received', {'concept': 'order'}]
SELECT DISTINCT ?z WHERE { resource:Kenjirō_Shōda property:award_received ?z . ?z rdf:type ontology:order }
[]
order
Q11087099
SYSTEM
Order of the Rising Sun, 1st class
Q11087099
(Q556250,P166,c(Q193622))
action filter_type
action find
entity Q556250
relation P166
type Q193622
Three [ANSWER] was awarded to Kenjirō Shōda
['Q556250', 'P166', {'concept': 'Q193622'}]
SELECT DISTINCT ?z WHERE { resource:Q556250 property:P166 ?z . ?z rdf:type ontology:Q193622 }
Order of the Rising Sun, 1st class
Three Order of the Rising Sun, 1st class was awarded to Kenjirō Shōda
Order of the Rising Sun, 1st class
action filter_type
action find
entity Kenjirō Shōda
relation award received
type order
['Kenjirō Shōda', 'award received', {'concept': 'order'}]
SELECT DISTINCT ?z WHERE { resource:Kenjirō_Shōda property:award_received ?z . ?z rdf:type ontology:order }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q556250
P184
Q502895
USER
Who was the doctoral advisor of Kenjirō Shōda ?
(Q556250,P184,c(Q502895))
action filter_type
action find
entity Q556250
relation P184
type Q502895
['Q556250', 'P184', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q556250 property:P184 ?p . ?p rdf:type ontology:Q502895 }
Kenjirō Shōda
action filter_type
action find
entity Kenjirō Shōda
relation doctoral advisor
type common name
['Kenjirō Shōda', 'doctoral advisor', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Kenjirō_Shōda property:doctoral_advisor ?p . ?p rdf:type ontology:common_name }
[]
common name
Q476959
SYSTEM
Teiji Takagi
Q476959
(Q556250,P184,c(Q502895))
action filter_type
action find
entity Q556250
relation P184
type Q502895
The doctoral advisor of Kenjirō Shōda was [ANSWER]
['Q556250', 'P184', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q556250 property:P184 ?p . ?p rdf:type ontology:Q502895 }
Teiji Takagi
The doctoral advisor of Kenjirō Shōda was Teiji Takagi
Teiji Takagi
action filter_type
action find
entity Kenjirō Shōda
relation doctoral advisor
type common name
['Kenjirō Shōda', 'doctoral advisor', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Kenjirō_Shōda property:doctoral_advisor ?p . ?p rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q556250
P7
Q502895
USER
Who is a sibling of Kenjirō Shōda ?
(c(Q502895),P7,Q556250)
action filter_type
action find
entity Q556250
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q556250']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . resource:Q556250 property:P7 ?z }
Kenjirō Shōda
action filter_type
action find
entity Kenjirō Shōda
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Kenjirō Shōda']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . resource:Kenjirō_Shōda property:brother ?z }
[]
common name
Q11545577
SYSTEM
Hidesaburo Shōda
Q11545577
(c(Q502895),P7,Q556250)
action filter_type
action find
entity Q556250
relation P7
type Q502895
A sibling of Kenjirō Shōda is the [ANSWER]
[{'concept': 'Q502895'}, 'P7', 'Q556250']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . resource:Q556250 property:P7 ?z }
Hidesaburo Shōda
A sibling of Kenjirō Shōda is the Hidesaburo Shōda
Hidesaburo Shōda
action filter_type
action find
entity Kenjirō Shōda
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Kenjirō Shōda']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . resource:Kenjirō_Shōda property:brother ?z }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q556250
P119
Q43229
USER
Which organization is the place of burial of Kenjirō Shōda ?
(Q556250,P119,c(Q43229))
action filter_type
action find
entity Q556250
relation P119
type Q43229
['Q556250', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?c WHERE { resource:Q556250 property:P119 ?c . ?c rdf:type ontology:Q43229 }
Kenjirō Shōda
action filter_type
action find
entity Kenjirō Shōda
relation place of burial
type organization
['Kenjirō Shōda', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?c WHERE { resource:Kenjirō_Shōda property:place_of_burial ?c . ?c rdf:type ontology:organization }
[]
organization
Q982473
SYSTEM
Tama Cemetery
Q982473
(Q556250,P119,c(Q43229))
action filter_type
action find
entity Q556250
relation P119
type Q43229
[ANSWER] is the place of burial of Kenjirō Shōda
['Q556250', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?c WHERE { resource:Q556250 property:P119 ?c . ?c rdf:type ontology:Q43229 }
Tama Cemetery
Tama Cemetery is the place of burial of Kenjirō Shōda
Tama Cemetery
action filter_type
action find
entity Kenjirō Shōda
relation place of burial
type organization
['Kenjirō Shōda', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?c WHERE { resource:Kenjirō_Shōda property:place_of_burial ?c . ?c rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11545577
P40
Q502895
USER
Which people are a successors of Hidesaburo Shōda ?
(Q11545577,P40,c(Q502895))
action filter_type
action find
entity Q11545577
relation P40
type Q502895
['Q11545577', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q11545577 property:P40 ?p . ?p rdf:type ontology:Q502895 }
Hidesaburo Shōda
action filter_type
action find
entity Hidesaburo Shōda
relation child
type common name
['Hidesaburo Shōda', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Hidesaburo_Shōda property:child ?p . ?p rdf:type ontology:common_name }
[]
common name
Q87610 Q11545572
SYSTEM
Empress Michiko, Osamu Shōda
Q87610 Q11545572
(Q11545577,P40,c(Q502895))
action filter_type
action find
entity Q11545577
relation P40
type Q502895
[ANSWERS] are a successors of Hidesaburo Shōda
['Q11545577', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q11545577 property:P40 ?p . ?p rdf:type ontology:Q502895 }
Empress Michiko Osamu Shōda
Empress Michiko and Osamu Shōda are a successors of Hidesaburo Shōda
Empress Michiko Osamu Shōda
action filter_type
action find
entity Hidesaburo Shōda
relation child
type common name
['Hidesaburo Shōda', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Hidesaburo_Shōda property:child ?p . ?p rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q87610
P21
Q290
USER
Which sex does that person possess ?
(Q87610,P21,c(Q290))
action filter_type
action find
entity Q87610
relation P21
type Q290
['Q87610', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q87610 property:P21 ?s . ?s rdf:type ontology:Q290 }
Empress Michiko
action filter_type
action find
entity Empress Michiko
relation gender
type sex
['Empress Michiko', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Empress_Michiko property:gender ?s . ?s rdf:type ontology:sex }
[]
sex
Clarification for simple ques.
Q11545572
SYSTEM
Did you mean Osamu Shōda ?
Q87610 Q11545572
(Q87610,P21,c(Q290)) (Q11545572,P21,c(Q290))
[ANSWER]
['Q87610', 'P21', {'concept': 'Q290'}] ['Q11545572', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q87610 property:P21 ?s . ?s rdf:type ontology:Q290 }
Empress Michiko Osamu Shōda
Did you mean Osamu Shōda ?
Osamu Shōda
['Empress Michiko', 'gender', {'concept': 'sex'}] ['Osamu Shōda', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Empress_Michiko property:gender ?s . ?s rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
USER
No, I meant Empress Michiko. Could you tell me the answer for that?
(Q87610,P21,c(Q290))
Q87610
['Q87610', 'P21', {'concept': 'Q290'}]
['Empress Michiko', 'gender', {'concept': 'sex'}]
[]
Q6581072
SYSTEM
female
Q6581072
(Q87610,P21,c(Q290))
action filter_type
action find
entity Q87610
relation P21
type Q290
That person possesses the [ANSWER]
['Q87610', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q87610 property:P21 ?s . ?s rdf:type ontology:Q290 }
female
That person possesses the female
female
action filter_type
action find
entity Empress Michiko
relation gender
type sex
['Empress Michiko', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Empress_Michiko property:gender ?s . ?s rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581072 Q11545572
P21 P7
Q502895
USER
Which people have Osamu Shōda as their brother and are a female ?
AND((c(Q502895),P7,Q11545572), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q11545572
relation P7
action find_reverse
entity Q6581072
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P7', 'Q11545572'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?m WHERE { ?m property:P7 resource:Q11545572 . ?m property:P21 resource:Q6581072 . ?m rdf:type ontology:Q502895 }
female Osamu Shōda
action filter_type
action intersection
action find_reverse
entity Osamu Shōda
relation brother
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'brother', 'Osamu Shōda'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?m WHERE { ?m property:brother resource:Osamu_Shōda . ?m property:gender resource:female . ?m rdf:type ontology:common_name }
[]
common name
Q87610
SYSTEM
Empress Michiko
Q87610
AND((c(Q502895),P7,Q11545572), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q11545572
relation P7
action find_reverse
entity Q6581072
relation P21
type Q502895
And [ANSWER] have Osamu Shōda as their brother and are a female
{'AND': [[{'concept': 'Q502895'}, 'P7', 'Q11545572'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?m WHERE { ?m property:P7 resource:Q11545572 . ?m property:P21 resource:Q6581072 . ?m rdf:type ontology:Q502895 }
Empress Michiko
And Empress Michiko have Osamu Shōda as their brother and are a female
Empress Michiko
action filter_type
action intersection
action find_reverse
entity Osamu Shōda
relation brother
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'brother', 'Osamu Shōda'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?m WHERE { ?m property:brother resource:Osamu_Shōda . ?m property:gender resource:female . ?m rdf:type ontology:common_name }
[]