Question: Which has shorter duration, The King of Comedy or 300 (running time of 116 minutes)?
Choices: The Towering Inferno
300
The Hunchback of Notre Dame
Rebecca
A Prairie Home Companion
Pleasantville
Training Day
The Fifth Element
The King of Comedy
Talk to Her
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "300" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "116"^^xsd:double . } UNION { ?e <pred:name> "The King of Comedy" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: 300
function: FilterNum
dependencies: 0
inputs: duration
116 minute
=
function: Find
inputs: The King of Comedy
function: SelectBetween
dependencies: 1
2
inputs: duration
less
Answer: The King of Comedy