Simple Question (Direct)
Simple Question
Q7411201
P9
Q502895
USER
Who is the sibling of Samuel Curtis Johnson, Jr. ?
(Q7411201,P9,c(Q502895))
action filter_type
action find
entity Q7411201
relation P9
type Q502895
['Q7411201', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q7411201 property:P9 ?g . ?g rdf:type ontology:Q502895 }
Samuel Curtis Johnson, Jr.
action filter_type
action find
entity Samuel Curtis Johnson, Jr.
relation sister
type common name
['Samuel Curtis Johnson, Jr.', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Samuel_Curtis_Johnson,_Jr. property:sister ?g . ?g rdf:type ontology:common_name }
[]
common name
Q20984404
SYSTEM
Karen Johnson Boyd
Q20984404
(Q7411201,P9,c(Q502895))
action filter_type
action find
entity Q7411201
relation P9
type Q502895
The sibling of Samuel Curtis Johnson , Jr. is named [ANSWER]
['Q7411201', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q7411201 property:P9 ?g . ?g rdf:type ontology:Q502895 }
Karen Johnson Boyd
The sibling of Samuel Curtis Johnson , Jr. is named Karen Johnson Boyd
Karen Johnson Boyd
action filter_type
action find
entity Samuel Curtis Johnson, Jr.
relation sister
type common name
['Samuel Curtis Johnson, Jr.', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Samuel_Curtis_Johnson,_Jr. property:sister ?g . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20984404
P40
Q502895
USER
Whose child are that one ?
(c(Q502895),P40,Q20984404)
action filter_type
action find_reverse
entity Q20984404
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q20984404']
SELECT DISTINCT ?i WHERE { ?i property:P40 resource:Q20984404 . ?i rdf:type ontology:Q502895 }
Karen Johnson Boyd
action filter_type
action find_reverse
entity Karen Johnson Boyd
relation child
type common name
[{'concept': 'common name'}, 'child', 'Karen Johnson Boyd']
SELECT DISTINCT ?i WHERE { ?i property:child resource:Karen_Johnson_Boyd . ?i rdf:type ontology:common_name }
[]
common name
Q16008399 Q6069208
SYSTEM
Herbert Fisk Johnson, Jr., Irene Purcell
Q16008399 Q6069208
(c(Q502895),P40,Q20984404)
action filter_type
action find_reverse
entity Q20984404
relation P40
type Q502895
[ANSWERS] are that one
[{'concept': 'Q502895'}, 'P40', 'Q20984404']
SELECT DISTINCT ?i WHERE { ?i property:P40 resource:Q20984404 . ?i rdf:type ontology:Q502895 }
Herbert Fisk Johnson, Jr. Irene Purcell
Herbert Fisk Johnson, Jr. and Irene Purcell are that one
Herbert Fisk Johnson, Jr. Irene Purcell
action filter_type
action find_reverse
entity Karen Johnson Boyd
relation child
type common name
[{'concept': 'common name'}, 'child', 'Karen Johnson Boyd']
SELECT DISTINCT ?i WHERE { ?i property:child resource:Karen_Johnson_Boyd . ?i rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q6069208
P161
Q838948
USER
Which work of art stars that person as actor ?
(c(Q838948),P161,Q6069208)
action filter_type
action find_reverse
entity Q6069208
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q6069208']
SELECT DISTINCT ?j WHERE { ?j property:P161 resource:Q6069208 . ?j rdf:type ontology:Q838948 }
Irene Purcell
action filter_type
action find_reverse
entity Irene Purcell
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Irene Purcell']
SELECT DISTINCT ?j WHERE { ?j property:cast_member resource:Irene_Purcell . ?j rdf:type ontology:work_of_art }
[]
work of art
Clarification for simple ques.
Q16008399
SYSTEM
Did you mean Herbert Fisk Johnson, Jr. ?
Q16008399 Q6069208
(c(Q838948),P161,Q16008399) (c(Q838948),P161,Q6069208)
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q16008399'] [{'concept': 'Q838948'}, 'P161', 'Q6069208']
SELECT DISTINCT ?j WHERE { ?j property:P161 resource:Q6069208 . ?j rdf:type ontology:Q838948 }
Herbert Fisk Johnson, Jr. Irene Purcell
Did you mean Herbert Fisk Johnson, Jr. ?
Herbert Fisk Johnson, Jr.
[{'concept': 'work of art'}, 'cast member', 'Herbert Fisk Johnson, Jr.'] [{'concept': 'work of art'}, 'cast member', 'Irene Purcell']
SELECT DISTINCT ?j WHERE { ?j property:cast_member resource:Irene_Purcell . ?j rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
USER
No, I meant Irene Purcell. Could you tell me the answer for that?
(c(Q838948),P161,Q6069208)
Q6069208
[{'concept': 'Q838948'}, 'P161', 'Q6069208']
[{'concept': 'work of art'}, 'cast member', 'Irene Purcell']
[]
Q6316523
SYSTEM
Just a Gigolo
Q6316523
(c(Q838948),P161,Q6069208)
action filter_type
action find_reverse
entity Q6069208
relation P161
type Q838948
[ANSWER] stars that person as actor
[{'concept': 'Q838948'}, 'P161', 'Q6069208']
SELECT DISTINCT ?j WHERE { ?j property:P161 resource:Q6069208 . ?j rdf:type ontology:Q838948 }
Just a Gigolo
Just a Gigolo stars that person as actor
Just a Gigolo
action filter_type
action find_reverse
entity Irene Purcell
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Irene Purcell']
SELECT DISTINCT ?j WHERE { ?j property:cast_member resource:Irene_Purcell . ?j rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q20984404
P9 P21
Q502895
USER
Which people had Karen Johnson Boyd as their sibling and have the gender as male ?
AND((c(Q502895),P9,Q20984404), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q20984404
relation P9
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P9', 'Q20984404'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . ?i property:P9 resource:Q20984404 . ?i property:P21 resource:Q6581097 }
male Karen Johnson Boyd
action filter_type
action intersection
action find_reverse
entity Karen Johnson Boyd
relation sister
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'sister', 'Karen Johnson Boyd'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . ?i property:sister resource:Karen_Johnson_Boyd . ?i property:gender resource:male }
[]
common name
Q7411201
SYSTEM
Samuel Curtis Johnson, Jr.
Q7411201
AND((c(Q502895),P9,Q20984404), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q20984404
relation P9
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] had Karen Johnson Boyd as their sibling and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P9', 'Q20984404'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . ?i property:P9 resource:Q20984404 . ?i property:P21 resource:Q6581097 }
Samuel Curtis Johnson, Jr.
Samuel Curtis Johnson, Jr. had Karen Johnson Boyd as their sibling and have the gender as male
Samuel Curtis Johnson, Jr.
action filter_type
action intersection
action find_reverse
entity Karen Johnson Boyd
relation sister
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'sister', 'Karen Johnson Boyd'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . ?i property:sister resource:Karen_Johnson_Boyd . ?i property:gender resource:male }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q7411201 Q17010017
P69
Q163740
USER
Is Mercy College of Health Sciences the alma mater of Samuel Curtis Johnson, Jr. ?
(Q7411201,P69,Q17010017)
action is_in
entity Q17010017
action find
entity Q7411201
relation P69
['Q7411201', 'P69', 'Q17010017']
ASK WHERE { resource:Q7411201 property:P69 resource:Q17010017 }
Samuel Curtis Johnson, Jr. Mercy College of Health Sciences
action is_in
entity Mercy College of Health Sciences
action find
entity Samuel Curtis Johnson, Jr.
relation educated at
['Samuel Curtis Johnson, Jr.', 'educated at', 'Mercy College of Health Sciences']
ASK WHERE { resource:Samuel_Curtis_Johnson,_Jr. property:educated_at resource:Mercy_College_of_Health_Sciences }
[]
nonprofit organization
SYSTEM
NO
(Q7411201,P69,Q17010017)
action is_in
entity Q17010017
action find
entity Q7411201
relation P69
[ANSWER]
['Q7411201', 'P69', 'Q17010017']
ASK WHERE { resource:Q7411201 property:P69 resource:Q17010017 }
No
action is_in
entity Mercy College of Health Sciences
action find
entity Samuel Curtis Johnson, Jr.
relation educated at
['Samuel Curtis Johnson, Jr.', 'educated at', 'Mercy College of Health Sciences']
ASK WHERE { resource:Samuel_Curtis_Johnson,_Jr. property:educated_at resource:Mercy_College_of_Health_Sciences }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q6316523 Q6069208
P161
Q502895
USER
Is Irene Purcell in Just a Gigolo ?
(Q6316523,P161,Q6069208)
action is_in
entity Q6069208
action find
entity Q6316523
relation P161
['Q6316523', 'P161', 'Q6069208']
ASK WHERE { resource:Q6316523 property:P161 resource:Q6069208 }
Just a Gigolo Irene Purcell
action is_in
entity Irene Purcell
action find
entity Just a Gigolo
relation cast member
['Just a Gigolo', 'cast member', 'Irene Purcell']
ASK WHERE { resource:Just_a_Gigolo property:cast_member resource:Irene_Purcell }
[]
common name
SYSTEM
YES
(Q6316523,P161,Q6069208)
action is_in
entity Q6069208
action find
entity Q6316523
relation P161
[ANSWER]
['Q6316523', 'P161', 'Q6069208']
ASK WHERE { resource:Q6316523 property:P161 resource:Q6069208 }
Yes
action is_in
entity Irene Purcell
action find
entity Just a Gigolo
relation cast member
['Just a Gigolo', 'cast member', 'Irene Purcell']
ASK WHERE { resource:Just_a_Gigolo property:cast_member resource:Irene_Purcell }
[]