Question: What is the connection between Henry V (the one that was nominated for BAFTA Award for Best Direction) to Robbie Coltrane?
Choices:
cast member
appointed by
family
movement
followed by
producer
software engine
operating area
position held
shares border with
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Henry V" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "BAFTA Award for Best Direction" . ?e_2 <pred:name> "Robbie Coltrane" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: BAFTA Award for Best Direction
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Henry V
function: And
dependencies: 1
2
function: Find
inputs: Robbie Coltrane
function: QueryRelation
dependencies: 3
4