Question: Which one has more seasons ,  War and Peace (the one that has Greta Scacchi as a cast member) or CBS Schoolbreak Special
Choices:
CBS Schoolbreak Special
Seinfeld
American Horror Story
Game of Thrones
Dancing with the Stars
Saturday Night's Main Event
Phineas and Ferb
Robot Chicken
War and Peace
Six Feet Under
Program:
function: Find
inputs: Greta Scacchi
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: War and Peace
function: And
dependencies: 1
2
function: Find
inputs: CBS Schoolbreak Special
function: SelectBetween
dependencies: 3
4
inputs: number of seasons
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "War and Peace" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Greta Scacchi" .   } UNION { ?e <pred:name> "CBS Schoolbreak Special" .  } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: CBS Schoolbreak Special