@muze-nl/oldm

0.2.1 • Public • Published

Linked Data to JSONTag

This is a demo of an OLDM (Object to Linked Data Mapper). This has the same role as an ORM for SQL data. It turns triples into an object graph that you can just use in your javascript code.

It uses JSONTag to represent the meta data needed to support all features of linked data triples.

The parse() method returns the full graph. You can get a specific item by its id, using the parsers index:

const data = parser.parse(text, baseURI)
const item = parser.index.get(id)

Readme

Keywords

none

Package Sidebar

Install

npm i @muze-nl/oldm

Weekly Downloads

4

Version

0.2.1

License

MIT

Unpacked Size

936 kB

Total Files

6

Last publish

Collaborators

  • poef