Question: Which movie is shorter, Before the Devil Knows You're Dead or Pacific Palisades (the one that origins from United States of America)?
Choices:
Talk to Her
Curse of the Golden Flower
Training Day
The Fifth Element
Pleasantville
The Hunchback of Notre Dame
The Towering Inferno
Pacific Palisades
A Prairie Home Companion
Rebecca
Program:
function: Find
inputs: Before the Devil Knows You're Dead
function: Find
inputs: United States of America
function: Relate
dependencies: 1
inputs: country of origin
backward
function: Find
inputs: Pacific Palisades
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Before the Devil Knows You're Dead" .  } UNION { ?e <pred:name> "Pacific Palisades" . ?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: Pacific Palisades