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

Make relations used configurable #62

Open
annakasprzik opened this issue Mar 26, 2024 · 0 comments
Open

Make relations used configurable #62

annakasprzik opened this issue Mar 26, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@annakasprzik
Copy link
Contributor

So far, the relations that are exploited by stwfsa are hardwired: Before #57 stwfsa only considered prefLabel and altLabel from the SKOS namespace. After that PR it was extended to hiddenLabel, altLabelNarrower and altLabelRelated which are from a ZBW specific namespace.

Desired change: Let users specify which relations they want stwfsa to consider, including namespaces:

  • if no namespace is given, the default is the SKOS namespace, and user can specify among prefLabel, altLabel, hiddenLabel
  • if a namespace is given then the user needs to make sure the corresponding file is uploaded and can specify relations from that file
  • the relations hiddenLabel, altLabelNarrower and altLabelRelated mentioned above need to be de-hardwired again and the solution implemented in the second bullet point used

Potential interactions with #13 should be checked.

@annakasprzik annakasprzik added the enhancement New feature or request label Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant