Question: Which has a greater duration, The Adventures of Baron Munchausen or Wuthering Heights (whose duration is 90 minutes)?
Choices:
Wuthering Heights
The Fifth Element
The Adventures of Baron Munchausen
Pleasantville
The Towering Inferno
Talk to Her
Curse of the Golden Flower
The Hunchback of Notre Dame
Rebecca
Training Day
Program:
function: Find
inputs: The Adventures of Baron Munchausen
function: Find
inputs: Wuthering Heights
function: FilterNum
dependencies: 1
inputs: duration
90 minute
=
function: SelectBetween
dependencies: 0
2
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Adventures of Baron Munchausen" . } UNION { ?e <pred:name> "Wuthering Heights" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "90"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Adventures of Baron Munchausen