what is sbc's galactic shape?
Entity
m.03q3pn
Barred spiral galaxy
class entity
astronomy.galactic_shape m.0cgl60j
astronomy.galactic_shape astronomy.galaxy_classification_code
Galactic shape SBc
none none
astronomy.galactic_shape.galaxies_of_this_shape
Galaxies of this 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.galactic_shape . 
VALUES ?x1 { :m.0cgl60j } 
?x0 :astronomy.galactic_shape.galaxies_of_this_shape ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND astronomy.galactic_shape (JOIN astronomy.galactic_shape.galaxies_of_this_shape m.0cgl60j))