Question: Is the run-time shorter for Eve, released on 2008-01-01, or for Walk Hard: The Dewey Cox Story?
Choices:
Eve
Neighbours
Frankenstein
The Animatrix
David Copperfield
Robin Hood
The Town
The Cure
The Fugitive
Friends
Program:
function: Find
inputs: Eve
function: FilterDate
dependencies: 0
inputs: publication date
2008-01-01
=
function: Find
inputs: Walk Hard: The Dewey Cox Story
function: SelectBetween
dependencies: 1
2
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Eve" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2008-01-01"^^xsd:date . } UNION { ?e <pred:name> "Walk Hard: The Dewey Cox Story" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Eve