Question: Which movie is shorter, Robin Hood (the one whose publication date is 1912-01-01) or Spy Game (the one whose original language is Arabic)?
Choices: David Copperfield
Frankenstein
Eve
The Fugitive
Spy Game
Robin Hood
The Cure
The Town
Neighbours
Friends
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Robin Hood" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1912-01-01"^^xsd:date . } UNION { ?e <pred:name> "Spy Game" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> "Arabic" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Robin Hood
function: FilterDate
dependencies: 0
inputs: publication date
1912-01-01
=
function: Find
inputs: Arabic
function: Relate
dependencies: 2
inputs: original language of film or TV show
backward
function: Find
inputs: Spy Game
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
less
Answer: Robin Hood