Question: Does The Island (whose length is 114 minutes) or The Proposition (that has Noah Taylor as a cast member) have the longer running time?
Choices:
Rebecca
The Fifth Element
The Island
Pleasantville
A Prairie Home Companion
The Hunchback of Notre Dame
Curse of the Golden Flower
The Proposition
Talk to Her
Training Day
Answer: The Island
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Island" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "114"^^xsd:double . } UNION { ?e <pred:name> "The Proposition" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Noah Taylor" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The Island
function: FilterNum
dependencies: 0
inputs: duration
114 minute
=
function: Find
inputs: Noah Taylor
function: Relate
dependencies: 2
inputs: cast member
backward
function: Find
inputs: The Proposition
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
greater