Skip to content

fix(dataset): exclude SPARQL endpoint distributions from getDownloadDistributions()#210

Merged
ddeboer merged 1 commit intomainfrom
fix/exclude-sparql-from-download-distributions
Mar 6, 2026
Merged

fix(dataset): exclude SPARQL endpoint distributions from getDownloadDistributions()#210
ddeboer merged 1 commit intomainfrom
fix/exclude-sparql-from-download-distributions

Conversation

@ddeboer
Copy link
Member

@ddeboer ddeboer commented Mar 6, 2026

Summary

getDownloadDistributions() returned SPARQL endpoint distributions because they have a mimeType (application/sparql-query). The importer then tried to download them, which failed.

Filter out SPARQL endpoint distributions using the existing Distribution.isSparql() method before selecting downloadable distributions.

…istributions()

- Filter out distributions where isSparql() is true before selecting
  downloadable distributions
- Prevents the importer from trying to download SPARQL endpoints, which
  have a mimeType (application/sparql-query) but aren't downloadable
@ddeboer ddeboer merged commit 0aa9b68 into main Mar 6, 2026
2 checks passed
@ddeboer ddeboer deleted the fix/exclude-sparql-from-download-distributions branch March 6, 2026 13:29
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