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