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