Question: Which movie is longer, George Washington (the one whose duration is 89 minute) or Honolulu (the one that is designed by Cedric Gibbons)?
Choices: The Fifth Element
The Towering Inferno
The Hunchback of Notre Dame
Training Day
Curse of the Golden Flower
George Washington
Pleasantville
Honolulu
Rebecca
A Prairie Home Companion
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "George Washington" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "89"^^xsd:double . } UNION { ?e <pred:name> "Honolulu" . ?e <production_designer> ?e_1 . ?e_1 <pred:name> "Cedric Gibbons" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: George Washington
function: FilterNum
dependencies: 0
inputs: duration
89 minute
=
function: Find
inputs: Cedric Gibbons
function: Relate
dependencies: 2
inputs: production designer
backward
function: Find
inputs: Honolulu
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
greater
Answer: Honolulu