find the the periodical of a editorial tenure with editor gary l. wamsley.
Entity
m.0cl4pt
Administration & Society
class class entity
book.periodical book.editorial_tenure m.0105xk24
book.periodical book.editorial_tenure book.periodical_editor
Periodical Editorial tenure Gary L. Wamsley
none none none
book.editorial_tenure.periodical book.editorial_tenure.editor
Periodical 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.periodical . 
?x1 :type.object.type :book.editorial_tenure . 
VALUES ?x2 { :m.0105xk24 } 
?x1 :book.editorial_tenure.periodical ?x0 . 
?x1 :book.editorial_tenure.editor ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND book.periodical (JOIN (R book.editorial_tenure.periodical) (JOIN book.editorial_tenure.editor m.0105xk24)))