which galactic interaction type is galactic interaction with galactic interactions of past?
Entity
m.0cgl16m
Galactic cannibalism
class class entity
astronomy.galactic_interaction_type astronomy.galactic_interaction m.038yj7
astronomy.galactic_interaction_type astronomy.galactic_interaction astronomy.galactic_interaction_status
Galactic interaction type Galactic interaction Past
none none none
astronomy.galactic_interaction_type.galaxy_s_interacting_this_way astronomy.galactic_interaction_status.galactic_interactions
Galaxy's interacting this way Galactic interactions
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.038yj7 } 
?x0 :astronomy.galactic_interaction_type.galaxy_s_interacting_this_way ?x1 . 
?x2 :astronomy.galactic_interaction_status.galactic_interactions ?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.galactic_interaction_status.galactic_interactions) m.038yj7)))