Search Mailing List Archives

Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-discussion] a simple questions about owl programming

Thomas Russ tar at
Wed Nov 24 10:49:59 PST 2010

On Nov 23, 2010, at 9:28 AM, Timothy Redmond wrote:

> Here the problem is that you are using an invalid uri that gets  
> passed into createJenaOWLModelFromURI.  I was able to replicate your  
> exception with the following code:
>>         String uri = "c://foo/locationpath";
>>         OWLModel owlModel =  
>> ProtegeOWL.createJenaOWLModelFromURI(uri);

My advice for dealing with filenames and URIs is to use the Java tools  
to help you:

     File file = new File("c:/foo/locationpath");
     OWLModel owlModel =  

That way you don't have to deal with the particular challenges of  
getting the file: protocol URI exactly right.


More information about the protege-discussion mailing list