Question: Of miniseries released subsequent to 2012, which had the fewest episodes?
Choices:
The Ten Commandments
George Washington
The Pacific
The Stand
Emma
Edge of Darkness
Great Expectations
The Diary of Anne Frank
The Civil War
Battlestar Galactica
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
2012
>
function: FilterConcept
dependencies: 1
inputs: miniseries
function: SelectAmong
dependencies: 2
inputs: number of episodes
smallest
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 > 2012 ) . ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Great Expectations