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