Re: How to convert assign URL to blank node?

2012-06-26 Thread Damian Steer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 26/06/12 09:20, Andy Seaborne wrote: > On 26/06/12 01:30, franswors...@googlemail.com wrote: >> How can I assign an URI to a blank node? The Resource class only >> provides getURI() or getId() methods, but the URI can't be set. >> Do I have to cre

Re: How to convert assign URL to blank node?

2012-06-26 Thread Damian Steer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 26/06/12 09:20, Andy Seaborne wrote: You can use ResourceUtils.renameResource(oldResource, uri) [1] to achieve the same effect. Behind the scenes this removes old statements using oldResource and makes new ones with uri. Damian [1]

Re: How to convert assign URL to blank node?

2012-06-26 Thread Andy Seaborne
On 26/06/12 01:30, franswors...@googlemail.com wrote: How can I assign an URI to a blank node? The Resource class only provides getURI() or getId() methods, but the URI can't be set. Do I have to create a new Resource, copy all properties and delete the original node? Yes, you create a new res

How to convert assign URL to blank node?

2012-06-26 Thread franswors...@googlemail.com
How can I assign an URI to a blank node? The Resource class only provides getURI() or getId() methods, but the URI can't be set. Do I have to create a new Resource, copy all properties and delete the original node?