the editor of the edition of earth is the strangest planet is the author of what guidebook?
Entity
m.0pzcqn7
The Longest Way Home: Nepal
class class entity
travel.guidebook book.author m.0hj02p1
travel.guidebook book.author book.book_edition
Guidebook Author Earth Is the Strangest Planet
none none none
book.written_work.author book.book_edition.editor_of_this_edition
Author Editor of this edition
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 :travel.guidebook . 
?x1 :type.object.type :book.author . 
VALUES ?x2 { :m.0hj02p1 } 
?x0 :book.written_work.author ?x1 . 
?x2 :book.book_edition.editor_of_this_edition ?x1 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND travel.guidebook (JOIN book.written_work.author (JOIN (R book.book_edition.editor_of_this_edition) m.0hj02p1)))