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