what pathogenic bacteria disease is transmitted through perinatal transmission?
Entity
m.074m2
Syphilis
class entity entity
medicine.infectious_disease m.06z10b m.03qch2w
medicine.infectious_disease medicine.transmission_route medicine.type_of_infectious_agent
Infectious Disease perinatal transmission Pathogenic bacteria
none none none
medicine.infectious_disease.transmission medicine.type_of_infectious_agent.diseases
Transmission route Diseases with this type of agent
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.infectious_disease . 
VALUES ?x1 { :m.06z10b } 
VALUES ?x2 { :m.03qch2w } 
?x0 :medicine.infectious_disease.transmission ?x1 . 
?x2 :medicine.type_of_infectious_agent.diseases ?x0 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND medicine.infectious_disease (AND (JOIN medicine.infectious_disease.transmission m.06z10b) (JOIN (R medicine.type_of_infectious_agent.diseases) m.03qch2w)))