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