Question: Does Prison Break (the one whose end time is 2009-05-15) or Downton Abbey (the one that was nominated for Primetime Emmy Award for Outstanding Writing for a Miniseries, Movie or a Dramatic Special) have greater number of episodes ?
Choices: Dancing with the Stars
Six Feet Under
Phineas and Ferb
Saturday Night's Main Event
Robot Chicken
Prison Break
Game of Thrones
American Horror Story
Downton Abbey
Seinfeld
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Prison Break" . ?e <end_time> ?pv_1 . ?pv_1 <pred:date> "2009-05-15"^^xsd:date . } UNION { ?e <pred:name> "Downton Abbey" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Primetime Emmy Award for Outstanding Writing for a Miniseries, Movie or a Dramatic Special" . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Prison Break
function: FilterDate
dependencies: 0
inputs: end time
2009-05-15
=
function: Find
inputs: Primetime Emmy Award for Outstanding Writing for a Miniseries, Movie or a Dramatic Special
function: Relate
dependencies: 2
inputs: nominated for
backward
function: Find
inputs: Downton Abbey
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: number of episodes
greater
Answer: Prison Break