Skip to content

Deduplicate MIME-type-to-file-extension mapping in sparql-qlever #272

@ddeboer

Description

@ddeboer

`@lde/sparql-qlever`'s importer maintains its own `supportedFormats` map (`application/n-triples` → `nt`, etc.) and `fileFormatFromMimeType()` function. `@lde/dataset` already exports `rdfFormatToFileExtension()` doing the same mapping.

Unify by reusing the existing utility from `@lde/dataset` instead of maintaining a parallel lookup.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions