Question: Which is longer in duration, The Cleveland Show or the Sam Raimi produced Spartacus?
Choices:
Six Feet Under
American Horror Story
Bleak House
Phineas and Ferb
Robot Chicken
The Cleveland Show
Saturday Night's Main Event
Seinfeld
Spartacus
Game of Thrones
Program:
function: Find
inputs: The Cleveland Show
function: Find
inputs: Sam Raimi
function: Relate
dependencies: 1
inputs: producer
backward
function: Find
inputs: Spartacus
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Cleveland Show" .  } UNION { ?e <pred:name> "Spartacus" . ?e <producer> ?e_1 . ?e_1 <pred:name> "Sam Raimi" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Spartacus