Question: Which movie is shorter, Eve (the one that has Ben Gazzara as a cast member) or Top Gun?
Choices:
Robin Hood
Neighbours
The Town
The Cure
David Copperfield
Eve
Top Gun
The Fugitive
Friends
Frankenstein
Answer: Eve
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Eve" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Ben Gazzara" .   } UNION { ?e <pred:name> "Top Gun" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Ben Gazzara
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Eve
function: And
dependencies: 1
2
function: Find
inputs: Top Gun
function: SelectBetween
dependencies: 3
4
inputs: duration
less