Question: How is Saw released in Bulgaria related to Turkey?
Choices:
professional or sports partner
location of final assembly
place of birth
successful candidate
participant of
head coach
home venue
color
native language
film release region
Answer: film release region
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Saw" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> "Bulgaria" . ?e_2 <pred:name> "Turkey" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Bulgaria
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Saw
function: And
dependencies: 1
2
function: Find
inputs: Turkey
function: QueryRelation
dependencies: 3
4