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

add an attribute to <keyword>, to indicate the source vocabulary #361

Open
bansp opened this issue Dec 19, 2024 · 4 comments
Open

add an attribute to <keyword>, to indicate the source vocabulary #361

bansp opened this issue Dec 19, 2024 · 4 comments
Assignees
Labels
SIS:formats format description and placement in the SIS SIS:keywords Issues concerning keyword inventories for use with format descriptions SIS:schemas document grammars for parts of the SIS DB
Milestone

Comments

@bansp
Copy link
Member

bansp commented Dec 19, 2024

This is a future-oriented issue, for when we are able to draw at least a subset of keywords from some controlled vocabularies.
(Thanks to @raspberryjoy for the inspiration.)

@bansp bansp added SIS:formats format description and placement in the SIS SIS:schemas document grammars for parts of the SIS DB labels Dec 19, 2024
@bansp bansp added this to the SIS v. 2.9.0 milestone Dec 19, 2024
@bansp bansp self-assigned this Dec 19, 2024
@bansp
Copy link
Member Author

bansp commented Dec 20, 2024

Exploring a further hint from Sasa, I got to several perma links and stopped, because there's more, but I don't have a clear idea of how to use them in the SIS:

This is the overall query I used: https://op.europa.eu/en/web/eu-vocabularies/search-results?p_p_id=eu_europa_publications_portlet_search_result_summary_SearchResultSummaryPortlet_INSTANCE_XrSAFTsHKi9q&p_p_lifecycle=1&p_p_state=normal&p_p_mode=view&queryText=file%20format&facet.collection=EUVoc&sortBy=RELEVANCE-DESC&SEARCH_TYPE=SIMPLE&QUERY_ID=363446074&&resultsPerPage=50

@bansp
Copy link
Member Author

bansp commented Dec 20, 2024

An unexpected result of this ticket was my commit 7612f3b , containing a potential base for format cross-categorisation.

@bansp
Copy link
Member Author

bansp commented Jan 10, 2025

I'm going to add a label SIS:keywords, because that area may grow into a separate subproject with numerous subtasks.

And I'll keep this issue as schema-oriented, possibly transferring the links above to a more appropriate issue. I feel that, myself, I can't deal with the op.europa.eu proposals and remain reasonably sane. Need to spread the load.

@bansp bansp added the SIS:keywords Issues concerning keyword inventories for use with format descriptions label Jan 10, 2025
bansp added a commit that referenced this issue Jan 12, 2025
@bansp
Copy link
Member Author

bansp commented Jan 13, 2025

I've added content completion for a subset of GDFR keywords. At this point, it is possible to have bare <keyword> elements with unconstrained content, while <keyword type="gfdr"> makes it possible to choose from a closed list.
Unfortunately, at least for now, I was not able to make oXygen suggest the @type attribute after "<keyword " has been entered -- "type='" has to be typed letter by letter, ignoring validation issues (they stop when a value has been selected from the drop-down).
I'm afraid I'm very far from expert in XML Schema, and assistance with the implementation of this new, fancier <keyword> element would be appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
SIS:formats format description and placement in the SIS SIS:keywords Issues concerning keyword inventories for use with format descriptions SIS:schemas document grammars for parts of the SIS DB
Projects
None yet
Development

No branches or pull requests

1 participant