Question: Which one, Julie & Julia or The Sum of All Fears (the one that is shot in San Diego), has less duration?
Choices:
Curse of the Golden Flower
Training Day
The Sum of All Fears
The Towering Inferno
Julie & Julia
Rebecca
A Prairie Home Companion
Pleasantville
The Fifth Element
The Hunchback of Notre Dame
Answer: The Sum of All Fears
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Julie & Julia" .  } UNION { ?e <pred:name> "The Sum of All Fears" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> "San Diego" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Julie & Julia
function: Find
inputs: San Diego
function: Relate
dependencies: 1
inputs: filming location
backward
function: Find
inputs: The Sum of All Fears
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less