Question: Which movie is shorter, Queen (the one whose original language is Hindi) or Apollo 13?
Choices:
The Hunchback of Notre Dame
Curse of the Golden Flower
Queen
Training Day
The Towering Inferno
Pleasantville
Apollo 13
The Fifth Element
A Prairie Home Companion
Rebecca
Program:
function: Find
inputs: Hindi
function: Relate
dependencies: 0
inputs: original language of film or TV show
backward
function: Find
inputs: Queen
function: And
dependencies: 1
2
function: Find
inputs: Apollo 13
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Queen" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> "Hindi" .   } UNION { ?e <pred:name> "Apollo 13" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Apollo 13