Question: Does Bewitched (that was nominated for a Primetime Emmy Award for Outstanding Lead Actress in a Comedy Series) or Alice (was nominated for a Primetime Emmy Award for Outstanding Directing for a Comedy Series) have fewer episodes?
Choices:
Robot Chicken
Phineas and Ferb
Dancing with the Stars
Bleak House
Saturday Night's Main Event
Alice
Seinfeld
Bewitched
American Horror Story
Six Feet Under
Answer: Alice
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bewitched" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Primetime Emmy Award for Outstanding Lead Actress in a Comedy Series" .   } UNION { ?e <pred:name> "Alice" . ?e <nominated_for> ?e_2 . ?e_2 <pred:name> "Primetime Emmy Award for Outstanding Directing for a Comedy Series" .  } ?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 Comedy Series
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Bewitched
function: And
dependencies: 1
2
function: Find
inputs: Primetime Emmy Award for Outstanding Directing for a Comedy Series
function: Relate
dependencies: 4
inputs: nominated for
backward
function: Find
inputs: Alice
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: number of episodes
less