Question: What is the relationship between Heartbeats (the one whose release region is Germany) and IFC Films?
Choices:
production company
ancestral home
source of income
feast day
location
make-up artist
tributary
after a work by
has edition
signatory
Answer: production company
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Heartbeats" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> "Germany" . ?e_2 <pred:name> "IFC Films" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Germany
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Heartbeats
function: And
dependencies: 1
2
function: Find
inputs: IFC Films
function: QueryRelation
dependencies: 3
4