obstetrics & gynaecology is performed in which hospital?
Entity Entity Entity Entity Entity
m.04g385r m.04g399m m.04g3l6r m.0bt60t m.04g37yf
Advocate Illinois Masonic Medical Center Johnson City Specialty Hospital Bellevue Woman's Hospital UAB Hospital Baptist Memorial Hospital for Women
class entity
medicine.hospital m.0dxdt
medicine.hospital medicine.medical_specialty
Hospital obstetrics & gynaecology
none none
medicine.hospital.medical_specialties
Medical Specialties
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.hospital . 
VALUES ?x1 { :m.0dxdt } 
?x0 :medicine.hospital.medical_specialties ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND medicine.hospital (JOIN medicine.hospital.medical_specialties m.0dxdt))