Skip to content
transformobject mode

Parse RDF file

Opens and parses an RDF file, choosing the correct parser based on the extension

From barnard59-rdf · v4.0.2

Reference

Identifier
https://barnard59.zazuko.com/operations/rdf/fs.js#parseView as Turtle ↓
Module
barnard59-rdf/fs.js
Export
parse
Stream
Readable and writable — reads the stream and passes it on
Implementation
ES module
Install
$ npm i barnard59-rdf

Use it in a pipeline

step definition · Turtle
<> a p:Step ;
  code:implementedBy [
    a code:EcmaScriptModule ;
    code:link <node:barnard59-rdf/fs.js#parse>
  ] .

Paste this into a pipeline definition to add the step. The code:link value tells barnard59 which module to load at runtime.