Question: Which movie is longer, Savages (the one whose duration is 106 minute) or Dilwale Dulhania Le Jayenge?
Choices:
Rebecca
The Towering Inferno
Savages
Training Day
Pleasantville
The Hunchback of Notre Dame
Curse of the Golden Flower
Talk to Her
Dilwale Dulhania Le Jayenge
A Prairie Home Companion
Answer: Dilwale Dulhania Le Jayenge
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Savages" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "106"^^xsd:double . } UNION { ?e <pred:name> "Dilwale Dulhania Le Jayenge" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Savages
function: FilterNum
dependencies: 0
inputs: duration
106 minute
=
function: Find
inputs: Dilwale Dulhania Le Jayenge
function: SelectBetween
dependencies: 1
2
inputs: duration
greater