barnard59-rdf
v3.4.1RDF support for Linked Data pipelines
12 operations2 sources10 transformsMIT licensed37k downloads/mo
Operations
- Append metadatametadata.js/appendFetches, updates and appends a metadata resource
- Combine RDF stream to datasetgetDatasetThe entire RDF stream is combined into a single dataset
- Map (RDF/JS Quad)mapMatchCalls a map function only for quads matching the given triple pattern.
- Opens an RDF from web or local fileopenWeb resource requires content-type header. Will try n-triples as fallback. Local paths will be relative to the current working directory
- Parse RDF filefs.js/parseOpens and parses an RDF file, choosing the correct parser based on the extension
- Set GraphsetGraphSets the graph of all quads to the given fixed value.
- Splits RDF stream by RDF typesplitDataset/byTypeCombines streamed quads into datasets. A new dataset is pushed when an rdf:type triple is encountered
- Splits RDF stream on graphsplitDataset/byGraphCombines streamed quads into datasets. A new dataset is pushed when graph changes
- Splits RDF stream on predicatesplitDataset/byPredicateCombines streamed quads into datasets. A new dataset is pushed when predicate changes
- Splits RDF stream on subjectsplitDataset/bySubjectCombines streamed quads into datasets. A new dataset is pushed when subject changes
- Transforms code:imports triples by fetching remote graphs and mergin them with the passing streamtransformCodeImports
- Void statisticsmetadata.js/voidStatsAppends void statistics, such as counts for entities and properties