Question: Which has a greater number of seasons and has Joan Collins as a cast member, Hollywood Squares or Batman?
Choices: American Horror Story
Saturday Night's Main Event
Game of Thrones
Dancing with the Stars
Batman
Bleak House
Hollywood Squares
Phineas and Ferb
Seinfeld
Robot Chicken
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hollywood Squares" .  } UNION { ?e <pred:name> "Batman" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Joan Collins" .   } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Hollywood Squares
function: Find
inputs: Joan Collins
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: Batman
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of seasons
greater
Answer: Hollywood Squares