Question: Which movie is shorter, Goldfinger (the one whose release region is United States of America) or Public Enemies (the one whose duration is 95 minute)?
Choices: The Towering Inferno
Talk to Her
Pleasantville
A Prairie Home Companion
Rebecca
The Hunchback of Notre Dame
Training Day
Curse of the Golden Flower
Goldfinger
Public Enemies
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Goldfinger" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "United States of America" . } UNION { ?e <pred:name> "Public Enemies" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "95"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Goldfinger
function: And
dependencies: 1
2
function: Find
inputs: Public Enemies
function: FilterNum
dependencies: 4
inputs: duration
95 minute
=
function: SelectBetween
dependencies: 3
5
inputs: duration
less
Answer: Public Enemies