You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/**
* Level very very high
*
* The term has a description only in English, with [1] label in the language [en], but [2] comments in languages [NoLocale, en] (so the difference is only between English and NoLocale, which we consider the same).
*/
levelVeryVeryHigh: _NS("http://mydomain/mypath"),
NOK: labels and comments are missing
NOK: the generator crashes if the skos:definition is no valid URL
NOK: the IRI is not in the generated NamedNode
Expected behavior
The following code generated
levelVeryVeryHigh: new _VocabTerm(
_NS("levelVeryVeryHigh"),
_rdfFactory,
getLocalStore(),
false
)
.addLabel(`Very very high`, "en")
.addComment(`Level very very high`, "en");
The text was updated successfully, but these errors were encountered:
Hi @MichelSc , thanks for reaching out. I'll put a ticket in our backlog to fix this, but unfortunately the artifact generator is not a very high priority for us right now, so this may not be addressed in the near future. I'm happy to assist if you want to go in the code and try and implement the fix though.
Seems the same issue as #10, but here for typescript
Describe the bug
Generate VocabTerms with labels and comments for iris other than classes or properties NOT working
To Reproduce
Use this vocabulary:
Steps to reproduce the behavior:
Observed behavior
I get following code generated:
NOK: labels and comments are missing
NOK: the generator crashes if the skos:definition is no valid URL
NOK: the IRI is not in the generated NamedNode
Expected behavior
The following code generated
The text was updated successfully, but these errors were encountered: