# Semantic Annotations and Vocabularies

**URL:** <https://community.openbis.ch/t/semantic-annotations-and-vocabularies/686>\
**Category:** Developments\
**Created:** [7 October 2026 11:08 UTC](https://community.openbis.ch/t/semantic-annotations-and-vocabularies/686 "2026-10-07T11:08:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![khalil.rejiba](https://avatars.discourse-cdn.com/v4/letter/k/e95f7d/32.png) [@khalil.rejiba](https://community.openbis.ch/u/khalil.rejiba)\
**Post date:** [7 October 2026 11:08 UTC](https://community.openbis.ch/t/semantic-annotations-and-vocabularies/686/1 "2026-10-07T11:08:41Z")

</div>

Hi @juanf and @cbarillari,

> [@How can Semantic Annotations be used to describe openBIS Sample/Property Types?](https://community.openbis.ch/t/how-can-semantic-annotations-be-used-to-describe-openbis-sample-property-types/49):
>
> I discovered the concept of semantic annotations for openBIS Object/Property Types while going through the pyBIS doc and found some more information in the [V3 API chapter](https://unlimited.ethz.ch/display/openBISDoc2010/openBIS+V3+API#openBISV3API-SemanticAnnotationssemantic_annotations), but still struggle to figure out how they are meant to work exactly. I understand that semantic annotations can be added to an Object/Sample type (I use the term “Sample” in the following) a Property type a Sample Property assignment (as in a Property type as used by a specific Sample type? Since there is no differentiation…

I have a question related to the semantic annotation discussion above.

In general, I would like to link individual openBIS Vocabulary Terms to concepts in external vocabularies/ontologies using their URIs. What would be the recommended way to do this in openBIS?

For example, if I use **EuroSciVoc** as an external vocabulary, how could I link an term “Electrochemistry” to the corresponding URI ([http://data.europa.eu/8mn/euroscivoc/4e705211-8770-4a2a-8596-dbc25b41c83b](http://data.europa.eu/8mn/euroscivoc/4e705211-8770-4a2a-8596-dbc25b41c83b))?

Having the URI in the description is an easy workaround, but it would be useful to have a more structured way of representing this link.

Would this be something that could potentially be supported by the semantic annotation mechanism in the future?

Thanks!

---

<div class="post-metadata">

**Author:** ![juanf](https://dub1.discourse-cdn.com/flex013/user_avatar/community.openbis.ch/juanf/32/18_2.png) [@juanf](https://community.openbis.ch/u/juanf)\
**Post date:** [8 October 2026 08:28 UTC](https://community.openbis.ch/t/semantic-annotations-and-vocabularies/686/2 "2026-10-08T08:28:44Z")

</div>

Hi,

I understand that what you like to do is to assign semantic annotations to a vocabulary.

In your case you would need to create a Property Type that uses the Vocabulary and annotate that Property Type. Then if Semantic annotations are enabled on the ELN, you should get an info icon on the label and be able to get the URL there.

At this point in time you can only add semantic annotations to Object Types and Property Types.

With 3 flavours:

Object Type Only

Property Type Only

or the combination, Object Type + Property Type

I suggest or doc dedicated to semantic annotations:

> **[Semantic Annotations — Python documentation](https://openbis.readthedocs.io/en/7.x/software-developer-documentation/apis/examples/semantic-annotations.html)**

You could very well argument that a Vocabulary and vocabulary terms are lists of Classes and Properties in RDF and as such it should be able to be annotated directly, sadly openBIS doesn’t support a way to indicate this. Currently it is not planned further development of vocabularies.

The same way openBIS does not support hierarchical vocabularies. Vocabularies simply don’t offer the complete feature set required to match RDF like concepts.

If these become pressing matters they could be included as expansions to the openBIS model that could be planned for future major openBIS versions.

I hope this clarifies the current situation with vocabularies and what to do, but please ask further questions if is not clear enough, this is a pretty abstract topic.
