what written work was edited by john wiley and sons?
Entity
m.0h7c1c8
OLAP Solutions - Building Multidimensional Information Systems
class entity
book.written_work m.02mwrv
book.written_work book.author
Written Work john wiley and sons
none none
book.written_work.editor
Editor
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.02mwrv } 
?x0 :book.written_work.editor ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND book.written_work (JOIN book.written_work.editor m.02mwrv))