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