Question: Which movie is longer, Let Me In or Alice in Wonderland (the one whose duration is 88 minute)?
Choices:
The Hunchback of Notre Dame
The Towering Inferno
Let Me In
Alice in Wonderland
Rebecca
The Fifth Element
Training Day
A Prairie Home Companion
Curse of the Golden Flower
Pleasantville
Answer: Let Me In
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Let Me In" . } UNION { ?e <pred:name> "Alice in Wonderland" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "88"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Let Me In
function: Find
inputs: Alice in Wonderland
function: FilterNum
dependencies: 1
inputs: duration
88 minute
=
function: SelectBetween
dependencies: 0
2
inputs: duration
greater