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

Re: refining DC.relation w/ Jena

From: Andrei S. Lopatenko <andrei@derpi.tuwien.ac.at>
Date: Fri, 1 Feb 2002 14:47:36 +0100
Message-ID: <019c01c1ab27$01dd9e60$a6498280@tuwien.ac.at>
To: <www-rdf-interest@w3.org>, "david aumueller" <w3.org@huah.org>
Cc: <jena-dev@yahoogroups.com>
your questions are more related to only Jena then subject of this list -
general RDF/SW problems,  so it'd better send them to jena yahoo-group
I'm forwarding answer to jena-dev@yahoogroups.com
1 yes, it is a right way to implement DC refinements

2 when you write RDF model
you specify "base uri"
lCom.html#write(java.io.Writer, java.lang.String, java.lang.String)
If you use this method then in written version of RDF model relative url
will be substituted by baseURI + relative
But as far as I understand it does not affect model itself, so you'll not
get right absolute URI  calling  getURI method of Resource

Best regards
MSc Andrei S. Lopatenko
Vienna University of Technology
A chairman of CERIF Task Group
euroCRIS conc.

----- Original Message -----
From: "david aumueller" <w3.org@huah.org>
To: <www-rdf-interest@w3.org>
Sent: Friday, February 01, 2002 1:33 PM
Subject: refining DC.relation w/ Jena

> 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 08:48:16 UTC

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