com.tersesystems.blindsight.jsonld.Base
A base URI renders as @base
in a context.
Attributes
- Source:
- Node.scala
- Graph
- Supertypes
trait Serializable
class Object
trait Matchable
class Any
Members list
Concise view
Value members
Creates a relative path from this IRI, which is considered the base IRI.
Creates a relative path from this IRI, which is considered the base IRI.
This is most often used in
Node Identifier Indexing
// "@base": "http://example.com/posts/",
val base: Base = IRI("http://example.com/document.jsonld").base
val enPost: RelativeIRI = base("1/en")
Attributes
- path
the IRI path
- Returns:
the relative IRI
- Source:
- Node.scala