Question: Which is longer, The Sum of All Fears originally in Russian or The Poseidon Adventure published on 2005-01-01?
Choices:
The Poseidon Adventure
The Late Shift
The Music Man
Shackleton
The Challenge
All Quiet on the Western Front
A Christmas Carol
The Three Musketeers
A Streetcar Named Desire
The Goodbye Girl
Answer: The Poseidon Adventure
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Sum of All Fears" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> "Russian" . } UNION { ?e <pred:name> "The Poseidon Adventure" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "2005-01-01"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Russian
function: Relate
dependencies: 0
inputs: original language of film or TV show
backward
function: Find
inputs: The Sum of All Fears
function: And
dependencies: 1
2
function: Find
inputs: The Poseidon Adventure
function: FilterDate
dependencies: 4
inputs: publication date
2005-01-01
=
function: SelectBetween
dependencies: 3
5
inputs: duration
greater