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