Protege4.3 添加Rules 栏

Posted wuxiaozong

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Protege4.3 添加Rules 栏相关的知识,希望对你有一定的参考价值。

SWRL rules can be edited in Protégé 4, but not with a nice interface like in Protégé 3. If you go to menu Window -> Views -> Ontology views, there is an option Rules. Select it and add it as a "view", i.e., a rectangle in the current tab. Rules are written like this:

parent(?x,?y), brother(?y,?z) -> uncle(?x,?z)
where properties are written as binary predicates, classes as unary predicate, variables are prefixed with question marks, head is separated from body by -> and constants are just written without the ontology prefix. It does not work if the properties, classes and individuals you use are not previously defined in the respective tabs.

SWRL规则可以在Protege 4中进行编辑,但不能像Protege 3那样有一个好的接口。如果转到 菜单窗口>视图->本体视图(Window -> Views -> Ontology views),则存在一个选项规则(Rules)。选择它并将其添加为“视图”,即当前选项卡中的矩形。

技术分享图片


以上是关于Protege4.3 添加Rules 栏的主要内容,如果未能解决你的问题,请参考以下文章

jquery 的rules中能不能添加if判断

fiddler展示serverIP方法

vue表单必填项前面添加红色*

element-ui添加表单时不能rules不能验证

Vue :rules未生效

vue 中给element-ui rules 根据条件添加必选与非必选的校验