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

Literal value

From: Boon Kulvatunyou <bxk24@psu.edu>
Date: Fri, 13 Apr 2001 15:12:00 -0400
Message-ID: <0a5e01c0c44d$9ef70a90$0100a8c0@mawmeow>
To: <www-rdf-interest@w3.org>
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 Friday, 13 April 2001 15:35:35 GMT

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