首页 > 其他 > 详细

Protege4.3 添加Rules 栏

时间:2018-07-03 14:12:12      阅读:337      评论:0      收藏:0      [点我收藏+]

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 栏

原文:https://www.cnblogs.com/wuxiaozong/p/9257809.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!