Question: Is the episode count higher for Las Vegas, of the website www.nbc.com/Las_Vegas, or for Degrassi: The Next Generation?
Choices:
Phineas and Ferb
Game of Thrones
Degrassi: The Next Generation
Seinfeld
Dancing with the Stars
Bleak House
Robot Chicken
Six Feet Under
American Horror Story
Las Vegas
Answer: Degrassi: The Next Generation
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Las Vegas" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.nbc.com/Las_Vegas/" . } UNION { ?e <pred:name> "Degrassi: The Next Generation" . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Las Vegas
function: FilterStr
dependencies: 0
inputs: official website
http://www.nbc.com/Las_Vegas/
function: Find
inputs: Degrassi: The Next Generation
function: SelectBetween
dependencies: 1
2
inputs: number of episodes
greater