Question: Which show has fewer episodes, Ben 10 (the one whose official website is http://www.cartoonnetwork.com/ben-10/) or The Waltons?
Choices:
Dancing with the Stars
Bleak House
Ben 10
Game of Thrones
Phineas and Ferb
The Waltons
Saturday Night's Main Event
American Horror Story
Six Feet Under
Seinfeld
Program:
function: Find
inputs: Ben 10
function: FilterStr
dependencies: 0
inputs: official website
http://www.cartoonnetwork.com/ben-10/
function: Find
inputs: The Waltons
function: SelectBetween
dependencies: 1
2
inputs: number of episodes
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ben 10" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.cartoonnetwork.com/ben-10/" . } UNION { ?e <pred:name> "The Waltons" . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Ben 10