- From: Saied Tazari <Saied.Tazari@zgdv.de>
 - Date: Fri, 13 Jul 2001 10:35:13 +0200
 - To: "Tolia, Sovrin" <sovrin@exch.hpl.hp.com>
 - CC: "'www-rdf-interest@w3.org'" <www-rdf-interest@w3.org>
 
Hi,
I don't know if I understand your problem correctly, but you could
simply do the following if you use rdf:type instead of a:we_type and
have some namespace from which the type "service" comes (I call it
'myns' and suggest to use 'Service' instead of 'service'):
<myns:Service rdf:about="&a;Agent1Description"
         a:we_description="Agent"
         a:we_directory="urn:rdf:d929317365e1cf5c072eb8442fbd60c3-96"
         a:we_homepage="urn:rdf:d929317365e1cf5c072eb8442fbd60c3-99"
         a:we_name="Agent"
         a:we_xml="urn:rdf:d929317365e1cf5c072eb8442fbd60c3-93"/>
Hope that helps.
Regards,
-- Saied Tazari
"Tolia, Sovrin" schrieb:
> 
> Hi
> 
> I am using RDF API to generate RDF statements from code. I did manage to
> generate the rdf statements (sample shown below) with one problem. I want to
> replace the rdf:Description Tag that is being replaced here with tags from
> my ontology. Can I do that.
> 
> Please Suggest.
> Sovrin
> 
> <rdf:Description rdf:about="&a;Agent1Description"
>          a:we_description="Agent"
>          a:we_directory="urn:rdf:d929317365e1cf5c072eb8442fbd60c3-96"
>          a:we_homepage="urn:rdf:d929317365e1cf5c072eb8442fbd60c3-99"
>          a:we_name="Agent"
>          a:we_type="service"
>          a:we_xml="urn:rdf:d929317365e1cf5c072eb8442fbd60c3-93"/>
> 
> Sovrin Tolia
> Software Technology Laboratory(Agents for Mobility)
> Hewlett-Packard Laboratories
> Voice 650 857 3129 Telnet 857 3129
> Internet sovrin@hpl.hp.com
Received on Friday, 13 July 2001 04:58:24 UTC