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