tennis belongs to the same demonstration competition as what olympic event?
Entity Entity
m.0b8cjb m.0b8cm2
Tennis at the 1984 Summer Olympics – Men's Singles Tennis at the 1984 Summer Olympics – Women's singles
class class entity
olympics.olympic_demonstration_competition olympics.olympic_event m.07bs0
olympics.olympic_demonstration_competition olympics.olympic_event olympics.olympic_sport
Olympic demonstration competition Olympic event Tennis
none none none
olympics.olympic_demonstration_competition.event olympics.olympic_sport.events
Event Events
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 :olympics.olympic_demonstration_competition . 
?x1 :type.object.type :olympics.olympic_event . 
VALUES ?x2 { :m.07bs0 } 
?x0 :olympics.olympic_demonstration_competition.event ?x1 . 
?x2 :olympics.olympic_sport.events ?x1 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND olympics.olympic_demonstration_competition (JOIN olympics.olympic_demonstration_competition.event (JOIN (R olympics.olympic_sport.events) m.07bs0)))