which plant disease is hosted on berberis?
Entity
m.0ch98v8
Stem rust
class class entity
biology.plant_disease biology.plant_disease_triangle m.041tkb
biology.plant_disease biology.plant_disease_triangle biology.plant_disease_host
Plant Disease Plant Disease Triangle Berberis
none none none
biology.plant_disease.plant_disease_triangle biology.plant_disease_triangle.host
Plant Disease Triangle Host
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 :biology.plant_disease . 
?x1 :type.object.type :biology.plant_disease_triangle . 
VALUES ?x2 { :m.041tkb } 
?x0 :biology.plant_disease.plant_disease_triangle ?x1 . 
?x1 :biology.plant_disease_triangle.host ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND biology.plant_disease (JOIN biology.plant_disease.plant_disease_triangle (JOIN biology.plant_disease_triangle.host m.041tkb)))