W3C home > Mailing lists > Public > www-webont-wg@w3.org > November 2002

Re: comments on wine.owl

From: Peter F. Patel-Schneider <pfps@research.bell-labs.com>
Date: Fri, 01 Nov 2002 11:48:27 -0500 (EST)
Message-Id: <20021101.114827.72098130.pfps@research.bell-labs.com>
To: michael.smith@eds.com
Cc: www-webont-wg@w3.org

From: "Smith, Michael K" <michael.smith@eds.com>
Subject: RE: comments on wine.owl
Date: Fri, 1 Nov 2002 08:51:33 -0600 

[...]

> ------------------------------------------------------------
>  <!-- PFPS the sameClassAs that used to be here was wrong.  Similar problems
>       occur elsewhere, I may not have caught them all.  In general the OWL
>       keywords should have an uppercase/lowercase alternation. -->
>  
>  >    <owl:Class rdf:ID="WhiteWine">
> >        <owl:intersectionOf rdf:parseType="Collection">
> >          <owl:Class rdf:about="#Wine" />
> >          <owl:Restriction>
> >            <owl:onProperty rdf:resource="#hasColor" />
> >            <owl:hasValue rdf:resource="#White" />
> >          </owl:Restriction>
> >        </owl:intersectionOf>
> >    </owl:Class>
> 
> I'm confused.  I thought in your message 
> (http://lists.w3.org/Archives/Public/www-webont-wg/2002Oct/0228.html)
> you prefered having these wrapped up in a sameClassAs.

Argh!  I was WRONG.  Yuk.  I added in the sameClassAs there by mistake.

[...]

> ---------------------------------------------------------------
> <!-- PFPS this should really be a unionOf
>      I think that this is a holdover from CLASSIC -->

CLASSIC does not have unionOf.  Here is a great place for it, as it is even
suggested by the class name.

I would use:

  <owl:Class rdf:ID="SemillonOrSauvignonBlanc">
    <owl:unionOf rdf:parseType="Collection">
      <owl:Class rdf:about="#Semillon" />
      <owl:Class rdf:about="#SavignonBlanc" />
    </owl:unionOf>
  </owl:Class>
  
  <owl:Class rdf:ID="Semillon">
    <rdfs:subClassOf>
      <owl:Restriction>
        <owl:onProperty rdf:resource="#hasColor" />
        <owl:hasValue rdf:resource="#White" />
      </owl:Restriction>
    </rdfs:subClassOf>
    <rdfs:subClassOf>
      <owl:Restriction>
        <owl:onProperty rdf:resource="#hasBody" />
        <owl:allValuesFrom>
          <owl:Class>
            <owl:oneOf rdf:parseType="Collection">
              <owl:Item rdf:resource="#Medium" />
              <owl:Item rdf:resource="#Full" />
            </owl:oneOf>
          </owl:Class>
        </owl:allValuesFrom>
      </owl:Restriction>
    </rdfs:subClassOf>
    <owl:intersectionOf rdf:parseType="Collection">
      <owl:Restriction>
        <owl:onProperty rdf:resource="#madeFromVarietal" />
        <owl:hasValue rdf:resource="#SemillonGrape" />
      </owl:Restriction>
      <owl:Restriction>
        <owl:onProperty rdf:resource="#madeFromVarietal" />
        <owl:maxCardinality>1</owl:maxCardinality>
      </owl:Restriction>
    </owl:intersectionOf>
  </owl:Class>
  
  <owl:Class rdf:ID="SauvignonBlanc">
    <rdfs:subClassOf>
      <owl:Restriction>
        <owl:onProperty rdf:resource="#hasColor" />
        <owl:hasValue rdf:resource="#White" />
      </owl:Restriction>
    </rdfs:subClassOf>
    <rdfs:subClassOf>
      <owl:Restriction>
        <owl:onProperty rdf:resource="#hasBody" />
        <owl:allValuesFrom>
          <owl:Class>
            <owl:oneOf rdf:parseType="Collection">
              <owl:Item rdf:resource="#Medium" />
              <owl:Item rdf:resource="#Full" />
            </owl:oneOf>
          </owl:Class>
        </owl:allValuesFrom>
      </owl:Restriction>
    </rdfs:subClassOf>
    <owl:intersectionOf rdf:parseType="Collection">
      <owl:Restriction>
        <owl:onProperty rdf:resource="#madeFromVarietal" />
        <owl:hasValue rdf:resource="#SauvignonBlancGrape" />
      </owl:Restriction>
      <owl:Restriction>
        <owl:onProperty rdf:resource="#madeFromVarietal" />
        <owl:maxCardinality>1</owl:maxCardinality>
      </owl:Restriction>
    </owl:intersectionOf>
  </owl:Class>
Received on Friday, 1 November 2002 11:48:37 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:57:55 GMT