Question: What is the character role of Woody Allen in  Casino Royale (the one whose publication date is 1967-08-24)?
Choices: Jimmy Bond
Mercutio
Clarice Starling
Jenny Curran
Ryan Howard
Professor X
Eudora
Wai Lin
Addison Montgomery
Hector Hammond
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Casino Royale" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "1967-08-24"^^xsd:date . ?e_2 <pred:name> "Woody Allen" . ?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: Casino Royale
function: FilterDate
dependencies: 0
inputs: publication date
1967-08-24
=
function: Find
inputs: Woody Allen
function: QueryRelationQualifier
dependencies: 1
2
inputs: cast member
character role
Answer: Jimmy Bond