Question: What is the connection between The Gift (the one that has Keanu Reeves as a cast member) to Gary Cole (the one that is a cast member of Talladega Nights: The Ballad of Ricky Bobby)?
Choices:
cast member
professional or sports partner
start point
residence
architect
instrument
archives at
place of birth
country for sport
office held by head of government
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Gift" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Keanu Reeves" . ?e_2 <pred:name> "Gary Cole" . ?e_4 <cast_member> ?e_2 . ?e_4 <pred:name> "Talladega Nights: The Ballad of Ricky Bobby" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Keanu Reeves
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Gift
function: And
dependencies: 1
2
function: Find
inputs: Talladega Nights: The Ballad of Ricky Bobby
function: Relate
dependencies: 4
inputs: cast member
forward
function: Find
inputs: Gary Cole
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7