Optional
options: Rdf2CsvOptionsPrivate
enginePrivate
locationPrivate
optionsPrivate
storeUrl of rdf data to convert
Optional
descriptor: string | AnyCsvwDescriptorCSVW descriptor to use for the conversion. If not provided, a new descriptor will be created from the rdf data.
A stream of csvw data.
Private
createCreates a new descriptor from the rdf data, used only if no descriptor is provided.
The rdf data to create the descriptor from
Private
createCreates SPARQL query.
CSV Table
Columns including virtual ones
Query from named graphs in the SPARQL query
SPARQL query as a string
Private
createCreates SPARQL triple patterns for use in SELECT WHERE query. Triples are created recursively if there are references between the columns.
CSV Table
Columns including virtual ones
Index of the column for which triples are created
Subject of the triple, it must match the other end of the reference between columns
Triple patterns for given column as a string
Private
expandExpands an IRI based on the common prefixes.
IRI to be expanded
Expanded IRI
Private
openPrivate
setSets the default options for the options not provided.
Optional
options: Rdf2CsvOptions
Main conversion function. Converts the rdf data to csvw format.