Question: Which movie is shorter, The Wings of the Dove (the one whose duration is 103 minute) or Indiana Jones and the Temple of Doom (the one that follows Raiders of the Lost Ark)?
Choices:
A Prairie Home Companion
Indiana Jones and the Temple of Doom
Pleasantville
The Fifth Element
Training Day
Curse of the Golden Flower
The Towering Inferno
Rebecca
The Wings of the Dove
Talk to Her
Answer: The Wings of the Dove
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Wings of the Dove" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "103"^^xsd:double . } UNION { ?e <pred:name> "Indiana Jones and the Temple of Doom" . ?e_1 <followed_by> ?e . ?e_1 <pred:name> "Raiders of the Lost Ark" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: The Wings of the Dove
function: FilterNum
dependencies: 0
inputs: duration
103 minute
=
function: Find
inputs: Raiders of the Lost Ark
function: Relate
dependencies: 2
inputs: followed by
forward
function: Find
inputs: Indiana Jones and the Temple of Doom
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
less