Question: Which is longer, Annie (shot in New York City) or New York, I Love You?
Choices:
Training Day
Curse of the Golden Flower
The Hunchback of Notre Dame
The Fifth Element
Annie
A Prairie Home Companion
New York, I Love You
Pleasantville
Talk to Her
Rebecca
Answer: Annie
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Annie" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> "New York City" .   } UNION { ?e <pred:name> "New York, I Love You" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: New York City
function: Relate
dependencies: 0
inputs: filming location
backward
function: Find
inputs: Annie
function: And
dependencies: 1
2
function: Find
inputs: New York, I Love You
function: SelectBetween
dependencies: 3
4
inputs: duration
greater