Question: Which miniseries, with an end time before 1990, has the largest number of episodes?
Choices:
Masada
George Washington
The Singing Detective
Battlestar Galactica
Edge of Darkness
Roots: The Next Generations
Oliver Twist
The Stand
Rich Man, Poor Man
The Ten Commandments
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: end time
1990
<
function: FilterConcept
dependencies: 1
inputs: miniseries
function: SelectAmong
dependencies: 2
inputs: number of episodes
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "miniseries" . ?e <end_time> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 < 1990 ) . ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Oliver Twist