transformobject mode
Splits RDF stream on predicate
Combines streamed quads into datasets. A new dataset is pushed when predicate changes
From barnard59-rdf · v3.4.1
Reference
- Identifier
- https://barnard59.zazuko.com/operations/rdf/splitDataset/byPredicateView as Turtle ↓
- Module
- rdf-stream-to-dataset-stream/byPredicate.js
- Stream
- Readable and writable — reads the stream and passes it on
- Implementation
- CommonJS
- Install
$ npm i barnard59-rdf
Use it in a pipeline
<> a p:Step ;
code:implementedBy [
a code:EcmaScript ;
code:link <node:rdf-stream-to-dataset-stream/byPredicate.js>
] .Paste this into a pipeline definition to add the step. The code:link value tells barnard59 which module to load at runtime.