sparqlalgebrajs
Advanced tools
Comparing version 0.6.2 to 0.6.3
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const n3_1 = require("n3"); | ||
const _ = require("lodash"); | ||
const defaultGraph = { termType: 'DefaultGraph', value: '' }; | ||
@@ -75,3 +74,3 @@ class Factory { | ||
return this.dataFactory.variable(str.substring(1)); | ||
if (_.startsWith(str, '_:')) | ||
if (str.startsWith('_:')) | ||
return this.dataFactory.blankNode(str.substring(2)); | ||
@@ -93,2 +92,2 @@ if (n3_1.Util.isLiteral(str)) { | ||
exports.default = Factory; | ||
//# sourceMappingURL=factory.js.map | ||
//# sourceMappingURL=Factory.js.map |
{ | ||
"name": "sparqlalgebrajs", | ||
"version": "0.6.2", | ||
"version": "0.6.3", | ||
"description": "Convert SPARQL to SPARL algebra", | ||
@@ -5,0 +5,0 @@ "author": "Joachim Van Herwegen", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
38838
867