Skip to content

Commit

Permalink
Resolve "Sometimes unknown prefix rmlt"
Browse files Browse the repository at this point in the history
  • Loading branch information
ghsnd committed Sep 13, 2023
1 parent 6050c5a commit 63e51f2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
### Fixed
- Mapping with multiple sources linked to another mapping with multiple sources only resulted in half of
Referencing Objects Maps.
- Override `rmlt` and `comp` namespaces.

## [1.6.0] - 2023-08-22

Expand Down
2 changes: 2 additions & 0 deletions lib/namespaces.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
// Unknown prefixes can be added here, and "wrong" prefixes can be overridden

const _namespaces = require('prefix-ns').asMap();
_namespaces['comp'] = 'http://semweb.mmlab.be/ns/rml-compression#';
_namespaces['idlab-fn'] = 'http://example.com/idlab/function/';
_namespaces['rml'] = 'http://semweb.mmlab.be/ns/rml#'; // this one is the only official one for now, but prefix.cc returns the wrong one.
_namespaces['rmlt'] = 'http://semweb.mmlab.be/ns/rml-target#';
_namespaces['dc'] = 'http://purl.org/dc/terms/';
_namespaces['ql'] = 'http://semweb.mmlab.be/ns/ql#';
_namespaces['idsa'] = 'https://w3id.org/idsa/core/';
Expand Down

0 comments on commit 63e51f2

Please sign in to comment.