guitarist gary moore uses which guitar?
Entity Entity Entity Entity Entity Entity Entity
m.05kh3y9 m.05kh3yn m.01jyd4 m.03vk8 m.04cysl m.05kh3vp m.05kh3tp
Jackson Heritage Gibson SG Ibanez PRS Guitars 1950s Gibson Les Paul Junior 1959 Gibson Les Paul Sunburst
class entity
music.guitar m.01pny5
music.guitar music.guitarist
Guitar Gary Moore
none none
music.guitar.guitarists
Guitarists
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 :music.guitar . 
VALUES ?x1 { :m.01pny5 } 
?x0 :music.guitar.guitarists ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND music.guitar (JOIN music.guitar.guitarists m.01pny5))