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