W3C home > Mailing lists > Public > public-rdf-ruby@w3.org > June 2014

RDF.rb release 1.1.4 and preliminary reasoner support

From: Gregg Kellogg <gregg@greggkellogg.net>
Date: Sun, 1 Jun 2014 17:48:47 -0700
Message-Id: <099F6650-F22A-46C9-B2BD-87E242B1A9EE@greggkellogg.net>
To: W3C Ruby RDF mailing list <public-rdf-ruby@w3.org>, "semantic-web@w3.org Web" <semantic-web@w3.org>
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:19 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:02:16 UTC