简体   繁体   English

OWL 2(概念产品)中每个人的班级财产断言

[英]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.

相关问题 是否可以在OWL 2中的类级别上进行属性声明? - Is it possible to make property assertions on class level in OWL 2? 如何阻止TypeScript类的属性或方法进行多级继承? - How to block TypeScript class property or method multi-level inheritance? 使用接口确保每个类具有相同的属性 - Using an interface to ensure every class has the same property 打开和关闭GUI的使用类概念 - Opening and closing GUI's using class concept OOP概念:是否可以更新实例化对象的类? - OOP concept: is it possible to update the class of an instantiated object? Java继承概念引用超类构造函数? - Java Inheritance Concept referring to super class constructor? 从父类到子类获取字符串的概念? - Concept of getting string from parent class to child class? C#为什么我们不能重写静态属性? (高级类如何使用高级数据调用基类方法) - c# why can't we override static property ? (how can high level classes call base class method with high level data) 仅当模板类型匹配概念时才继承接口 class - Inherit interface class only if template type match concept 模棱两可的类级别和继承的方法级别ClassTag - Ambiguous Class level and inherited method level ClassTag
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM