OWL-DL本体中的序列顺序建模 [英] Modelling sequence order in OWL-DL ontology

查看:66
本文介绍了OWL-DL本体中的序列顺序建模的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在OWL本体中不保留序列顺序.如何在OWL-DL本体中对序列建模?

As by default sequence order is not maintained in an OWL ontology. How can i model sequence in an OWL-DL ontology ?

推荐答案

对序列建模并对其元素进行排序的一种方法是仅引入hasNext属性以捕获序列顺序:

One way to model a sequence and order its elements is to just introduc a hasNext property to capture sequence order:

Class: SequenceItem
    EquivalentTo: 
        hasNext only SequenceItem

ObjectProperty: hasNext 
    Domain: 
       SequenceItem
    Range: 
       SequenceItem
    InverseOf:
       hasPrevious

然后,假设要按顺序排列的项目被表示为实例,则可以按如下顺序捕获其顺序:

Then, assuming the items you want to sequence in order are represented as instances, you can capture their order in the sequence like so:

SequenceItem: item_1
    hasNext: 
         item_2

这篇关于OWL-DL本体中的序列顺序建模的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