Question: Which person was in the cast of Walk the Line (the character role of this statement is Johnny Cash)?
Choices:
James E. Reilly
Joaquin Phoenix
Richard Gere
Robert Patrick
David Byrne
Simon Cowell
Reese Witherspoon
William Henry Harrison
Sylvester Stallone
Rahul Dev Burman
Answer: Joaquin Phoenix
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> "Walk the Line" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e ] <character_role> ?qpv . ?qpv <pred:value> "Johnny Cash" .  }
Program:
function: Find
inputs: Walk the Line
function: Relate
dependencies: 0
inputs: cast member
forward
function: QFilterStr
dependencies: 1
inputs: character role
Johnny Cash
function: FilterConcept
dependencies: 2
inputs: human
function: What
dependencies: 3