简体   繁体   English

Protege不一致本体歧义解释

[英]Protege inconsistent ontology ambiguous explanation

I have a class Course and a data property courseCode on the domain Course with range xsd:string .我在域Course上有一个 class Course和一个数据属性courseCode ,范围xsd:string

I added an individual, a Course named "Databases".我添加了一个名为“数据库”的Course I also wanted to add the data property assertion courceCode with a value of "DAT475" and a type of xsd:string .我还想添加值为“DAT475”且类型为xsd:string的数据属性断言courceCode But after doing that I get this error:但是这样做之后我得到了这个错误:

不一致的本体解释

What does this mean?这是什么意思? What did I do wrong?我做错什么了?

Edit: The file I'm working on is using turtle syntax.编辑:我正在处理的文件使用的是海龟语法。

You have a plain literal (the presence of an @en language tag separates a plain literal from a string literal) as filler for a property whose range is defined as xsd:string (ie, limited to string literals only).您有一个普通文字( @en语言标记的存在将普通文字与字符串文字分开)作为范围定义为 xsd:string(即仅限于字符串文字)的属性的填充符。

It's a bit counterintuitive, but the problem is that plain string literals and strings are not in the same datatype.这有点违反直觉,但问题是纯字符串文字和字符串不在同一数据类型中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM