fix: use custom type URI for HexBinary #552

Merged
mih merged 3 commits from flat into main 2026-06-24 19:19:01 +00:00

2026-06-24

fix: use custom type URI for HexBinary
As diagnosed in orinoco/dump-things-server#226
and other issues, the `HexBinary` type setup using `uri: xsd:hexBinary` has both
prevented proper validation, and caused data corruption due to issues
with the rdflib validator.

While it is preferrable to have something as globally understood as

```
skos:notation "1234567890abcdef"^^xsd:hexBinary
```

the value is diminished if actual implementations produce

```
skos:notation "b'\\x124Vx\\x90\\xab\\xcd\\xef'"^^xsd:hexBinary
```

instead.

Given that we use custom type URIs in most (if not all) other places,
and combine that with `exact_mappings` to support inference, it appears
to be acceptable to adopt this pattern also in this case.
2026-06-24 18:06:45 +02:00
chore: transition to LinkML 1.11 and depend on it
Two patches could be dropped, because equivalent changes have been
introduced upstream.
2026-06-24 18:00:42 +02:00