Re: JS library for converting RDF formats [via RDF JavaScript Libraries Community Group]

Hi all,

> - There are several Turtle/N3 parsers, one of the most robust and up to
> date one is probably the one from Ruben:
> https://github.com/RubenVerborgh/node-n3

node-n3 [1] is my JavaScript library for Turtle and (in time) Notation3.

Its top features are:
- high speed — at the moment, it is the fastest parser in JavaScript [2]
- asynchronous – can parse Turtle in a streaming way
- spec-compatible — passes all tests [3]

It works in both Node.js and the browser.
At the moment, a full Turtle lexer and parser are implemented,
as well as a basic high-speed in-memory store.

An interesting read is this blog post [2],
which explains the design decisions that lead to the high performance.

Both rdfstore-js [4] and LevelGraph [5] use node-n3 internally.

Best,

Ruben

[1] https://github.com/RubenVerborgh/node-n3 and https://npmjs.org/package/n3
[2] http://ruben.verborgh.org/blog/2013/04/30/lightning-fast-rdf-in-javascript/
[3] https://raw.github.com/RubenVerborgh/node-n3/earl/earl-node-n3.ttl
[4] https://github.com/antoniogarrote/rdfstore-js
[5] https://github.com/mcollina/levelgraph-n3

Received on Sunday, 6 October 2013 10:40:01 UTC