find the drug legal status of australia.
Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity
m.04d1kll m.02_7lx m.02_r9x8 m.04d1ts6 m.04d1tc2 m.04d1trv m.04d1kg7 m.04d1tr4 m.04d1ts0 m.04d1trg
Schedule 8 Controlled Drug Midazolam Schedule 9 Prohibited Substance Schedule 2 Pharmacy Medicine Schedule 4 Prescription Only Medicine Schedule 5 Caution Unscheduled Schedule 7 Dangerous Poison Schedule 3 Pharmacist Only Medicine Schedule 6 Poison
class entity
medicine.drug_legal_status m.0chghy
medicine.drug_legal_status location.country
Drug legal status Australia
none none
medicine.drug_legal_status.country
Country
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 . 
VALUES ?x1 { :m.0chghy } 
?x0 :medicine.drug_legal_status.country ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND medicine.drug_legal_status (JOIN medicine.drug_legal_status.country m.0chghy))