Question: Which one, Taxi (the one whose producer is James L. Brooks) or Search for Tomorrow, has the greater number of seasons?
Choices: Game of Thrones
Phineas and Ferb
Bleak House
Robot Chicken
American Horror Story
Six Feet Under
Taxi
Dancing with the Stars
Search for Tomorrow
Seinfeld
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Taxi" . ?e <producer> ?e_1 . ?e_1 <pred:name> "James L. Brooks" .   } UNION { ?e <pred:name> "Search for Tomorrow" .  } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: James L. Brooks
function: Relate
dependencies: 0
inputs: producer
backward
function: Find
inputs: Taxi
function: And
dependencies: 1
2
function: Find
inputs: Search for Tomorrow
function: SelectBetween
dependencies: 3
4
inputs: number of seasons
greater
Answer: Search for Tomorrow