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