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