Question: Is the duration greater for EastEnders or Get Smart (the one that is created by Mel Brooks)?
Choices:
Get Smart
Phineas and Ferb
Robot Chicken
Game of Thrones
Dancing with the Stars
American Horror Story
EastEnders
Seinfeld
Six Feet Under
Bleak House
Program:
function: Find
inputs: EastEnders
function: Find
inputs: Mel Brooks
function: Relate
dependencies: 1
inputs: creator
backward
function: Find
inputs: Get Smart
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "EastEnders" .  } UNION { ?e <pred:name> "Get Smart" . ?e <creator> ?e_1 . ?e_1 <pred:name> "Mel Brooks" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: EastEnders