what galaxy classification code has the same shape as sbc?
Entity
m.0hnggqx
SB(s)m pec
class class entity
astronomy.galaxy_classification_code astronomy.galactic_shape m.0cgl60j
astronomy.galaxy_classification_code astronomy.galactic_shape astronomy.galaxy_classification_code
Galaxy classification code Galactic shape SBc
none none none
astronomy.galactic_shape.galaxies_of_this_shape astronomy.galaxy_classification_code.galaxy_shape
Galaxies of this shape Galaxy shape
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 :astronomy.galaxy_classification_code . 
?x1 :type.object.type :astronomy.galactic_shape . 
VALUES ?x2 { :m.0cgl60j } 
?x1 :astronomy.galactic_shape.galaxies_of_this_shape ?x0 . 
?x2 :astronomy.galaxy_classification_code.galaxy_shape ?x1 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND astronomy.galaxy_classification_code (JOIN (R astronomy.galactic_shape.galaxies_of_this_shape) (JOIN (R astronomy.galaxy_classification_code.galaxy_shape) m.0cgl60j)))