%%package simpsons


%%off:sparqlVisualization
SELECT ?x ?y ?z WHERE {
 	?x ?y ?z
}
%

%%ConceptVisualization 
  
  @concept: si:homer, si:burns
  @showLabels: false
  @config:  defaultVisConfig
  @predecessors: 10
  @successors: 10
  @excludeRelations: owl:sameAs, owl:equivalentClass, owl:equivalentProperty, rdfs:subClassOf, rdfs:subPropertyOf, rdfs:label, si:age
  @colors: si:color
%

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

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

%%VisualizationConfig 
@name: defaultVisConfig
@excludeNodes: owl:Thing, rdfs:Class, rdf:Resource, owl:Nothing
@excludeRelations: rdf:type, owl:sameAs, owl:equivalentClass, owl:equivalentProperty, rdfs:subClassOf, rdfs:subPropertyOf, 
@format: svg
@linkMode: browse
@size: 1200
%