Question: How is Hampstead starring Diane Keaton related to Simon Callow?
Choices:
depicted by
diaspora
educated at
affiliation
soundtrack album
cast member
coextensive with
heritage designation
ethnic group
license
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Hampstead" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Diane Keaton" . ?e_2 <pred:name> "Simon Callow" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Diane Keaton
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Hampstead
function: And
dependencies: 1
2
function: Find
inputs: Simon Callow
function: QueryRelation
dependencies: 3
4