Question: What is the relationship between Cosmopolis, whose script was written by David Cronenberg, to Luxembourg, which has a populaton of 76640?
Choices:
location of formation
has dialect (DEPRECATED)
film release region
costume designer
cites
headquarters location
sex or gender
executive producer
geographic distribution
domain of saint or deity
Answer: film release region
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Cosmopolis" . ?e_1 <screenwriter> ?e_3 . ?e_3 <pred:name> "David Cronenberg" . ?e_2 <pred:name> "Luxembourg" . ?e_2 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "76640"^^xsd:double . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: David Cronenberg
function: Relate
dependencies: 0
inputs: screenwriter
backward
function: Find
inputs: Cosmopolis
function: And
dependencies: 1
2
function: Find
inputs: Luxembourg
function: FilterNum
dependencies: 4
inputs: population
76640
=
function: QueryRelation
dependencies: 3
5