Question: Emma, featuring Samantha Morton as a cast member, has what connection to the United Kingdom?
Choices:
has cause
director
parent organization
given name
cause of death
facet of
maintained by
candidacy in election
country of origin
notable work
Answer: country of origin
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Emma" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Samantha Morton" . ?e_2 <pred:name> "United Kingdom" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Samantha Morton
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Emma
function: And
dependencies: 1
2
function: Find
inputs: United Kingdom
function: QueryRelation
dependencies: 3
4