Traqula docs
    Preparing search index...
    • Returns the IRI an IRI term denotes: a prefixed name is expanded using the given prefixes, and a relative IRI is resolved against the base IRI. Throws when the prefix is unknown, or when the IRI is relative and no base IRI is given.

      Parameters

      • term: TermIri

        The IRI term, either a full IRI or a prefixed name.

      • prefixes: Record<string, string>

        The prefixes in scope, mapping each prefix to its IRI.

      • baseIRI: string | undefined

        The base IRI in scope.

      Returns string