Question: Is the longer work David Copperfield, with Cedric Gibbons as designer, or The Bridges of Madison County?
Choices:
A Prairie Home Companion
Talk to Her
Curse of the Golden Flower
Training Day
David Copperfield
Pleasantville
The Towering Inferno
Rebecca
The Fifth Element
The Bridges of Madison County
Answer: The Bridges of Madison County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "David Copperfield" . ?e <production_designer> ?e_1 . ?e_1 <pred:name> "Cedric Gibbons" .   } 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: Cedric Gibbons
function: Relate
dependencies: 0
inputs: production designer
backward
function: Find
inputs: David Copperfield
function: And
dependencies: 1
2
function: Find
inputs: The Bridges of Madison County
function: SelectBetween
dependencies: 3
4
inputs: duration
greater