Question: Does Torchwood or Emma, which was first broadcast by BBC One, have more episodes?
Choices:
Game of Thrones
Emma
Dancing with the Stars
Bleak House
Saturday Night's Main Event
Robot Chicken
American Horror Story
Seinfeld
Torchwood
Phineas and Ferb
Program:
function: Find
inputs: Torchwood
function: Find
inputs: BBC One
function: Relate
dependencies: 1
inputs: original network
backward
function: Find
inputs: Emma
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of episodes
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Torchwood" .  } UNION { ?e <pred:name> "Emma" . ?e <original_network> ?e_1 . ?e_1 <pred:name> "BBC One" .   } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Torchwood