Question: What was the role of Terry Jones (the film director) in Monty Python and the Holy Grail?
Choices:
Bedivere
Carrie White
Ronny Cammareri
Peter Weyland
Twoflower
Chiron
Arcee
Ares
Azula
Ozai
Answer: Bedivere
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Monty Python and the Holy Grail" . ?e_2 <pred:name> "Terry Jones" . ?e_2 <occupation> ?e_3 . ?e_3 <pred:name> "film director" . ?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: film director
function: Relate
dependencies: 1
inputs: occupation
backward
function: Find
inputs: Terry Jones
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: cast member
character role