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