Question: Does Alice Doesn't Live Here Anymore or Sabrina (the one that is shot in New York City) have greater duration?
Choices:
Rebecca
Alice Doesn't Live Here Anymore
Curse of the Golden Flower
Talk to Her
Training Day
Pleasantville
Sabrina
A Prairie Home Companion
The Towering Inferno
The Fifth Element
Answer: Sabrina
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Alice Doesn't Live Here Anymore" .  } UNION { ?e <pred:name> "Sabrina" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> "New York City" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Alice Doesn't Live Here Anymore
function: Find
inputs: New York City
function: Relate
dependencies: 1
inputs: filming location
backward
function: Find
inputs: Sabrina
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater