Question: The Hamilton originating in Sweden has what link to Lena Olin?
Choices: stated in
member of political party
military rank
librettist
takes place in fictional universe
family
kit supplier
cast member
has edition
narrator
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Hamilton" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> "Sweden" . ?e_2 <pred:name> "Lena Olin" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Sweden
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Hamilton
function: And
dependencies: 1
2
function: Find
inputs: Lena Olin
function: QueryRelation
dependencies: 3
4
Answer: cast member