Problem: A class has more than one logical definitions. This should be avoided, as logical definitions can interact adversely.
Solution: Combine the equivalent class statements.
PREFIX owl: <http://www.w3.org/2002/07/owl#>
SELECT DISTINCT ?entity ?property ?value WHERE {
VALUES ?property { owl:equivalentClass }
?entity ?property [ owl:intersectionOf ?value ] .
?entity ?property [ owl:intersectionOf ?value2 ] .
FILTER (?value != ?value2)
FILTER (!isBlank(?entity))
}
ORDER BY ?entity