Open KoalaGeo opened 1 week ago
Hi Edd, I'm happy to remove the vowels altogether (so just remove !@#$%^&*()_+-=,.
) rather than having another configuration option - would that suit? Thoughts @lalewis1 ?
My advice is always to specify the prefixes using the vann namespace, otherwise the prefixes could change when adding further data and restarting Prez.
Suits me!
Mainly we like our URL pattern and the prez:link
doesn't really match!
prez:link
url's, not sure if its intentional behaviour?)Maybe this is fixed in prez v4, and the curie can be Lexicon/NamedRockUnit
?
https://data.bgs.ac.uk/id/Lexicon/NamedRockUnit/S221 (this works in prez, but we were surprised, thought we had to use the prez:link url's, not sure if its intentional behaviour?)
Is this perhaps a redirect on your side outside of Prez?
The v4 endpoints are configurable, so you can have something like:
/vocab/{vocabId}/concept/{conceptId}
Is this the data here? https://github.com/BritishGeologicalSurvey/vocabularies
Happy to have a quick go running v4 with it
I think its ok to keep the vowels. I've just drafted a PR to do this #289 . it also extends the set of punctuation characters to remove.
https://data.bgs.ac.uk/id/Lexicon/NamedRockUnit/S221 (this works in prez, but we were surprised, thought we had to use the prez:link url's, not sure if its intentional behaviour?)
Is this perhaps a redirect on your side outside of Prez?
The v4 endpoints are configurable, so you can have something like:
/vocab/{vocabId}/concept/{conceptId}
Is this the data here? https://github.com/BritishGeologicalSurvey/vocabularies
Happy to have a quick go running v4 with it
That'd be great if you could check thank you, & yes that's our data to load.
We've a number of redirects but that's not one of them
Would it be possible to make the vowel removal in the prefix generation optional, using a
remove_vowels
variable (default = true) which should be set in the config?I believe this could be acheived like: