Question: Which one, Annie (the one that has Patricia Clarkson as a cast member) or Magnolia, has greater duration?
Choices:
The Fifth Element
Annie
The Hunchback of Notre Dame
The Towering Inferno
Training Day
Magnolia
Curse of the Golden Flower
Pleasantville
Rebecca
A Prairie Home Companion
Answer: Magnolia
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Annie" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Patricia Clarkson" .   } UNION { ?e <pred:name> "Magnolia" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Patricia Clarkson
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Annie
function: And
dependencies: 1
2
function: Find
inputs: Magnolia
function: SelectBetween
dependencies: 3
4
inputs: duration
greater