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

Export ignores language titles for concept scheme rdfs:label #64

Open
KlausIllmayer opened this issue Dec 22, 2022 · 0 comments
Open

Export ignores language titles for concept scheme rdfs:label #64

KlausIllmayer opened this issue Dec 22, 2022 · 0 comments
Assignees

Comments

@KlausIllmayer
Copy link

When serializing a conceptScheme then for the titles a dc:title and an rdfs:label is created. Surprisingly, whereas different language titles are respected for dc:title, only one title is taken for rdfs:label. I can't see why this would make sense.

Example: you have a conceptScheme where in vocabseditor you defined a dc:title in English, e.g. "Example"@en and one in German, e.g. "Beispiel"@de. When serialising it will create additionally a rdfs:label (which is fine and should stay) but only with one of the titles for rdfs:label (I guess it takes the first that it finds in the database).

Looking in the code it seems that moving https://github.com/acdh-oeaw/vocabseditor/blob/master/vocabs/rdf_utils.py#L46 after https://github.com/acdh-oeaw/vocabseditor/blob/master/vocabs/rdf_utils.py#L49 should do the trick (and removing afterwards the lines 44-46). Could this work?

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