Question: Which hone has more seasons, Bewitched (the one that was nominated for Primetime Emmy Award for Outstanding Comedy Series) or John Adams (the one that received Satellite Awards 2008) ?
Choices:
Dancing with the Stars
Six Feet Under
Robot Chicken
Bewitched
Bleak House
John Adams
Phineas and Ferb
American Horror Story
Saturday Night's Main Event
Game of Thrones
Program:
function: Find
inputs: Primetime Emmy Award for Outstanding Comedy Series
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Bewitched
function: And
dependencies: 1
2
function: Find
inputs: Satellite Awards 2008
function: Relate
dependencies: 4
inputs: award received
backward
function: Find
inputs: John Adams
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: number of seasons
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bewitched" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Primetime Emmy Award for Outstanding Comedy Series" .   } UNION { ?e <pred:name> "John Adams" . ?e <award_received> ?e_2 . ?e_2 <pred:name> "Satellite Awards 2008" .  } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Bewitched