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