[英]property assertions on class level for every individual in OWL 2 (concept product)
I have read this article and got an additional question about this topic: 我已阅读本文,并对此主题提出了另外一个问题:
Is it possible to define a class property for every individual of the domain and the range class? 是否可以为域和范围类的每个个体定义类属性? Like a property value that points to a class or some special only condition. 就像一个指向一个类或一些特殊条件的属性值。
Regarding the milkbottle example: I have this class hierarchy 关于milkbottle示例:我有这个类层次结构
Manufacturer 生产厂家
-> Milk_Manufacturer - > Milk_Manufacturer
Product 产品
-> Milk_Bottle - > Milk_Bottle
Milk_Manufacturer has the individuals manufacturer_1 and manufacturer_2 Milk_Manufacturer拥有个人manufacturer_1和manufacturer_2
Milk_Bottle has the individuals bottle_1 and bottle_2 Milk_Bottle有个人bottle_1和bottle_2
Is it possible to define a property Milk_Bottle isProducedBy Milk_Manufacturer which says that every individual Milk_Bottle can be produced by every individual Milk_Manufacturer? 是否可以定义一个属性Milk_Bottle isProducedBy Milk_Manufacturer,它表示每个Milk_Manufacturer可以生产每个Milk_Bottle? A reasoner should be able to infer all the properties for the individuals afterwards. 推理者之后应该能够推断出个人的所有属性。
If I add a manufacturer_3 and synchronize I want the reasoner to add the property to both bottles and if I add a bottle_3 it should have properties to all manufacturers 如果我添加manufacturer_3并同步我想让推理器将属性添加到两个瓶子中,如果我添加一个bottle_3,它应该具有所有制造商的属性
There are two ways of applying a concept product role: 应用概念产品角色有两种方法:
a SWRL rule: Milk_Bottle(?x), Milk_Manufacturer(?y) -> isProducedBy(?x, ?y) SWRL规则:Milk_Bottle(?x),Milk_Manufacturer(?y) - > isProducedBy(?x,?y)
a Description Logic rule: Milk_Bottle SubClassOf R_1 Self, Milk_Manufacturer SubClassOf R_2 Self, isProducedBy SubPropertyChain R_1 o U o R_2 描述逻辑规则:Milk_Bottle SubClassOf R_1 Self,Milk_Manufacturer SubClassOf R_2 Self,isProducedBy SubPropertyChain R_1 o U o R_2
Credits to AKSW for the answer 归功于AKSW的答案
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.