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

RDF Generation Query

From: Tolia, Sovrin <sovrin@exch.hpl.hp.com>
Date: Thu, 12 Jul 2001 11:44:44 -0700
Message-ID: <140D21516EC2D3119EE700902787664405C96C2B@hplex1.hpl.hp.com>
To: "'www-rdf-interest@w3.org'" <www-rdf-interest@w3.org>
hi

I am trying to generate some RDF file from Java. Data for these RDF files
are stored in Class Objects. I was wondering if I could use RDF API for
this. I was going through the documentation of the API but am not able to
find a convenient and efficient way of doing this. Like for example, I want
to generate the following rdf through code.
<cool:WebEnt rdf:about="&cool;EntDescription"
	cool:we_description="http://www.gl.umbc.edu/~stolia/"
	cool:we_name="Sovrin"
	cool:we_type="Sovrin Ent">
	<cool:we_xml rdf:about="&cool;SovrinXMLURI"/>
	<cool:we_directory rdf:about="&cool;SovrinDirectoryURI"/>
	<cool:we_homepage rdf:about="&cool;SovrinHomePageURI"/>
</cool:WebEnt>

Can anyone suggest a CLEAN way of generating these statements through code.

sovrin

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 Thursday, 12 July 2001 14:44:53 GMT

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