- From: Brian McBride <bwm@hplb.hpl.hp.com>
- Date: Sat, 14 Apr 2001 10:45:56 +0100
- 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 UTC