@Immutable public interface IRI extends Resource
An Internationalized Resource Identifier (IRI) within an RDF graph.
IRI's generally have two components, a namespace, which is often the URL of the document in which the concept appears and the name of the concept itself. The namespace and local name are tokenized from the complete `String` representation of the IRI as follows:
* First occurrence of `#` * If not, then last occurrence of `\` * If not, then Last occurrence of `:` For example, the IRI `http://example.org/foo/bar/baz` would have a local name of `baz` and a namespace of `http://example.org/foo/bar/`Modifier and Type | Method and Description |
---|---|
String |
localName()
The local name of the IRI
|
String |
namespace()
The namespace of the IRI
|
Copyright © 2010-2016 Stardog Union. All Rights Reserved.