the new batman adventures had which tv program as a spin-off?
Entity
m.0170k0
Batman: The Animated Series
class entity
tv.tv_program m.07dw0f
tv.tv_program tv.tv_program
TV Program The New Batman Adventures
none none
tv.tv_program.spin_offs
Spin-offs
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 :tv.tv_program . 
VALUES ?x1 { :m.07dw0f } 
?x0 :tv.tv_program.spin_offs ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND tv.tv_program (JOIN tv.tv_program.spin_offs m.07dw0f))