Question: How is Emma (composed by Rachel Portman) related to Jeremy Northam?
Choices:
capital of
filmography
production company
award received
fictional universe described in
work location
from fictional universe
indigenous to
cast member
head coach
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Emma" . ?e_1 <composer> ?e_3 . ?e_3 <pred:name> "Rachel Portman" . ?e_2 <pred:name> "Jeremy Northam" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Rachel Portman
function: Relate
dependencies: 0
inputs: composer
backward
function: Find
inputs: Emma
function: And
dependencies: 1
2
function: Find
inputs: Jeremy Northam
function: QueryRelation
dependencies: 3
4