5

What's the best Ruby library for working with RDF and SPARQL? I saw some other related questions but they were over two years old.

Edwin
  • 69
  • 3
  • A simple Google search leads me [here](http://rdf.rubyforge.org/). Have you tried any options yet? – jtbandes Jul 18 '11 at 00:42
  • I checked out some of the suggestions here: http://stackoverflow.com/questions/931548/the-state-of-rdf-in-ruby. Most of the options appeared no longer maintained. Somehow I missed RDF.rb. I'll check that out. Thanks. – Edwin Jul 18 '11 at 00:46
  • Alright, I posted an actual answer just in case it happens to work for you :) – jtbandes Jul 18 '11 at 00:54
  • See http://answers.semanticweb.com/questions/505/what-ruby-library-do-you-use-for-working-with-rdf – RobV Jul 18 '11 at 10:45

2 Answers2

2

Try RDF.rb (courtesy of Google).

jtbandes
  • 115,675
  • 35
  • 233
  • 266
0

You can also use JRuby to use Jena. Jena seems to be a more mature and comprehensive framework library then the pure ruby ones. I have some examples on my github site to use it.

https://github.com/gigasquid/jruby_semantic_web_examples

carinmeier
  • 1,351
  • 1
  • 8
  • 9