Skip to content

feat(next): connect KGRAM producer to StorageManager#482

Open
remiceres wants to merge 2 commits into
feature/corese-nextfrom
feature/472-bridge-storage-manager-producer
Open

feat(next): connect KGRAM producer to StorageManager#482
remiceres wants to merge 2 commits into
feature/corese-nextfrom
feature/472-bridge-storage-manager-producer

Conversation

@remiceres

Copy link
Copy Markdown
Contributor

@remiceres remiceres self-assigned this Jul 6, 2026
@remiceres remiceres added the Refactoring Issue created during the 2025 refactoring effort label Jul 6, 2026
@remiceres remiceres requested a review from Copilot July 6, 2026 14:17
@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown
Overall Project 50.72% -0.18% 🍏
Files changed 48.94%

File Coverage
CoreseAstQueryBuilder.java 90.06% 🍏
StorageManagerEdge.java 57.02% -42.98%
StorageManagerProducer.java 46.99% -53.01%

@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown

Test Results

  431 files    431 suites   20s ⏱️
2 456 tests 2 456 ✅ 0 💤 0 ❌
2 470 runs  2 470 ✅ 0 💤 0 ❌

Results for commit bd3f894.

♻️ This comment has been updated with latest results.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Implements a new KGRAM Producer backed by the Corese-next StorageManager, enabling query evaluation over the new storage layer without relying on the legacy Graph implementation (Issue #472).

Changes:

  • Added StorageManagerProducer to translate KGRAM triple patterns into StatementPattern queries against StorageManager.
  • Added StorageManagerEdge as an Edge view over storage-layer Statement results.
  • Updated CoreseAstQueryBuilder to mark compiled expressions as evaluable for execution, and added dedicated tests covering the new producer behavior.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
src/test/java/fr/inria/corese/core/next/query/kgram/tool/StorageManagerProducerTest.java Adds integration-style tests validating edge enumeration, context handling, and evaluation through Eval and the SPARQL bridge.
src/main/java/fr/inria/corese/core/next/query/kgram/tool/StorageManagerProducer.java Introduces a StorageManager-backed KGRAM producer and basic BGP mappings materialization.
src/main/java/fr/inria/corese/core/next/query/kgram/tool/StorageManagerEdge.java Adds an Edge adapter over storage Statement results for KGRAM consumption.
src/main/java/fr/inria/corese/core/next/query/impl/sparql/bridge/CoreseAstQueryBuilder.java Ensures compiled WHERE expressions are marked for evaluation when building runtime Query objects.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown
Overall Project 50.75% -0.18% 🍏
Files changed 48.2%

File Coverage
CoreseAstQueryBuilder.java 91.01% 🍏
StorageManagerEdge.java 57.02% -42.98%
StorageManagerProducer.java 46.88% -53.13%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Refactoring Issue created during the 2025 refactoring effort

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BRIDGE] Create Producer implementation to connect KGRAM to the new StorageManager

2 participants