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