My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members
Featured
Downloads
Wiki pages
Links

Scardf is an API in Scala providing a DSL for writing, traversing and querying RDF graphs.

Instead of writing something like this using Jena:

Model model = ModelFactory.createDefaultModel();
model.createResource( "http://somewhere/JohnSmith" )
  .addProperty( N,
    model.createResource()
      .addProperty( Given, "John" )
      .addProperty( Family, "Smith" ) );

with Scardf you can write like this:

Graph( UriRef( "http://somewhere/JohnSmith" ) -N-> Branch( Given -> "John", Family -> "Smith" ) )

For more details, check out these pages first:

Project changes

Current preferred API is in package org.scardf and it's available since version 0.3. The latest stable version is 0.5 and it works with Scala 2.8.0 WARNING: Documentation on the Wiki may include features from the latest development code in the trunk.

Old API is only a facade to Jena. It is still available in the net.croz.scardf package. Jena features are available in the new API too, via the org.scardf.jena package.

For details, see Changelog.

Powered by Google Project Hosting