Question: Does the larger episode run belong to The Green Hornet, first broadcast on the American Broadcasting Company, or Jane Eyre, first broadcast on BBC?
Choices:
Phineas and Ferb
American Horror Story
Game of Thrones
Robot Chicken
Jane Eyre
Bleak House
Dancing with the Stars
Seinfeld
Saturday Night's Main Event
The Green Hornet
Answer: The Green Hornet
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Green Hornet" . ?e <original_network> ?e_1 . ?e_1 <pred:name> "American Broadcasting Company" .   } UNION { ?e <pred:name> "Jane Eyre" . ?e <original_network> ?e_2 . ?e_2 <pred:name> "BBC" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: American Broadcasting Company
function: Relate
dependencies: 0
inputs: original network
backward
function: Find
inputs: The Green Hornet
function: And
dependencies: 1
2
function: Find
inputs: BBC
function: Relate
dependencies: 4
inputs: original network
backward
function: Find
inputs: Jane Eyre
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: number of episodes
greater