Question: Which is longer, Anna Karenina published on 1985-01-01 or Heartbeats released in Poland?
Choices: The Three Musketeers
Shackleton
The Challenge
The Late Shift
All Quiet on the Western Front
Heartbeats
A Streetcar Named Desire
A Christmas Carol
The Music Man
Anna Karenina
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> "Heartbeats" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Poland" . } ?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: Poland
function: Relate
dependencies: 2
inputs: film release region
backward
function: Find
inputs: Heartbeats
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
greater
Answer: Anna Karenina