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