Question: Which movie is shorter, For Your Eyes Only (the one whose original language is English) or Jane Eyre (the one whose publication date is 1934-01-01)?
Choices: Training Day
Jane Eyre
Pleasantville
For Your Eyes Only
Rebecca
A Prairie Home Companion
The Fifth Element
Talk to Her
The Towering Inferno
Curse of the Golden Flower
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "For Your Eyes Only" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> "English" . } UNION { ?e <pred:name> "Jane Eyre" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1934-01-01"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: original language of film or TV show
backward
function: Find
inputs: For Your Eyes Only
function: And
dependencies: 1
2
function: Find
inputs: Jane Eyre
function: FilterDate
dependencies: 4
inputs: publication date
1934-01-01
=
function: SelectBetween
dependencies: 3
5
inputs: duration
less
Answer: Jane Eyre