what is the legal status in drug formulations where l-isoleucine is an active ingredient?
Entity Entity Entity
m.01b86_ m.01_7r6 m.0hqz202
Over-the-counter drug Prescription drug Not evaluated by FDA
class class entity
medicine.drug_legal_status medicine.drug_formulation m.0h1vg
medicine.drug_legal_status medicine.drug_formulation medicine.drug_ingredient
Drug legal status Drug formulation l-isoleucine
none none none
medicine.drug_formulation.legal_status medicine.drug_formulation.active_ingredients
Legal status 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_legal_status . 
?x1 :type.object.type :medicine.drug_formulation . 
VALUES ?x2 { :m.0h1vg } 
?x1 :medicine.drug_formulation.legal_status ?x0 . 
?x1 :medicine.drug_formulation.active_ingredients ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND medicine.drug_legal_status (JOIN (R medicine.drug_formulation.legal_status) (JOIN medicine.drug_formulation.active_ingredients m.0h1vg)))