Question: Which one is shorter, The Goodbye Girl (the one whose distributor is Warner Bros.) or Sedona (the one whose original language is English) ?
Choices:
The Goodbye Girl
Pleasantville
Curse of the Golden Flower
The Fifth Element
A Prairie Home Companion
Training Day
The Towering Inferno
Sedona
The Hunchback of Notre Dame
Talk to Her
Program:
function: Find
inputs: Warner Bros.
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: The Goodbye Girl
function: And
dependencies: 1
2
function: Find
inputs: English
function: Relate
dependencies: 4
inputs: original language of film or TV show
backward
function: Find
inputs: Sedona
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Goodbye Girl" . ?e <distributor> ?e_1 . ?e_1 <pred:name> "Warner Bros." .   } UNION { ?e <pred:name> "Sedona" . ?e <original_language_of_film_or_TV_show> ?e_2 . ?e_2 <pred:name> "English" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Sedona