IRI

com.tersesystems.blindsight.jsonld.IRI
See theIRI companion object
final case class IRI extends IRIValue

This is a full IRI.

Attributes

iri

the full IRI string

Companion:
object
Source:
Node.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait IRIValue
trait Node
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def base: Base

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 = IRI("http://example.com/document.jsonld").base

Attributes

Source:
Node.scala

Attributes

Source:
Node.scala
def property(propertyName: String): PropertyIRI

Creates a property IRI from the full IRI. Unlike term, a property is a concatenation of the full IRI, rather than producing a minimal IRI.

Creates a property IRI from the full IRI. Unlike term, a property is a concatenation of the full IRI, rather than producing a minimal IRI.

Attributes

propertyName

the property name

Returns:

the property IRI

Source:
Node.scala
def term(termName: String): Term

Creates a term. This creates a key that contains the prefix associated with the term.

Creates a term. This creates a key that contains the prefix associated with the term.

val xsd: Term               = IRI("http://www.w3.org/2001/XMLSchema#").term("xsd")
val xsdDate: CompactIRI     = xsd("date") // prints "xsd:date"
val xsdDateTime: CompactIRI = xsd("dateTime") // prints "xsd:dateTime"

Attributes

Source:
Node.scala

Creates a Vocab from the IRI.

Creates a Vocab from the IRI.

Attributes

Returns:

a vocab

Source:
Node.scala

Inherited methods

Attributes

Inherited from:
IRIBindingKey
Source:
BindingKey.scala

Attributes

Inherited from:
IRIBindingKey
Source:
BindingKey.scala

Attributes

Inherited from:
IdMapBindingKey
Source:
BindingKey.scala

Attributes

Inherited from:
ListBindingKey
Source:
BindingKey.scala

Attributes

Inherited from:
SetBindingKey
Source:
BindingKey.scala

Attributes

Inherited from:
ValueBindingKey
Source:
BindingKey.scala

Attributes

Inherited from:
ValueBindingKey
Source:
BindingKey.scala

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product