Question: Does The Vampire Diaries or The Firm (that has Juliette Lewis as a cast member) have more seasons?
Choices:
Seinfeld
Game of Thrones
Saturday Night's Main Event
Bleak House
Robot Chicken
Dancing with the Stars
The Firm
Six Feet Under
American Horror Story
The Vampire Diaries
Answer: The Vampire Diaries
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Vampire Diaries" .  } UNION { ?e <pred:name> "The Firm" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Juliette Lewis" .   } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The Vampire Diaries
function: Find
inputs: Juliette Lewis
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: The Firm
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of seasons
greater