Skip to content

rubensworks/rdf-play.js

Repository files navigation

RDF Play

Build status

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

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 1.2 application/trig .trig
N-Quads 1.2 application/n-quads .nq, .nquads
Turtle 1.2 text/turtle .ttl, .turtle
N-Triples 1.2 application/n-triples .nt, .ntriples
Notation3 text/n3 .n3
JSON-LD 1.1 application/ld+json, application/json .json, .jsonld
RDF/XML 1.2 application/rdf+xml .rdf, .rdfxml, .owl
RDFa 1.1 and script RDF data tags HTML/XHTML text/html, application/xhtml+xml .html, .htm, .xhtml, .xht
Microdata text/html, application/xhtml+xml .html, .htm, .xhtml, .xht
RDFa 1.1 in SVG/XML image/svg+xml,application/xml .xml, .svg, .svgz
SHACL Compact Syntax text/shaclc .shaclc, .shc
Extended SHACL Compact Syntax text/shaclc-ext .shaclce, .shce

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.

About

A Web-based tool for performing simple RDF operations

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 6