Question: Which movie has a shorter runtime, Barton Fink or National Gallery (the one whose publication date is 2014-06-15)?
Choices:
Training Day
Barton Fink
Pleasantville
Talk to Her
A Prairie Home Companion
The Towering Inferno
Curse of the Golden Flower
The Hunchback of Notre Dame
Rebecca
National Gallery
Program:
function: Find
inputs: Barton Fink
function: Find
inputs: National Gallery
function: FilterDate
dependencies: 1
inputs: publication date
2014-06-15
=
function: SelectBetween
dependencies: 0
2
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Barton Fink" . } UNION { ?e <pred:name> "National Gallery" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2014-06-15"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Barton Fink