Simple Question (Direct)
Simple Question
Q15040067
P20
Q56061
USER
Where did the expiration of Stanley Clarke occur ?
(Q15040067,P20,c(Q56061))
action filter_type
action find
entity Q15040067
relation P20
type Q56061
['Q15040067', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q15040067 property:P20 ?p . ?p rdf:type ontology:Q56061 }
Stanley Clarke
action filter_type
action find
entity Stanley Clarke
relation place of death
type administrative territorial entity
['Stanley Clarke', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Stanley_Clarke property:place_of_death ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q4865583
SYSTEM
Barton-under-Needwood
Q4865583
(Q15040067,P20,c(Q56061))
action filter_type
action find
entity Q15040067
relation P20
type Q56061
The expiration of Stanley Clarke occurred at [ANSWER]
['Q15040067', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q15040067 property:P20 ?p . ?p rdf:type ontology:Q56061 }
Barton-under-Needwood
The expiration of Stanley Clarke occurred at Barton-under-Needwood
Barton-under-Needwood
action filter_type
action find
entity Stanley Clarke
relation place of death
type administrative territorial entity
['Stanley Clarke', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Stanley_Clarke property:place_of_death ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15040067
P112
Q43229
USER
Which organization was started by Stanley Clarke ?
(c(Q43229),P112,Q15040067)
action filter_type
action find_reverse
entity Q15040067
relation P112
type Q43229
[{'concept': 'Q43229'}, 'P112', 'Q15040067']
SELECT DISTINCT ?f WHERE { ?f property:P112 resource:Q15040067 . ?f rdf:type ontology:Q43229 }
Stanley Clarke
action filter_type
action find_reverse
entity Stanley Clarke
relation founder
type organization
[{'concept': 'organization'}, 'founder', 'Stanley Clarke']
SELECT DISTINCT ?f WHERE { ?f property:founder resource:Stanley_Clarke . ?f rdf:type ontology:organization }
[]
organization
Q7058892
SYSTEM
Northern Racing
Q7058892
(c(Q43229),P112,Q15040067)
action filter_type
action find_reverse
entity Q15040067
relation P112
type Q43229
The [ANSWER] was started by Stanley Clarke
[{'concept': 'Q43229'}, 'P112', 'Q15040067']
SELECT DISTINCT ?f WHERE { ?f property:P112 resource:Q15040067 . ?f rdf:type ontology:Q43229 }
Northern Racing
The Northern Racing was started by Stanley Clarke
Northern Racing
action filter_type
action find_reverse
entity Stanley Clarke
relation founder
type organization
[{'concept': 'organization'}, 'founder', 'Stanley Clarke']
SELECT DISTINCT ?f WHERE { ?f property:founder resource:Stanley_Clarke . ?f rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15040067
P1196
Q1931388
USER
What manner did Stanley Clarke die ?
(Q15040067,P1196,c(Q1931388))
action filter_type
action find
entity Q15040067
relation P1196
type Q1931388
['Q15040067', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?h WHERE { resource:Q15040067 property:P1196 ?h . ?h rdf:type ontology:Q1931388 }
Stanley Clarke
action filter_type
action find
entity Stanley Clarke
relation manner of death
type cause of death
['Stanley Clarke', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?h WHERE { resource:Stanley_Clarke property:manner_of_death ?h . ?h rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q15040067,P1196,c(Q1931388))
action filter_type
action find
entity Q15040067
relation P1196
type Q1931388
Stanley Clarke died of [ANSWER]
['Q15040067', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?h WHERE { resource:Q15040067 property:P1196 ?h . ?h rdf:type ontology:Q1931388 }
natural causes
Stanley Clarke died of natural causes
natural causes
action filter_type
action find
entity Stanley Clarke
relation manner of death
type cause of death
['Stanley Clarke', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?h WHERE { resource:Stanley_Clarke property:manner_of_death ?h . ?h rdf:type ontology:cause_of_death }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q692800
Q1931388
USER
And what about Ray Walston?
(Q692800,P1196,c(Q1931388))
action filter_type
action find
entity Q692800
relation P1196
type Q1931388
['Q692800', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?y WHERE { resource:Q692800 property:P1196 ?y . ?y rdf:type ontology:Q1931388 }
Ray Walston
action filter_type
action find
entity Ray Walston
relation manner of death
type cause of death
['Ray Walston', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?y WHERE { resource:Ray_Walston property:manner_of_death ?y . ?y rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q692800,P1196,c(Q1931388))
action filter_type
action find
entity Q692800
relation P1196
type Q1931388
[ANSWER]
['Q692800', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?y WHERE { resource:Q692800 property:P1196 ?y . ?y rdf:type ontology:Q1931388 }
natural causes
natural causes
action filter_type
action find
entity Ray Walston
relation manner of death
type cause of death
['Ray Walston', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?y WHERE { resource:Ray_Walston property:manner_of_death ?y . ?y rdf:type ontology:cause_of_death }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4605 Q15040067
P509
Q2057971
USER
Which health problems lead to the death of Stanley Clarke or Sarah Bernhardt ?
OR((Q15040067,P509,c(Q2057971)), (Q4605,P509,c(Q2057971)))
action filter_type
action union
action find
entity Q15040067
relation P509
action find
entity Q4605
relation P509
type Q2057971
{'OR': [['Q15040067', 'P509', {'concept': 'Q2057971'}], ['Q4605', 'P509', {'concept': 'Q2057971'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?j ) { ( resource:Q15040067 ) ( resource:Q4605 ) } . ?j property:P509 ?a } . ?a rdf:type ontology:Q2057971 }
Sarah Bernhardt Stanley Clarke
action filter_type
action union
action find
entity Stanley Clarke
relation cause of death
action find
entity Sarah Bernhardt
relation cause of death
type health problem
{'OR': [['Stanley Clarke', 'cause of death', {'concept': 'health problem'}], ['Sarah Bernhardt', 'cause of death', {'concept': 'health problem'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?j ) { ( resource:Stanley_Clarke ) ( resource:Sarah_Bernhardt ) } . ?j property:cause_of_death ?a } . ?a rdf:type ontology:health_problem }
[]
health problem
Q13365776 Q188874 Q476921
SYSTEM
uremia, colorectal cancer, kidney failure
Q13365776 Q188874 Q476921
OR((Q15040067,P509,c(Q2057971)), (Q4605,P509,c(Q2057971)))
action filter_type
action union
action find
entity Q15040067
relation P509
action find
entity Q4605
relation P509
type Q2057971
[ANSWERS] lead to the death of Stanley Clarke or Sarah Bernhardt
{'OR': [['Q15040067', 'P509', {'concept': 'Q2057971'}], ['Q4605', 'P509', {'concept': 'Q2057971'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?j ) { ( resource:Q15040067 ) ( resource:Q4605 ) } . ?j property:P509 ?a } . ?a rdf:type ontology:Q2057971 }
uremia colorectal cancer kidney failure
Uremia, colorectal cancer and kidney failure lead to the death of Stanley Clarke or Sarah Bernhardt
uremia colorectal cancer kidney failure
action filter_type
action union
action find
entity Stanley Clarke
relation cause of death
action find
entity Sarah Bernhardt
relation cause of death
type health problem
{'OR': [['Stanley Clarke', 'cause of death', {'concept': 'health problem'}], ['Sarah Bernhardt', 'cause of death', {'concept': 'health problem'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?j ) { ( resource:Stanley_Clarke ) ( resource:Sarah_Bernhardt ) } . ?j property:cause_of_death ?a } . ?a rdf:type ontology:health_problem }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5492472 Q692800
P161
Q838948
USER
Which works of art have Ray Walston or Pedro López Lagar as actor ?
OR((c(Q838948),P161,Q692800), (c(Q838948),P161,Q5492472))
action filter_type
action union
action find_reverse
entity Q692800
relation P161
action find_reverse
entity Q5492472
relation P161
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q692800'], [{'concept': 'Q838948'}, 'P161', 'Q5492472']]}
SELECT DISTINCT ?k WHERE { { { ?k property:P161 resource:Q692800 } UNION { ?k property:P161 resource:Q5492472 } } . ?k rdf:type ontology:Q838948 }
Pedro López Lagar Ray Walston
action filter_type
action union
action find_reverse
entity Ray Walston
relation cast member
action find_reverse
entity Pedro López Lagar
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'Ray Walston'], [{'concept': 'work of art'}, 'cast member', 'Pedro López Lagar']]}
SELECT DISTINCT ?k WHERE { { { ?k property:cast_member resource:Ray_Walston } UNION { ?k property:cast_member resource:Pedro_López_Lagar } } . ?k rdf:type ontology:work_of_art }
[]
work of art
Q3707879 Q7279911 Q5981071 Q2610975 Q5212720 Q1058046 Q3307601 Q6134995 Q3213399 Q44085
SYSTEM
Some of them are Say One for Me, Rad, Los ojos más lindos del mundo, South Pacific, Damn Yankees, Wives and Lovers, Portrait in Black, Suburb, Tall Story, Private School
Q7171319 Q941944 Q5491429 Q501374 Q1058046 Q6003515 Q5450083 Q682191 Q5351400 Q7719665 Q1460493 Q5299230 Q2610975 Q62665 Q7314137 Q4804906 Q5981071 Q4659333 Q7229123 Q7426761 Q6132070 Q5058426 Q2261147 Q1962468 Q1091172 Q637192 Q1302846 Q270510 Q6134995 Q788284 Q5965217 Q1340934 Q2636180 Q5352329 Q4779206 Q720352 Q1753868 Q3307601 Q584716 Q44085 Q7279911 Q5212720 Q3707879 Q3998142 Q1758827 Q618481 Q5026790 Q3213399
OR((c(Q838948),P161,Q692800), (c(Q838948),P161,Q5492472))
action filter_type
action union
action find_reverse
entity Q692800
relation P161
action find_reverse
entity Q5492472
relation P161
type Q838948
[ANSWERS] have Ray Walston or Pedro López Lagar as actor
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q692800'], [{'concept': 'Q838948'}, 'P161', 'Q5492472']]}
SELECT DISTINCT ?k WHERE { { { ?k property:P161 resource:Q692800 } UNION { ?k property:P161 resource:Q5492472 } } . ?k rdf:type ontology:Q838948 }
Pesadilla Popeye La Verdadera victoria Silver Streak Wives and Lovers María Celeste Fine Gold My Favorite Martian El Hombre que amé The Boy and the Fog House Arrest Dos ángeles y un pecador South Pacific The Sting Reportaje Ashes to the Wind Los ojos más lindos del mundo A Sangre Fría Popcorn Saturday the 14th Strikes Back Son cartas de amor Celos O.C. and Stiggs From the Hip Of Mice and Men Paint Your Wagon Fast Times at Ridgemont High The Apartment Suburb Caprice La Secta del trébol Johnny Dangerously Galaxy of Terror El Vendedor de muñecas Apasionadamente The Marihuana Story Kiss Me, Stupid Portrait in Black Who's Minding the Store? Private School Rad Damn Yankees Say One for Me Convicts 4 Kiss Them for Me Albéniz Camino del infierno Tall Story
Say One for Me, Rad, Los ojos más lindos del mundo, South Pacific, Damn Yankees, Wives and Lovers, Portrait in Black, Suburb, Tall Story and Private School have Ray Walston or Pedro López Lagar as actor
Say One for Me Rad Los ojos más lindos del mundo South Pacific Damn Yankees Wives and Lovers Portrait in Black Suburb Tall Story Private School
action filter_type
action union
action find_reverse
entity Ray Walston
relation cast member
action find_reverse
entity Pedro López Lagar
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'Ray Walston'], [{'concept': 'work of art'}, 'cast member', 'Pedro López Lagar']]}
SELECT DISTINCT ?k WHERE { { { ?k property:cast_member resource:Ray_Walston } UNION { ?k property:cast_member resource:Pedro_López_Lagar } } . ?k rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3232035 Q1058046
P161
Q502895
USER
Which people are in Wives and Lovers or The Two Orphans ?
OR((Q1058046,P161,c(Q502895)), (Q3232035,P161,c(Q502895)))
action filter_type
action union
action find
entity Q1058046
relation P161
action find
entity Q3232035
relation P161
type Q502895
{'OR': [['Q1058046', 'P161', {'concept': 'Q502895'}], ['Q3232035', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q1058046 property:P161 ?b } UNION { resource:Q3232035 property:P161 ?b } } . ?b rdf:type ontology:Q502895 }
The Two Orphans Wives and Lovers
action filter_type
action union
action find
entity Wives and Lovers
relation cast member
action find
entity The Two Orphans
relation cast member
type common name
{'OR': [['Wives and Lovers', 'cast member', {'concept': 'common name'}], ['The Two Orphans', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Wives_and_Lovers property:cast_member ?b } UNION { resource:The_Two_Orphans property:cast_member ?b } } . ?b rdf:type ontology:common_name }
[]
common name
Q3764272 Q463651 Q451518 Q3177346 Q556325 Q1056178 Q202144 Q436638 Q3887028 Q3939224
SYSTEM
Some of them are Gilda Marchiò, Enrico Glori, María Denis, Jeremy Slate, Luigi Pavese, Umberto Spadaro, Shelley Winters, Van Johnson, Osvaldo Valenti, Roberto Villa
Q106940 Q3939224 Q202144 Q463651 Q3764272 Q556325 Q436638 Q531282 Q3718910 Q370138 Q3769736 Q2832333 Q1849209 Q3905356 Q3177346 Q3942497 Q205314 Q451518 Q692800 Q378923 Q1056178 Q460063 Q3887028 Q1693866 Q3605178 Q271877 Q1044025
OR((Q1058046,P161,c(Q502895)), (Q3232035,P161,c(Q502895)))
action filter_type
action union
action find
entity Q1058046
relation P161
action find
entity Q3232035
relation P161
type Q502895
[ANSWERS] are in Wives and Lovers or The Two Orphans
{'OR': [['Q1058046', 'P161', {'concept': 'Q502895'}], ['Q3232035', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q1058046 property:P161 ?b } UNION { resource:Q3232035 property:P161 ?b } } . ?b rdf:type ontology:Q502895 }
Alida Valli Roberto Villa Shelley Winters Enrico Glori Gilda Marchiò Luigi Pavese Van Johnson Lee Patrick Edda Soligo Otello Toso Giulio Panicali Aldo Silvani Germana Paolieri Pio Campa Jeremy Slate Ruggero Capodaglio Janet Leigh María Denis Ray Walston Memo Benassi Umberto Spadaro Guido Celano Osvaldo Valenti Marianna Hill Adele Garavaglia Martha Hyer Tina Lattanzi
Gilda Marchiò, Enrico Glori, María Denis, Jeremy Slate, Luigi Pavese, Umberto Spadaro, Shelley Winters, Van Johnson, Osvaldo Valenti and Roberto Villa are in Wives and Lovers or The Two Orphans
Gilda Marchiò Enrico Glori María Denis Jeremy Slate Luigi Pavese Umberto Spadaro Shelley Winters Van Johnson Osvaldo Valenti Roberto Villa
action filter_type
action union
action find
entity Wives and Lovers
relation cast member
action find
entity The Two Orphans
relation cast member
type common name
{'OR': [['Wives and Lovers', 'cast member', {'concept': 'common name'}], ['The Two Orphans', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Wives_and_Lovers property:cast_member ?b } UNION { resource:The_Two_Orphans property:cast_member ?b } } . ?b rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2610975
P166
Q4220917
USER
Which film award was South Pacific awarded with ?
(Q2610975,P166,c(Q4220917))
action filter_type
action find
entity Q2610975
relation P166
type Q4220917
['Q2610975', 'P166', {'concept': 'Q4220917'}]
SELECT DISTINCT ?x WHERE { resource:Q2610975 property:P166 ?x . ?x rdf:type ontology:Q4220917 }
South Pacific
action filter_type
action find
entity South Pacific
relation award received
type film award
['South Pacific', 'award received', {'concept': 'film award'}]
SELECT DISTINCT ?x WHERE { resource:South_Pacific property:award_received ?x . ?x rdf:type ontology:film_award }
[]
film award
Q830079
SYSTEM
Academy Award for Best Sound Mixing
Q830079
(Q2610975,P166,c(Q4220917))
action filter_type
action find
entity Q2610975
relation P166
type Q4220917
South Pacific was awarded the [ANSWER]
['Q2610975', 'P166', {'concept': 'Q4220917'}]
SELECT DISTINCT ?x WHERE { resource:Q2610975 property:P166 ?x . ?x rdf:type ontology:Q4220917 }
Academy Award for Best Sound Mixing
South Pacific was awarded the Academy Award for Best Sound Mixing
Academy Award for Best Sound Mixing
action filter_type
action find
entity South Pacific
relation award received
type film award
['South Pacific', 'award received', {'concept': 'film award'}]
SELECT DISTINCT ?x WHERE { resource:South_Pacific property:award_received ?x . ?x rdf:type ontology:film_award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2610975
P86
Q502895
USER
Who was that work of art composed by ?
(Q830079,P86,c(Q502895))
action filter_type
action find
entity Q2610975
relation P86
type Q502895
['Q830079', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q2610975 property:P86 ?l . ?l rdf:type ontology:Q502895 }
South Pacific
action filter_type
action find
entity South Pacific
relation composer
type common name
['Academy Award for Best Sound Mixing', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:South_Pacific property:composer ?l . ?l rdf:type ontology:common_name }
[]
common name
Q269094
SYSTEM
Richard Rodgers
Q269094
(Q830079,P86,c(Q502895))
action filter_type
action find
entity Q2610975
relation P86
type Q502895
By that work of art was composed by [ANSWER]
['Q830079', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q2610975 property:P86 ?l . ?l rdf:type ontology:Q502895 }
Richard Rodgers
By that work of art was composed by Richard Rodgers
Richard Rodgers
action filter_type
action find
entity South Pacific
relation composer
type common name
['Academy Award for Best Sound Mixing', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:South_Pacific property:composer ?l . ?l rdf:type ontology:common_name }
[]