W3C home > Mailing lists > Public > www-rdf-logic@w3.org > March 2003

Difference between cardinality=1 and FunctionalProperty?

From: Roger L. Costello <costello@mitre.org>
Date: Wed, 26 Mar 2003 06:39:07 -0500
Message-ID: <3E81915B.41ED8BA9@mitre.org>
To: www-rdf-logic@w3.org
CC: "Costello,Roger L." <costello@mitre.org>

Hi Folks,

Aren't the below two forms essentially stating the same thing:

     <owl:Class rdf:ID="Gun">
                        <owl:onProperty rdf:resource="#serial"/>

     <owl:ObjectProperty rdf:ID="serial">
           <rdfs:domain rdf:resource="#Gun"/>
           <rdfs:range rdf:resource="&rdfs;#Literal"/>


     <owl:Class rdf:ID="Gun"/>

     <owl:FunctionalProperty rdf:ID="serial">
          <rdfs:domain rdf:resource="Gun" />
          <rdfs:range  rdf:resource="&rdfs;#Literal"/>

Both forms state that an instance of Gun must have exactly one value for
the serial property; e.g.,

     <Gun rdf:ID="SmithWesson">

Correct?  /Roger
Received on Wednesday, 26 March 2003 06:37:10 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 2 March 2016 11:10:39 UTC