Question: How is Hairspray whose release region is the U.K. related to Russia?
Choices:
office held by head of state
cast member
dedicated to
production designer
religion
takes place in fictional universe
conferred by
officeholder
member of sports team
film release region
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Hairspray
function: And
dependencies: 1
2
function: Find
inputs: Russia
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Hairspray" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> "United Kingdom" . ?e_2 <pred:name> "Russia" . ?e_1 ?p ?e_2 .  }
Answer: film release region