what type of ships are powered by diesel electrics?
Entity Entity
m.05p1t3z m.04f2hfh
Impeccable-class ocean surveillance ship Concordia-class cruise ship
class class entity
boats.ship_class boats.ship m.032tjq
boats.ship_class boats.ship boats.means_of_propulsion
Ship class Ship diesel electric
none none none
boats.ship.ship_class boats.ship.means_of_propulsion
Ship Class Means of propulsion
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 . 
?x1 :type.object.type :boats.ship . 
VALUES ?x2 { :m.032tjq } 
?x1 :boats.ship.ship_class ?x0 . 
?x1 :boats.ship.means_of_propulsion ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND boats.ship_class (JOIN (R boats.ship.ship_class) (JOIN boats.ship.means_of_propulsion m.032tjq)))