(iOS系统,已安装Java环境)
一、Protege安装
官网下载地址: https://protege.stanford.edu/products.php#desktop-protege
下载成功后直接拖拽到应用程序中即可
二、Protege使用
1.打开界面
2.创建类,第一次使用应该没有classes选项卡,从Window-tags中选中classes
如下图
左侧Thing是父类,第一个是添加子类,第二个是创建兄弟类,第三个是删除所选类。
3.创建属性Property,Window-tags中选中Object properties选项卡
(步骤同class)
4.【Object properties】设置关联属性
eat与eated为互逆关联(Inverse of)
mainEat的值域是Animals类(Ranges)
is_part_of具有传递性(Transitive)
5.【Classes】设置类与类之间的关联
【Animals类】
Animals类与Plant类不相交(Disjoint with)
Carnivore类的Equivalent classes属性为Animals and eat some Animals
Giraffe类的Equivalent classes属性为eat only Plant
Herbivore类的Equivalent classes属性为Animals and eat only Plant
Lion类的Equivalent classes属性为mainEat some Herbivore
【Plant类】
Branch类的Equivalent classes属性为is_part_of only Tree
Leaf类的Equivalent classes属性为is_part_of only Branch
6.查看本体关系图形
Window - Tabs - OntoGraf