Question: Which has fewer episodes, The Daily Show or Good Morning America?
Choices:
Orange
FreeBSD
manufacturing
Android
Today
Napoleonic Wars
Western Desert Campaign
Second Intifada
Good Morning America
The Daily Show
Program:
function: Find
inputs: The Daily Show
function: Find
inputs: Good Morning America
function: SelectBetween
dependencies: 0
1
inputs: number of episodes
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Daily Show" .  } UNION { ?e <pred:name> "Good Morning America" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Daily Show