How to use the n3.Parser._resetBlankNodeIds function in n3

To help you get started, we’ve selected a few n3 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 LinkedDataFragments / Server.js / lib / datasources / TurtleDatasource.js View on Github external
TurtleDatasource.prototype._getAllTriples = function (addTriple, done) {
  var document = this._fetch({ url: this._url, headers: { accept: ACCEPT } }, done);
  N3Parser._resetBlankNodeIds();
  new N3Parser().parse(document, function (error, triple) {
    triple ? addTriple(triple) : done(error);
  });
};
github antoniogarrote / rdfstore-js / src / rvn3_parser.js View on Github external
resetBlankNodeIds: function() {
        N3Parser._resetBlankNodeIds();
    }
github LinkedDataFragments / Server.js / lib / datasources / TrigDatasource.js View on Github external
TrigDatasource.prototype._getAllQuads = function (addQuad, done) {
  var document = this._fetch({ url: this._url, headers: { accept: ACCEPT } }, done);
  N3Parser._resetBlankNodeIds();
  new N3Parser().parse(document, function (error, quad) {
    quad ? addQuad(quad) : done(error);
  });
};
github antoniogarrote / rdfstore-js / src / js-communication / src / rvn3_parser.js View on Github external
resetBlankNodeIds: function() {
      N3Parser._resetBlankNodeIds();
  }