Question: Which movie is shorter, The House of Mirth or Spider-Man 2 (the one that is shot in New York City)?
Choices: The Hunchback of Notre Dame
Pleasantville
Spider-Man 2
Training Day
The House of Mirth
Curse of the Golden Flower
A Prairie Home Companion
Talk to Her
Rebecca
The Towering Inferno
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The House of Mirth" .  } UNION { ?e <pred:name> "Spider-Man 2" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> "New York City" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: The House of Mirth
function: Find
inputs: New York City
function: Relate
dependencies: 1
inputs: filming location
backward
function: Find
inputs: Spider-Man 2
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
Answer: Spider-Man 2