rdf-dot

0.0.1 • Public • Published

RDF DOT Serializer

rdf-dot is an npm package that provides an RDF serializer for DOT, a textual graph representation format, used among others as base representation in Graphviz.

The serializer implements the DataSerializer interface, part of the W3C RDF Interfaces recommendation, specified by the RDF Web Applications Working Group. This package may be used as an extension of any package complying with the recommendation (e.g. rdf or rdfstore).

Usage:

var dot = require('rdf-dot');
var graph; // must implement the Graph interface
 
var serializer = new dot.DOTSerializer();
var dotstring = serializer.serialize(graph);

(See also test/test-sensor1.js.)

Dependents (0)

Package Sidebar

Install

npm i rdf-dot

Weekly Downloads

0

Version

0.0.1

License

MIT

Last publish

Collaborators

  • vcharpenay