Question: Which movie is shorter, Far from Heaven or Terminator 3: Rise of the Machines (published 2003-07-02)?
Choices: Training Day
Pleasantville
The Hunchback of Notre Dame
A Prairie Home Companion
Talk to Her
Terminator 3: Rise of the Machines
Far from Heaven
The Fifth Element
Rebecca
Curse of the Golden Flower
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Far from Heaven" . } UNION { ?e <pred:name> "Terminator 3: Rise of the Machines" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2003-07-02"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Far from Heaven
function: Find
inputs: Terminator 3: Rise of the Machines
function: FilterDate
dependencies: 1
inputs: publication date
2003-07-02
=
function: SelectBetween
dependencies: 0
2
inputs: duration
less
Answer: Terminator 3: Rise of the Machines