Question: Which is shorter, The Count of Monte Cristo (the one whose publication date is 1961-01-01) or Leaving Las Vegas?
Choices:
Talk to Her
Training Day
Pleasantville
Leaving Las Vegas
Curse of the Golden Flower
The Towering Inferno
The Count of Monte Cristo
The Fifth Element
A Prairie Home Companion
Rebecca
Answer: Leaving Las Vegas
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Count of Monte Cristo" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1961-01-01"^^xsd:date . } UNION { ?e <pred:name> "Leaving Las Vegas" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: The Count of Monte Cristo
function: FilterDate
dependencies: 0
inputs: publication date
1961-01-01
=
function: Find
inputs: Leaving Las Vegas
function: SelectBetween
dependencies: 1
2
inputs: duration
less