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