Question: Of Primetime Emmy nominated TV series for Outstanding Lead Actress in a Miniseries or a Movie, which ran the most episodes?
Choices:
Backstairs at the White House
Upstairs, Downstairs
Angels in America
Game of Thrones
John Adams
Robot Chicken
Downton Abbey
Bleak House
Mildred Pierce
American Horror Story
Answer: American Horror Story
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Primetime Emmy Award for Outstanding Lead Actress in a Miniseries or a Movie" .  ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Primetime Emmy Award for Outstanding Lead Actress in a Miniseries or a Movie
function: Relate
dependencies: 0
inputs: nominated for
backward
function: FilterConcept
dependencies: 1
inputs: television series
function: SelectAmong
dependencies: 2
inputs: number of episodes
largest