@faubulous/mentor-rdf-serializers
    Preparing search index...

    Interface TripleTerm

    RDF 1.2 Triple Term - a quoted triple that can be used as subject or object.

    Syntax: <<( subject predicate object )>>

    interface TripleTerm {
        equals(other: Term | null | undefined): boolean;
        object: TripleTerm | NamedNode<string> | BlankNode | Literal;
        predicate: NamedNode;
        subject: TripleTerm | NamedNode<string> | BlankNode;
        termType: "TripleTerm";
    }
    Index

    Properties

    object: TripleTerm | NamedNode<string> | BlankNode | Literal

    The object of the triple. This can be a blank node, named node, literal, or another triple term (allowing for nested triples).

    predicate: NamedNode

    The predicate of the triple.

    subject: TripleTerm | NamedNode<string> | BlankNode

    The subject of the triple with support for RDF 1.2 triple terms. This can be a blank node, named node, or another triple term (allowing for nested triples).

    termType: "TripleTerm"

    Contains the constant "TripleTerm".

    Methods

    • Compares this triple term with another term for equality.

      Parameters

      • other: Term | null | undefined

        The term to compare with.

      Returns boolean

      true if and only if other has termType "TripleTerm" and the same subject, predicate, and object.