Question: Which movie is shorter, Master and Commander: The Far Side of the World or City of Angels (the one that has Dennis Franz as a cast member)?
Choices:
Training Day
Curse of the Golden Flower
A Prairie Home Companion
The Towering Inferno
The Hunchback of Notre Dame
The Fifth Element
Rebecca
Pleasantville
Talk to Her
City of Angels
Answer: City of Angels
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Master and Commander: The Far Side of the World" .  } UNION { ?e <pred:name> "City of Angels" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Dennis Franz" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Master and Commander: The Far Side of the World
function: Find
inputs: Dennis Franz
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: City of Angels
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less