Skip to content

370 [SPARQL 1.1 Update] - Parser and AST : LOAD Query#451

Closed
MaillPierre wants to merge 5 commits into
feature/corese-nextfrom
feature/370-sparql-11-update---parser-and-ast-load-query
Closed

370 [SPARQL 1.1 Update] - Parser and AST : LOAD Query#451
MaillPierre wants to merge 5 commits into
feature/corese-nextfrom
feature/370-sparql-11-update---parser-and-ast-load-query

Conversation

@MaillPierre
Copy link
Copy Markdown
Contributor

This aims to add the update query LOAD.

Breaking change: A new sub-interface SPARQLQueryAst is inserted between QueryAst and the SELECT, CONSTRUCT, etc queries. A new sub-interface for update queries is also added at the same level.
Furthermore, the declaration of a prologue or of a where clause is delegated to interfaces that can be used both in updates and regular queries.

Explanation:
Update queries can be graph management queries (such as LOAD) or graph update queries (INSERT,DELETE). U Graph management have no prologue and no WHERE where clause.

@MaillPierre MaillPierre self-assigned this May 20, 2026
@MaillPierre MaillPierre added the Refactoring Issue created during the 2025 refactoring effort label May 20, 2026
@MaillPierre MaillPierre linked an issue May 20, 2026 that may be closed by this pull request
@github-actions
Copy link
Copy Markdown

Overall Project 47.51% -0.01% 🍏
Files changed 85.76% 🍏

File Coverage
OrderByScopeValidationRule.java 100% 🍏
SparqlListener.java 100% 🍏
LoadQueryFeature.java 100% 🍏
DescribeQueryAst.java 100% 🍏
ASTConstants.java 98.99% 🍏
AskQueryAst.java 95.92% 🍏
SparqlQueryAnalyzer.java 90.24% 🍏
VariableScopeAnalyzer.java 88.46% 🍏
SparqlAstBuilder.java 84.86% -0.89% 🍏
SelectQueryAst.java 81.94% 🍏
LoadQueryAst.java 53.33% -46.67%
ConstructQueryAst.java 47.83% 🍏

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 20, 2026

Test Results

  412 files  +1    412 suites  +1   19s ⏱️ ±0s
2 247 tests +4  2 247 ✅ +4  0 💤 ±0  0 ❌ ±0 
2 261 runs  +4  2 261 ✅ +4  0 💤 ±0  0 ❌ ±0 

Results for commit 601eb55. ± Comparison against base commit 957a305.

♻️ This comment has been updated with latest results.

@MaillPierre MaillPierre force-pushed the feature/370-sparql-11-update---parser-and-ast-load-query branch from 3881179 to 601eb55 Compare May 20, 2026 12:53
@github-actions
Copy link
Copy Markdown

Overall Project 47.96% -0.01% 🍏
Files changed 85.76% 🍏

File Coverage
OrderByScopeValidationRule.java 100% 🍏
SparqlListener.java 100% 🍏
LoadQueryFeature.java 100% 🍏
DescribeQueryAst.java 100% 🍏
ASTConstants.java 98.99% 🍏
AskQueryAst.java 95.92% 🍏
SparqlQueryAnalyzer.java 90.24% 🍏
VariableScopeAnalyzer.java 88.46% 🍏
SparqlAstBuilder.java 83.32% -0.86% 🍏
SelectQueryAst.java 81.94% 🍏
LoadQueryAst.java 53.33% -46.67%
ConstructQueryAst.java 47.83% 🍏

@MaillPierre MaillPierre deleted the feature/370-sparql-11-update---parser-and-ast-load-query branch May 21, 2026 09:12
@corese-stack corese-stack locked as resolved and limited conversation to collaborators May 21, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Refactoring Issue created during the 2025 refactoring effort

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant