Closed njh closed 13 years ago
This does not cause a problem with the 0.3.0 version gem, to be released shortly. Note that you can simplify the code, due to new support for content-negotiation in rdf.rb (presuming that proper mime-type is returned):
#!/usr/bin/env ruby
require 'rubygems'
require 'rdf/rdfa'
base_uri = "http://dbpedialite.org/things/934787"
graph = RDF::Graph.new(base_uri)
graph.load(base_uri)
Fantastic! Got my tests working well using rdf-rdfa version 0.3.0.
Thanks!
Sorry if I have reported this already. I have having trouble with the RDFa parser, which I use for testing dbpedialite.org. However I am not sure if it is just my machine.
Here is some example code: https://gist.github.com/458519