Question: Which one is shorter, The Tree of Life or The Missing (which was published 2003-01-01)
Choices:
Pleasantville
The Missing
The Fifth Element
The Tree of Life
A Prairie Home Companion
Training Day
Talk to Her
The Hunchback of Notre Dame
The Towering Inferno
Rebecca
Answer: The Missing
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Tree of Life" . } UNION { ?e <pred:name> "The Missing" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2003-01-01"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: The Tree of Life
function: Find
inputs: The Missing
function: FilterDate
dependencies: 1
inputs: publication date
2003-01-01
=
function: SelectBetween
dependencies: 0
2
inputs: duration
less