Re: [protege-user] Is there a way to hide non-English annotations?

Michael DeBellis <[email protected]> Thu, 18 Dec 2025 15:32:12 -0800
Newsgroups gmane.comp.misc.ontology.protege.owl
Message-ID <CALGFikchJ_aSQs_wkSrQQ8HHMC42hLmPOmWichVtiG8rvVNOyA@mail.gmail.com>
--===============4152631906578672013==
Content-Type: multipart/alternative; boundary="0000000000006b936f0646425f26"

--0000000000006b936f0646425f26
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Thanks Samson, That's great news about Web Protege. I think it really fills
a critical niche. I didn't appreciate it as much when I was working on my
own or with small teams but since I've been doing some work with larger
teams, Web Protege is a great tool to build consensus and those changes
sound like they'll make it even better. I'll add the feature request.

Cheers,
Michael

On Thu, Dec 18, 2025 at 1:54=E2=80=AFPM Samson Tu via protege-user <
[email protected]> wrote:

> Michael,
>
> I don=E2=80=99t think you can configure the current Protege to display an=
notations
> by language. The only workaround I can think of is to refactor the ontolo=
gy
> into an English-language core ontology that is imported by a multilingual
> ontology for editing purposes and to publish the combined ontology for
> other uses. I am sure you=E2=80=99ve thought of this too.
>
> The Protege team just finished a WHO contract to develop a version of
> WebProtege that uses a configurable form-based interface. For users with
> different roles (e.g., administrators, editors, reviewers), different par=
ts
> of the ontology can be exposed. I don=E2=80=99t know whether annotation l=
anguage is
> an implemented content filter, but it should be easier to implement in th=
is
> interface architecture. Why don=E2=80=99t you add this feature request to=
 the
> WebProtege GitHub issue tracker?
>
> *Best regards,*
>
> *Samson*
>
> On Dec 18, 2025, at 1:30=E2=80=AFPM, Michael DeBellis <mdebellissf@gmail.=
com>
> wrote:
>
> Thanks Igor, that's a great idea but unfortunately it won't work for this
> ontology.
>
> As I understand it, for W3C vocabularies like DCAT, multilingual
> annotations are normative. Labels and comments with language tags are par=
t
> of the standard=E2=80=99s internationalization support, and downstream to=
oling
> (catalogs, portals, UI layers, and national data platforms) rely on them =
to
> present metadata in the user=E2=80=99s preferred language. Removing them =
would
> break conformance with DCAT=E2=80=99s design goals and reduce interoperab=
ility,
> especially in European and international contexts where multilingual
> catalogs are the norm.
>
> Since I want what I'm building to be as consistent with those other tools
> as possible, I need to leave them in. I don't think there is a way to hid=
e
> them but just wanted to see if there was something I was missing.
>
> On Thu, Dec 18, 2025 at 12:09=E2=80=AFPM Igor Toujilov via protege-user <
> [email protected]> wrote:
>
>> Hi Michael,
>>
>> This is not straightforward approach, but it may help:
>>
>>
>> -- Save the original ontology in a convenient format, e. g. XML/RDF.
>>
>> -- Write a script, e. g. XSLT, or a program to strip the unwanted
>> annotations.
>>
>> -- Use the reduced ontology in Protege.
>>
>>
>> Cheers,
>>
>> Igor
>>
>> *Sent:* Thursday, December 18, 2025 at 4:15 AM
>> *From:* "Michael DeBellis" <[email protected]>
>> *To:* "User support for WebProtege and Protege Desktop" <
>> [email protected]>
>> *Subject:* [protege-user] Is there a way to hide non-English annotations=
?
>> I'm working with the DCAT W3C Data Catalog ontology. It has a ton of
>> comments in around 20 different languages. It makes finding the ones you
>> want to read a bit hard to find. I considered deleting the non-english o=
nes
>> but there are reasons in terms of how the ontology I'm building will be
>> used that make that not an option.
>>
>> I looked at the various preferences to see if there was a way to hide
>> non-English annotations but didn't see anything. The one thing I thought
>> might work is on the dialog that comes up on File>Preferences>Renderer w=
hen
>> you hit the Configure button you get a dialog to define the label
>> annotation properties and their order and there is a field at the bottom
>> with the values:
>>
>> "en, en-US, !"
>>
>> I thought if I deleted the ! that might just show English annotations.
>> That was a longshot anyway because that dialog is for labels not all
>> annotations but I thought maybe. But nothing changes when I remove the
>> exclamation mark. I also thought "maybe it needs to be set before the
>> ontology loads" but when I load my ontology that imports DCAT the pref g=
ets
>> set back to include the !
>>
>> If there are any tricks or hacks to just show english while keeping the
>> other languages appreciate the feedback.
>>
>> Michael
>> https://www.michaeldebellis.com/blog
>> _______________________________________________ protege-user mailing lis=
t
>> [email protected]
>> https://mailman.stanford.edu/mailman/listinfo/protege-user
>> _______________________________________________
>> protege-user mailing list
>> [email protected]
>> https://mailman.stanford.edu/mailman/listinfo/protege-user
>>
> _______________________________________________
> protege-user mailing list
> [email protected]
> https://mailman.stanford.edu/mailman/listinfo/protege-user
>
>
> _______________________________________________
> protege-user mailing list
> [email protected]
> https://mailman.stanford.edu/mailman/listinfo/protege-user
>

