W3C home > Mailing lists > Public > public-rdf-ruby@w3.org > April 2010

Bug in rdf-raptor?

From: Nicholas Humfrey <nicholas.humfrey@bbc.co.uk>
Date: Tue, 06 Apr 2010 10:10:51 +0100
To: <public-rdf-ruby@w3.org>
Message-ID: <C7E0B92C.26221%nicholas.humfrey@bbc.co.uk>

I am planning on writing a ruby gem to makes it easy to consume RDF from BBC
Programmes. I started by having a play with rdf-raptor:

require 'rubygems'
require 'rdf'
require 'rdf/raptor'

puts RDF::Raptor.available?         #=> true
puts RDF::Raptor.version            #=> "1.4.21"

RDF::Reader.open('http://www.bbc.co.uk/programmes/b00rmssw.rdf') do |reader|
  reader.each_statement do |statement|
    puts statement.inspect

And the output was:
<http://www.w3.org/2000/01/rdf-schema#label> "Description of the episode
GCHQ: Cracking the Code" .)>
"2010-03-23T00:12:42Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .)>
"2010-04-01T15:38:27+01:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .)>
<file:///programmes/b00rmssw#programme> .)>

Gem versions:
rdf (0.1.5)
rdf-raptor (0.2.0)


This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately.
Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.
Received on Tuesday, 6 April 2010 09:11:22 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:53:40 UTC