Question: Among the miniseries which have a publication date before 1987, which one has the smallest number of episodes?
Choices:
Brideshead Revisited
Fresno
Benjamin Franklin
Jane Eyre
George Washington
Oliver Twist
Backstairs at the White House
Masada
Jesus of Nazareth
Tinker Tailor Soldier Spy
Answer: George Washington
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "miniseries" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 < 1987 ) . ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
1987
<
function: FilterConcept
dependencies: 1
inputs: miniseries
function: SelectAmong
dependencies: 2
inputs: number of episodes
smallest