Question: Which has the most episodes among the miniseries that started before 2016?
Choices:
The Pacific
Sherlock
Rich Man, Poor Man
From the Earth to the Moon
The Diary of Anne Frank
Benjamin Franklin
Titanic
Oliver Twist
Rosemary's Baby
24
Answer: 24
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "miniseries" . ?e <start_time> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 < 2016 ) . ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: start time
2016
<
function: FilterConcept
dependencies: 1
inputs: miniseries
function: SelectAmong
dependencies: 2
inputs: number of episodes
largest