# KEHOME/knowledge/tools/jena/tree1.nt
# Apr/17/2003
begin ntriple tree1;
#####from jena-dev email digest
#####
#####Message: 4
##### Date: Tue, 25 Mar 2003 15:52:10 -0000
##### From: "cntomcom"
#####Subject: Re: How can I form a class tree from a rdfs/rdf file?
#####
#####For example, there are statements or triples about class in a *.rdf
#####or *.rdfs file.
#####Just like,
#####
#####
##### Person
#####
#####
Person type Class ;
Person subClassOf Resource ;
Person label "Person" ;
Person isDefinedBy "http://example.org/schema#"/ ;
#####
#####These classes and subclasses in the file just form a tree or several
#####trees.
#####I wonder if there are any methods to get such a tree.
#####
end ntriple tree1;
do print od "" done;
Class isall ?;
do print od "" done;
Resource isc**3 ?;
do print od "" done;
Person has ?;
! deletecomment tree1.out done;
exit;