in what opera will you find anna nicole (royal opera) to be the premiere production?
Entity
m.0gfjpzc
Anna Nicole
class entity
opera.opera m.0g4vp7x
opera.opera opera.opera_production
Opera Anna Nicole (Royal Opera)
none none
opera.opera.premiere_production
Premiere production
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX : <http://rdf.freebase.com/ns/> 
SELECT (?x0 AS ?value) WHERE {
SELECT DISTINCT ?x0  WHERE { 
?x0 :type.object.type :opera.opera . 
VALUES ?x1 { :m.0g4vp7x } 
?x0 :opera.opera.premiere_production ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND opera.opera (JOIN opera.opera.premiere_production m.0g4vp7x))