Question: Which movie is shorter, U-571 or The Wrestler (the one whose country is United States of America)?
Choices:
Talk to Her
The Wrestler
The Fifth Element
U-571
The Hunchback of Notre Dame
Rebecca
Training Day
The Towering Inferno
A Prairie Home Companion
Pleasantville
Answer: The Wrestler
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "U-571" .  } UNION { ?e <pred:name> "The Wrestler" . ?e <country> ?e_1 . ?e_1 <pred:name> "United States of America" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: U-571
function: Find
inputs: United States of America
function: Relate
dependencies: 1
inputs: country
backward
function: Find
inputs: The Wrestler
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less