Question: Which has less duration, On the Road (whose regional debut venue is Cannes Film Festival) or Scoop (which has Julian Glover as a cast member)?
Choices:
The Towering Inferno
Scoop
Curse of the Golden Flower
Pleasantville
On the Road
Training Day
A Prairie Home Companion
The Hunchback of Notre Dame
Talk to Her
The Fifth Element
Program:
function: Find
inputs: Cannes Film Festival
function: Relate
dependencies: 0
inputs: film regional debut venue
backward
function: Find
inputs: On the Road
function: And
dependencies: 1
2
function: Find
inputs: Julian Glover
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: Scoop
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "On the Road" . ?e <film_regional_debut_venue> ?e_1 . ?e_1 <pred:name> "Cannes Film Festival" .   } UNION { ?e <pred:name> "Scoop" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Julian Glover" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Scoop