what ship class is maritime commission a designer for?
Entity Entity
m.01c4xv m.0cw0wd
Liberty ship Type C2 ship
class entity
boats.ship_class m.04654j
boats.ship_class boats.ship_designer
Ship class maritime commission
none none
boats.ship_class.designer
Designer
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_class . 
VALUES ?x1 { :m.04654j } 
?x0 :boats.ship_class.designer ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND boats.ship_class (JOIN boats.ship_class.designer m.04654j))