Question: Which show has more episodes, Boardwalk Empire or the show with 11 episodes, Brideshead Revisited?
Choices: Six Feet Under
Saturday Night's Main Event
Phineas and Ferb
Dancing with the Stars
Boardwalk Empire
Game of Thrones
Brideshead Revisited
American Horror Story
Bleak House
Seinfeld
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Brideshead Revisited" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "11"^^xsd:double . } UNION { ?e <pred:name> "Boardwalk Empire" . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Brideshead Revisited
function: FilterNum
dependencies: 0
inputs: number of episodes
11
=
function: Find
inputs: Boardwalk Empire
function: SelectBetween
dependencies: 1
2
inputs: number of seasons
greater
Answer: Boardwalk Empire