Question: Which character does Jeremy Davies of the Lost cast play on the show?
Choices: Frodo Baggins
Georges Duroy
Ray Cash
John Clark
Philip II of Macedon
Gail
Marmaduke
Steve Phelps
Daniel Faraday
Scott Evil
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Lost" . ?e_2 <pred:name> "Jeremy Davies" . ?e_3 <cast_member> ?e_2 . ?e_3 <pred:name> "Lost" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }
Program:
function: Find
inputs: Lost
function: Find
inputs: Lost
function: Relate
dependencies: 1
inputs: cast member
forward
function: Find
inputs: Jeremy Davies
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: cast member
character role
Answer: Daniel Faraday