Search Mailing List Archives
[protege-owl] Please explain ont-policy.rdf
tredmond at stanford.edu
Tue Apr 3 16:23:39 PDT 2007
I don't know exactly what you are doing so it is hard to tell what
happened. First did you set protege.dir and from what directory did you
start the applications? For a regular protege startup (you can get
around this), either the application needs to be started in an
installation directory for Protege or you need to add a vm option:
-Dprotege.dir=installation directory for protege.
I did find references to ont-policy.rdf in protege-owl. It is used by
the RefactorAcrossFiles action. Is your application doing some sort of
owl refactor operation when it gets the error? Depending on the cause
of the error you may be able to set the system property
as follows to specify an alternative location for the ontPolicy file:
Jena also uses ont-policy.rdf internally and I don't know much about
what it is doing with that.
Thang Duong wrote:
> I've been doing a SemanticWeb application, i used
> ProtegeOWL.createJeanOWLModel(myOntologPath) to create a JenaOWLModel.
> When I ran application, the editor show the error message such as:
> DefaultURIResolver] Warning: Could not resolve
> com.hp.hpl.jena.shared.WrappedIOException: rethrew:
> D:\SemanticWeb\plugins\edu.stanford.smi.protegex.owl\ont- policy.rdf
> (The system cannot find the path specified)
> I've tried to find the string
> D:\SemanticWeb\plugins\edu.stanford.smi.protegex.owl\ont-policy.rdf to
> change this string into
> policy.rdf. Because the simple truth is ont-policy.rdf file now is in
> the path: D:\SemanticWeb\lib\plugins\edu.stanford.smi.protegex.owl\
> So, if you had tried to change the path pointing to ont-policy.rdf,
> please show me how i can change .
> Thanks for looking over my problem.
> protege-owl mailing list
> protege-owl at lists.stanford.edu
> Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03
More information about the protege-owl