Question: The Notebook, released in Thailand, has what link to Rachel McAdams?
Choices: residence
architect
kit supplier
cast member
follows
symptoms
film release region
notable people with this condition
practiced by
employer
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Notebook" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> "Thailand" . ?e_2 <pred:name> "Rachel McAdams" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Thailand
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: The Notebook
function: And
dependencies: 1
2
function: Find
inputs: Rachel McAdams
function: QueryRelation
dependencies: 3
4
Answer: cast member