Daniel Beeke
Daniel Beeke
Do you mean something like: fruit.['label@en']
Ah nice! that is great. Is it possible to use @language in the root of context? To define the default? So also: ``` { "@language": "en", "dutchLabel": { "@id": "rdfs:label",...
I have the following working: fruit.label['@nl'] fruit.label.$nl In the current state, the languages are not hard-coded. They are prefixed and with that it is possible. How ever it could be...
It is now also possible to set the default language via the context with: ``` { "@language": "en", } ``` However I am struggling with these proxies. I created 'getFirstOrDefaultItem'...
I have created an experimental library that does some of this: https://github.com/danielbeeke/uhtml-ldflex
A big challenge here is how to know to resolve to a language code: This `tomato.label.en` is the syntax I would have liked the most. But there is no static...
I have been thinking a bit generally I see two options: **Option 1, current approach** Using the SparqlHandler we filter on the specific language. If the language is not available...
While coding option 2 a bit I found that the resolve method is not good enough. Probably we should have a language aware then handler. That is what I coded...
I have a LanguageHandler now also working, this allows for: `await tomato.label.nl`. You should add these beforehand to the PathProxy. I have also added test to ensure multiple values for...
At the moment having a @language inside the context limits getting results if that specific language is not available. There is no fallback mechanism available.