Question: Which movie is shorter, Legend (the one that origins from United States of America) or The Turning Point (the one whose original language is German)?
Choices:
The Towering Inferno
A Prairie Home Companion
Legend
Curse of the Golden Flower
Pleasantville
Rebecca
The Turning Point
The Hunchback of Notre Dame
Talk to Her
Training Day
Answer: The Turning Point
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Legend" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "United States of America" .   } UNION { ?e <pred:name> "The Turning Point" . ?e <original_language_of_film_or_TV_show> ?e_2 . ?e_2 <pred:name> "German" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Legend
function: And
dependencies: 1
2
function: Find
inputs: German
function: Relate
dependencies: 4
inputs: original language of film or TV show
backward
function: Find
inputs: The Turning Point
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less