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
- Download AllegroGraph version 3.2 or 3.3
- Install
- Run the updater to get the latest patches
The primary public package is com.franz.agbase
.
Supports Prolog queries.
Jena 2.5
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.
- clojure/test/com/franz/agraph/tutorial.clj
- Python tutorial
- Python API
Add to your leiningen project.clj dependencies:
[com.franz/agraph-clj "3.2-SNAPSHOT"]
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
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