Question: Which has a lesser number of seasons, Indian Idol or Rugrats (which has 172 episodes)?
Choices:
Phineas and Ferb
American Horror Story
Rugrats
Game of Thrones
Robot Chicken
Bleak House
Six Feet Under
Indian Idol
Seinfeld
Saturday Night's Main Event
Program:
function: Find
inputs: Indian Idol
function: Find
inputs: Rugrats
function: FilterNum
dependencies: 1
inputs: number of episodes
172
=
function: SelectBetween
dependencies: 0
2
inputs: number of seasons
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Indian Idol" . } UNION { ?e <pred:name> "Rugrats" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "172"^^xsd:double . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Indian Idol