Question: Which movie is longer, Little Women (the one that is designed by Cedric Gibbons) or Seraphim Falls?
Choices:
A Prairie Home Companion
Little Women
The Fifth Element
The Towering Inferno
Curse of the Golden Flower
Talk to Her
Rebecca
Seraphim Falls
The Hunchback of Notre Dame
Pleasantville
Program:
function: Find
inputs: Cedric Gibbons
function: Relate
dependencies: 0
inputs: production designer
backward
function: Find
inputs: Little Women
function: And
dependencies: 1
2
function: Find
inputs: Seraphim Falls
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Little Women" . ?e <production_designer> ?e_1 . ?e_1 <pred:name> "Cedric Gibbons" .   } UNION { ?e <pred:name> "Seraphim Falls" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Little Women