Question: Which one is longer, The Nutty Professor (the one that has Drake Bell as a cast member) or Looper?
Choices:
Curse of the Golden Flower
Rebecca
The Hunchback of Notre Dame
The Towering Inferno
Pleasantville
The Fifth Element
A Prairie Home Companion
Looper
The Nutty Professor
Talk to Her
Program:
function: Find
inputs: Drake Bell
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Nutty Professor
function: And
dependencies: 1
2
function: Find
inputs: Looper
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Nutty Professor" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Drake Bell" .   } UNION { ?e <pred:name> "Looper" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Looper