miselico / semopenalex_conversion

0 stars 0 forks source link

check out the `curies` package #1

Open cthoyt opened 1 month ago

cthoyt commented 1 month ago

the curies python package has a lot of the utilities for compressing URIs down to "CURIEs" for semantic web applications. it might help reduce some of the code you're writing

miselico commented 1 month ago

Cool! I probably won't need more than what I did now, as the next tool will convert all identifiers to numeric ones anyway. This was quite specific for this dataset to get the filesizes down a bit (it also generates some invalid n-triples). But, if I encounter a similar problem, I'll use the library instead.