Question: Does The Practice or Kid vs. Kat have more episodes?
Choices:
Six Feet Under
Game of Thrones
Saturday Night's Main Event
Seinfeld
Kid vs. Kat
Phineas and Ferb
Dancing with the Stars
Bleak House
The Practice
American Horror Story
Program:
function: Find
inputs: The Practice
function: Find
inputs: Kid vs. Kat
function: SelectBetween
dependencies: 0
1
inputs: number of episodes
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Practice" .  } UNION { ?e <pred:name> "Kid vs. Kat" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Practice