Question: Is the duration less for Fame (the one whose narrative location is Los Angeles) or Boogie Nights?
Choices:
Fame
Training Day
Boogie Nights
The Fifth Element
The Hunchback of Notre Dame
Curse of the Golden Flower
Pleasantville
A Prairie Home Companion
Talk to Her
Rebecca
Program:
function: Find
inputs: Los Angeles
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: Fame
function: And
dependencies: 1
2
function: Find
inputs: Boogie Nights
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Fame" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "Los Angeles" .   } UNION { ?e <pred:name> "Boogie Nights" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Fame