Question: Which had the most seasons, Beauty and the Beast that started October 11, 2012 or Mad TV?
Choices: Dancing with the Stars
Six Feet Under
Saturday Night's Main Event
Beauty and the Beast
Seinfeld
Bleak House
Mad TV
Robot Chicken
Game of Thrones
American Horror Story
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Beauty and the Beast" . ?e <start_time> ?pv_1 . ?pv_1 <pred:date> "2012-10-11"^^xsd:date . } UNION { ?e <pred:name> "Mad TV" . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Beauty and the Beast
function: FilterDate
dependencies: 0
inputs: start time
2012-10-11
=
function: Find
inputs: Mad TV
function: SelectBetween
dependencies: 1
2
inputs: number of seasons
greater
Answer: Mad TV