Thanks for your help,I already paste the code in my online storage :)
Here is the link: http://dl.dbank.com/c0x6rh8fia
Well, could I ask for another question,please.It's about the API
com.hp.hpl.jena.ontology.OntModel.listClasses()
It lists all the classes in the Ontology,including the anonymous classes. What
I concern is that whether it can list all the anonymous classes in the Ontology
without any omission.Also sorry for the unclear description about this question
last time.As you know ,when you list the resource using API listProperties(),it
will return a StmIterator which contains Statements ,and some objects of the
statements are also anonymous classes. Also you can get anonymous classes with
some other API.So what I want to ensure is that ,if OntModel.listClasses() can
list all the anonymous classes in the whole Ontology, I have no need to
analysis data of anonymous classes from other API ,what I will do is just get
all anonymous classes with listClasses() at the first step.This will reduce the
steps in my projects. I am not sure whether I have describe my mind clearly
,wish I was !
Best Regards, Thank you again !!!
your,Lucas