Question: Was the duration less for Richard III, whose publication date is 1995-01-01, or Bend It Like Beckham?
Choices:
Richard III
Rebecca
Bend It Like Beckham
The Towering Inferno
Training Day
A Prairie Home Companion
Pleasantville
The Fifth Element
The Hunchback of Notre Dame
Talk to Her
Program:
function: Find
inputs: Richard III
function: FilterDate
dependencies: 0
inputs: publication date
1995-01-01
=
function: Find
inputs: Bend It Like Beckham
function: SelectBetween
dependencies: 1
2
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Richard III" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1995-01-01"^^xsd:date . } UNION { ?e <pred:name> "Bend It Like Beckham" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Richard III