Skip to content
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

taxonomyIndex-old #51

Open
dlschwartz opened this issue Oct 12, 2022 · 2 comments
Open

taxonomyIndex-old #51

dlschwartz opened this issue Oct 12, 2022 · 2 comments
Assignees

Comments

@dlschwartz
Copy link
Contributor

I need to check the data in the recently-generated taxonomy xml and compare it to the data in the outdated taxonomy. This index needs to reflect the hierarchies in the xml so that SPEAR can accurately validate against the data there.

Also, let's rename this taxonomyIndexSPEAR.

@dlschwartz dlschwartz self-assigned this Oct 12, 2022
@wlpotter
Copy link
Contributor

FYI, @dlschwartz the index created from the CSV transform (which we might have added to GitHub manually?) is created using these two functions: https://github.com/wlpotter/csv-to-srophe/blob/main/modules/csv2subjects.xqm#L129-L174.

If I remember right, we had a 'blank' template of the index which has the different listUri elements, which it uses to collect the skos:broader matches.

It looks like we treated 'relationships' separately (https://github.com/wlpotter/csv-to-srophe/blob/main/modules/csv2subjects.xqm#L146-L161) -- I remember this being tricky to get right.

Let me know if you'd like me to dig in further to see what the difference between what this script and the one in the App run on. If memory serves, the XQuery here wasn't used to create the Taxonomy index, but there was instead an old XSLT that did it?

@wlpotter
Copy link
Contributor

I'd also be happy to meet and talk through the CSV transform's functions here, if that would be helpful

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants