Question: What is the character role of Terry Jones (who is the director of Monty Python and the Holy Grail) as a cast member of Monty Python and the Holy Grail?
Choices: Irina Derevko
Vanellope von Schweetz
Sydney Bristow
John Paul Jones
Don Ira Feinberg
Jefferson Coatsworth
George II of Great Britain
Bedivere
Harry Boland
General Orlov
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Monty Python and the Holy Grail" . ?e_2 <pred:name> "Terry Jones" . ?e_3 <director> ?e_2 . ?e_3 <pred:name> "Monty Python and the Holy Grail" . ?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: Monty Python and the Holy Grail
function: Find
inputs: Monty Python and the Holy Grail
function: Relate
dependencies: 1
inputs: director
forward
function: Find
inputs: Terry Jones
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: cast member
character role
Answer: Bedivere