Question: Which has more episodes, WCW Monday Nitro or The Smurfs (the one whose official website is http://www.smurf.com/)?
Choices:
The Smurfs
Six Feet Under
Bleak House
Seinfeld
Dancing with the Stars
Phineas and Ferb
WCW Monday Nitro
Saturday Night's Main Event
Game of Thrones
Robot Chicken
Program:
function: Find
inputs: WCW Monday Nitro
function: Find
inputs: The Smurfs
function: FilterStr
dependencies: 1
inputs: official website
http://www.smurf.com/
function: SelectBetween
dependencies: 0
2
inputs: number of episodes
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "WCW Monday Nitro" . } UNION { ?e <pred:name> "The Smurfs" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.smurf.com/" . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: WCW Monday Nitro