The TopBraid SPIN API

Holger Knublauch <>

SPIN is a collection of RDF vocabularies enabling the use of SPARQL to define constraints and inference rules on Semantic Web models. SPIN also provides meta-modeling capabilities that allow users to define their own SPARQL functions and query templates. Finally, SPIN includes a ready to use library of common functions.

The SPIN API is an open source Java API distributed by TopQuadrant to encourage the adoption of SPIN in the community. The SPIN API is built on the Apache Jena API and provides the following features:

Current Release: 1.4.0 (2014-07-31)

The library depends on Apache Jena 2.11.0.

Specifying the SPIN API as a Maven Dependency:


To download the full distribution including examples, go directly to the Maven folder.

Licensing and Support

The TopBraid SPIN API is distributed under the Apache License Version 2.0.

Please feel free to ask technical questions on the TopBraid Suite support mailing list. Please indicate that you have a question on the API by putting [SPIN API] into the subject line. While TopQuadrant staff is monitoring this list, we are not guaranteeing any responses on SPIN API related questions.

For commercial support, please contact Commercial extensions of the SPIN API are available, including a rich library of SPIN functions (many of which are known as the SPIF functions in TopBraid), SPARQLMotion, SPARQL Web Pages and Faceted Search.

Relationship with SHACL

The W3C is in the process of standardizing the Shapes Constraint Language (SHACL). SHACL is strongly influenced by SPIN and the working group includes TopQuadrant personnel. TopQuadrant is maintaining the TopBraid SHACL API as a GitHub project, which extends the SPIN API.