Question: Which book is longer, Animal House or Shadowlands (the one that mainly depicts C. S. Lewis)?
Choices: The Fifth Element
Rebecca
Shadowlands
Training Day
A Prairie Home Companion
Curse of the Golden Flower
The Towering Inferno
Pleasantville
The Hunchback of Notre Dame
Talk to Her
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Shadowlands" . ?e <main_subject> ?e_1 . ?e_1 <pred:name> "C. S. Lewis" .   } UNION { ?e <pred:name> "Animal House" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: C. S. Lewis
function: Relate
dependencies: 0
inputs: main subject
backward
function: Find
inputs: Shadowlands
function: And
dependencies: 1
2
function: Find
inputs: Animal House
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
Answer: Shadowlands