Question: Which is shorter, Waterloo originally in German or Cloud Atlas released in Paraguay?
Choices:
Talk to Her
Pleasantville
The Fifth Element
Waterloo
Curse of the Golden Flower
Cloud Atlas
A Prairie Home Companion
The Hunchback of Notre Dame
Training Day
Rebecca
Program:
function: Find
inputs: German
function: Relate
dependencies: 0
inputs: original language of film or TV show
backward
function: Find
inputs: Waterloo
function: And
dependencies: 1
2
function: Find
inputs: Paraguay
function: Relate
dependencies: 4
inputs: film release region
backward
function: Find
inputs: Cloud Atlas
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Waterloo" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> "German" .   } UNION { ?e <pred:name> "Cloud Atlas" . ?e <film_release_region> ?e_2 . ?e_2 <pred:name> "Paraguay" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Waterloo