W3C home > Mailing lists > Public > public-rdf-ruby@w3.org > August 2011

Re: Problem loading OWL ontology with RDF.rb

From: Gregg Kellogg <gregg@kellogg-assoc.com>
Date: Mon, 8 Aug 2011 16:01:51 -0400
To: Marcel Otto <marcelotto@gmx.de>
CC: "public-rdf-ruby@w3.org" <public-rdf-ruby@w3.org>
Message-ID: <CECE6916-CA1B-44AC-9160-61F531C4F941@kellogg-assoc.com>
A simple matter of RTFM, to get Nokogiri to decode entities.

Updated gem to version 0.3.4, update with "(sudo) gem update rdf-rdfxml" you should now see the following:

require 'linked data'
g = RDF::Graph.load( RDF::OWL )
g.count  # => 450

Also, try the following:

g.dump(:ttl, :standard_prefixes => true)

Gregg


On Aug 8, 2011, at 10:14 AM, Marcel Otto wrote:

g = RDF::Graph.load( RDF::OWL )
Received on Monday, 8 August 2011 20:02:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 8 August 2011 20:02:32 GMT