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