Question: Which show has more seasons, Fargo (the one that has Adam Goldberg as a cast member) or Battle Creek (the one that is created by Vince Gilligan)?
Choices:
Seinfeld
Battle Creek
Robot Chicken
Dancing with the Stars
Bleak House
Saturday Night's Main Event
American Horror Story
Fargo
Phineas and Ferb
Game of Thrones
Program:
function: Find
inputs: Adam Goldberg
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Fargo
function: And
dependencies: 1
2
function: Find
inputs: Vince Gilligan
function: Relate
dependencies: 4
inputs: creator
backward
function: Find
inputs: Battle Creek
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: number of episodes
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Fargo" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Adam Goldberg" .   } UNION { ?e <pred:name> "Battle Creek" . ?e <creator> ?e_2 . ?e_2 <pred:name> "Vince Gilligan" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Fargo