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