@inrupt/solid-client / formats
Module: formats#
Functions#
solidDatasetAsTurtle#
▸ solidDatasetAsTurtle(dataset
, options?
): Promise
<string
>
A function to serialise a Solid Dataset as Turtle
Since
1.20.0
Parameters#
Name |
Type |
Description |
---|---|---|
|
|
The Dataset to serialize as Turtle |
|
|
- |
|
|
The Prefixes to use for Turtle serialisation (defaulting to a set of well known prefixes) |
|
|
Restricts serialisation to the part of a dataset related to the thing |
Returns#
Promise
<string
>
RDF serialised as Turtle
Defined in#
src/formats/solidDatasetAsTurtle.ts:36