【问题标题】:OWL restriction and open world assumption clarification: max 1, exactly 1OWL 限制和开放世界假设说明:最大 1,正好 1
【发布时间】:2019-02-22 06:55:09
【问题描述】:

假设我们有定义:

Product hasPrice exactly 1 xsd:decimal
Product hasPrice max 1 xsd:decimal

在开放世界假设下,我们可以在不指定价格的情况下定义产品,例如:

A a Product;
rdfs:label "Apple"@en .

我的理解是:

exactly 1 定义,我们说这个产品的价格是未知的。

使用max 1 定义,我们说产品可以没有价格。

我说的对吗?


我在定义时弄糊涂了

Service has some gr:UnitPriceSpecification
Service has exactly 1 Provider
ComputeService has max 1 TransactionsUnitPriceSpecification

需要考虑所有可能的情况。

【问题讨论】:

  • 基本上是的,max 1 的价格也可能是未知的
  • 问这个问题有特定的原因/用例吗?
  • 谢谢,您想重新发布作为答案吗?

标签: owl semantic-web protege turtle-rdf


【解决方案1】:

开放世界的语义让很多人感到困惑。你当然不是一个人:D

这里是含义的简要概述:

Product hasPrice min 1 xsd:decimal

声明Product 至少有 1 个价格。但是,这允许Product 有多个价格。

Product hasPrice max 1 xsd:decimal

声明Product 最多有 1 个价格。但是,这允许Product 根本没有价格。

Product hasPrice exactly 1 xsd:decimal

声明Product 至少有 1 个价格,最多有 1 个价格。

我已在我的blog 上详细介绍了这一点。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2015-05-29
    • 2012-08-04
    • 1970-01-01
    • 1970-01-01
    • 2015-07-28
    • 2011-03-23
    • 1970-01-01
    相关资源
    最近更新 更多