Skip to content

jairo-campos-JD/rdflib.js

 
 

Repository files navigation

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

Packages

No packages published

Languages

  • JavaScript 74.4%
  • HTML 19.9%
  • CoffeeScript 3.5%
  • CSS 1.0%
  • Yacc 0.8%
  • Makefile 0.2%
  • Other 0.2%