-
Notifications
You must be signed in to change notification settings - Fork 4
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
Some rdfs:label do not have a language tag #67
Comments
The system has no knowledge of language, it doesn't know what language is being used in the strings it receives. This might be a bit tricky to resolve on a per-cell basis as there's not really any way to declare this within a csv file. I suppose we could add a language column for each string-valued column but that doesn't seem very satisfactory (as this is metadata not data). The A simpler change might be to make this an application-level setting, being applied to all string literals sent to csv2rdf. |
The problem is that the DataSet label (and some other labels) have a language tag, e.g.
This causes compatibility issues with CubiQL beacause we use an application level setting to define the language. So CubiQL requires:
|
Ah I see. Indeed the system does know about language insofar as the json-ld statements in the csvw metadata are concerned. Thanks for the clarification. Some of these strings are set by the incoming csv or pipeline parameters (which could be subject to application-level config) but others - e.g. "Components Ontology" - are hard coded. That would complicate internationalisation (as you'd need to provide translations for all of the internal strings to do this comprehensively). We could read this from a static translations resource. Perhaps we should just set everything to English for now, then return to a proper internationalisation later. Would that resolve your immediate issue or do you need to use a different language? |
@zeginis - Is this still an issue after Swirrl/cubiql#112 ? CubiQL falls back to using strings without a language if none is available with the configured language. Or does |
@lkitching the language fall back |
A language tag (e.g. '@en') does not exist at:
The text was updated successfully, but these errors were encountered: