Question: Which has fewer episodes, Friday Night Lights which was nominated for a Primetime Emmy Award for Outstanding Lead Actress in a Drama Series or Taxi created by James L. Brooks?
Choices:
Saturday Night's Main Event
Friday Night Lights
Dancing with the Stars
Robot Chicken
Seinfeld
Bleak House
Six Feet Under
Taxi
Phineas and Ferb
Game of Thrones
Answer: Friday Night Lights
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Friday Night Lights" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Primetime Emmy Award for Outstanding Lead Actress in a Drama Series" .   } UNION { ?e <pred:name> "Taxi" . ?e <creator> ?e_2 . ?e_2 <pred:name> "James L. Brooks" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Primetime Emmy Award for Outstanding Lead Actress in a Drama Series
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Friday Night Lights
function: And
dependencies: 1
2
function: Find
inputs: James L. Brooks
function: Relate
dependencies: 4
inputs: creator
backward
function: Find
inputs: Taxi
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: number of episodes
less