Question: Does Anger Management (the one that has Woody Harrelson as a cast member) or The Other Boleyn Girl have greater duration?
Choices:
Anger Management
Training Day
The Other Boleyn Girl
The Hunchback of Notre Dame
Talk to Her
The Towering Inferno
A Prairie Home Companion
Pleasantville
The Fifth Element
Curse of the Golden Flower
Answer: The Other Boleyn Girl
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Anger Management" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Woody Harrelson" .   } UNION { ?e <pred:name> "The Other Boleyn Girl" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Woody Harrelson
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Anger Management
function: And
dependencies: 1
2
function: Find
inputs: The Other Boleyn Girl
function: SelectBetween
dependencies: 3
4
inputs: duration
greater