which topic has the image of royal-ballet-logo?
Entity
m.04vmx3
The Royal Ballet
class entity
common.topic m.0423yv5
common.topic common.image
Topic Royal-Ballet-Logo
none none
common.topic.image
Image
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 :common.topic . 
VALUES ?x1 { :m.0423yv5 } 
?x0 :common.topic.image ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND common.topic (JOIN common.topic.image m.0423yv5))