Question: Which movie is longer, Water (the one whose distributor is Fox Searchlight Pictures) or Sarajevo (the one whose duration is 95 minute)?
Choices: Water
Training Day
The Towering Inferno
Talk to Her
The Hunchback of Notre Dame
Pleasantville
Curse of the Golden Flower
The Fifth Element
A Prairie Home Companion
Rebecca
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Water" . ?e <distributor> ?e_1 . ?e_1 <pred:name> "Fox Searchlight Pictures" . } UNION { ?e <pred:name> "Sarajevo" . ?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 DESC(?v) LIMIT 1
Program:
function: Find
inputs: Fox Searchlight Pictures
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: Water
function: And
dependencies: 1
2
function: Find
inputs: Sarajevo
function: FilterNum
dependencies: 4
inputs: duration
95 minute
=
function: SelectBetween
dependencies: 3
5
inputs: duration
greater
Answer: Water