Linked Data API for JavaScript
Permalink
Failed to load latest commit information.
diagrams diagram in various formats Sep 25, 2018
example Update termType usage to match RDFJS interface Aug 22, 2016
parsers parsers/sparul: add RDFLiteral, String grammar Nov 14, 2012
reference fixes to callback functions which are rdflib-like not node-like Feb 20, 2018
src Do not bundle solid-auth-client. Sep 25, 2018
test Create lib/ for transpiled ES5 and publish it Aug 24, 2016
testSaveRestore Revert fetcher.js to previous structure, pass unit tests Jul 22, 2016
tests Add fetcher test and fix fetcher new API with no store. Otherwise jus… Sep 25, 2018
.babelrc Use same build configuration as Mashlib. Sep 25, 2018
.browserslistrc Use same build configuration as Mashlib. Sep 25, 2018
.gitignore Build and publish docs on Travis. Sep 17, 2018
.gitmodules Completely rework RDFa pasring. No submodule. One file parseRDFa.js c… Aug 25, 2015
.travis.yml Also bundle src and dist. Sep 25, 2018
.travis_publish Build and publish docs on Travis. Sep 17, 2018
.web_base For global URI of this space use gh-pages instead of raw etc Aug 26, 2013
AUTHORS added package.json and AUTHORS for use with npm package submition, fixes Aug 26, 2013
CONTRIBUTING.md ldnode to rdflib Jul 27, 2015
MIT-LICENSE.txt Add MIT-LICENSE.txt file for clarity Oct 9, 2012
README.md Update script reference in README. Sep 11, 2017
changes.txt [term] absorb rdfs.js Oct 16, 2012
jquery.uri.js Put the jquery extensions under version control. (They are part of di… Jan 17, 2012
jquery.xmlns.js jquery.xmlns.js: add upstream fixes Jan 20, 2012
package-lock.json Release version 0.19.0 of the npm package. Sep 25, 2018
package.json Release version 0.19.0 of the npm package. Sep 25, 2018
webpack.config.js Do not bundle solid-auth-client. Sep 25, 2018

README.md

rdflib.js

NPM Version Join the chat at https://gitter.im/linkeddata/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 RDFa
  • Local API for querying a store
  • Compatible with RDFJS task force spec
  • 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

npm run build:browser

Node.js

Make sure you have Node.js and Node Package Manager (npm) installed.

npm install --save rdflib

Contribute

Subdirectories

  • dist: Where the bundled libraries are built. Run npm run build to generate them.
  • test: Tests are here.
  • lib: Transpiled, non-bundled library is built here when the library is published to npm.

Dependencies

- XMLHTTPRequest (Node.js version)

Thanks

Thanks to the many contributors who have been involved along the way. LinkedData team & TimBL

LICENSE

MIT