Question: In which role is John Rhys-Davies cast on The Living Daylights?
Choices:
Death
Roxanne Simpson
Odin
Moe Szyslak
Tony Mendez
Michael Collins
Piper Pinwheeler
General Pushkin
Christine Chapel
Cecil B. DeMille
Answer: General Pushkin
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "The Living Daylights" . ?e_2 <pred:name> "John Rhys-Davies" . ?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: The Living Daylights
function: Find
inputs: John Rhys-Davies
function: QueryRelationQualifier
dependencies: 0
1
inputs: cast member
character role