- From: Angelo Veltens <angelo.veltens@online.de>
- Date: Sat, 15 Dec 2012 17:52:51 +0100
- To: public-lod@w3.org
Hi all, I've just released groovyrdf version 0.2, a library to build and consume RDF with the Groovy programming language. In addition to building RDF, it is now possible to read and process RDF data from linked data resources in an easy manner: // Deklare namespace def foaf = new RdfNamespace ('http://xmlns.com/foaf/0.1/') // Load resource via RdfLoader RdfLoader rdfLoader = new JenaRdfLoader() RdfResource person = rdfLoader.loadResource( 'http://me.desone.org/person/aveltens#me' ) println person(foaf.name) // Prints 'Angelo Veltens' RdfLoader takes care of content negotiation and will load any RDF data it can get for the given URI. No matter if the server returns TURTLE, RDF/XML or any other common syntax: groovyrdf will handle it for you and provide access to the data over an easy-to-use API. For further details take a look at the use guide [1], the source code [2], or ask me any questions. The groovyrdf JAR-file can be downloaded from [3] [1] http://angelo-v.github.com/groovyrdf/ [2] https://github.com/angelo-v/groovyrdf [3] http://datenwissen.de/groovyrdf Those of you who speak german, may also take a look at my blogpost about it: http://datenwissen.de/2012/12/groovyrdf-0-2-veroffentlicht/ Kind regards & happy coding, Angelo Veltens
Received on Saturday, 15 December 2012 16:53:22 UTC