com.clarkparsia.sparqlowl.parser.arq.TerpSyntax Maven / Gradle / Ivy
// Copyright (c) 2010, Clark & Parsia, LLC.
// This source code is available under the terms of the Affero General Public
// License v3.
//
// Please see LICENSE.txt for full license terms, including the availability of
// proprietary exceptions.
// Questions, comments, or requests for clarification: [email protected]
package com.clarkparsia.sparqlowl.parser.arq;
import com.hp.hpl.jena.query.Syntax;
/**
*
* Title: ARQ Terp Syntax
*
*
* Description: Terp Syntax class for use with ARQ parsing infrastructure
*
*
* Copyright: Copyright (c) 2010
*
*
* Company: Clark & Parsia, LLC.
*
*
* @author Mike Smith [email protected]
*/
public class TerpSyntax extends Syntax {
private static final TerpSyntax INSTANCE;
private static final String NAME;
private static final String URI;
static {
URI = "tag:clarkparsia.com,2010:terp/syntax";
NAME = "terp";
INSTANCE = new TerpSyntax();
Syntax.querySyntaxNames.put( NAME, INSTANCE );
}
private TerpSyntax() {
super( URI );
}
/**
* Get the singleton instance of the class
*
* @return the singleton instance
*/
public static TerpSyntax getInstance() {
return INSTANCE;
}
}