Question: Which has a greater number of episodes, Boardwalk Empire or The Civil War?
Choices:
Bleak House
Boardwalk Empire
Saturday Night's Main Event
The Civil War
Game of Thrones
Phineas and Ferb
Six Feet Under
Robot Chicken
Seinfeld
Dancing with the Stars
Program:
function: Find
inputs: Boardwalk Empire
function: Find
inputs: The Civil War
function: SelectBetween
dependencies: 0
1
inputs: number of episodes
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Boardwalk Empire" .  } UNION { ?e <pred:name> "The Civil War" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Boardwalk Empire