keyboardist is a specialization in which profession?
Entity
m.0116xf_2
Musicians and Singers
class entity
base.lightweight.profession m.0fnpj
base.lightweight.profession base.lightweight.profession
Profession keyboardist
none none
base.lightweight.profession.specialization
Specialization
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 :base.lightweight.profession . 
VALUES ?x1 { :m.0fnpj } 
?x0 :base.lightweight.profession.specialization ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND base.lightweight.profession (JOIN base.lightweight.profession.specialization m.0fnpj))