Question: Was The Incredible Hulk, which has Neal McDonough in its cast published after 1986?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Program:
function: Find
inputs: Neal McDonough
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Incredible Hulk
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: publication date
function: VerifyYear
dependencies: 4
inputs: 1986
>
SPARQL: ASK { ?e <pred:name> "The Incredible Hulk" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Neal McDonough" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1986 ) .  }
Answer: yes