Question: Which movie is shorter, Paris (the one whose duration is 67 minute) or Victoria (the one whose publication date is 2015-10-08)?
Choices: Little Women
Victoria
Earth
The Last of the Mohicans
Paris
The Hunchback of Notre Dame
The Scarlet Letter
Hamlet
Pleasantville
Rebecca
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Paris" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "67"^^xsd:double . } UNION { ?e <pred:name> "Victoria" . ?e <publication_date> ?pv_2 . ?pv_2 <pred:date> "2015-10-08"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Paris
function: FilterNum
dependencies: 0
inputs: duration
67 minute
=
function: Find
inputs: Victoria
function: FilterDate
dependencies: 2
inputs: publication date
2015-10-08
=
function: SelectBetween
dependencies: 1
3
inputs: duration
less
Answer: Paris