which is the galactic interaction type of andromeda?
Entity Entity
m.0cgl16m m.0cgl16t
Galactic cannibalism Galactic collision
class class entity
astronomy.galactic_interaction_type astronomy.galactic_interaction m.0jvb4
astronomy.galactic_interaction_type astronomy.galactic_interaction astronomy.galaxy
Galactic interaction type Galactic interaction andromeda
none none none
astronomy.galactic_interaction_type.galaxy_s_interacting_this_way astronomy.galaxy.interaction
Galaxy's interacting this way Interaction
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_interaction_type . 
?x1 :type.object.type :astronomy.galactic_interaction . 
VALUES ?x2 { :m.0jvb4 } 
?x0 :astronomy.galactic_interaction_type.galaxy_s_interacting_this_way ?x1 . 
?x2 :astronomy.galaxy.interaction ?x1 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND astronomy.galactic_interaction_type (JOIN astronomy.galactic_interaction_type.galaxy_s_interacting_this_way (JOIN (R astronomy.galaxy.interaction) m.0jvb4)))