Question: Which movie is longer, Machete (the one whose publication date is 1958) or Battlefield Earth?
Choices:
Pleasantville
Talk to Her
A Prairie Home Companion
The Fifth Element
Training Day
The Towering Inferno
Curse of the Golden Flower
Battlefield Earth
Machete
Rebecca
Answer: Battlefield Earth
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Machete" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> 1958 . } UNION { ?e <pred:name> "Battlefield Earth" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Machete
function: FilterYear
dependencies: 0
inputs: publication date
1958
=
function: Find
inputs: Battlefield Earth
function: SelectBetween
dependencies: 1
2
inputs: duration
greater