@prefix v: <http://www.w3.org/2001/09/01-borges/variables#>.
@prefix dot: <http://www.w3.org/2001/02pd/gv#>.
@prefix log: <http://www.w3.org/2000/10/swap/log#>.
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.

# display rules for taxon.n3

this log:forAll v:s, v:p, v:o.

# pick arbitrary node for starting graph 

v:theGraph dot:hasNode <http://www.w3.org/2001/09/01-borges/taxon#Animal>.

# display property a certain way depending on which file its asserted in

# The following recipe basically says... if there is a assertion with
# a predicate 'contact:mailbox' in the file 'taxon.n3' then make
# this 'red'

{ <taxon.n3> log:resolvesTo [ log:includes { v:s rdfs:label v:o } ] }
log:implies
{ v:s [ a dot:EdgeProperty;
	dot:label "rdfs:label";
	dot:color "red" ] v:o }.

{ <taxon.n3> log:resolvesTo [ log:includes { v:s rdfs:subClassOf v:o } ] }
log:implies
{ v:s [ a dot:EdgeProperty;
	dot:label "rdfs:subClassOf";
	dot:color "red" ] v:o }.
