Question: Which movie is shorter, Nickelodeon (the one whose publication date is 1976-01-01) or The Wrestler (the one whose duration is 95 minute)?
Choices: Training Day
The Hunchback of Notre Dame
Curse of the Golden Flower
Pleasantville
Talk to Her
Nickelodeon
A Prairie Home Companion
Rebecca
The Fifth Element
The Wrestler
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Nickelodeon" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1976-01-01"^^xsd:date . } UNION { ?e <pred:name> "The Wrestler" . ?e <duration> ?pv_2 . ?pv_2 <pred:unit> "minute" . ?pv_2 <pred:value> "95"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Nickelodeon
function: FilterDate
dependencies: 0
inputs: publication date
1976-01-01
=
function: Find
inputs: The Wrestler
function: FilterNum
dependencies: 2
inputs: duration
95 minute
=
function: SelectBetween
dependencies: 1
3
inputs: duration
less
Answer: The Wrestler