Question: What is the connection between Hugo (the one whose release region is Canada) to Richard Griffiths?
Choices:
tributary
doctoral student
participant
original network
discoverer or inventor
screenwriter
month of the year
worshipped by
terminus
cast member
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Hugo" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> "Canada" . ?e_2 <pred:name> "Richard Griffiths" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Canada
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Hugo
function: And
dependencies: 1
2
function: Find
inputs: Richard Griffiths
function: QueryRelation
dependencies: 3
4