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