RDF.rb release 1.1.4 and preliminary reasoner support

This update fixes some issues:

* reusing named BNodes,

* Generate Writer option to _not_ use original BNode labels, which was a problem when the same label was reused in different parse instances. Use the :unique_bnodes option to a Writer to turn this on.

* adds RDF::Vocabulary::Term, which is a subclass of RDF::URI and includes all metadata about terms as defined in the original vocabulary. This allows, for example, RDF::DC.date.comment, to get the rdfs:comment defined on dc:date. This also allows the RDF::Vocabulary DSL to be used to generate triples from the Ruby definition of the vocabulary, which will recreate the base vocabulary (in most cases).

More can be found on the commit: https://github.com/ruby-rdf/rdf/commit/ae447b3993a1494aba842bcf792d9508b5c43a5f

There is also the 0.0.1 release of rdf-reasoner (http://rubygems.org/gems/rdf-reasoner) which does some simple RDFS and schema.org entailment operations. This will ultimately be used to implement SPARQL Entailment Regimes, but now consolidates work done separately in other gems. The reasoner makes use of the updates to Vocabulary Terms to get subClassOf, range and domain to reason on. It also supports schema:rangeIncludes/domainIncludes using a rather arbitrary algorithm.

The rdf-reasoner repository is at https://github.com/ruby-rdf/rdf-reasoner

Other gems are updated with minor changes. the sparql-client gem has many updates pending, awaiting an appropriate testing environment for SPARQL::Client::Repository, to allow an arbitrary SPARQL 1.1 Query/Update endpoint to be used as an RDF Repository (thanks to Peter Amstutz).

As usual, questions to public-rdf-ruby@w3.org, and issues to the appropriate GitHub repository.

Gregg Kellogg
gregg@greggkellogg.net

Received on Monday, 2 June 2014 00:49:18 UTC