Class

BlankNode

BlankNode(labelopt)

A BlankNode is a Node which is identified local to a Surface by a string label.

Constructor

new BlankNode(labelopt)

Parameters:
Name Type Attributes Description
label string <optional>

View Source rdf-environment.js, line 474

Extends

Members

string

label

The local identifier

View Source rdf-environment.js, line 484

Methods

encode(mediaType, continuationopt)

Given a media type, encode the blank node's lexical form as a string and return that value or delegate to the continuation.

Parameters:
Name Type Attributes Description
mediaType string
continuation function <optional>

If present, invoke with the encoded value and return that result.

View Source rdf-environment.js, line 502

equals(other) → {boolean}

Returns true for a BlankNode with the same label

Parameters:
Name Type Description
other any

View Source rdf-environment.js, line 492

boolean