Question: Which one, Kid vs. Kat or Cheers, has the greater number of seasons?
Choices:
American Horror Story
Dancing with the Stars
Cheers
Robot Chicken
Phineas and Ferb
Game of Thrones
Six Feet Under
Saturday Night's Main Event
Bleak House
Kid vs. Kat
Program:
function: Find
inputs: Kid vs. Kat
function: Find
inputs: Cheers
function: SelectBetween
dependencies: 0
1
inputs: number of seasons
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kid vs. Kat" .  } UNION { ?e <pred:name> "Cheers" .  } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Cheers