Question: Which one, Batman Beyond or Coronation Street, has less number of episodes?
Choices:
The Venture Bros.
Phineas and Ferb
Batman Beyond
Tiny Toon Adventures
The Cleveland Show
Coronation Street
Aladdin
South Park
Robot Chicken
Fantastic Four
Program:
function: Find
inputs: Batman Beyond
function: Find
inputs: Coronation Street
function: SelectBetween
dependencies: 0
1
inputs: number of episodes
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Batman Beyond" .  } UNION { ?e <pred:name> "Coronation Street" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Batman Beyond