Question: Is David Copperfield the title of the television film that has Michael Richards (whose profession is voice actor) as a member of the cast?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "television film" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Michael Richards" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> "voice actor" .  ?e <title> ?pv . ?pv <pred:value> "David Copperfield" .  }
Program:
function: Find
inputs: voice actor
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Michael Richards
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: cast member
backward
function: FilterConcept
dependencies: 4
inputs: television film
function: QueryAttr
dependencies: 5
inputs: title
function: VerifyStr
dependencies: 6
inputs: David Copperfield
Answer: yes