which programming language is a dialect of a programming language whose dialects include groovy language?
Entity Entity Entity Entity Entity
m.091hdj m.0lnrh6p m.02npry m.02jy2q m.02jxfs
Scala PL/Java Processing Generic Java Pizza
class class entity
computer.programming_language computer.programming_language m.02js86
computer.programming_language computer.programming_language computer.programming_language
Programming Language Programming Language groovy language
none none none
computer.programming_language.dialects computer.programming_language.dialects
Dialects Dialects
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 :computer.programming_language . 
?x1 :type.object.type :computer.programming_language . 
VALUES ?x2 { :m.02js86 } 
?x1 :computer.programming_language.dialects ?x0 . 
?x1 :computer.programming_language.dialects ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND computer.programming_language (JOIN (R computer.programming_language.dialects) (JOIN computer.programming_language.dialects m.02js86)))