Question: Which movie is longer, , Carrie (the one that is originally aired on NBC) or Invictus?
Choices:
Rebecca
Curse of the Golden Flower
A Prairie Home Companion
Invictus
Training Day
The Hunchback of Notre Dame
Talk to Her
The Towering Inferno
The Fifth Element
Carrie
Program:
function: Find
inputs: NBC
function: Relate
dependencies: 0
inputs: original network
backward
function: Find
inputs: Carrie
function: And
dependencies: 1
2
function: Find
inputs: Invictus
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Carrie" . ?e <original_network> ?e_1 . ?e_1 <pred:name> "NBC" .   } UNION { ?e <pred:name> "Invictus" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Invictus