which stars have the spectral type of m7 iiie?
Entity
m.0x0f9_p
Mira A
class entity
astronomy.star m.0hnfk_7
astronomy.star astronomy.spectral_type
Star M7 IIIe
none none
astronomy.star.spectral_type
Spectral Type
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.star . 
VALUES ?x1 { :m.0hnfk_7 } 
?x0 :astronomy.star.spectral_type ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND astronomy.star (JOIN astronomy.star.spectral_type m.0hnfk_7))