Tag Archives: RDF

LH RDF not just xml anymore

LH Rdf is back!!

Yes development has started again and the first stop is to add additional formats to the output. Previously Lh Rdf only supported RDF-xml and has been designed almost exclusively around that. Therefore to add other formats I have bundled the Easyrdf library into the plugin. When the query string lhrdf is added to the feed URL the Easyrdf parser is invoked to parse the rdf xml output string and the output is then available in various triple formats.

See code extract:

$graph = new EasyRdf_Graph();
$graph->parse($out,”rdfxml”);
$data = $graph->serialise($_GET[lhrdf]);

The format chosen by value of the lhrdf variable E.G. http://localhero.biz/?feed=lhrdf&lhrdf=json

As well as simply being cool, having an option to output JSON is the main benefit as the triples are now no longer imprisoned by the same domain policy.

Visualising RDF with Incontext

Surfing around the internet I recently discovered SURF‘s InContext Visualiser, which I think is a neat way to visualise of RDF relationships, especially OAI-ORE aggregated publications

I also discovered that people have already created a set of WordPress plugins (see: http://ep-books.ehumanities.nl/ ) to visualise books and other similar publications. However blogs do not fit into a book/chapter model.

However given there is already a schema for publishing blog data and my lh-rdf plugin already exposes most publicly available WordPress blog data as RDF using that format. It was an obvious next step to get the visualiser working with the LH RDF output. I have done so and hopefully you think the output is cool.

https://shawfactor.com/visualiser-test/

Introducing LH Tools

Intoducing LH Tools.

LH Tools is a WordPress extension that adds an (ARC-based) RDF Store and SPARQL Endpoint to the WordPress blogging system. The store is kept separate from the WP tables (i.e. it’s not a wrapper), but you can use WP’s nice admin screens to configure it, it and embed it using the large number of developer-friendly hooks that WP offers. It is based on the original work by Ben Nowack.
Continue reading