How to use rdfxml-streaming-parser - 1 common examples

To help you get started, we’ve selected a few rdfxml-streaming-parser examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github comunica / comunica / packages / actor-rdf-parse-rdfxml / lib / ActorRdfParseRdfXml.ts View on Github external
public async runHandle(action: IActionRdfParse, mediaType: string, context: ActionContext)
    : Promise {
    action.input.on('error', (e) => quads.emit('error', e));
    const quads = action.input.pipe(new RdfXmlParser({ baseIRI: action.baseIRI }));
    return {
      quads,
      triples: true,
    };
  }
}

rdfxml-streaming-parser

Streaming RDF/XML parser

MIT
Latest version published 1 year ago

Package Health Score

51 / 100
Full package analysis

Popular rdfxml-streaming-parser functions