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