The AllegroGraph client interface
Java Clojure Shell
Switch branches/tags
Nothing to show
Pull request Compare This branch is 4 commits ahead of franzinc:agraph32.
Latest commit 0de7268 Apr 15, 2010 @mikehinchey mikehinchey change maven/lein version to 3.2-SNAPSHOT
cleanup readme and references to version numbers
jars are available on clojars.org now in com.franz group.

README.md

AllegroGraph Java Client API

Client API to Franz AllegroGraph triple store database, versions 3.2 and 3.3.

This agraph-java-client provides:

  • Java client API
  • Adapter for Sesame
  • Adapter for Jena
  • Clojure client API

AllegroGraph Docs

Prerequisites:

Java

The primary public package is com.franz.agbase.

Supports Prolog queries.

Sesame

Sesame 2.2.4, (API)

Jena

Jena 2.5

Clojure

Uses Clojure 1.1

The tutorial included is similar to the Python tutorial. The comment section at the top of the file gives instructions to get started.

Usage

Add to your leiningen project.clj dependencies:

[com.franz/agraph-clj "3.2-SNAPSHOT"]

Development

For Ant users, the Java library includes build.xml. The following command line will build the agraph-java-client jar:

ant build

For Maven users, the Java library includes pom.xml and an Ant target to install. A pom-sesame.xml is also included because this library is not available in another public maven repo. The following command line will build and install the jars for agraph-java-client and openrdf-sesame to your local maven directory (~/.m2/).

ant mvn-install

The Clojure library includes a project.clj for use with Leiningen. It depends on the agraph-java-client, so you will need to use the mvn-install command above before using lein. The following command line will install all dependencies in agraph-java-client/clojure/lib/.

lein deps

Alternatively, for Ant users, the Clojure library includes a build.xml and libs/clojure-1.1.0.jar.

ant build

License

Copyright (c) 2008-2010 Franz Inc. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html