--0000000000006b936f0646425f26
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Thanks Samson, That&#39;s great news about Web Protege. I =
think it really fills a critical niche. I didn&#39;t appreciate it as much =
when I was working on my own or with small teams but since I&#39;ve been do=
ing some work with larger teams, Web Protege is a great tool to build conse=
nsus and those changes sound like they&#39;ll make it even better. I&#39;ll=
 add the feature request.=C2=A0<div><br></div><div>Cheers,</div><div>Michae=
l</div></div><br><div class=3D"gmail_quote gmail_quote_container"><div dir=
=3D"ltr" class=3D"gmail_attr">On Thu, Dec 18, 2025 at 1:54=E2=80=AFPM Samso=
n Tu via protege-user &lt;<a href=3D"mailto:[email protected]=
">[email protected]</a>&gt; wrote:<br></div><blockquote class=
=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rg=
b(204,204,204);padding-left:1ex">



<div>
Michael,
<div><br>
</div>
<div>I don=E2=80=99t think you can configure the current Protege to display=
 annotations by language. The only workaround I can think of is to refactor=
 the ontology into an English-language core ontology that is imported by a =
multilingual ontology for=C2=A0editing purposes
 and to publish the combined ontology for other uses. I am sure you=E2=80=
=99ve thought of this too.</div>
<div><br>
</div>
<div>The Protege team just finished a WHO contract to develop a version of =
WebProtege that uses a configurable form-based interface. For users with di=
fferent roles (e.g., administrators, editors, reviewers), different parts o=
f the ontology can be exposed. I
 don=E2=80=99t know whether annotation language is an implemented content f=
ilter, but it should be easier to implement in this interface architecture.=
 Why don=E2=80=99t you add this feature request to the WebProtege GitHub is=
sue tracker?</div>
<div><br>
</div>
<div>
<p style=3D"margin:0px;font-style:normal;font-variant-caps:normal;line-heig=
ht:normal;font-size-adjust:none;font-kerning:auto;font-variant-alternates:n=
ormal;font-variant-ligatures:normal;font-variant-numeric:normal;font-varian=
t-east-asian:normal;font-feature-settings:normal">
<i>Best regards,</i><i></i></p>
<p style=3D"margin:0px;font-style:normal;font-variant-caps:normal;line-heig=
ht:normal;font-size-adjust:none;font-kerning:auto;font-variant-alternates:n=
ormal;font-variant-ligatures:normal;font-variant-numeric:normal;font-varian=
t-east-asian:normal;font-feature-settings:normal">
<i>Samson</i></p>
<div>
<div><br>
<blockquote type=3D"cite">
<div>On Dec 18, 2025, at 1:30=E2=80=AFPM, Michael DeBellis &lt;<a href=3D"m=
ailto:[email protected]" target=3D"_blank">[email protected]</a>&gt=
; wrote:</div>
<br>
<div>
<div dir=3D"ltr">Thanks Igor, that&#39;s a great idea but unfortunately it =
won&#39;t work for this ontology.=C2=A0
<div><br>
As I understand it, for W3C vocabularies like DCAT, multilingual annotation=
s are normative. Labels and comments with language tags are part of the sta=
ndard=E2=80=99s internationalization support, and downstream tooling (catal=
ogs, portals, UI layers, and national data
 platforms) rely on them to present metadata in the user=E2=80=99s preferre=
d language. Removing them would break conformance with DCAT=E2=80=99s desig=
n goals and reduce interoperability, especially in European and internation=
al contexts where multilingual catalogs are the
 norm.=C2=A0</div>
