Question: Which movie is shorter, Becket (the one whose exploitation visa number is 28767) or Casino Royale (the one whose publication date is 1954-01-01)?
Choices: All Quiet on the Western Front
Shackleton
Becket
The Goodbye Girl
A Christmas Carol
Casino Royale
The Late Shift
A Streetcar Named Desire
The Music Man
The Three Musketeers
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Becket" . ?e <exploitation_visa_number> ?pv_1 . ?pv_1 <pred:value> "28767" . } UNION { ?e <pred:name> "Casino Royale" . ?e <publication_date> ?pv_2 . ?pv_2 <pred:date> "1954-01-01"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Becket
function: FilterStr
dependencies: 0
inputs: exploitation visa number
28767
function: Find
inputs: Casino Royale
function: FilterDate
dependencies: 2
inputs: publication date
1954-01-01
=
function: SelectBetween
dependencies: 1
3
inputs: duration
less
Answer: Casino Royale