Question: Which one is longer, The Bridge on the River Kwai or The Nutty Professor (the one whose duration is 75 minute)?
Choices:
Curse of the Golden Flower
Pleasantville
A Prairie Home Companion
The Nutty Professor
The Bridge on the River Kwai
The Hunchback of Notre Dame
The Fifth Element
Rebecca
Training Day
Talk to Her
Answer: The Bridge on the River Kwai
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Nutty Professor" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "75"^^xsd:double . } UNION { ?e <pred:name> "The Bridge on the River Kwai" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The Nutty Professor
function: FilterNum
dependencies: 0
inputs: duration
75 minute
=
function: Find
inputs: The Bridge on the River Kwai
function: SelectBetween
dependencies: 1
2
inputs: duration
greater