Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Linked Data API for JavaScript
JavaScript HTML CoffeeScript Other
branch: master
Failed to load latest commit information.
dist added Fetcher.saveRequestMetadata saveResponseMetadata
example Added xhr object to nowOrWhenFetched
green-turtle @ d74be46 Add in as git submodule green-turtle RDFa parser by r. alexander miło…
parsers parsers/sparul: add RDFLiteral, String grammar
test Fix problem wit spaqlUpdate that it was trying to send WHERE clause b…
tests Put back the onffline access via localhost proxy which has been damag…
.gitignore Add node_modules to .gitignore. Check this out with git and then tun …
.gitmodules Add in as git submodule green-turtle RDFa parser by r. alexander miło…
.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…
MIT-LICENSE.txt Add MIT-LICENSE.txt file for clarity
Makefile Version number now 0.2.0
README.md Added Gitter badge
changes.txt [term] absorb rdfs.js
identity.js query.js now uses nowOrWhenFetched for link following sparql. Complet…
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 Added clean step to installation builds
patchParser.js hand merge gh-pages to master
query.js query.js now uses nowOrWhenFetched for link following sparql. Complet…
rdfa.js Add in as git submodule green-turtle RDFa parser by r. alexander miło…
rdfparser.js Revert "Replaced deprecated nodeValue with value."
serialize.js Add function to dump store
sparql.js query.js now uses nowOrWhenFetched for link following sparql. Complet…
sparqlUpdate.js REDO 34e57b9b9653e8840ec9144f7bfed2d03e10b030 :-(((
term.coffee Add .substutute(bindings) method to each type of term, and Statement.…
term.js gh-pages: update to latest
updatesVia.coffee readd updatesVia
updatesVia.js Add librray file for gh-pages access
uri.coffee Suppress WebSocket use if WebSocket not available -- needed for FF ex…
uri.js gh-pages: update to latest
util.js Fixed the type check for node.js environment
web.js Fixed variable name

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

Browser

Install dependencies you may need to generate the js file.

$ npm install -g coffee-script nodeunit   

Generate the dist directory

$ make

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 whch libraries are buit
  • 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.