Question: Between the Anna Karenina released 1985-01-01 or Red Road, which is longer?
Choices: The Music Man
The Three Musketeers
The Challenge
Red Road
All Quiet on the Western Front
Anna Karenina
A Christmas Carol
Shackleton
A Streetcar Named Desire
The Late Shift
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Anna Karenina" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1985-01-01"^^xsd:date . } UNION { ?e <pred:name> "Red Road" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Anna Karenina
function: FilterDate
dependencies: 0
inputs: publication date
1985-01-01
=
function: Find
inputs: Red Road
function: SelectBetween
dependencies: 1
2
inputs: duration
greater
Answer: Anna Karenina