W3C home > Mailing lists > Public > www-rdf-logic@w3.org > May 2004

owl:hasValue range?

From: Dan Brickley <danbri@w3.org>
Date: Mon, 17 May 2004 19:41:26 -0400
To: www-rdf-logic@w3.org
Message-ID: <20040517234126.GB7399@homer.w3.org>

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

suggests this is feasible. 

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

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

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:onProperty rdf:resource="#hasParent" />
  <owl:hasValue rdf:resource="#Clinton" />

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

thanks for any advice,

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

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