Linked Data API for JavaScript
JavaScript HTML CoffeeScript Other
Latest commit f83337d Sep 25, 2016 Tim Berners-Lee Remove attempts to set xhr.status which is read only now; add kb.anyV…
…alue(); sync before travel
Permalink
Failed to load latest commit information.
dist standard --format serializer.js Sep 22, 2016
example Update termType usage to match RDFJS interface Aug 22, 2016
parsers parsers/sparul: add RDFLiteral, String grammar Nov 14, 2012
reference Move rdfparser.js to rdfxmlparser.js Jul 26, 2016
src Remove attempts to set xhr.status which is read only now; add kb.anyV… Sep 25, 2016
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 Create lib/ for transpiled ES5 and publish it Aug 24, 2016
.babelrc Add .babelrc Aug 24, 2016
.gitignore Create lib/ for transpiled ES5 and publish it Aug 24, 2016
.gitmodules Completely rework RDFa pasring. No submodule. One file parseRDFa.js c… Aug 25, 2015
.travis.yml Bump Node version to 6.0 in .travis.yml and package.json Jul 21, 2016
.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, fi… Aug 26, 2013
CONTRIBUTING.md ldnode to rdflib Jul 27, 2015
MIT-LICENSE.txt Add MIT-LICENSE.txt file for clarity Oct 9, 2012
Makefile Put .PHONY statements right before phony targets Aug 24, 2016
README.md Create lib/ for transpiled ES5 and publish it Aug 24, 2016
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.json Add .babelrc for correct transpilation Aug 24, 2016

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

make all

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 'make' 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