Question: Is Malibu the title of the television film that has George Hamilton (who was cast in the film Bulworth) as a cast member?
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> "George Hamilton" . ?e_2 <cast_member> ?e_1 . ?e_2 <pred:name> "Bulworth" .  ?e <title> ?pv . ?pv <pred:value> "Malibu" .  }
Program:
function: Find
inputs: Bulworth
function: Relate
dependencies: 0
inputs: cast member
forward
function: Find
inputs: George Hamilton
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: Malibu
Answer: yes