solid-ui
    Preparing search index...

    Class BlankNode

    An RDF blank node is a Node without a URI

    Hierarchy (View Summary)

    Implements

    • BlankNode
    Index

    Constructors

    • Initializes this node

      Parameters

      • Optionalid: unknown

        The identifier for the blank node

      Returns BlankNode

    Properties

    classOrder: number

    The class order for this node

    isBlank: number

    Whether this is a blank node

    isVar: number

    This type of node is a variable.

    Note that the existence of this property already indicates that it is a variable.

    termType: "BlankNode"

    The type of node

    value: string

    The node's value

    fromValue: <T extends FromValueReturns>(value: ValueType) => T
    nextId: number

    The next unique identifier for blank nodes

    NTAnonymousNodePrefix: "_:"
    toJS: (
        term: any,
    ) =>
        | string
        | boolean
        | object
        | Number
        | Date
        | (string | boolean | object | Number | Date)[]

    Accessors

    • get id(): string

      The identifier for the blank node

      Returns string

    • set id(value: string): void

      Parameters

      • value: string

      Returns void

    Methods

    • Compares this node with another

      Parameters

      Returns number

      to check if two nodes are equal

    • Gets a copy of this blank node in the specified formula

      Parameters

      • formula: Store

        The formula

      Returns BlankNode

    • Compares whether the two nodes are equal

      Parameters

      • other: Term

        The other node

      Returns boolean

    • Creates a hash for this node

      Returns string

      use {rdfFactory.id} instead if possible

    • Compares whether this node is the same as the other one

      Parameters

      • other: Node

        Another node

      Returns boolean

    • Creates the substituted node for this one, according to the specified bindings

      Type Parameters

      Parameters

      • bindings: Bindings

        Bindings of identifiers to nodes

      Returns T

    • Creates a canonical string representation of this node

      Returns string

    • Creates a n-quads string representation of this node

      Returns string

    • Creates a n-triples string representation of this node

      Returns string

    • Creates a string representation of this node

      Returns string