Question: What is the connection between Carrie (the one whose release region is Sweden) to Amy Irving?
Choices:
lifestyle
illustrator
author
has contributing factor
symptoms
has cause
parent astronomical body
continent
sex or gender
cast member
Program:
function: Find
inputs: Sweden
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Carrie
function: And
dependencies: 1
2
function: Find
inputs: Amy Irving
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Carrie" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> "Sweden" . ?e_2 <pred:name> "Amy Irving" . ?e_1 ?p ?e_2 .  }
Answer: cast member