Question: Which has more episodes, Curb Your Enthusiasm or Edge of Darkness (the one whose director is Ian McNeice)?
Choices:
Seinfeld
Robot Chicken
Edge of Darkness
Bleak House
Game of Thrones
American Horror Story
Curb Your Enthusiasm
Saturday Night's Main Event
Phineas and Ferb
Six Feet Under
Program:
function: Find
inputs: Curb Your Enthusiasm
function: Find
inputs: Ian McNeice
function: Relate
dependencies: 1
inputs: director
backward
function: Find
inputs: Edge of Darkness
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of episodes
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Curb Your Enthusiasm" .  } UNION { ?e <pred:name> "Edge of Darkness" . ?e <director> ?e_1 . ?e_1 <pred:name> "Ian McNeice" .   } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Curb Your Enthusiasm