Question: Which Swedish Literature Bank AuthorID corresponds to the Academy Award nominated Best Actor for Bonnie and Clyde?
Choices:
SchillerF
BaudelaireC
WhitmanW
BeattyW
FredrikII
FreudS
DoyleAC
Voltaire
SwiftJ
DarwinC
Answer: BeattyW
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Actor" .  [ <pred:fact_h> ?e ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_1 ] <for_work> ?qpv . ?qpv <pred:value> "Bonnie and Clyde" . ?e <Swedish_Literature_Bank_AuthorID> ?pv .  }
Program:
function: Find
inputs: Academy Award for Best Actor
function: Relate
dependencies: 0
inputs: nominated for
backward
function: QFilterStr
dependencies: 1
inputs: for work
Bonnie and Clyde
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttr
dependencies: 3
inputs: Swedish Literature Bank AuthorID