Question: What film took place in Rome (the one whose population is 212432) and was titled Tehran?
Choices:
Galileo Galilei
Pleasantville
Barney's Version
Quo Vadis
Ben-Hur
Rebecca
Tehran
Talk to Her
La Dolce Vita
A Prairie Home Companion
Answer: Tehran
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "Rome" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "212432"^^xsd:double .  ?e <title> ?pv_1 . ?pv_1 <pred:value> "Tehran" .  }
Program:
function: Find
inputs: Rome
function: FilterNum
dependencies: 0
inputs: population
212432
=
function: Relate
dependencies: 1
inputs: narrative location
backward
function: FilterConcept
dependencies: 2
inputs: film
function: FindAll
function: FilterStr
dependencies: 4
inputs: title
Tehran
function: FilterConcept
dependencies: 5
inputs: film
function: And
dependencies: 3
6
function: What
dependencies: 7