which play has been written by shakespeare?
Entity Entity Entity Entity Entity Entity Entity Entity Entity
m.04rt6 m.0gxwz m.01w0fm m.0g5k6 m.06fsr m.0hb7d m.0bvhl m.01t5m5 m.0zvdf6j
Macbeth The Taming of the Shrew The Comedy of Errors Titus Andronicus Romeo and Juliet Antony and Cleopatra A Midsummer Night's Dream The Two Gentlemen of Verona Standup Shakespeare
class entity
theater.play m.081k8
theater.play theater.theatrical_lyricist
Play shakespeare
none none
theater.play.lyricist
Lyricist
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 :theater.play . 
VALUES ?x1 { :m.081k8 } 
?x0 :theater.play.lyricist ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND theater.play (JOIN theater.play.lyricist m.081k8))