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