I am writing some free software which depends on Jena.

In my software to store a URI (or more generally IRI) variable should I
use "Resource" class or simply a "String"?

What are advantages of either?

Some (dis)advantages I know:

Resource is more specialized that String. I should use a specialized
type.

String may take less memory than Resource.

Resource may be blank what it not in my plans.

Reply via email to