what drug class is vitamin d?
Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity
m.07z_g m.02p0tjr m.02xbz3 m.0f4k5 m.0dxq4r m.0hqxy74 m.0hqyrqt m.05nkr m.0hqxwdg m.06wv55 m.0hqx6bf m.0hqz0ct
Vitamin K Vitamin A Bisphosphonate Vitamin B-12 Nicotinic acids Copper Absorption Inhibitor Potassium Salt Omega-3 fatty acid Calculi Dissolution Agent Phosphate binder Warfarin Reversal Agent Collagen-specific Enzyme
class class entity
medicine.drug_class medicine.drug m.0f4jp
medicine.drug_class medicine.drug medicine.drug_class
Drug class Drug Vitamin D
none none none
medicine.drug_class.drugs medicine.drug.drug_class
Drugs Pharmacological class
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_class . 
?x1 :type.object.type :medicine.drug . 
VALUES ?x2 { :m.0f4jp } 
?x0 :medicine.drug_class.drugs ?x1 . 
?x1 :medicine.drug.drug_class ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND medicine.drug_class (JOIN medicine.drug_class.drugs (JOIN medicine.drug.drug_class m.0f4jp)))