Question: Was the date of the firt performance of The Phantom of the Opera (the one that is a notable work of Andrew Lloyd Webber) not in 1997?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "The Phantom of the Opera" . ?e_1 <notable_work> ?e . ?e_1 <pred:name> "Andrew Lloyd Webber" .  ?e <date_of_first_performance> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1997 ) .  }
Program:
function: Find
inputs: Andrew Lloyd Webber
function: Relate
dependencies: 0
inputs: notable work
forward
function: Find
inputs: The Phantom of the Opera
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: date of first performance
function: VerifyYear
dependencies: 4
inputs: 1997
!=