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