name the celebrity friends of david krumholtz.
Entity Entity Entity Entity Entity Entity Entity
m.03rl84 m.04205z m.05zbm4 m.06lvlf m.0dvmd m.02vntj m.01lym8
Zooey Deschanel Emily Blunt Joseph Gordon-Levitt Channing Tatum Leonardo DiCaprio Anne Hathaway Michelle Trachtenberg
class class entity
celebrities.celebrity celebrities.friendship m.05cx7x
celebrities.celebrity celebrities.friendship celebrities.celebrity
Celebrity Friendship David Krumholtz
none none none
celebrities.friendship.friend celebrities.friendship.friend
Friend Friend
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 :celebrities.celebrity . 
?x1 :type.object.type :celebrities.friendship . 
VALUES ?x2 { :m.05cx7x } 
?x1 :celebrities.friendship.friend ?x0 . 
?x1 :celebrities.friendship.friend ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND celebrities.celebrity (JOIN (R celebrities.friendship.friend) (JOIN celebrities.friendship.friend m.05cx7x)))