Question: What television series has Colleen Dewhurst as a cast member and has the title The Civil War?
Choices:
Edge of Darkness
Rosemary's Baby
Roots
Battlestar Galactica
The Stand
The Ten Commandments
The Civil War
Emma
The Diary of Anne Frank
The Pacific
Program:
function: Find
inputs: Colleen Dewhurst
function: Relate
dependencies: 0
inputs: cast member
backward
function: FilterConcept
dependencies: 1
inputs: television series
function: FindAll
function: FilterStr
dependencies: 3
inputs: title
The Civil War
function: FilterConcept
dependencies: 4
inputs: television series
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Colleen Dewhurst" .  ?e <title> ?pv . ?pv <pred:value> "The Civil War" .  }
Answer: The Civil War