which manufactured drug form has a flavor of apricot?
Entity Entity Entity Entity Entity
m.0hqqkzx m.0hqn0tg m.0hqnq3j m.0hqjlxr m.0hqkwpd
Promethazine VC 5/6.25 syrup Promethazine VC 5/6.25 syrup Vicks DayQuil Cold and Flu 325/10/5 liquid Promethazine VC 5/6.25 syrup Megestrol Acetate 40 suspension
class entity
medicine.manufactured_drug_form m.0fnfy
medicine.manufactured_drug_form medicine.drug_dosage_flavor
Manufactured drug form Apricot
none none
medicine.manufactured_drug_form.flavor
Flavor
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.manufactured_drug_form . 
VALUES ?x1 { :m.0fnfy } 
?x0 :medicine.manufactured_drug_form.flavor ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND medicine.manufactured_drug_form (JOIN medicine.manufactured_drug_form.flavor m.0fnfy))