Question: Does Modern Family or Pasadena (directed by Tim Van Patten) have a greater number of episodes?
Choices:
Robot Chicken
Bleak House
Pasadena
Dancing with the Stars
Game of Thrones
Modern Family
American Horror Story
Phineas and Ferb
Six Feet Under
Saturday Night's Main Event
Answer: Modern Family
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Modern Family" .  } UNION { ?e <pred:name> "Pasadena" . ?e <director> ?e_1 . ?e_1 <pred:name> "Tim Van Patten" .   } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Modern Family
function: Find
inputs: Tim Van Patten
function: Relate
dependencies: 1
inputs: director
backward
function: Find
inputs: Pasadena
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of episodes
greater