metacycline are the active ingredients for what brand of drug?
Entity
m.0cxfn5n
Rondomycin
class entity
medicine.drug_brand m.02wwdfd
medicine.drug_brand medicine.drug
Drug brand Metacycline
none none
medicine.drug_brand.active_ingredients
Active ingredients
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.drug_brand . 
VALUES ?x1 { :m.02wwdfd } 
?x0 :medicine.drug_brand.active_ingredients ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND medicine.drug_brand (JOIN medicine.drug_brand.active_ingredients m.02wwdfd))