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