Question: Which show has the least seasons, 30 Rock or Ben 10?
Choices:
Batman Beyond
The Cleveland Show
Phineas and Ferb
30 Rock
Robot Chicken
The Venture Bros.
American Dad!
Tiny Toon Adventures
South Park
Ben 10
Program:
function: Find
inputs: 30 Rock
function: Find
inputs: English
function: Relate
dependencies: 1
inputs: original language of film or TV show
backward
function: Find
inputs: Ben 10
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of seasons
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "30 Rock" .  } UNION { ?e <pred:name> "Ben 10" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> "English" .   } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Ben 10