Question: Was Angel (the one that has Madonna as a performer) published after 1978?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "Angel" . ?e <performer> ?e_1 . ?e_1 <pred:name> "Madonna" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1978 ) .  }
Program:
function: Find
inputs: Madonna
function: Relate
dependencies: 0
inputs: performer
backward
function: Find
inputs: Angel
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: publication date
function: VerifyYear
dependencies: 4
inputs: 1978
>