Carp and Spiral Versions 0.3

I recently uploaded version 0.3 of Carp and Spiral our open source RDF tools. Both are written in pure C# and are designed to run under Mono or Microsoft's .NET runtimes. Spiral provides RDF parsing, storage, output and querying functions with both in-memory and mySQL storage options. Carp is a high level object API built on Spiral that allows RDF to be incorporated into .NET applications in a natural and idiomatic way. For example, the following Carp code loads some RDF from http://foo.example.com/, creates a search pattern for all foaf:Agents with a foaf:mbox_sha1sum of xxx and uses it to search the loaded RDF, printing out the names of all the friends of each agent found.

KnowledgeBase knowledge = new KnowledgeBase();
knowledge.include("http://foo.example.com/");


Foaf.Person pattern = new Foaf.Person();
pattern.mbox_sha1sum += "xxx";

foreach (Foaf.Person person in pattern.findAllMatching(knowledge)) {
  Console.Write( person.name );
  foreach (Foaf.Person friend in person.knows) {
    Console.Write ("knows " + friend.name );
  }
}

Downloads:

Note that this version has breaking changes: the naming of methods and classes in both Carp and Spiral now conform to .NET standard conventions. This will affect all existing code using versions prior to 0.3.