W3C home > Mailing lists > Public > www-rdf-interest@w3.org > February 2002

refining DC.relation w/ Jena

From: david aumueller <w3.org@huah.org>
Date: Fri, 01 Feb 2002 13:33:44 +0100
Message-Id: <5.1.0.14.0.20020201132354.00a6a118@wheresmymailserver.com>
To: www-rdf-interest@w3.org
Allow me two questions:

[1] Is this the right way to implement in Jena the refinements of the DC 
vocabulary?

	Property isPartOf = m.createProperty(DC.relation + ".isPartOf");

...which results in the following line in RDF:

	<dc:relation.isPartOf rdf:resource='http://foo.bar#barefoot'/>



[2] Do I have to build valid absolute URIs by myself? -- like in

     Resource foo = m.createResource("http://foo.bar#localfool");

or is there some method where I could say

     Resource foo = m.createResource("localfool");


TIA, david

Jena-1.3.0
Received on Friday, 1 February 2002 07:30:34 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:44:34 UTC