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