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