Question: Which is shorter, Luther (the one whose title is Luther – Ein Film der deutschen Reformation) or Murder on the Orient Express (the one whose publication date is 2017-11-10)?
Choices:
Luther
Rebecca
The Hunchback of Notre Dame
Talk to Her
Pleasantville
Training Day
The Fifth Element
The Towering Inferno
Murder on the Orient Express
Curse of the Golden Flower
Answer: Luther
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Luther" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "Luther – Ein Film der deutschen Reformation" . } UNION { ?e <pred:name> "Murder on the Orient Express" . ?e <publication_date> ?pv_2 . ?pv_2 <pred:date> "2017-11-10"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Luther
function: FilterStr
dependencies: 0
inputs: title
Luther – Ein Film der deutschen Reformation
function: Find
inputs: Murder on the Orient Express
function: FilterDate
dependencies: 2
inputs: publication date
2017-11-10
=
function: SelectBetween
dependencies: 1
3
inputs: duration
less