Question: Does the The Good Wife or Smallville have fewer episodes than the other?
Choices:
Robot Chicken
Game of Thrones
Six Feet Under
Seinfeld
Saturday Night's Main Event
Phineas and Ferb
Bleak House
The Good Wife
American Horror Story
Smallville
Program:
function: Find
inputs: The Good Wife
function: Find
inputs: Smallville
function: SelectBetween
dependencies: 0
1
inputs: number of episodes
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Good Wife" .  } UNION { ?e <pred:name> "Smallville" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Good Wife