W3C home > Mailing lists > Public > www-rdf-interest@w3.org > April 2001

Re: Literal value

From: Brian McBride <bwm@hplb.hpl.hp.com>
Date: Sat, 14 Apr 2001 10:45:56 +0100
Message-ID: <3AD81C54.1D6DBF0@hplb.hpl.hp.com>
To: Boon Kulvatunyou <bxk24@psu.edu>
CC: www-rdf-interest@w3.org
Hi Boon,

You may get an answer here, but DAML questions are best directed to
www-rdf-logic@w3.org.

With regard to the namespace question, at present you cannot use
namespace prefix names in resource attribute values :(

Brian


Boon Kulvatunyou wrote:
> 
> I am not sure if this question has been raised by someone already. Anyway,
> the question is-- can I still have a property, which range is a literal
> value like the example below, with regard to the March 2001 DAML. If the
> answer is 'yes', then the property is 'ObjectProperty' or
> 'DatatypeProperty'? If 'no' (which I would probably expect), then I think
> there should be 'domain' and 'range' statement defined in the
> 'ObjectProperty' and 'DatatypeProperty' specification.
> 
> <daml:Class rdf:ID="Person"/>
> <rdfs:ObjectProperty rdf:ID="name">
>     <rdfs:domain rdf:resource="#Person">
> </rdfs:Property>
> <Person rdf:ID="00011222">
>     <name>George Bush</name>
> </Person>
> 
> -- I haven't got a chance to read the namespace spec yet, but I am wondering
> can we use the namespace prefix in the object reference? Like
> rdf:resource="dex:#Person".
> 
> B.
> 
> ----------------------------------------------------------------------
> Boonserm (Boon) Kulvatunyou
> Industrial & Manufacturing Engineering PSU & NIST Guest Researcher
> email: bxk24@psu.edu
> phone: 814-659-1963, 814-862-8509
> http://cim4.ie.psu.edu:12/serm/mypage.html
Received on Saturday, 14 April 2001 05:45:36 GMT

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