Question: Between Elite Squad: The Enemy Within or David Copperfield, directed by George Cukor, which is longer?
Choices:
The Hunchback of Notre Dame
Pleasantville
Elite Squad: The Enemy Within
David Copperfield
The Towering Inferno
Talk to Her
Rebecca
A Prairie Home Companion
The Fifth Element
Curse of the Golden Flower
Program:
function: Find
inputs: Elite Squad: The Enemy Within
function: Find
inputs: George Cukor
function: Relate
dependencies: 1
inputs: director
backward
function: Find
inputs: David Copperfield
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Elite Squad: The Enemy Within" .  } UNION { ?e <pred:name> "David Copperfield" . ?e <director> ?e_1 . ?e_1 <pred:name> "George Cukor" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: David Copperfield