Question: Which has more seasons, The Untouchables, with Robert Stack in the cast, or Fantastic Four, which originally aired on NBC?
Choices:
Game of Thrones
Dancing with the Stars
The Untouchables
Saturday Night's Main Event
Fantastic Four
Bleak House
Robot Chicken
Seinfeld
American Horror Story
Six Feet Under
Answer: The Untouchables
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Untouchables" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Robert Stack" .   } UNION { ?e <pred:name> "Fantastic Four" . ?e <original_network> ?e_2 . ?e_2 <pred:name> "NBC" .  } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Robert Stack
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Untouchables
function: And
dependencies: 1
2
function: Find
inputs: NBC
function: Relate
dependencies: 4
inputs: original network
backward
function: Find
inputs: Fantastic Four
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: number of seasons
greater