Using enumerated data type in defining property value for individual in Protege

前端 未结 1 756
小鲜肉
小鲜肉 2021-01-07 11:17

At first I want to mention that I am new in ontology and protege. I try to develop an ontology using protege 5.0. I defined some data properties with enumerated range which

相关标签:
1条回答
  • 2021-01-07 12:15

    It is not possible to declare an individual from that range, because datatype ranges are composed of literals, not individuals.

    If you want an individual labeled, for example, as "Balanced", create an individual with any IRI you think adequate and add an rdfs:label to it, as "Balanced"

    Edit: as discussed in the comments, what is wanted is a data property assertion p(A, "literal")

    I have done this with the following steps: - create a data property p (data property tab) - create an individual A (individual tab) - select A, a data property assertion tab appears among others - select the + button - select the desired property and insert the desired value

    Note: In the question, a datatype enumeration is mentioned - I have not added it to the example, but the procedure is the same if the property p has a declared range.

    This is shown in the picture below for reference.

    enter image description here

    0 讨论(0)
提交回复
热议问题