Question: Which has more seasons, Dark Shadows (the one whose number of episodes is 12) or The Ultimate Fighter?
Choices:
Saturday Night's Main Event
Game of Thrones
Robot Chicken
Six Feet Under
Dark Shadows
Phineas and Ferb
Seinfeld
American Horror Story
The Ultimate Fighter
Bleak House
Answer: The Ultimate Fighter
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dark Shadows" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "12"^^xsd:double . } UNION { ?e <pred:name> "The Ultimate Fighter" . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Dark Shadows
function: FilterNum
dependencies: 0
inputs: number of episodes
12
=
function: Find
inputs: The Ultimate Fighter
function: SelectBetween
dependencies: 1
2
inputs: number of seasons
greater