Question: Is the duration greater for Howards End or The Pink Panther (the one that has Robert Wagner as a cast member)?
Choices:
The Hunchback of Notre Dame
Rebecca
The Fifth Element
A Prairie Home Companion
Training Day
Howards End
Curse of the Golden Flower
Talk to Her
The Pink Panther
Pleasantville
Answer: Howards End
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Howards End" .  } UNION { ?e <pred:name> "The Pink Panther" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Robert Wagner" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Howards End
function: Find
inputs: Robert Wagner
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: The Pink Panther
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater