Simple Question (Direct)
Simple Question
Q974678
P509
Q2057971
USER
What caused the death of Paul Laurence Dunbar ?
(Q974678,P509,c(Q2057971))
action filter_type
action find
entity Q974678
relation P509
type Q2057971
['Q974678', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?r WHERE { resource:Q974678 property:P509 ?r . ?r rdf:type ontology:Q2057971 }
Paul Laurence Dunbar
action filter_type
action find
entity Paul Laurence Dunbar
relation cause of death
type health problem
['Paul Laurence Dunbar', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?r WHERE { resource:Paul_Laurence_Dunbar property:cause_of_death ?r . ?r rdf:type ontology:health_problem }
[]
health problem
Q12204
SYSTEM
tuberculosis
Q12204
(Q974678,P509,c(Q2057971))
action filter_type
action find
entity Q974678
relation P509
type Q2057971
[ANSWER] caused the death of Paul Laurence Dunbar
['Q974678', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?r WHERE { resource:Q974678 property:P509 ?r . ?r rdf:type ontology:Q2057971 }
tuberculosis
Tuberculosis caused the death of Paul Laurence Dunbar
tuberculosis
action filter_type
action find
entity Paul Laurence Dunbar
relation cause of death
type health problem
['Paul Laurence Dunbar', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?r WHERE { resource:Paul_Laurence_Dunbar property:cause_of_death ?r . ?r rdf:type ontology:health_problem }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q974678
P136
Q1792379
USER
What can be considered as category for that person ?
(Q12204,P136,c(Q1792379))
action filter_type
action find
entity Q974678
relation P136
type Q1792379
['Q12204', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?j WHERE { resource:Q974678 property:P136 ?j . ?j rdf:type ontology:Q1792379 }
Paul Laurence Dunbar
action filter_type
action find
entity Paul Laurence Dunbar
relation genre
type art genre
['tuberculosis', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?j WHERE { resource:Paul_Laurence_Dunbar property:genre ?j . ?j rdf:type ontology:art_genre }
[]
art genre
Q482 Q8261
SYSTEM
poetry, novel
Q482 Q8261
(Q12204,P136,c(Q1792379))
action filter_type
action find
entity Q974678
relation P136
type Q1792379
[ANSWERS] can be considered as category for that person
['Q12204', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?j WHERE { resource:Q974678 property:P136 ?j . ?j rdf:type ontology:Q1792379 }
poetry novel
Poetry and novel can be considered as category for that person
poetry novel
action filter_type
action find
entity Paul Laurence Dunbar
relation genre
type art genre
['tuberculosis', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?j WHERE { resource:Paul_Laurence_Dunbar property:genre ?j . ?j rdf:type ontology:art_genre }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q482 Q8261
P425
Q12737077
USER
Which occupations do poetry and novel belong to ?
(c(Q12737077),P425,Q482) (c(Q12737077),P425,Q8261)
action union
action filter_type
action find_reverse
entity Q482
relation P425
type Q12737077
action filter_type
action find_reverse
entity Q8261
relation P425
type Q12737077
[{'concept': 'Q12737077'}, 'P425', 'Q482'] [{'concept': 'Q12737077'}, 'P425', 'Q8261']
SELECT DISTINCT ?p WHERE { VALUES ( ?o ) { ( resource:Q8261 ) ( resource:Q482 ) } . ?p property:P425 ?o }
poetry novel
action union
action filter_type
action find_reverse
entity poetry
relation field of this occupation
type occupation
action filter_type
action find_reverse
entity novel
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'poetry'] [{'concept': 'occupation'}, 'field of this occupation', 'novel']
SELECT DISTINCT ?p WHERE { VALUES ( ?o ) { ( resource:novel ) ( resource:poetry ) } . ?p property:field_of_this_occupation ?o }
[]
occupation
Q49757 Q23117687 Q6625963
SYSTEM
poet, dithyrambic poet, novelist
Q49757 Q23117687 Q6625963
(c(Q12737077),P425,Q482) (c(Q12737077),P425,Q8261)
action union
action filter_type
action find_reverse
entity Q482
relation P425
type Q12737077
action filter_type
action find_reverse
entity Q8261
relation P425
type Q12737077
Poetry and novel belong to [ANSWERS]
[{'concept': 'Q12737077'}, 'P425', 'Q482'] [{'concept': 'Q12737077'}, 'P425', 'Q8261']
SELECT DISTINCT ?p WHERE { VALUES ( ?o ) { ( resource:Q8261 ) ( resource:Q482 ) } . ?p property:P425 ?o }
poet dithyrambic poet novelist
Poetry and novel belong to poet, dithyrambic poet and novelist
poet dithyrambic poet novelist
action union
action filter_type
action find_reverse
entity poetry
relation field of this occupation
type occupation
action filter_type
action find_reverse
entity novel
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'poetry'] [{'concept': 'occupation'}, 'field of this occupation', 'novel']
SELECT DISTINCT ?p WHERE { VALUES ( ?o ) { ( resource:novel ) ( resource:poetry ) } . ?p property:field_of_this_occupation ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q974678
P676
Q15850590
USER
Which theatrical genre did Paul Laurence Dunbar pen down the lyrics for ?
(c(Q15850590),P676,Q974678)
action filter_type
action find_reverse
entity Q974678
relation P676
type Q15850590
[{'concept': 'Q15850590'}, 'P676', 'Q974678']
SELECT DISTINCT ?w WHERE { ?w property:P676 resource:Q974678 . ?w rdf:type ontology:Q15850590 }
Paul Laurence Dunbar
action filter_type
action find_reverse
entity Paul Laurence Dunbar
relation lyrics by
type theatrical genre
[{'concept': 'theatrical genre'}, 'lyrics by', 'Paul Laurence Dunbar']
SELECT DISTINCT ?w WHERE { ?w property:lyrics_by resource:Paul_Laurence_Dunbar . ?w rdf:type ontology:theatrical_genre }
[]
theatrical genre
Q6009269
SYSTEM
In Dahomey
Q6009269
(c(Q15850590),P676,Q974678)
action filter_type
action find_reverse
entity Q974678
relation P676
type Q15850590
Paul Laurence Dunbar pent down [ANSWER] the lyrics for
[{'concept': 'Q15850590'}, 'P676', 'Q974678']
SELECT DISTINCT ?w WHERE { ?w property:P676 resource:Q974678 . ?w rdf:type ontology:Q15850590 }
In Dahomey
Paul Laurence Dunbar pent down In Dahomey the lyrics for
In Dahomey
action filter_type
action find_reverse
entity Paul Laurence Dunbar
relation lyrics by
type theatrical genre
[{'concept': 'theatrical genre'}, 'lyrics by', 'Paul Laurence Dunbar']
SELECT DISTINCT ?w WHERE { ?w property:lyrics_by resource:Paul_Laurence_Dunbar . ?w rdf:type ontology:theatrical_genre }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6009269
P86
Q502895
USER
Which person composed that theatrical genre ?
(Q6009269,P86,c(Q502895))
action filter_type
action find
entity Q6009269
relation P86
type Q502895
['Q6009269', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q6009269 property:P86 ?d . ?d rdf:type ontology:Q502895 }
In Dahomey
action filter_type
action find
entity In Dahomey
relation composer
type common name
['In Dahomey', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:In_Dahomey property:composer ?d . ?d rdf:type ontology:common_name }
[]
common name
Q739583
SYSTEM
Will Marion Cook
Q739583
(Q6009269,P86,c(Q502895))
action filter_type
action find
entity Q6009269
relation P86
type Q502895
[ANSWER] composed that theatrical genre
['Q6009269', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q6009269 property:P86 ?d . ?d rdf:type ontology:Q502895 }
Will Marion Cook
Will Marion Cook composed that theatrical genre
Will Marion Cook
action filter_type
action find
entity In Dahomey
relation composer
type common name
['In Dahomey', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:In_Dahomey property:composer ?d . ?d rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7752744
P161
Q502895
USER
Which people were casted in The Music Never Stopped ?
(Q7752744,P161,c(Q502895))
action filter_type
action find
entity Q7752744
relation P161
type Q502895
['Q7752744', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q7752744 property:P161 ?j . ?j rdf:type ontology:Q502895 }
The Music Never Stopped
action filter_type
action find
entity The Music Never Stopped
relation cast member
type common name
['The Music Never Stopped', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:The_Music_Never_Stopped property:cast_member ?j . ?j rdf:type ontology:common_name }
[]
common name
Q150482 Q256649 Q229059
SYSTEM
J. K. Simmons, Mía Maestro, Julia Ormond
Q256649 Q150482 Q229059 Q708512
(Q7752744,P161,c(Q502895))
action filter_type
action find
entity Q7752744
relation P161
type Q502895
[ANSWERS] were casted in The Music Never Stopped
['Q7752744', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q7752744 property:P161 ?j . ?j rdf:type ontology:Q502895 }
Mía Maestro J. K. Simmons Julia Ormond Lou Taylor Pucci
J. K. Simmons, Mía Maestro and Julia Ormond were casted in The Music Never Stopped
J. K. Simmons Mía Maestro Julia Ormond
action filter_type
action find
entity The Music Never Stopped
relation cast member
type common name
['The Music Never Stopped', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:The_Music_Never_Stopped property:cast_member ?j . ?j rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q150482 Q256649 Q229059
P161
Q15416
USER
Which television programs do those people star in ?
(c(Q15416),P161,Q150482) (c(Q15416),P161,Q256649) (c(Q15416),P161,Q229059)
action filter_type
action find_reverse
entity prev_answer
relation P161
type Q15416
[{'concept': 'Q15416'}, 'P161', 'Q150482'] [{'concept': 'Q15416'}, 'P161', 'Q256649'] [{'concept': 'Q15416'}, 'P161', 'Q229059']
SELECT DISTINCT ?d WHERE { ?d property:P161 ?k . ?d rdf:type ontology:Q15416 . VALUES ( ?k ) { ( resource:Q256649 ) ( resource:Q150482 ) ( resource:Q229059 ) } }
J. K. Simmons Mía Maestro Julia Ormond
action filter_type
action find_reverse
entity prev_answer
relation cast member
type television program
[{'concept': 'television program'}, 'cast member', 'J. K. Simmons'] [{'concept': 'television program'}, 'cast member', 'Mía Maestro'] [{'concept': 'television program'}, 'cast member', 'Julia Ormond']
SELECT DISTINCT ?d WHERE { ?d property:cast_member ?k . ?d rdf:type ontology:television_program . VALUES ( ?k ) { ( resource:Mía_Maestro ) ( resource:J._K._Simmons ) ( resource:Julia_Ormond ) } }
[]
television program
Q321423 Q32235 Q212807
SYSTEM
Law & Order, Stalin, Alias
Q948696 Q739780 Q20642675 Q321423 Q1217714 Q3985709 Q1388988 Q212807 Q2304429 Q1388838 Q652655 Q4027295 Q32235 Q639098 Q5421283
(c(Q15416),P161,Q150482) (c(Q15416),P161,Q256649) (c(Q15416),P161,Q229059)
action filter_type
action find_reverse
entity prev_answer
relation P161
type Q15416
Those people star in [ANSWERS]
[{'concept': 'Q15416'}, 'P161', 'Q150482'] [{'concept': 'Q15416'}, 'P161', 'Q256649'] [{'concept': 'Q15416'}, 'P161', 'Q229059']
SELECT DISTINCT ?d WHERE { ?d property:P161 ?k . ?d rdf:type ontology:Q15416 . VALUES ( ?k ) { ( resource:Q256649 ) ( resource:Q150482 ) ( resource:Q229059 ) } }
The Closer Oz Counterpart Law & Order In the Time of the Butterflies For Love or Country: The Arturo Sandoval Story Crusoe Alias Temple Grandin Iron Jawed Angels Young Catherine Witches of East End Stalin Varian's War Exploding Sun
Those people star in Law & Order, Stalin and Alias
Law & Order Stalin Alias
action filter_type
action find_reverse
entity prev_answer
relation cast member
type television program
[{'concept': 'television program'}, 'cast member', 'J. K. Simmons'] [{'concept': 'television program'}, 'cast member', 'Mía Maestro'] [{'concept': 'television program'}, 'cast member', 'Julia Ormond']
SELECT DISTINCT ?d WHERE { ?d property:cast_member ?k . ?d rdf:type ontology:television_program . VALUES ( ?k ) { ( resource:Mía_Maestro ) ( resource:J._K._Simmons ) ( resource:Julia_Ormond ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q150482
P175
Q95074
USER
Which fictional character performed J. K. Simmons ?
(c(Q95074),P175,Q321423) (c(Q95074),P175,Q32235) (c(Q95074),P175,Q212807)
action filter_type
action find_reverse
entity Q150482
relation P175
type Q95074
[{'concept': 'Q95074'}, 'P175', 'Q321423'] [{'concept': 'Q95074'}, 'P175', 'Q32235'] [{'concept': 'Q95074'}, 'P175', 'Q212807']
SELECT DISTINCT ?y WHERE { ?y property:P175 resource:Q150482 . ?y rdf:type ontology:Q95074 }
J. K. Simmons
action filter_type
action find_reverse
entity J. K. Simmons
relation performer
type fictional character
[{'concept': 'fictional character'}, 'performer', 'Law & Order'] [{'concept': 'fictional character'}, 'performer', 'Stalin'] [{'concept': 'fictional character'}, 'performer', 'Alias']
SELECT DISTINCT ?y WHERE { ?y property:performer resource:J._K._Simmons . ?y rdf:type ontology:fictional_character }
[]
fictional character
Q1563605
SYSTEM
Emil Skoda
Q1563605
(c(Q95074),P175,Q321423) (c(Q95074),P175,Q32235) (c(Q95074),P175,Q212807)
action filter_type
action find_reverse
entity Q150482
relation P175
type Q95074
[ANSWER] performed J. K. Simmons
[{'concept': 'Q95074'}, 'P175', 'Q321423'] [{'concept': 'Q95074'}, 'P175', 'Q32235'] [{'concept': 'Q95074'}, 'P175', 'Q212807']
SELECT DISTINCT ?y WHERE { ?y property:P175 resource:Q150482 . ?y rdf:type ontology:Q95074 }
Emil Skoda
Emil Skoda performed J. K. Simmons
Emil Skoda
action filter_type
action find_reverse
entity J. K. Simmons
relation performer
type fictional character
[{'concept': 'fictional character'}, 'performer', 'Law & Order'] [{'concept': 'fictional character'}, 'performer', 'Stalin'] [{'concept': 'fictional character'}, 'performer', 'Alias']
SELECT DISTINCT ?y WHERE { ?y property:performer resource:J._K._Simmons . ?y rdf:type ontology:fictional_character }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q150482
P735
Q82799
USER
Which name is J. K. Simmons known by ?
(Q150482,P735,c(Q82799))
action filter_type
action find
entity Q150482
relation P735
type Q82799
['Q150482', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q82799 . resource:Q150482 property:P735 ?k }
J. K. Simmons
action filter_type
action find
entity J. K. Simmons
relation given name
type name
['J. K. Simmons', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:name . resource:J._K._Simmons property:given_name ?k }
[]
name
Q19803507
SYSTEM
J.
Q19803507
(Q150482,P735,c(Q82799))
action filter_type
action find
entity Q150482
relation P735
type Q82799
[ANSWER] is [ANSWER] K. Simmons known by
['Q150482', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q82799 . resource:Q150482 property:P735 ?k }
J.
J. is J. K. Simmons known by
J.
action filter_type
action find
entity J. K. Simmons
relation given name
type name
['J. K. Simmons', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:name . resource:J._K._Simmons property:given_name ?k }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q10857017 Q6009269
P161 P676
Q502895
USER
Which people wrote the lyrics for In Dahomey or were casted in In the Flesh ?
OR((Q6009269,P676,c(Q502895)), (Q10857017,P161,c(Q502895)))
action filter_type
action union
action find
entity Q6009269
relation P676
action find
entity Q10857017
relation P161
type Q502895
{'OR': [['Q6009269', 'P676', {'concept': 'Q502895'}], ['Q10857017', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . { { resource:Q6009269 property:P676 ?t } UNION { resource:Q10857017 property:P161 ?t } } }
In the Flesh In Dahomey
action filter_type
action union
action find
entity In Dahomey
relation lyrics by
action find
entity In the Flesh
relation cast member
type common name
{'OR': [['In Dahomey', 'lyrics by', {'concept': 'common name'}], ['In the Flesh', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . { { resource:In_Dahomey property:lyrics_by ?t } UNION { resource:In_the_Flesh property:cast_member ?t } } }
[]
common name
Q367549 Q551354 Q452232 Q313789 Q253977 Q508333 Q974678 Q435475 Q236809 Q230038
SYSTEM
Robert Beltran, Garrett Wang, Tim Russ, Robert Picardo, Roxann Dawson, Robert Duncan McNeill, Paul Laurence Dunbar, Ethan Phillips, Jeri Ryan, Kate Mulgrew
Q367549 Q551354 Q452232 Q313789 Q253977 Q508333 Q974678 Q435475 Q236809 Q230038
OR((Q6009269,P676,c(Q502895)), (Q10857017,P161,c(Q502895)))
action filter_type
action union
action find
entity Q6009269
relation P676
action find
entity Q10857017
relation P161
type Q502895
[ANSWERS] wrote the lyrics for In Dahomey or were casted in In the Flesh
{'OR': [['Q6009269', 'P676', {'concept': 'Q502895'}], ['Q10857017', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . { { resource:Q6009269 property:P676 ?t } UNION { resource:Q10857017 property:P161 ?t } } }
Robert Beltran Garrett Wang Tim Russ Robert Picardo Roxann Dawson Robert Duncan McNeill Paul Laurence Dunbar Ethan Phillips Jeri Ryan Kate Mulgrew
Robert Beltran, Garrett Wang, Tim Russ, Robert Picardo, Roxann Dawson, Robert Duncan McNeill, Paul Laurence Dunbar, Ethan Phillips, Jeri Ryan and Kate Mulgrew wrote the lyrics for In Dahomey or were casted in In the Flesh
Robert Beltran Garrett Wang Tim Russ Robert Picardo Roxann Dawson Robert Duncan McNeill Paul Laurence Dunbar Ethan Phillips Jeri Ryan Kate Mulgrew
action filter_type
action union
action find
entity In Dahomey
relation lyrics by
action find
entity In the Flesh
relation cast member
type common name
{'OR': [['In Dahomey', 'lyrics by', {'concept': 'common name'}], ['In the Flesh', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . { { resource:In_Dahomey property:lyrics_by ?t } UNION { resource:In_the_Flesh property:cast_member ?t } } }
[]