<div><br>
</div>
<div>Since I want what I&#39;m building to be as consistent with those othe=
r tools as possible, I need to leave them in. I don&#39;t think there is a =
way to hide them but just wanted to see if there was something I was missin=
g.=C2=A0</div>
</div>
<br>
<div class=3D"gmail_quote">
<div dir=3D"ltr" class=3D"gmail_attr">On Thu, Dec 18, 2025 at 12:09=E2=80=
=AFPM Igor Toujilov via protege-user &lt;<a href=3D"mailto:protege-user@lis=
ts.stanford.edu" target=3D"_blank">[email protected]</a>&gt; =
wrote:<br>
</div>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div style=3D"font-family:Verdana;font-size:12px">
<div>
<p align=3D"left" style=3D"line-height:100%;margin-bottom:0in">Hi Michael,<=
/p>
<p align=3D"left" style=3D"line-height:100%;margin-bottom:0in">This is not =
straightforward approach, but it may help:</p>
<div style=3D"line-height:100%;margin-bottom:0in">=C2=A0<br>
</div>
<p align=3D"left" style=3D"line-height:100%;margin-bottom:0in">-- Save the =
original ontology in a convenient format, e. g. XML/RDF.</p>
<p align=3D"left" style=3D"line-height:100%;margin-bottom:0in">-- Write a s=
cript, e. g. XSLT, or a program to strip the unwanted annotations.</p>
<p align=3D"left" style=3D"line-height:100%;margin-bottom:0in">-- Use the r=
educed ontology in Protege.</p>
<div style=3D"line-height:100%;margin-bottom:0in">=C2=A0<br>
</div>
<p align=3D"left" style=3D"line-height:100%;margin-bottom:0in">Cheers,</p>
<p align=3D"left" style=3D"line-height:100%;margin-bottom:0in">Igor</p>
</div>
<div>
<div>=C2=A0
<div name=3D"quote" style=3D"margin:10px 5px 5px 10px;padding:10px 0px 10px=
 10px;border-left:2px solid rgb(195,217,229)">
<div style=3D"margin:0px 0px 10px"><b>Sent:</b>=C2=A0Thursday, December 18,=
 2025 at 4:15 AM<br>
<b>From:</b>=C2=A0&quot;Michael DeBellis&quot; &lt;<a href=3D"mailto:mdebel=
[email protected]" target=3D"_blank">[email protected]</a>&gt;<br>
<b>To:</b>=C2=A0&quot;User support for WebProtege and Protege Desktop&quot;=
 &lt;<a href=3D"mailto:[email protected]" target=3D"_blank">p=
[email protected]</a>&gt;<br>
<b>Subject:</b>=C2=A0[protege-user] Is there a way to hide non-English anno=
tations?</div>
<div name=3D"quoted-content">
<div>I&#39;m working with the DCAT W3C Data Catalog ontology. It has a ton =
of comments in around 20 different languages. It makes finding the ones you=
 want to read a bit hard to find. I considered deleting the non-english one=
s but there are reasons in terms of
 how the ontology I&#39;m building will be used that make that not an optio=
n.
<div>=C2=A0
<div>I looked at the various preferences to see if there was a way to hide =
non-English annotations but didn&#39;t see anything. The one thing I though=
t might work is on the dialog that comes up on File&gt;Preferences&gt;Rende=
rer when you hit the Configure button you
 get a dialog to define the label annotation properties and their order and=
 there is a field at the bottom with the values:</div>
<div>=C2=A0</div>
<div>&quot;en, en-US, !&quot;</div>
<div>=C2=A0</div>
<div>I thought if I deleted the ! that might just show English annotations.=
 That was a longshot anyway because that dialog is for labels not all annot=
ations but I thought maybe. But nothing changes=C2=A0when I remove the excl=
amation mark. I also thought &quot;maybe it
 needs to be set before the ontology loads&quot; but when I load my ontolog=
y that imports DCAT the pref gets set back to include the !</div>
<div>=C2=A0</div>
<div>If there are any tricks or hacks to just show english while keeping th=
e other languages appreciate the feedback.</div>
<div>=C2=A0</div>
<div>Michael</div>
<div><a href=3D"https://www.michaeldebellis.com/blog" target=3D"_blank">htt=
ps://www.michaeldebellis.com/blog</a></div>
</div>
</div>
_______________________________________________ protege-user mailing list <=
a href=3D"mailto:[email protected]" target=3D"_blank">
[email protected]</a> <a href=3D"https://mailman.stanford.edu=
/mailman/listinfo/protege-user" target=3D"_blank">
https://mailman.stanford.edu/mailman/listinfo/protege-user</a></div>
</div>
</div>
</div>
</div>
</div>
_______________________________________________<br>
protege-user mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blank">proteg=
[email protected]</a><br>
<a href=3D"https://mailman.stanford.edu/mailman/listinfo/protege-user" rel=
=3D"noreferrer" target=3D"_blank">https://mailman.stanford.edu/mailman/list=
info/protege-user</a><br>
</blockquote>
</div>
_______________________________________________<br>
protege-user mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blank">proteg=
[email protected]</a><br>
<a href=3D"https://mailman.stanford.edu/mailman/listinfo/protege-user" targ=
et=3D"_blank">https://mailman.stanford.edu/mailman/listinfo/protege-user</a=
><br>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>

_______________________________________________<br>
protege-user mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blank">proteg=
[email protected]</a><br>
<a href=3D"https://mailman.stanford.edu/mailman/listinfo/protege-user" rel=
=3D"noreferrer" target=3D"_blank">https://mailman.stanford.edu/mailman/list=
info/protege-user</a><br>
</blockquote></div>

--0000000000006b936f0646425f26--

--===============4152631906578672013==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
protege-user mailing list
[email protected]
https://mailman.stanford.edu/mailman/listinfo/protege-user

--===============4152631906578672013==--