Question: Which movie is shorter, The Mummy (the one whose release region is United Kingdom) or Julius Caesar (the one that has Robert Vaughn as a cast member)?
Choices:
Talk to Her
Training Day
Curse of the Golden Flower
A Prairie Home Companion
Rebecca
The Towering Inferno
The Mummy
The Fifth Element
Julius Caesar
Pleasantville
Answer: Julius Caesar
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Mummy" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "United Kingdom" .   } UNION { ?e <pred:name> "Julius Caesar" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Robert Vaughn" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: The Mummy
function: And
dependencies: 1
2
function: Find
inputs: Robert Vaughn
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: Julius Caesar
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less