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