Question: Does Friday Night Lights (that was nominated for a Primetime Emmy Award for Outstanding Lead Actress in a Drama Series) or 30 Rock have fewer episodes?
Choices:
Robot Chicken
30 Rock
Six Feet Under
Seinfeld
Dancing with the Stars
American Horror Story
Friday Night Lights
Bleak House
Saturday Night's Main Event
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> "30 Rock" .  } ?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: 30 Rock
function: SelectBetween
dependencies: 3
4
inputs: number of episodes
less