Question: What is Kevin Costner's character role as a cast member in the work Wyatt Earp (the one whose publication date is 1994-08-26)?
Choices: Mr. Freeze
Severus Snape
Wyatt Earp
Marion Silver
Jessica Glitter
Iron Monger
Griffin
White Rabbit
Sara Goldfarb
Becky Sharp
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Wyatt Earp" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "1994-08-26"^^xsd:date . ?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: FilterDate
dependencies: 0
inputs: publication date
1994-08-26
=
function: Find
inputs: Kevin Costner
function: QueryRelationQualifier
dependencies: 1
2
inputs: cast member
character role
Answer: Wyatt Earp