Question: Does Alice in Wonderland (that has Peter Ustinov as a cast member) or Futurama (whose producer is David X. Cohen) have the longer runtime?
Choices: The Pacific
The Stand
The Civil War
The Ten Commandments
Edge of Darkness
Battlestar Galactica
Futurama
George Washington
The Diary of Anne Frank
Alice in Wonderland
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Alice in Wonderland" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Peter Ustinov" .   } UNION { ?e <pred:name> "Futurama" . ?e <producer> ?e_2 . ?e_2 <pred:name> "David X. Cohen" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Peter Ustinov
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Alice in Wonderland
function: And
dependencies: 1
2
function: Find
inputs: David X. Cohen
function: Relate
dependencies: 4
inputs: producer
backward
function: Find
inputs: Futurama
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
Answer: Alice in Wonderland