sparqlalgebrajs
Advanced tools
Comparing version 4.3.1 to 4.3.2
@@ -763,4 +763,4 @@ "use strict"; | ||
if (graphNameSet.length > 0) { | ||
// also need to create graph statement if we are at the edge of the query | ||
if (graphNameSet.length === 1 && op.type !== types.PROJECT) | ||
// We also need to create graph statement if we are at the edge of certain operations | ||
if (graphNameSet.length === 1 && ![types.PROJECT, types.SERVICE].includes(op.type)) | ||
graphs.push(globalNames[graphNameSet[0]]); | ||
@@ -767,0 +767,0 @@ else if (op.type === types.BGP) { |
@@ -401,2 +401,6 @@ "use strict"; | ||
} | ||
else if (thingy.type === types.SERVICE) { | ||
// Service blocks are not affected by enclosing GRAPH statements, so nothing is modified in this block. | ||
// See https://github.com/joachimvh/SPARQLAlgebra.js/pull/104#issuecomment-1838016303 | ||
} | ||
else if (thingy.type === types.BGP) | ||
@@ -403,0 +407,0 @@ thingy.patterns = thingy.patterns.map(quad => { |
{ | ||
"name": "sparqlalgebrajs", | ||
"version": "4.3.1", | ||
"version": "4.3.2", | ||
"description": "Convert SPARQL to SPARQL algebra", | ||
@@ -5,0 +5,0 @@ "author": "Joachim Van Herwegen", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
326981
2871