protege设置数据属性的数据范围表达式

时间:2016-02-20 14:30:04

标签: range ontology protege protege4 manchester-syntax

我有一个数据属性 hasCode ,可以假设其中一个值:

  • " 1I"
  • " 2I"
  • " 3I"
  • " 4I"

为了获得这个限制,我必须写什么表达? enter image description here

非常感谢

1 个答案:

答案 0 :(得分:2)

{"1"^^xsd:int, "2"^^xsd:int, "3"^^xsd:int, "4"^^xsd:int}

这应该可以解决问题。

注意:Protege 5 beta 21中存在一个无法完成此工作的错误。要么使用Protege 5 beta 17,要么等待下一个测试版才能正常工作。

相关问题