Question: Among the miniseries that received the 60th Primetime Emmy Awards, which has the most episodes?
Choices:
Roots
Battlestar Galactica
The Pacific
Tin Man
John Adams
The Diary of Anne Frank
George Washington
The Stand
Edge of Darkness
The Ten Commandments
Answer: John Adams
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "miniseries" . ?e <award_received> ?e_1 . ?e_1 <pred:name> "60th Primetime Emmy Awards" .  ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: 60th Primetime Emmy Awards
function: Relate
dependencies: 0
inputs: award received
backward
function: FilterConcept
dependencies: 1
inputs: miniseries
function: SelectAmong
dependencies: 2
inputs: number of episodes
largest