Question: John Hurt is cast in what role on Tinker Tailor Soldier Spy, released on 2011-09-05?
Choices: Marmaduke
Philip J. Fry
Medusa
Casey Kelso
Shaggy Rogers
Dieter Reinhardt
Control
Ann Perkins
Captain B. McCrea
Mark Silverberg
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Tinker Tailor Soldier Spy" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "2011-09-05"^^xsd:date . ?e_2 <pred:name> "John Hurt" . ?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: Tinker Tailor Soldier Spy
function: FilterDate
dependencies: 0
inputs: publication date
2011-09-05
=
function: Find
inputs: John Hurt
function: QueryRelationQualifier
dependencies: 1
2
inputs: cast member
character role
Answer: Control