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