Question: Which movie is shorter, Priest (the one whose duration is 105 minute) or Robin Hood (the one whose video is Robin Hood (1922).webm)?
Choices:
A Prairie Home Companion
Priest
The Fifth Element
Training Day
The Hunchback of Notre Dame
The Towering Inferno
Curse of the Golden Flower
Talk to Her
Robin Hood
Pleasantville
Answer: Priest
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Priest" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "105"^^xsd:double . } UNION { ?e <pred:name> "Robin Hood" . ?e <video> ?pv_2 . ?pv_2 <pred:value> "Robin Hood (1922).webm" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Priest
function: FilterNum
dependencies: 0
inputs: duration
105 minute
=
function: Find
inputs: Robin Hood
function: FilterStr
dependencies: 2
inputs: video
Robin Hood (1922).webm
function: SelectBetween
dependencies: 1
3
inputs: duration
less