Question: Which movie is shorter, Cinderella (the one that is originally aired on Channel 4) or Texas (the one whose original language is English)?
Choices:
A Prairie Home Companion
The Hunchback of Notre Dame
Talk to Her
Training Day
Curse of the Golden Flower
Rebecca
Cinderella
The Fifth Element
Texas
Pleasantville
Program:
function: Find
inputs: Channel 4
function: Relate
dependencies: 0
inputs: original network
backward
function: Find
inputs: Cinderella
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: Texas
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cinderella" . ?e <original_network> ?e_1 . ?e_1 <pred:name> "Channel 4" .   } UNION { ?e <pred:name> "Texas" . ?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: Texas