the class of topper was designed by which ship designer?
Entity
m.026fttz
Ian Proctor
class entity
boats.ship_designer m.02fbbj
boats.ship_designer boats.ship_class
Ship Designer Topper
none none
boats.ship_designer.ship_classes_designed
Ship classes designed
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 :boats.ship_designer . 
VALUES ?x1 { :m.02fbbj } 
?x0 :boats.ship_designer.ship_classes_designed ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND boats.ship_designer (JOIN boats.ship_designer.ship_classes_designed m.02fbbj))