Description
N3.js is a JavaScript library for working with RDF, the data format for linked data, and it is described on its site as lightning fast, spec-compatible and streaming. The documentation lists its main components: N3Lexer, which splits RDF text into tokens, N3Parser, which turns that text into RDF triples, and N3StreamParser, which parses data as it arrives in a stream. Writers are covered too, with N3Writer for writing triples and N3StreamWriter for writing them as a stream. N3Store keeps triples in memory so they can be searched, and N3Util provides helper functions for working with RDF terms. The documentation is a reference rather than a tutorial, so it is aimed at developers who already know RDF and want to read, write, store or stream triples in their JavaScript code. The project is listed among the RDF/JS libraries, which share a common set of interfaces so they can be combined.…
Highlights
- Streaming RDF parser and writer
- Lexer and parser for RDF text
- In-memory triple store
- Helper utilities for RDF terms
- Spec-compatible RDF for JavaScript
Ratings & Reviews
No ratings yet
Be the first to rate N3.js.
People also visit
N3.js FAQ
What is N3.js?
A JavaScript library for reading, writing, storing and streaming RDF data.
What parts does it include?
A lexer, a parser, a stream parser, writers, an in-memory store, and helper utilities.
Does it support streaming?
Yes. The docs include N3StreamParser and N3StreamWriter for streaming data.
Is there a tutorial?
The docs are a reference for each component, so they suit developers who already know RDF.
Does it fit with other RDF tools?
The site lists it under RDF/JS, a set of shared interfaces for RDF libraries.
What are the best N3.js alternatives?
Popular alternatives to N3.js include Jsonriver and Lol Html. See all N3.js alternatives





