rdflib.js

Javascript RDF library for browsers and Node.js.
- Reads and writes RDF/xml, Turtle and N3.
- Read/Write Linked Data client, using WebDav or SPARQL/Update
- Parses RDF/a
- Local API for querying a store
- SPARQL queries (not full SPARQL)
- Smushing of nodes from
owl:sameAs
, and owl:{f,inverseF}unctionProperty
- Tracks provence of triples keeps metadata (in RDF) from HTTP accesses
Documentation
See Tutorial for using rdflib.js
for more information.
Possible out of date information is available from here:
http://dig.csail.mit.edu/2005/ajar/ajaw/Developer.html.
Install
npm install
Generate the dist directory
make all
Node.js
Make sure you have Node.js and Node Package Manager (npm)
installed.
npm install --save rdflib
Contribute
Subdirectories
dist
, Run 'make' in this directory to generate dist in which libraries are
builttest
, Tests are here.
Dependencies
- jQuery (rdfa version only)
- jQuery, XMLHTTPRequest (Node.js version)
Thanks
Thanks to the many contributors who have been involved along the way.
LinkedData team & TimBL
LICENSE
MIT