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