which tv writer writes the tv episode hans brinker or the silver skates?
Entity
m.06qk6r
Sally Benson
class entity
tv.tv_writer m.06y_wgn
tv.tv_writer tv.tv_series_episode
TV Writer Hans Brinker or the Silver Skates
none none
tv.tv_writer.episodes_written
TV Episodes Written
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_writer . 
VALUES ?x1 { :m.06y_wgn } 
?x0 :tv.tv_writer.episodes_written ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND tv.tv_writer (JOIN tv.tv_writer.episodes_written m.06y_wgn))