Question: Which location is smaller in area, Santa Monica or the Brooklyn in which Requiem for a Dream took place?
Choices:
Brooklyn
Waukegan
Columbus
Santa Monica
Lansing
Compton
Greenville
Boulder
Franklin
New Haven
Program:
function: Find
inputs: Requiem for a Dream
function: Relate
dependencies: 0
inputs: narrative location
forward
function: Find
inputs: Brooklyn
function: And
dependencies: 1
2
function: Find
inputs: Santa Monica
function: SelectBetween
dependencies: 3
4
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Brooklyn" . ?e_1 <narrative_location> ?e . ?e_1 <pred:name> "Requiem for a Dream" .   } UNION { ?e <pred:name> "Santa Monica" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Santa Monica