Question: Which show has fewer episodes, Superman (the one whose number of episodes is 17) or Curb Your Enthusiasm?
Choices: Curb Your Enthusiasm
Batman Beyond
American Dad!
Phineas and Ferb
South Park
Superman
The Cleveland Show
Aladdin
The Venture Bros.
Robot Chicken
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Superman" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "17"^^xsd:double . } UNION { ?e <pred:name> "Curb Your Enthusiasm" . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Superman
function: FilterNum
dependencies: 0
inputs: number of episodes
17
=
function: Find
inputs: Curb Your Enthusiasm
function: SelectBetween
dependencies: 1
2
inputs: number of episodes
less
Answer: Superman