Question: Are there more episodes of Las Vegas, first aired on NBC, or of Days of our Lives?
Choices:
Las Vegas
Saturday Night's Main Event
Six Feet Under
Robot Chicken
Seinfeld
Bleak House
Dancing with the Stars
American Horror Story
Days of our Lives
Game of Thrones
Answer: Days of our Lives
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Las Vegas" . ?e <original_network> ?e_1 . ?e_1 <pred:name> "NBC" .   } UNION { ?e <pred:name> "Days of our Lives" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: NBC
function: Relate
dependencies: 0
inputs: original network
backward
function: Find
inputs: Las Vegas
function: And
dependencies: 1
2
function: Find
inputs: Days of our Lives
function: SelectBetween
dependencies: 3
4
inputs: number of episodes
greater