SELECT ?x ?y ?z WHERE {
?x ?y ?z .
?x rdfs:subClassOf si:SimpsonsConcept.
?z rdfs:subClassOf si:SimpsonsConcept.
?x rdfs:subClassOf ?z.
FILTER NOT EXISTS {
?middleObject rdfs:subClassOf si:SimpsonsConcept.
?x rdfs:subClassOf ?middleObject.
?middleObject rdfs:subClassOf ?z.
FILTER (?middleObject != ?x ).
FILTER (?middleObject != ?z ).
}
FILTER (?x != owl:Nothing).
FILTER (?x != ?z).
BIND ("boo " AS ?edge).
}
@rankDir: BT
@linkMode: browse
@size: 700