Question: Which one is longer, Alfie (the one that is shot in New York City) or George Harrison: Living in the Material World?
Choices:
Pleasantville
The Hunchback of Notre Dame
Alfie
Curse of the Golden Flower
Rebecca
Training Day
George Harrison: Living in the Material World
A Prairie Home Companion
The Towering Inferno
Talk to Her
Answer: George Harrison: Living in the Material World
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Alfie" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> "New York City" .   } UNION { ?e <pred:name> "George Harrison: Living in the Material World" .  } ?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: Alfie
function: And
dependencies: 1
2
function: Find
inputs: George Harrison: Living in the Material World
function: SelectBetween
dependencies: 3
4
inputs: duration
greater