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