Skip to content
mwarnock edited this page Sep 12, 2010 · 9 revisions

ActiveSesame

Installation

ActiveSesame is a ruby gem hosted on gemcutter. To install be sure that http://gemcutter.org is in your sources:

  #Run these commands in a terminal
  gem sources # verify that http://gemcutter.org is there
  #If it isn't in your sources you can use two methods to put it there
  #1.) Install the gemcutter gem and let it run the command.  As gemcutter will be the new host of ruby gems (replacing gems.rubyforge.org) you might as well
  gem install gemcutter # Install gemcutter
  gem tumble #This adds gem cutter to your sources
  #2.) Add it to your gem sources manuall
  gem sources -a "http://gemcutter.org"
  gem install activesesame

Explanation

ActiveSesame is a ruby library for interacting with a triple store over the sesame protocol. Currently the library only contains a connector module for AllegroGraph’s take on the protocol.

The primary purpose of this library is to enable programmers to use semantic technologies to solve practical problems without having to understand the massive, and often nebulous, technology stack of the so called “semantic web”

There are 3 major methods for interacting with the triple store within Ruby:

  1. ActiveSesame::Behaviors – Bootstrap your class with ontology functionality
  2. ActiveSesame::OwlThing – An Object Relational Mapping for triples
  3. ActiveSesame::Repository – Run queries on the triple store directly
Clone this wiki locally