Skip to content

feat: multiple rdf inputs #71

@supermaxiste

Description

@supermaxiste

So far we relied on users providing an N-Triples file as input which limits tripsu's flexibility since there are many popular RDF formats around such as Turtle and Trig (to name a few).

With sophia we can provide an intermediate parsing step turning any input into NTriples on the fly and stream it to the current tripsu flow.

We can use the currently supported parsers to define a match statement on the input file's extension OR an extension provided with a command line argument.

In practice:

  1. If the input has a filename, we check the extension to see how to handle it
  2. If the input is via stdin we require a flag to indicate the input format
  3. If the filename has an unknown or no extension, throw an error
  4. If the stdin is provided with no flag, throw an error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions