Defining DataRange Expression in Protege for a Data Type Property

后端 未结 2 1804
余生分开走
余生分开走 2021-02-08 12:52

I am adding few new DataType in the OWL using Protege.

The DataType is like percentage and I want to specify it\'s range with the double value ranging from 0 to 100.

2条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-08 13:05

    This post might be helpful to those who would like to assign discrete integer (or any data type) values as the range of the data type property. Type the following code in the data range expression editor:

    {"0"^^xsd:int , "1"^^xsd:int , "10"^^xsd:int , "18"^^xsd:int , "2"^^xsd:int , "3"^^xsd:int , "4"^^xsd:int , "5"^^xsd:int , "6"^^xsd:int , "8"^^xsd:int}
    

提交回复
热议问题