rdf-play
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

RDF Play

Build Status

This is a Web-based tool for performing simple RDF operations, such as parsing, serializing and dereferencing from URLs.

Live version: https://rdf-play.rubensworks.net/

Internally, this library makes use of RDF parsers from the Comunica framework, which enable streaming processing of RDF.

The following RDF serializations are supported:

Name Content type Extensions
TriG application/trig .trig
N-Quads application/n-quads .nq, .nquads
Turtle text/turtle .ttl, .turtle
N-Triples application/n-triples .nt, .ntriples
Notation3 text/n3 .n3
JSON-LD application/ld+json, application/json .json, .jsonld
RDF/XML application/rdf+xml .rdf, .rdfxml, .owl
RDFa and script RDF data tags HTML/XHTML text/html, application/xhtml+xml .html, .htm, .xhtml, .xht
RDFa in SVG/XML image/svg+xml,application/xml .xml, .svg, .svgz

When parsing HTML, script data blocks will also be detected. If they contain RDF, they will also be parsed with the appropriate parsers.

License

This software is written by Ruben Taelman.

This code is released under the MIT license.

Package Sidebar

Install

npm i rdf-play

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

21.7 kB

Total Files

8

Last publish

Collaborators

  • rubensworks