Question: Does Dancing with the Stars, a winner at the 61st Primetime Emmy Awards, or Search for Tomorrow have more seasons?
Choices:
Phineas and Ferb
Search for Tomorrow
Dancing with the Stars
American Horror Story
Seinfeld
Game of Thrones
Saturday Night's Main Event
Bleak House
Six Feet Under
Robot Chicken
Program:
function: Find
inputs: 61st Primetime Emmy Awards
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: Dancing with the Stars
function: And
dependencies: 1
2
function: Find
inputs: Search for Tomorrow
function: SelectBetween
dependencies: 3
4
inputs: number of seasons
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dancing with the Stars" . ?e <award_received> ?e_1 . ?e_1 <pred:name> "61st Primetime Emmy Awards" .   } UNION { ?e <pred:name> "Search for Tomorrow" .  } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Search for Tomorrow