RE: Modelling rdfs:range(s) in PRISM

Tony Hammond wrote regarding the new PRISM schema:

> Hi Richard:
> 
> So you would suggest having (scuse any text wrapping)

> <!-- "AuthorityReferenceConstraint" class -->
> <owl:Class rdf:ID="AuthorityReferenceConstraint">
>   <owl:unionOf rdf:parseType="Collection">
>     <owl:Class rdf:about="#AuthorityReference" />
>     <owl:Class 
> rdf:about="http://www.w3.org/2000/01/rdf-schema#Literal" />
>   </owl:unionOf>
> </owl:Class>
> 
> <!-- prism:category -->
> <rdf:Property rdf:about="category">
> <rdfs:label xml:lang="en-US">category</rdfs:label>
> <rdfs:comment xml:lang="en-US">The nature or genre of a 
> resources intellectual content.</rdfs:comment> 
> <rdfs:isDefinedBy rdf:resource=""/> <rdfs:range 
> rdf:resource="#AuthorityReferenceConstraint"/>
> </rdf:Property>

Or maybe embed an anonymous class within the rdfs:range. This would
avoid explicitly defining the constraint class.

<rdf:Property rdf:about="category">
<rdfs:range>
<owl:Class>
<owl:unionOf rdf:parseType="Collection">
<owl:Class rdf:about="#AuthorityReference" />
<owl:Class rdf:about="http://www.w3.org/2000/01/rdf-schema#Literal" />
</owl:unionOf>
</owl:Class>
</rdfs:range>
</rdf:Property>

An example using rdfs:domain is in the Language Ref.
http://www.w3.org/TR/owl-ref/#domain-def

Received on Thursday, 2 September 2004 09:10:52 UTC