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