Skip to content

Fix prepareLabels and unstable entity type order in SparqlDataProvider#114

Merged
AlexeyMz merged 1 commit intomasterfrom
sparql-fix-attatch-labels
Mar 9, 2026
Merged

Fix prepareLabels and unstable entity type order in SparqlDataProvider#114
AlexeyMz merged 1 commit intomasterfrom
sparql-fix-attatch-labels

Conversation

@AlexeyMz
Copy link
Member

@AlexeyMz AlexeyMz commented Mar 9, 2026

  • Fix prepareLabels option for SparqlDataProvider to be applied for knownElementTypes(), knownLinkTypes(), elementTypes(), linkTypes(), propertyTypes() and elements.
  • Always sort entity types returned from SparqlDataProvider.elements().
  • Add tests for basic SparqlDataProvider functionality and label/image options.
  • Add @comunica/query-sparql-rdfjs-lite to devDependencies (for tests):
    • Enable skipLibCheck to avoid type errors in node_modules/rdf-parse/node_modules/lru-cache/dist/esm/index.d.ts.

@AlexeyMz AlexeyMz force-pushed the sparql-fix-attatch-labels branch from 4105be5 to f35bbc0 Compare March 9, 2026 19:28
…ider`:

* Fix `prepareLabels` option for `SparqlDataProvider` to be applied for `knownElementTypes()`, `knownLinkTypes()`, `elementTypes()`, `linkTypes()`, `propertyTypes()` and `elements`.
* Always sort entity types returned from `SparqlDataProvider.elements()`.
* Add tests for basic `SparqlDataProvider` functionality and label/image options.
* Add `@comunica/query-sparql-rdfjs-lite` to `devDependencies` (for tests):
  - Enable `skipLibCheck` to avoid type errors in `node_modules/rdf-parse/node_modules/lru-cache/dist/esm/index.d.ts`.
@AlexeyMz AlexeyMz force-pushed the sparql-fix-attatch-labels branch from f35bbc0 to 67eef60 Compare March 9, 2026 20:43
@AlexeyMz AlexeyMz merged commit b45f3bd into master Mar 9, 2026
4 checks passed
@AlexeyMz AlexeyMz deleted the sparql-fix-attatch-labels branch March 9, 2026 20:44
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.

1 participant