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

RE: comments on wine.owl

From: Smith, Michael K <michael.smith@eds.com>
Date: Fri, 1 Nov 2002 08:51:33 -0600
Message-ID: <B8E84F4D9F65D411803500508BE322141198203C@USPLM207>
To: "Peter F. Patel-Schneider" <pfps@research.bell-labs.com>
Cc: www-webont-wg@w3.org

Responses to your detailed annotations on wine.owl in
http://lists.w3.org/Archives/Public/www-webont-wg/2002Oct/0354.html
Thanks for the careful review.  Much appreciated.

- Mike

------------------------------------------------------------
<!-- PFPS   xmlns:dte = "http://www.w3.org/@@/owl-ex-dt.xsd" was not used
-->

Bug.  The text has:

  <owl:DataTypeProperty rdf:ID="yearValue">
    <rdfs:domain rdf:resource="#VintageYear" />    
    <rdfs:range  rdf:range="dte:wineYear" />
  </owl:DataTypeProperty>

And so should wine.owl.  Barring syntactic corrections to the datatype
range.

------------------------------------------------------------
 <!-- 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.

---------------------------------------------------------------
> <!-- PFPS a range would be nice here, probably integer -->

As above, re dte.  Syntax?

  <owl:DataTypeProperty rdf:ID="yearValue">
    <rdfs:domain rdf:resource="#VintageYear" />    
    <rdfs:range  rdf:resource="&dte;wineYear" />
  </owl:DataTypeProperty>
  
  <VintageYear rdf:ID="Year1998">
    <yearValue rdf:datatype="&dte;wineYear">13</yearValue>
  </VintageYear>

---------------------------------------------------------------
<!-- PFPS doman and range? -->

Local to Wine.  At this level, things are made by things.
Within Wine, wines are make by wineries.

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

I don't understand.  I read this as saying

  SemillonOrSauvignonBlanc subset white wines 
& SemillonOrSauvignonBlanc subset (full or medium wines)
&   SemillonOrSauvignonBlanc 
  = intersect(wine, wines made from one of SauvignonBlancGrape or
SemillonGrape)

Where does the unionOf go?

  <owl:Class rdf:ID="SemillonOrSauvignonBlanc">
    <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:Class rdf:about="#Wine" />
      <owl:Restriction>
        <owl:onProperty rdf:resource="#madeFromVarietal" />
        <owl:allValuesFrom>
          <owl:Class>
            <owl:oneOf rdf:parseType="Collection">
              <owl:Item rdf:resource="#SemillonGrape" />
              <owl:Item rdf:resource="#SauvignonBlancGrape" />
            </owl:oneOf>
          </owl:Class>
        </owl:allValuesFrom>
      </owl:Restriction>
    </owl:intersectionOf>
  </owl:Class>
Received on Friday, 1 November 2002 09:51:57 GMT

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