-
Notifications
You must be signed in to change notification settings - Fork 0
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
Rename command issue #4
Comments
|
This is working as expected. ENVO:01001806 does have a
KGCL-Java does take the language tag into account when trying to find the existing label, so it is perfectly expected and normal that it does not find The command should have been
|
The |
First, let's acknowledge that ENVO is inconsistent here, with 50% of labels having this tag, and 50% not. For other annotations, it's more skewed towards not having the label. Let's also acknowledge that KGCL is under-specified here, I made an issue here INCATools/kgcl#60 |
Well, that’s the way specified in the KGCL grammar. Chosen for similarity with the OWL functional syntax, I suppose.
The problem is that a term may very well have both a label without a language tag and label(s) with an explicit language tag. In particular, I’ve seen cases like this:
where both the English label and the “language-neutral” label are the same string. Now let’s suppose that I want to specifically edit the language-neutral label. Right now, I can do If we decide to interpret the absence of a language tag as an English language tag by default, then I no longer have a way to specifically edit the language-neutral label. |
hmm .. makes sense. |
@hrshdhgd Let’s keep the discussion on the new issue in the general KGCL tracker, whatever we decide should apply to all KGCL implementations and not just KGCL-Java. My bad for replying here earlier. |
“Relaxed” matching of language tags, as discussed in INCATools/kgcl#60, is now implemented in KGCL-Java. When looking for an existing value:
|
Background: ENVO is using
ontobot-change-agent
which in turn useskgcl-java
to automate changes in the resource file.An issue was opened in the ENVO repo which triggered the ontobot workflow and in the workflow I noticed an error:
The term and URI do exist in ENVO [Ctrl+f : (tropical grassland)] points to:
Any thoughts ?
The text was updated successfully, but these errors were encountered: