Question: Which movie is longer, Arizona (the one whose duration is 121 minute) or Invincible (the one that uses the language English)?
Choices: The Fifth Element
Rebecca
The Towering Inferno
The Hunchback of Notre Dame
Pleasantville
Invincible
Talk to Her
Arizona
A Prairie Home Companion
Curse of the Golden Flower
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Arizona" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "121"^^xsd:double . } UNION { ?e <pred:name> "Invincible" . ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> "English" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Arizona
function: FilterNum
dependencies: 0
inputs: duration
121 minute
=
function: Find
inputs: English
function: Relate
dependencies: 2
inputs: language of work or name
backward
function: Find
inputs: Invincible
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
greater
Answer: Arizona