[protege-user] Is there a way to hide non-English annotations?
Michael DeBellis <[email protected]> Wed, 17 Dec 2025 20:15:48 -0800
| Newsgroups | gmane.comp.misc.ontology.protege.owl |
|---|---|
| Message-ID | <CALGFikfJkHBZhGZfKrUp__=5w9GsG2OA35hc3=UZ0np8jJ+Wmw@mail.gmail.com> |
--===============5129683851096366605== Content-Type: multipart/alternative; boundary="000000000000d6670d0646323777" --000000000000d6670d0646323777 Content-Type: text/plain; charset="UTF-8" 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 ones 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 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: "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 gets 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 --000000000000d6670d0646323777 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">I'm working with the DCAT W3C Data Catalog ontology. I= t 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 ones but there are reasons in terms of how the ontology I'm bu= ilding will be used that make that not an option.<div><br><div>I looked at = the various preferences to see if there was a way to hide non-English annot= ations but didn't see anything. The one thing I thought might work is o= n the dialog that comes up on File>Preferences>Renderer when you hit = the Configure button you get a dialog to define the label annotation proper= ties and their order and there is a field at the bottom with the values:</d= iv><div><br></div><div>"en, en-US, !"</div><div><br></div><div>I = thought if I deleted the ! that might just show English annotations. That w= as a longshot anyway because that dialog is for labels not all annotations = but I thought maybe. But nothing changes=C2=A0when I remove the exclamation= mark. I also thought "maybe it needs to be set before the ontology lo= ads" but when I load my ontology that imports DCAT the pref gets set b= ack to include the !</div><div><br></div><div>If there are any tricks or ha= cks to just show english while keeping the other languages appreciate the f= eedback.</div><div><br></div><div>Michael</div><div><a href=3D"https://www.= michaeldebellis.com/blog">https://www.michaeldebellis.com/blog</a></div></d= iv></div> --000000000000d6670d0646323777-- --===============5129683851096366605== 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 --===============5129683851096366605==--