Function responseToDataset

  • Converts a given Response (from a request that was already made) to an RDF dataset. In case the given Response object was already parsed its body can be passed along as a string.

    The converter will be used to convert the response body to RDF.

    Response will be a Representation with content-type internal/quads.

    Parameters

    Returns Promise<Representation>