Question: What is the character role of Kevin Costner as a cast member of Wyatt Earp (whose title is Wyatt Earp)?
Choices:
White Knight
Egon Spengler
Sonny Corleone
Billy Bones
Soundwave
Kerry Weaver
Guinan
Faramir
Jack O'Neill
Wyatt Earp
Answer: Wyatt Earp
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Wyatt Earp" . ?e_1 <title> ?pv . ?pv <pred:value> "Wyatt Earp" . ?e_2 <pred:name> "Kevin Costner" . ?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: Wyatt Earp
function: FilterStr
dependencies: 0
inputs: title
Wyatt Earp
function: Find
inputs: Kevin Costner
function: QueryRelationQualifier
dependencies: 1
2
inputs: cast member
character role