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