Question: Which movie is shorter, Elektra (the one whose production company is Marvel Entertainment) or Jane Eyre (the one whose duration is 108 minute)?
Choices: Jane Eyre
The Hunchback of Notre Dame
The Fifth Element
Curse of the Golden Flower
Pleasantville
The Towering Inferno
A Prairie Home Companion
Training Day
Talk to Her
Elektra
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Elektra" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "Marvel Entertainment" . } UNION { ?e <pred:name> "Jane Eyre" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "108"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Marvel Entertainment
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: Elektra
function: And
dependencies: 1
2
function: Find
inputs: Jane Eyre
function: FilterNum
dependencies: 4
inputs: duration
108 minute
=
function: SelectBetween
dependencies: 3
5
inputs: duration
less
Answer: Elektra