This package has been deprecated

Author message:

This package is no longer maintained. Please upgrade to the latest version of rdf-ext.

rdf-interfaces

0.1.1 • Public • Published

Implementation of the Core RDF Interfaces in ECMAScript-262 V5 (Javascript)

The RDF Interfaces Specification defines a set of standardized interfaces for working with RDF data in a programming environment.

This is an ECMAScript-262 V5 (Javascript) implementation of those interfaces, by the specification editor.

Note: This is a base implementation upon which libraries can be built, and which modular components can use, another library will be provided shortly which extends this implementation and adds in various DataParsers / Serializers, Query mechanisms and the usual array of utility + shorthand methods.

Compatibility

The code uses newer features such as Object.defineProperties and Array.prototype.(some, every, forEach, filter), Data.now and Array.isArray, the implementation should be compatible with:

  • node.js
  • BESEN
  • Rhino 1.7
  • WebKit
  • Chrome 6+
  • Firefox 4+
  • Safari 5+
  • Internet Explorer 9

See the ECMAScript 5 compatibility table for more up to date compatibility information.

License

This code is released in to the public domain, and UNLICENSED.

Usage

This implementation provides the RDF Concept Interfaces and the RDF Environment Interfaces, essentially it provides an instance of RDFEnvironment ready to go.

Simply include the file as per usual in a browser and access via the .rdf variable, or in node.js and similar rdf = require('./rdfi');

Readme

Keywords

Package Sidebar

Install

npm i rdf-interfaces

Weekly Downloads

7

Version

0.1.1

License

Public domain

Last publish

Collaborators

  • bergos