%%package simpsons


%%sparqlVisualization
SELECT ?x ?y ?z WHERE {
	?x rdf:type si:SimpsonsConcept. 
	?z rdf:type si:SimpsonsConcept. 
	?x ?y ?z .
}
@config: defaultVisConfig
%

%%SparqlVisualization
      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 (" " AS ?edge).

}
@rankDir: BT
@linkMode: browse
@size: 700
%

%%VisualizationConfig 
@name: defaultVisConfig
@excludeNodes: owl:Thing, rdfs:Class, rdf:Resource, owl:Nothing
@excludeRelations: rdf:type, ssc:instance, owl:sameAs, ssc:isSubComponentOfTransitive, ssc:hasSubComponentTransitive, owl:equivalentClass, owl:equivalentProperty, ssc:hasVisParent, ssc:hasVisChild, rdfs:subClassOf, rdfs:subPropertyOf, ssc:hasSubComponent, ssc:locationOf, ssc:installedAt
@format: svg
@linkMode: browse
@size: 1200
@colors: ssc:color
%