Skip to content

Allow Turtle/TriG as both input and output in the playground #450

@gkellogg

Description

@gkellogg
Member

Playground serializes to N-Quads, but doesn't provide a way to start with any RDF. This would be quite useful in some contexts. The N3.js package could make this fairly straightforward.

Activity

niklasl

niklasl commented on Jan 10, 2017

@niklasl
Member

Although I haven't stabilized the API yet (and could still consider it an experiment), I've also made an RDF parsing tool: LDTR (for Turtle, TriG, RDFa and RDF/XML). It has the interesting property of using a transcribing approach directly into JSON-LD. That means that it preserves the order and general shape of the input quite accurately. It also means that it uses JSON-LD directly, without any intermediate triple representation.

gkellogg

gkellogg commented on Jan 10, 2017

@gkellogg
MemberAuthor

Cool, that would be a nice edition. We'll probably still need something like N3.js for N-Quads to Turtle/TriG, unless LDTR handles that too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @niklasl@gkellogg

        Issue actions

          Allow Turtle/TriG as both input and output in the playground · Issue #450 · json-ld/json-ld.org