Question: Which visual artwork was the recipient of the award Nancy Haigh won and which was nominated to Boris Leven?
Choices:
The Fifth Element
Rebecca
A Prairie Home Companion
Amadeus
Howards End
Bugsy
Raiders of the Lost Ark
Hugo
Pleasantville
Out of Africa
Program:
function: Find
inputs: Boris Leven
function: Relate
dependencies: 0
inputs: nominated for
forward
function: FilterConcept
dependencies: 1
inputs: award
function: Relate
dependencies: 2
inputs: award received
backward
function: QFilterStr
dependencies: 3
inputs: winner
Nancy Haigh
function: FilterConcept
dependencies: 4
inputs: visual artwork
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <award_received> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "award" . ?e_2 <nominated_for> ?e_1 . ?e_2 <pred:name> "Boris Leven" .  [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <winner> ?qpv . ?qpv <pred:value> "Nancy Haigh" .  }
Answer: Bugsy