Question: Which show has more seasons, The View or Star Trek: The Animated Series?
Choices:
American Horror Story
Saturday Night's Main Event
Game of Thrones
Phineas and Ferb
Seinfeld
Bleak House
Dancing with the Stars
Robot Chicken
The View
Star Trek: The Animated Series
Program:
function: Find
inputs: The View
function: Find
inputs: Star Trek: The Animated Series
function: SelectBetween
dependencies: 0
1
inputs: number of seasons
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The View" .  } UNION { ?e <pred:name> "Star Trek: The Animated Series" .  } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The View