Skip to content

feat(harness): extend benchmark to multi-format RDF and integrate BSBM/LUBM (#15) - #20

Merged
remiceres merged 2 commits into
mainfrom
feature/15-harness-multiformat-bsbm-lubm
Oct 28, 2026
Merged

remiceres merged 2 commits into
mainfrom
feature/15-harness-multiformat-bsbm-lubm

Conversation

@remiceres

Copy link
Copy Markdown
Contributor

Closes #15

Summary

Extends the benchmark harness to support loading multi-format RDF files beyond N-Triples (.nt, .nq, .ttl, .trig), and integrates official BSBM and LUBM benchmark suites.

Technical Scope & Changes

  1. Multi-Format Ingestion:
    • Added BenchmarkFormat enum supporting .nt, .nq, .ttl, .trig.
    • Updated BenchmarkHarness.discoverFiles() to detect all driver-supported RDF files with deterministic alphabetical ordering.
    • Added multi-format loading across all 4 drivers (CoreseDriver, CoreseNextDriver, JenaDriver, RDF4JDriver).
    • Upgraded JenaDriver from Model to transactional in-memory Dataset (createTxnMem) with exact statement counting across default and named graphs.
  2. BSBM & LUBM Suites:
    • Integrated BSBM official generator with scale view isolation.
    • Integrated LUBM generator with automated normalization of UBA 1.7 Windows path separators on Linux.
    • Validated real execution of BSBM (374k triples, 12 queries) and LUBM (100k triples, 14 queries).
  3. Quality & Tests:
    • Zero SonarLint alerts on Java sources and tests.
    • Zero Ruff alerts on Python utilities.
    • Zero Markdownlint alerts on documentation.
    • 24 JUnit 5 unit tests passing.

Acceptance Criteria

  • BenchmarkHarness discovers and benchmarks .ttl, .trig, and .nq datasets cleanly.
  • BSBM and LUBM suites run reproducibly across all supported drivers (Corese 4, Corese 5, Jena, RDF4J).

…M/LUBM (#15)

- Add BenchmarkFormat supporting .nt, .nq, .ttl, .trig formats
- Update BenchmarkHarness to discover supported formats with deterministic sorting
- Upgrade JenaDriver to transactional Dataset with exact statement counting
- Add multi-format parsing for CoreseDriver, CoreseNextDriver, JenaDriver, and RDF4JDriver
- Fix UBA 1.7 path separator on Linux and add BSBM/LUBM scale view isolation
- Clean up SonarLint, Ruff, and Markdownlint alerts across Java, Python, and documentation
- Add comprehensive JUnit 5 multi-format and harness unit tests
@remiceres
remiceres merged commit 7974eb7 into main Oct 28, 2026
@remiceres
remiceres deleted the feature/15-harness-multiformat-bsbm-lubm branch November 27, 2026 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Harness & Datasets] Extend benchmark harness to Turtle/TriG/N-Quads and integrate official BSBM & LUBM suites

1 participant