Question: Which has a greater number of episodes, Great Expectations (which has Ray Winstone as a cast member) or Fargo (which has Adam Goldberg as a cast member)?
Choices: Six Feet Under
Game of Thrones
American Horror Story
Saturday Night's Main Event
Phineas and Ferb
Great Expectations
Seinfeld
Bleak House
Fargo
Robot Chicken
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Great Expectations" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Ray Winstone" .   } UNION { ?e <pred:name> "Fargo" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Adam Goldberg" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Ray Winstone
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Great Expectations
function: And
dependencies: 1
2
function: Find
inputs: Adam Goldberg
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: Fargo
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: number of episodes
greater
Answer: Fargo