Question: Which movie is shorter, New Mexico (the one that origins from United States of America) or Analyze This?
Choices:
Rebecca
Talk to Her
A Prairie Home Companion
Pleasantville
Analyze This
Training Day
New Mexico
Curse of the Golden Flower
The Fifth Element
The Towering Inferno
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: New Mexico
function: And
dependencies: 1
2
function: Find
inputs: Analyze This
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "New Mexico" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "United States of America" .   } UNION { ?e <pred:name> "Analyze This" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: New Mexico