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