Skip to content
Linked Data API for JavaScript
JavaScript HTML CoffeeScript Other
Find file
Latest commit 322f040 Dmitri Zagidulin 0.3.2
Failed to load latest commit information.
dist Exclude 'xmlhttprequest' node module from browserify step
example Added xhr object to nowOrWhenFetched
parsers parsers/sparul: add RDFLiteral, String grammar
test Fix node/browserify workflow
testSaveRestore Fix node/browserify workflow
tests Remove tests/*.js from .gitignore
.gitignore Remove tests/*.js from .gitignore
.gitmodules Completely rework RDFa pasring. No submodule. One file parseRDFa.js c…
.travis.yml adding travis file
.web_base For global URI of this space use gh-pages instead of raw etc
AUTHORS added package.json and AUTHORS for use with npm package submition, fi…
CONTRIBUTING.md ldnode to rdflib
MIT-LICENSE.txt Add MIT-LICENSE.txt file for clarity
Makefile Exclude 'xmlhttprequest' node module from browserify step
README.md Minor edits / typo fixes
changes.txt [term] absorb rdfs.js
dumpParser.js Working on store save and restore. Need to work on merge gh-pages and…
identity.js Important bug fix in kb.removeDocument
jquery.uri.js Put the jquery extensions under version control. (They are part of di…
jquery.xmlns.js jquery.xmlns.js: add upstream fixes
jsonparser.js promote FF extension chrome to parent
ldpatchParser.js Refine patchParser for LDP node server; add code untested for repeata…
module.js Fix AMD define to work with RequireJS
n3parser.js Working on patch parser, passes firs simple tests in the node-lpd-httpd
package.json 0.3.2
parseRDFa.js Completely rework RDFa pasring. No submodule. One file parseRDFa.js c…
patchParser.js hand merge gh-pages to master
query.js Minor improvements
rdfparser.js fix bug that rdfxml parsed string values would be stored with a lang …
serialize.js bug fixes, plus paranoia about serialize using same prefix for 2 name…
sparql.js query.js now uses nowOrWhenFetched for link following sparql. Complet…
term.coffee fix bug that rdfxml parsed string values would be stored with a lang …
term.js fix bug that rdfxml parsed string values would be stored with a lang …
update.js Bug - setRefreshHandler crashed when fetched fie has no updates-via l…
updatesVia.coffee readd updatesVia
updatesVia.js bump after make
uri.coffee Suppress WebSocket use if WebSocket not available -- needed for FF ex…
uri.js Commit for safety before travel
util.js Exclude 'xmlhttprequest' node module from browserify step
web.js Add script data island parsing for HTML files

README.md

rdflib.js

Join the chat at https://gitter.im/linkeddata/rdflib.js

Javascript RDF library for browsers and NodeJS.

  • Reads and writes RDF/xml, turtle and N3.
  • Read/Write Linked Data client, using WebDav or SPARQL/Update
  • Parses RDF/a. (rdflib-rdfa.js version only)
  • Local API for querying 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

Install

npm install

Generate the dist directory

make all

NodeJS

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

npm install --save rdflib

Documentation

Possible out of date information is available from here: http://dig.csail.mit.edu/2005/ajar/ajaw/Developer.html.

Contribute

Subdirectories

  • dist, Run 'make' in this directory to generate dist in which libraries are built
  • test, 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

Something went wrong with that request. Please try again.