dave galanter was an author of which literary series?
Entity Entity Entity
m.05qd39q m.05qd7kq m.05qc10m
Star Trek: Voyager Crossovers String Theory Star Trek Voyager Starfleet Academy
class class entity
book.literary_series book.literary_series m.05qfsmk
book.literary_series book.literary_series book.author
Literary Series Literary Series Dave Galanter
none none none
book.literary_series.sub_series book.literary_series.author_s
Sub-series Author(s)
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 :book.literary_series . 
?x1 :type.object.type :book.literary_series . 
VALUES ?x2 { :m.05qfsmk } 
?x1 :book.literary_series.sub_series ?x0 . 
?x1 :book.literary_series.author_s ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND book.literary_series (JOIN (R book.literary_series.sub_series) (JOIN book.literary_series.author_s m.05qfsmk)))