what is the legal status of drugs that has mechanism of action as neurokinin 1 antagonist?
Entity
m.01_7r6
Prescription drug
class class entity
medicine.drug_legal_status medicine.drug m.0hqxs_b
medicine.drug_legal_status medicine.drug medicine.drug_mechanism_of_action
Drug legal status Drug Neurokinin 1 Antagonist
none none none
medicine.drug.legal_status medicine.drug_mechanism_of_action.drugs_with_this_mechanism_of_action
Legal status Drugs with this mechanism of action
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 . 
VALUES ?x2 { :m.0hqxs_b } 
?x1 :medicine.drug.legal_status ?x0 . 
?x2 :medicine.drug_mechanism_of_action.drugs_with_this_mechanism_of_action ?x1 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND medicine.drug_legal_status (JOIN (R medicine.drug.legal_status) (JOIN (R medicine.drug_mechanism_of_action.drugs_with_this_mechanism_of_action) m.0hqxs_b)))