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