Question: Which is shorter, Jane Eyre at 91 minutes or The Love Guru?
Choices:
Curse of the Golden Flower
The Love Guru
The Towering Inferno
Jane Eyre
Training Day
Talk to Her
Rebecca
Pleasantville
The Hunchback of Notre Dame
The Fifth Element
Program:
function: Find
inputs: Jane Eyre
function: FilterNum
dependencies: 0
inputs: duration
91 minute
=
function: Find
inputs: The Love Guru
function: SelectBetween
dependencies: 1
2
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jane Eyre" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "91"^^xsd:double . } UNION { ?e <pred:name> "The Love Guru" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Love Guru