Question: Does the play that derives from The Phantom of the Opera (the one that was nominated for Academy Award for Best Cinematography), have its date of first performance not in 2007?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "play" . ?e_1 <based_on> ?e . ?e_1 <pred:name> "The Phantom of the Opera" . ?e_1 <nominated_for> ?e_2 . ?e_2 <pred:name> "Academy Award for Best Cinematography" .  ?e <date_of_first_performance> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2007 ) .  }
Program:
function: Find
inputs: Academy Award for Best Cinematography
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: The Phantom of the Opera
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: based on
forward
function: FilterConcept
dependencies: 4
inputs: play
function: QueryAttr
dependencies: 5
inputs: date of first performance
function: VerifyYear
dependencies: 6
inputs: 2007
!=