BaseParadigm

BaseParadigm depends on Java 1.7 only, but you'll also need Mercurial and Maven to build it. Clone the Mercurial repo and build BaseParadigm with maven like so:

hg clone https://bitbucket.org/travisfw/baseparadigm/ BaseParadigm
cd BaseParadigm
hg up 0.5.0
mvn install -Dmaven.test.skip=true

Now BaseParadigm 0.5.0 should be in your local maven repository. You can reference it as a dependency from other maven projects with group: spaciousness, artifact: baseparadigm, version: 0.5.0.

I find Groovy to be a useful tool for trying things out in Java. Groovy is not necessary to use BaseParadigm. The following is loaded every time I open a groovy shell (groovysh). Put it in ~/.groovy/groovysh.rc

import groovy.grape.Grape
Grape.grab(group: "spaciousness", artifact: "baseparadigm", version: "0.5.0")

import org.baseparadigm.*
import org.baseparadigm.i.*
import org.baseparadigm.EdgeSet.EdgeSetBuilder
import org.baseparadigm.EdgeIndex.EdgeIndexBuilder
import org.baseparadigm.MEdge.MEdgeBuilder
import org.baseparadigm.CaSet.CaSetBuilder
import org.baseparadigm.CaMap.CaMapBuilder
import static org.baseparadigm.EdgeFields.KNOWNS
import static org.baseparadigm.EdgeFields.LABELS
import static org.baseparadigm.EdgeFields.DISCOVERABLES
import static org.baseparadigm.EdgeFields.AUTHORS
import static org.baseparadigm.EdgeFields.DEPENDENCIES
import static org.baseparadigm.EdgeFields.SEQUENCES
import static org.baseparadigm.EdgeFields.QUERIES

cmns = CommonsCidScheme.instance()
Util.setDefaultCidScheme(cmns)