what stars are in the gliese 667 system?
Entity Entity Entity
m.0w32_rk m.0x07_s0 m.0x07_v3
Gliese 667 C Gliese 667 A Gliese 667 B
class entity
astronomy.star m.090lhg
astronomy.star astronomy.star_system
Star Gliese 667
none none
astronomy.star.star_system
Star System
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.090lhg } 
?x0 :astronomy.star.star_system ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND astronomy.star (JOIN astronomy.star.star_system m.090lhg))