Question: Which show has fewer episodes, Mad TV or Underbelly?
Choices:
Underbelly
Mad TV
The Pacific
The Stand
The Civil War
The Diary of Anne Frank
Edge of Darkness
Battlestar Galactica
George Washington
The Ten Commandments
Program:
function: Find
inputs: Mad TV
function: Find
inputs: Underbelly
function: SelectBetween
dependencies: 0
1
inputs: number of episodes
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mad TV" .  } UNION { ?e <pred:name> "Underbelly" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Underbelly