Question: Which person was nominated for the award whose start time is before 1960 (the award-winning work of this statement is Death of a Salesman)
Choices:
Danny Aiello
John Houseman
Josh Brolin
Samuel L. Jackson
Kevin McCarthy
Ralph Richardson
Peter Falk
William Henry Harrison
Sylvester Stallone
Max Fleischer
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: start time
1960
<
function: FilterConcept
dependencies: 1
inputs: award
function: Relate
dependencies: 2
inputs: nominated for
backward
function: QFilterStr
dependencies: 3
inputs: for work
Death of a Salesman
function: FilterConcept
dependencies: 4
inputs: human
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <nominated_for> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "award" . ?e_1 <start_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1960 ) .  [ <pred:fact_h> ?e ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_1 ] <for_work> ?qpv . ?qpv <pred:value> "Death of a Salesman" .  }
Answer: Kevin McCarthy