Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
The AllegroGraph client interface
Java Clojure
branch: agraph32

This branch is 4 commits ahead of franzinc:agraph32

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
clojure
lib
src
test/org/openrdf/repository
tutorial
.classpath
.gitignore
.project
LICENSE.txt
README.md
build.xml
makefile
overview.htm
pom-sesame.xml
pom.xml

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

Something went wrong with that request. Please try again.