what ship class is the cv-59?
Entity
m.02g4hp
Forrestal-class aircraft carrier
class entity
boats.ship_class m.01fjk8
boats.ship_class user.patrick.default_domain.warship_v1_1
Ship class cv-59
none none
boats.ship_class.ships_in_class
Ships in class
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.01fjk8 } 
?x0 :boats.ship_class.ships_in_class ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND boats.ship_class (JOIN boats.ship_class.ships_in_class m.01fjk8))