Question: Is the running time longer on The Quiet American, with Michael Redgrave as a cast member, or Coming Home, released in 2003?
Choices: The Towering Inferno
The Hunchback of Notre Dame
Pleasantville
A Prairie Home Companion
The Quiet American
Training Day
Talk to Her
Coming Home
Curse of the Golden Flower
Rebecca
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Quiet American" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Michael Redgrave" . } UNION { ?e <pred:name> "Coming Home" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> 2003 . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Michael Redgrave
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Quiet American
function: And
dependencies: 1
2
function: Find
inputs: Coming Home
function: FilterYear
dependencies: 4
inputs: publication date
2003
=
function: SelectBetween
dependencies: 3
5
inputs: duration
greater
Answer: The Quiet American