Question: Which movie is shorter, Take Shelter (the one whose release region is Japan) or Bram Stoker's Dracula (the one whose duration is 100 minute)?
Choices: The Challenge
All Quiet on the Western Front
Bram Stoker's Dracula
Shackleton
Take Shelter
A Streetcar Named Desire
The Late Shift
A Christmas Carol
The Music Man
The Three Musketeers
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Take Shelter" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Japan" . } UNION { ?e <pred:name> "Bram Stoker's Dracula" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "100"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Japan
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Take Shelter
function: And
dependencies: 1
2
function: Find
inputs: Bram Stoker's Dracula
function: FilterNum
dependencies: 4
inputs: duration
100 minute
=
function: SelectBetween
dependencies: 3
5
inputs: duration
less
Answer: Bram Stoker's Dracula