-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use glossarist for reading yaml files #14
Comments
It is mentioned here #12 (comment)
@opoudjis @ronaldtse Do we want to use |
@HassanAkbar we want to migrate all files to Glossarist model v2. Can we do it for all our existing repositories? |
@ronaldtse Currently @strogonoff I see that you have worked on updating the |
In this case there is no v2 and we should get this working with v1! |
@ronaldtse @strogonoff Currently the glossary for |
We can update the @ronaldtse The important thing is that we will drop the support of |
That's fine to me because we control all those repositories right now. We should bring all of those repositories up to date as soon as possible. |
@ronaldtse @strogonoff I have a few questions related to
|
In more detail:
|
I can update the script to delete excess data, as for above.
@strogonoff are we talking about the output of a How could this be improved? |
Just for the record, we have 2 families of models:
In this case, it happens that the Glossarist dataset is managed by a Register. This means that every Glossarist Concept is also a Register Concept (in the new ISO 19135 under development, but in the old version currently it is a Register Item). It happens that in ISO/TC 211, they use the old Register model which means that every Concept is a Register Item, and that each concept in the MLGT (the content on isotc211.geolexica.org) is accompanied by some status dates such as "approval date" (and this content is at both the general concept level and the localized concept level). In an ideal world, the data for the Glossarist models (data content) is separate from the Register models (administrative content). The Register models can refer to the Glossarist models, of course and vice versa. This way we could use different parsers/models accessors to work with the data:
|
@ronaldtse So, for |
As mentioned by @strogonoff
@ronaldtse One more question related to this, Should I assume that these will be fixed in |
If I get green light on this one, I can update the script to fix the data structure, removing excess data fields. It's straightforward, won't take long. |
I am lost in this thread. What is still pending? The goal here is to synchronize the YAML structures for the Glossarist Ruby gem (used by jekyll-geolexica) and the Glossarist plugin. This means we need to update all the data sets to the latest structure. That's it. |
@ronaldtse just want to confirm that do we need to update this in glossarist or fix the data structure? |
@HassanAkbar so the tricky thing here is about the latest MLGT data which is done using this gem: https://github.com/geolexica/tc211-termbase . The point is actually to upgrade the The input data for the gem is the XSLX file, and the output is a Glossarist YAML ConceptCollection. |
@ronaldtse Let me summarize what’s going on here. As I had no idea of Glossarist model V2 , to understand it @strogonoff suggested to take a look at paneron-extension-glossarist/models/concepts.ts. While discussing about the format @strogonoff explained that As these fields don't belong to Glossarist model, I believe we should let @stefanomunarini update the generation script so that the data in isotc211-glossary can be corrected. @stefanomunarini Can you help with that ? |
Sure, I've pushed a commit. You can now re run the script to update the data @HassanAkbar |
@stefanomunarini I was looking at the isotc211-glossary and it seems like you updated the concepts last time. |
Hi @HassanAkbar please review and merge this PR geolexica/isotc211-glossary#44 |
The content of isotc211-glossary is created by the tc211-termbase gem, which took the XLSX file and processed it into the old Glossarist YAML. Once I get back to the computer I’ll provide you with documentation. |
@HassanAkbar the tc211-termbase gem is updated at geolexica/tc211-termbase#31 , can you now:
Thanks. |
@ronaldtse can you let me know from where can I get the |
@ronaldtse I think I don't have access to https://github.com/ISO-TC211/mlgt-data repo, can you help with that? |
@ronaldtse just saw this issue -> authoritativeSources in localizedConcepts YAML are empty objects, Should we add this in |
@HassanAkbar yes we should add them in |
@ronaldtse I've updated the glossary using the above file in this PR -> geolexica/isotc211-glossary#47 I have a couple of questions related to the generated concept files
|
Use the Glossarist gem convention because jekyll-geolexica also uses the Glossarist gem. Correct?
This should be added in the |
@ronaldtse Currently it is not using glossarist gem. I will update |
we should use
glossarist
for readingconcept yaml
files as mentioned here -> #12 (comment)The text was updated successfully, but these errors were encountered: