Question: What is the link between Melancholia (whose director is Lars von Trier) and Hong Kong (that is the release territory of Punch-Drunk Love)?
Choices: uses
film release region
interested in
dedicated to
archives at
award disciplines or subjects
material used
software engine
production designer
native language
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Melancholia" . ?e_1 <director> ?e_3 . ?e_3 <pred:name> "Lars von Trier" . ?e_2 <pred:name> "Hong Kong" . ?e_4 <film_release_region> ?e_2 . ?e_4 <pred:name> "Punch-Drunk Love" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Lars von Trier
function: Relate
dependencies: 0
inputs: director
backward
function: Find
inputs: Melancholia
function: And
dependencies: 1
2
function: Find
inputs: Punch-Drunk Love
function: Relate
dependencies: 4
inputs: film release region
forward
function: Find
inputs: Hong Kong
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
Answer: film release region