earth trojan has which asteroid in it?
Entity
m.0h1c_j0
2010 TK7
class entity
astronomy.asteroid m.04154sz
astronomy.asteroid astronomy.asteroid_group
Asteroid Earth trojan
none none
astronomy.asteroid.member_of_asteroid_group
Member of Asteroid Group
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.asteroid . 
VALUES ?x1 { :m.04154sz } 
?x0 :astronomy.asteroid.member_of_asteroid_group ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND astronomy.asteroid (JOIN astronomy.asteroid.member_of_asteroid_group m.04154sz))