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-owl] handle space when createRDFIndividual

Thomas Russ tar at ISI.EDU
Thu Apr 1 13:11:08 PDT 2010


On Apr 1, 2010, at 7:11 AM, Au Jason wrote:

> Please I found a problem with the following code as the individual  
> finally output as "classname_1"...
>
> How to solve the space(any other special character like !@$%&*...)  
> problem when using createRDFIndividual???
>
> String str_indi = "test test";
> RDFIndividual newIndividual =  
> objectClass.createRDFIndividual(str_indi);

I'm not sure, but perhaps the name has to be a legal component of a  
URL/URI?
Does it work if you use "test%20test" instead?





More information about the protege-owl mailing list