what is a written work that is part of shadowkings trilogy?
Entity Entity Entity
m.04wf_ll m.04wf_lv m.04wf_mb
Shadowkings Shadowmasque Shadowgod
class entity
book.written_work m.05qbxsc
book.written_work book.literary_series
Written Work Shadowkings Trilogy
none none
book.written_work.part_of_series
Part of series
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.written_work . 
VALUES ?x1 { :m.05qbxsc } 
?x0 :book.written_work.part_of_series ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND book.written_work (JOIN book.written_work.part_of_series m.05qbxsc))