owl:hasValue range?

I'm trying to understand how to use 'hasValue' when the values
I have in mind are literals.

http://www.w3.org/TR/2004/REC-owl-ref-20040210/#ValueRestriction 
suggests this is feasible. 

http://www.w3.org/2002/07/owl says:

<rdf:Property rdf:ID="hasValue">
  <rdfs:label>hasValue</rdfs:label>
  <rdfs:domain rdf:resource="#Restriction"/>
</rdf:Property>

I'm left puzzled, I guess because I thought OWL DL generally frowned on 
properties which could point either to a resource or a literal. Maybe 
built-in properties are excused from this?

Are both the following ok?:   

<owl:Restriction>
  <owl:onProperty rdf:resource="#hasParent" />
  <owl:hasValue rdf:resource="#Clinton" />
</owl:Restriction>

<owl:Restriction>
  <owl:onProperty rdf:resource="#hasParentName" />
  <owl:hasValue>Bill Clinton</owl:hasValue>
</owl:Restriction>

thanks for any advice,

Dan

Received on Monday, 17 May 2004 19:41:27 UTC