On 17/09/13 07:41, Claude Warren wrote:
So to summarize:

1) URIs in  RDF inside jena are always absolute

"should be" rather than "must be" because there are ways round it but it would not be proper RDF.

2) the "base" argument in a read provides the base to make relative URIs
absolute.

Yes - except NT where the format does not have a base concept and relative URIs are illegal.

3)  If  the "base" on a read is not provided some reasonable value will be
constructed (e.g. file name) so there is no way to create an internal
representation of a relative URI through the read() methods.

Yes because there is always a base URI - the current directory.

This is not special to RDF - it comes from the URI RFC 3986, section 5.

4) the "base" argument in a write provides a mechanism to convert absolute
URIs to relative URIs in that URIs that have a namespace matching the base
are written as relative URIs

Yes (writer and syntax dependent)

5) if the "base" is not provided no conversion to relative URIs will be
performed.


Yes


Does that cover it?

Claude

        Andy

Reply via email to