Awesome
graphy.js 🍌
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.
Performance Benchmarks
🚀 See how well graphy
outperforms all others.
Command Line Interface
📑 See documentation for CLI here.
Install the graphy
bin CLI
-
npm:
$ npm install --global graphy $ graphy --help
-
yarn:
$ yarn global add graphy $ graphy --help
Features
- 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.
See API Documentation
🔎 Find the package you need or install the super-package npm install --save graphy
.
Core
Memory
Content
- N-Triples: NTriplesReader, NTriplesScanner, NTriplesWriter, NTriplesScriber
- N-Quads: NQuadsReader, NQuadsScanner, NQuadsWriter, NQuadsScriber
- Turtle: TurtleReader, TurtleWriter, TurtleScriber
- TriG: TriGReader, TriGWriter, TriGScriber
- RDF/XML: RdfXmlScriber
Contributing & Testing
Building requires node v12.
npm test
Changelog
🍭⚡︎🔧 See history of changes here.
Roadmap
🚧 See the list of planned features.
License
ISC © Blake Regalia
<!-- [travis-image]: https://travis-ci.org/blake-regalia/graphy.js.svg?branch=master --> <!-- [travis-url]: https://travis-ci.org/blake-regalia/graphy.js -->