who developed bcg?
Entity Entity
m.04t985 m.04tmkg
Albert Calmette Camille Guérin
class entity
medicine.vaccine_developer m.01bzn
medicine.vaccine_developer medicine.vaccine
Vaccine Developer bcg
none none
medicine.vaccine_developer.vaccine
Vaccine
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 :medicine.vaccine_developer . 
VALUES ?x1 { :m.01bzn } 
?x0 :medicine.vaccine_developer.vaccine ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND medicine.vaccine_developer (JOIN medicine.vaccine_developer.vaccine m.01bzn))