find a symptom of benign paroxysmal positional vertigo.
Entity Entity Entity Entity Entity Entity Entity
m.033mg5 m.079p0q m.0gxb2 m.07rwf2 m.014wq_ m.012qjw m.03g_gxj
Dizziness Lightheadedness Nausea Vertigo Hearing loss Vomiting Blurred vision
class entity
medicine.symptom m.03_mj_
medicine.symptom medicine.disease
Symptom Benign paroxysmal positional vertigo
none none
medicine.symptom.symptom_of
Symptom of
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.symptom . 
VALUES ?x1 { :m.03_mj_ } 
?x0 :medicine.symptom.symptom_of ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND medicine.symptom (JOIN medicine.symptom.symptom_of m.03_mj_))