Question: Which has more seasons, The Fall (the one whose number of seasons is 3) or The A-Team (the one whose official website is http://www.cannell.com/tv-show-detail/1/the-a-team.html) ?
Choices: Bleak House
Phineas and Ferb
Robot Chicken
Game of Thrones
Seinfeld
American Horror Story
The A-Team
Saturday Night's Main Event
Six Feet Under
Dancing with the Stars
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Fall" . ?e <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "3"^^xsd:double . } UNION { ?e <pred:name> "The A-Team" . ?e <official_website> ?pv_2 . ?pv_2 <pred:value> "http://www.cannell.com/tv-show-detail/1/the-a-team.html" . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The Fall
function: FilterNum
dependencies: 0
inputs: number of seasons
3
=
function: Find
inputs: The A-Team
function: FilterStr
dependencies: 2
inputs: official website
http://www.cannell.com/tv-show-detail/1/the-a-team.html
function: SelectBetween
dependencies: 1
3
inputs: number of seasons
greater
Answer: The A-Team