Question: Which one of the miniseries titled Oliver Twist have the highest number of episodes ?
Choices:
Roots
Oliver Twist
The Civil War
The Ten Commandments
The Pacific
The Diary of Anne Frank
The Stand
George Washington
Oliver Twist
Edge of Darkness
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
Oliver Twist
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 <title> ?pv_1 . ?pv_1 <pred:value> "Oliver Twist" . ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Oliver Twist