Question: Which movie is longer, Cookie's Fortune or Frankenstein produced by American Zoetrope?
Choices:
The Hunchback of Notre Dame
The Towering Inferno
Frankenstein
The Fifth Element
Pleasantville
A Prairie Home Companion
Rebecca
Cookie's Fortune
Curse of the Golden Flower
Talk to Her
Answer: Frankenstein
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cookie's Fortune" .  } UNION { ?e <pred:name> "Frankenstein" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "American Zoetrope" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Cookie's Fortune
function: Find
inputs: American Zoetrope
function: Relate
dependencies: 1
inputs: production company
backward
function: Find
inputs: Frankenstein
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater