graphy
is a collection of high-performance RDF libraries for JavaScript developers with a focus on usability. API works in both the browser and Node.js. Expressive CLI tool also available for Node.js.
🚀 See how well graphy
outperforms all others.
📑 See documentation for CLI here.
-
npm:
$ npm install --global graphy $ graphy --help
-
yarn:
$ yarn global add graphy $ graphy --help
- Read RDF documents using streams. Includes support for N-Triples (.nt), N-Quads (.nq), Turtle (.ttl), and TriG (.trig).
- Write RDF data using streaming transforms with the awesome and intuitive concise triples and concise quads language.
-
Construct RDF data using ES object literals that reflect the tree-like structure of quads,
graph -> subject -> predicate -> object
, including nested blank nodes and RDF collections. - Compute the union, intersection, difference or subtraction between multiple RDF graphs analagous to Set Algebra.
- Compare two RDF graphs for isomoprhic equivalence, containment, and disjointness by first canonicalizing them with the RDF Dataset Normalization Algorithm.
- Transform RDF data from the command-line by piping them through a series of sub-commands.
- Scan RDF documents and run custom code using multiple threads for maximum throughput.
🔎 Find the package you need or install the super-package npm install --save graphy
.
- N-Triples: NTriplesReader, NTriplesScanner, NTriplesWriter, NTriplesScriber
- N-Quads: NQuadsReader, NQuadsScanner, NQuadsWriter, NQuadsScriber
- Turtle: TurtleReader, TurtleWriter, TurtleScriber
- TriG: TriGReader, TriGWriter, TriGScriber
- RDF/XML: RdfXmlScriber
Building requires node v12.
npm test
🍭⚡︎🔧 See history of changes here.
🚧 See the list of planned features.
ISC © Blake Regalia