SyntaxTreeBuilder.java

/*******************************************************************************
 * Copyright (c) 2019 Eclipse RDF4J contributors.
 *
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Distribution License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/org/documents/edl-v10.php.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 *******************************************************************************/
/* SyntaxTreeBuilder.java */
/* Generated By:JJTree&JavaCC: Do not edit this line. SyntaxTreeBuilder.java */
package org.eclipse.rdf4j.query.parser.sparql.ast;

import org.eclipse.rdf4j.model.IRI;
import org.eclipse.rdf4j.model.vocabulary.RDF;
import org.eclipse.rdf4j.model.vocabulary.XSD;
import org.eclipse.rdf4j.query.algebra.Compare.CompareOp;
import org.eclipse.rdf4j.query.algebra.MathExpr.MathOp;

public class SyntaxTreeBuilder
		/* @bgen(jjtree) */ implements SyntaxTreeBuilderTreeConstants, SyntaxTreeBuilderConstants {/* @bgen(jjtree) */
	protected JJTSyntaxTreeBuilderState jjtree = new JJTSyntaxTreeBuilderState();

	/**
	 * Parses the supplied SPARQL query and builds a syntax tree from it.
	 *
	 * @param query A SPARQL query string.
	 * @return The root of the syntax tree.
	 * @throws TokenMgrError  If the query was syntactically incorrect.
	 * @throws ParseException If the query was syntactically incorrect.
	 */
	public static ASTQueryContainer parseQuery(String query)
			throws TokenMgrError, ParseException {
		SyntaxTreeBuilder stb = new SyntaxTreeBuilder(new UnicodeEscapeStream(query, 1));

		// Set size of tab to 1 to force tokenmanager to report correct column
		// index for substring splitting of service graph pattern.

		ASTQueryContainer container = stb.QueryContainer();
		container.setSourceString(query);
		return container;
	}

	/**
	 * Parses the supplied SPARQL update sequence and builds a syntax tree from it.
	 *
	 * @param sequence A SPARQL update sequence string.
	 * @return The root of the syntax tree.
	 * @throws TokenMgrError  If the update sequence was syntactically incorrect.
	 * @throws ParseException If the update sequence was syntactically incorrect.
	 */
	public static ASTUpdateSequence parseUpdateSequence(String sequence)
			throws TokenMgrError, ParseException {
		SyntaxTreeBuilder stb = new SyntaxTreeBuilder(new UnicodeEscapeStream(sequence, 1));

		// Set size of tab to 1 to force tokenmanager to report correct column
		// index for substring splitting of service graph pattern.

		ASTUpdateSequence seq = stb.UpdateSequence();
		seq.setSourceString(sequence);
		return seq;
	}

	/**
	 * Trims <tt>n</tt> character from the start and end of the supplied string.
	 */
	private static String _trimString(String s, int n) {
		if (s.length() >= 2 * n) {
			s = s.substring(n, s.length() - n);
		}
		return s;
	}

	private String readToMatchingBrace() throws ParseException {
		StringBuilder sb = new StringBuilder();
		Token tok;
		int nesting = 1;
		boolean previousTokenDtSep = false;
		while (true) {
			tok = getToken(1);
			if ("".equals(tok.image)) {
				throw new ParseException("closing brace missing");
			}
			if (!previousTokenDtSep && !tok.image.equals("^^") && !tok.image.startsWith("@")) {
				sb.append(" ");
			}
			if (tok.kind == LBRACE) {
				nesting++;
			}
			if (tok.kind == RBRACE) {
				nesting--;
				if (nesting == 0) {
					break;
				}
			}
			sb.append(tok.image);
			previousTokenDtSep = tok.image.equals("^^");

			getNextToken();
		}
		return sb.toString();
	}

	//
// grammar
//
	final public ASTUpdateSequence UpdateSequence() throws ParseException {/* @bgen(jjtree) UpdateSequence */
		ASTUpdateSequence jjtn000 = new ASTUpdateSequence(JJTUPDATESEQUENCE);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			UpdateContainer();
			if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) == SEMICOLON) {
				jj_consume_token(SEMICOLON);
				UpdateSequence();
			} else {
				jj_la1[0] = jj_gen;
			}
			jj_consume_token(0);
			jjtree.closeNodeScope(jjtn000, true);
			jjtc000 = false;
			{
				return jjtn000;
			}
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public ASTUpdateContainer UpdateContainer() throws ParseException {/* @bgen(jjtree) UpdateContainer */
		ASTUpdateContainer jjtn000 = new ASTUpdateContainer(JJTUPDATECONTAINER);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			Prolog();
			switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
			case LOAD:
			case CLEAR:
			case DROP:
			case ADD:
			case MOVE:
			case COPY:
			case CREATE:
			case INSERT:
			case DELETE:
			case WITH: {
				Update();
				break;
			}
			default:
				jj_la1[1] = jj_gen;
			}
			jjtree.closeNodeScope(jjtn000, true);
			jjtc000 = false;
			{
				return jjtn000;
			}
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public ASTQueryContainer QueryContainer() throws ParseException {/* @bgen(jjtree) QueryContainer */
		ASTQueryContainer jjtn000 = new ASTQueryContainer(JJTQUERYCONTAINER);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			Prolog();
			Query();
			jj_consume_token(0);
			jjtree.closeNodeScope(jjtn000, true);
			jjtc000 = false;
			{
				return jjtn000;
			}
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void Prolog() throws ParseException {
		label_1: while (true) {
			switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
			case BASE:
			case PREFIX: {
				break;
			}
			default:
				jj_la1[2] = jj_gen;
				break label_1;
			}
			switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
			case PREFIX: {
				PrefixDecl();
				break;
			}
			case BASE: {
				BaseDecl();
				break;
			}
			default:
				jj_la1[3] = jj_gen;
				jj_consume_token(-1);
				throw new ParseException();
			}
		}
	}

	final public void BaseDecl() throws ParseException {/* @bgen(jjtree) BaseDecl */
		ASTBaseDecl jjtn000 = new ASTBaseDecl(JJTBASEDECL);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		Token t;
		try {
			jj_consume_token(BASE);
			t = jj_consume_token(Q_IRI_REF);
			jjtree.closeNodeScope(jjtn000, true);
			jjtc000 = false;
			jjtn000.setIRI(_trimString(t.image, 1));
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void PrefixDecl() throws ParseException {/* @bgen(jjtree) PrefixDecl */
		ASTPrefixDecl jjtn000 = new ASTPrefixDecl(JJTPREFIXDECL);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		Token prefix;
		try {
			jj_consume_token(PREFIX);
			prefix = jj_consume_token(PNAME_NS);
			IRI();
			jjtree.closeNodeScope(jjtn000, true);
			jjtc000 = false;
// Remove trailing colon from prefix
			String prefixStr = prefix.image;
			prefixStr = prefixStr.substring(0, prefixStr.length() - 1);

			jjtn000.setPrefix(prefixStr);
		} catch (Throwable jjte000) {
			if (jjtc000) {
				jjtree.clearNodeScope(jjtn000);
				jjtc000 = false;
			} else {
				jjtree.popNode();
			}
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void Query() throws ParseException {
		switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
		case SELECT: {
			SelectQuery();
			break;
		}
		case CONSTRUCT: {
			ConstructQuery();
			break;
		}
		case DESCRIBE: {
			DescribeQuery();
			break;
		}
		case ASK: {
			AskQuery();
			break;
		}
		default:
			jj_la1[4] = jj_gen;
			jj_consume_token(-1);
			throw new ParseException();
		}
	}

	final public void SelectQuery() throws ParseException {/* @bgen(jjtree) SelectQuery */
		ASTSelectQuery jjtn000 = new ASTSelectQuery(JJTSELECTQUERY);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			Select();
			while (true) {
				if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) != FROM) {
					jj_la1[5] = jj_gen;
					break;
				}
				DatasetClause();
			}
			WhereClause();
			SolutionModifier();
			switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
			case BINDINGS:
			case VALUES: {
				BindingsClause();
				break;
			}
			default:
				jj_la1[6] = jj_gen;
			}
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void SubSelect() throws ParseException {/* @bgen(jjtree) SelectQuery */
		ASTSelectQuery jjtn000 = new ASTSelectQuery(JJTSELECTQUERY);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			Select();
			WhereClause();
			SolutionModifier();
			switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
			case BINDINGS:
			case VALUES: {
				BindingsClause();
				break;
			}
			default:
				jj_la1[7] = jj_gen;
			}
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void Select() throws ParseException {/* @bgen(jjtree) Select */
		ASTSelect jjtn000 = new ASTSelect(JJTSELECT);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(SELECT);
			switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
			case DISTINCT:
			case REDUCED: {
				switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
				case DISTINCT: {
					jj_consume_token(DISTINCT);
					jjtn000.setDistinct(true);
					break;
				}
				case REDUCED: {
					jj_consume_token(REDUCED);
					jjtn000.setReduced(true);
					break;
				}
				default:
					jj_la1[8] = jj_gen;
					jj_consume_token(-1);
					throw new ParseException();
				}
				break;
			}
			default:
				jj_la1[9] = jj_gen;
			}
			switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
			case STAR: {
				jj_consume_token(STAR);
				jjtree.closeNodeScope(jjtn000, true);
				jjtc000 = false;
				jjtn000.setWildcard(true);
				break;
			}
			case LPAREN:
			case VAR1:
			case VAR2: {
				label_3: while (true) {
					ProjectionElem();
					switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
					case LPAREN:
					case VAR1:
					case VAR2: {
						break;
					}
					default:
						jj_la1[10] = jj_gen;
						break label_3;
					}
				}
				break;
			}
			default:
				jj_la1[11] = jj_gen;
				jj_consume_token(-1);
				throw new ParseException();
			}
		} catch (Throwable jjte000) {
			if (jjtc000) {
				jjtree.clearNodeScope(jjtn000);
				jjtc000 = false;
			} else {
				jjtree.popNode();
			}
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void ProjectionElem() throws ParseException {/* @bgen(jjtree) ProjectionElem */
		ASTProjectionElem jjtn000 = new ASTProjectionElem(JJTPROJECTIONELEM);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
			case VAR1:
			case VAR2: {
				Var();
				break;
			}
			case LPAREN: {
				jj_consume_token(LPAREN);
				Expression();
				jj_consume_token(AS);
				Var();
				jj_consume_token(RPAREN);
				break;
			}
			default:
				jj_la1[12] = jj_gen;
				jj_consume_token(-1);
				throw new ParseException();
			}
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void ConstructQuery() throws ParseException {/* @bgen(jjtree) ConstructQuery */
		ASTConstructQuery jjtn000 = new ASTConstructQuery(JJTCONSTRUCTQUERY);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			Construct();
			while (true) {
				if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) != FROM) {
					jj_la1[13] = jj_gen;
					break;
				}
				DatasetClause();
			}
			WhereClause();
			SolutionModifier();
			switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
			case BINDINGS:
			case VALUES: {
				BindingsClause();
				break;
			}
			default:
				jj_la1[14] = jj_gen;
			}
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void Construct() throws ParseException {/* @bgen(jjtree) Construct */
		ASTConstruct jjtn000 = new ASTConstruct(JJTCONSTRUCT);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(CONSTRUCT);
			if (jj_2_1()) {
				ConstructClause();
			}
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void ConstructClause() throws ParseException {
		jj_consume_token(LBRACE);
		switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
		case LPAREN:
		case LBRACK:
		case NIL:
		case ANON:
		case TRUE:
		case FALSE:
		case Q_IRI_REF:
		case PNAME_NS:
		case PNAME_LN:
		case BLANK_NODE_LABEL:
		case VAR1:
		case VAR2:
		case INTEGER:
		case INTEGER_POSITIVE:
		case INTEGER_NEGATIVE:
		case DECIMAL:
		case DECIMAL_POSITIVE:
		case DECIMAL_NEGATIVE:
		case DOUBLE:
		case DOUBLE_POSITIVE:
		case DOUBLE_NEGATIVE:
		case STRING_LITERAL1:
		case STRING_LITERAL2:
		case STRING_LITERAL_LONG1:
		case STRING_LITERAL_LONG2:
		case TRIPLE_OPEN: {
			TriplesBlock();
			break;
		}
		default:
			jj_la1[15] = jj_gen;
		}
		jj_consume_token(RBRACE);
	}

	final public void DescribeQuery() throws ParseException {/* @bgen(jjtree) DescribeQuery */
		ASTDescribeQuery jjtn000 = new ASTDescribeQuery(JJTDESCRIBEQUERY);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			Describe();
			while (true) {
				if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) != FROM) {
					jj_la1[16] = jj_gen;
					break;
				}
				DatasetClause();
			}
			switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
			case LBRACE:
			case WHERE: {
				WhereClause();
				break;
			}
			default:
				jj_la1[17] = jj_gen;
			}
			SolutionModifier();
			switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
			case BINDINGS:
			case VALUES: {
				BindingsClause();
				break;
			}
			default:
				jj_la1[18] = jj_gen;
			}
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void Describe() throws ParseException {/* @bgen(jjtree) Describe */
		ASTDescribe jjtn000 = new ASTDescribe(JJTDESCRIBE);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(DESCRIBE);
			switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
			case STAR: {
				jj_consume_token(STAR);
				jjtree.closeNodeScope(jjtn000, true);
				jjtc000 = false;
				jjtn000.setWildcard(true);
				break;
			}
			case Q_IRI_REF:
			case PNAME_NS:
			case PNAME_LN:
			case VAR1:
			case VAR2:
			case TRIPLE_OPEN: {
				label_6: while (true) {
					switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
					case Q_IRI_REF:
					case PNAME_NS:
					case PNAME_LN:
					case VAR1:
					case VAR2: {
						VarOrIRIref();
						break;
					}
					case TRIPLE_OPEN: {
						ConstTripleRef();
						break;
					}
					default:
						jj_la1[19] = jj_gen;
						jj_consume_token(-1);
						throw new ParseException();
					}
					switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
					case Q_IRI_REF:
					case PNAME_NS:
					case PNAME_LN:
					case VAR1:
					case VAR2:
					case TRIPLE_OPEN: {
						break;
					}
					default:
						jj_la1[20] = jj_gen;
						break label_6;
					}
				}
				break;
			}
			default:
				jj_la1[21] = jj_gen;
				jj_consume_token(-1);
				throw new ParseException();
			}
		} catch (Throwable jjte000) {
			if (jjtc000) {
				jjtree.clearNodeScope(jjtn000);
				jjtc000 = false;
			} else {
				jjtree.popNode();
			}
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void AskQuery() throws ParseException {/* @bgen(jjtree) AskQuery */
		ASTAskQuery jjtn000 = new ASTAskQuery(JJTASKQUERY);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(ASK);
			while (true) {
				if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) != FROM) {
					jj_la1[22] = jj_gen;
					break;
				}
				DatasetClause();
			}
			WhereClause();
			SolutionModifier();
			switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
			case BINDINGS:
			case VALUES: {
				BindingsClause();
				break;
			}
			default:
				jj_la1[23] = jj_gen;
			}
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void DatasetClause() throws ParseException {/* @bgen(jjtree) DatasetClause */
		ASTDatasetClause jjtn000 = new ASTDatasetClause(JJTDATASETCLAUSE);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(FROM);
			switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
			case NAMED:
			case Q_IRI_REF:
			case PNAME_NS:
			case PNAME_LN: {
				if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) == NAMED) {
					jj_consume_token(NAMED);
					jjtn000.setNamed(true);
				} else {
					jj_la1[24] = jj_gen;
				}
				IRIref();
				break;
			}
			case DEFAULT_GRAPH: {
				jj_consume_token(DEFAULT_GRAPH);
				break;
			}
			default:
				jj_la1[25] = jj_gen;
				jj_consume_token(-1);
				throw new ParseException();
			}
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void WhereClause() throws ParseException {/* @bgen(jjtree) WhereClause */
		ASTWhereClause jjtn000 = new ASTWhereClause(JJTWHERECLAUSE);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) == WHERE) {
				jj_consume_token(WHERE);
			} else {
				jj_la1[26] = jj_gen;
			}
			GroupGraphPattern();
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void BindingsClause() throws ParseException {/* @bgen(jjtree) BindingsClause */
		ASTBindingsClause jjtn000 = new ASTBindingsClause(JJTBINDINGSCLAUSE);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
			case VALUES: {
				jj_consume_token(VALUES);
				DataBlock();
				break;
			}
			case BINDINGS: {
				jj_consume_token(BINDINGS);
				label_8: while (true) {
					switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
					case VAR1:
					case VAR2: {
						break;
					}
					default:
						jj_la1[27] = jj_gen;
						break label_8;
					}
					Var();
				}
				jj_consume_token(LBRACE);
				label_9: while (true) {
					switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
					case LPAREN:
					case NIL: {
						break;
					}
					default:
						jj_la1[28] = jj_gen;
						break label_9;
					}
					BindingSet();
				}
				jj_consume_token(RBRACE);
				break;
			}
			default:
				jj_la1[29] = jj_gen;
				jj_consume_token(-1);
				throw new ParseException();
			}
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void InlineData() throws ParseException {/* @bgen(jjtree) InlineData */
		ASTInlineData jjtn000 = new ASTInlineData(JJTINLINEDATA);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(VALUES);
			DataBlock();
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void DataBlock() throws ParseException {
		switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
		case VAR1:
		case VAR2: {
			InlineDataOneVar();
			break;
		}
		case LPAREN:
		case NIL: {
			InlineDataFull();
			break;
		}
		default:
			jj_la1[30] = jj_gen;
			jj_consume_token(-1);
			throw new ParseException();
		}
	}

	final public void InlineDataOneVar() throws ParseException {
		Var();
		jj_consume_token(LBRACE);
		label_10: while (true) {
			switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
			case TRUE:
			case FALSE:
			case UNDEF:
			case Q_IRI_REF:
			case PNAME_NS:
			case PNAME_LN:
			case INTEGER:
			case INTEGER_POSITIVE:
			case INTEGER_NEGATIVE:
			case DECIMAL:
			case DECIMAL_POSITIVE:
			case DECIMAL_NEGATIVE:
			case DOUBLE:
			case DOUBLE_POSITIVE:
			case DOUBLE_NEGATIVE:
			case STRING_LITERAL1:
			case STRING_LITERAL2:
			case STRING_LITERAL_LONG1:
			case STRING_LITERAL_LONG2:
			case TRIPLE_OPEN: {
				break;
			}
			default:
				jj_la1[31] = jj_gen;
				break label_10;
			}
			SimpleBindingSet();
		}
		jj_consume_token(RBRACE);
	}

	final public void InlineDataFull() throws ParseException {
		switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
		case NIL: {
			jj_consume_token(NIL);
			break;
		}
		case LPAREN: {
			jj_consume_token(LPAREN);
			label_11: while (true) {
				switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
				case VAR1:
				case VAR2: {
					break;
				}
				default:
					jj_la1[32] = jj_gen;
					break label_11;
				}
				Var();
			}
			jj_consume_token(RPAREN);
			break;
		}
		default:
			jj_la1[33] = jj_gen;
			jj_consume_token(-1);
			throw new ParseException();
		}
		jj_consume_token(LBRACE);
		label_12: while (true) {
			switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
			case LPAREN:
			case NIL: {
				break;
			}
			default:
				jj_la1[34] = jj_gen;
				break label_12;
			}
			BindingSet();
		}
		jj_consume_token(RBRACE);
	}

	final public void SimpleBindingSet() throws ParseException {/* @bgen(jjtree) BindingSet */
		ASTBindingSet jjtn000 = new ASTBindingSet(JJTBINDINGSET);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			BindingValue();
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void BindingSet() throws ParseException {/* @bgen(jjtree) BindingSet */
		ASTBindingSet jjtn000 = new ASTBindingSet(JJTBINDINGSET);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
			case LPAREN: {
				jj_consume_token(LPAREN);
				label_13: while (true) {
					switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
					case TRUE:
					case FALSE:
					case UNDEF:
					case Q_IRI_REF:
					case PNAME_NS:
					case PNAME_LN:
					case INTEGER:
					case INTEGER_POSITIVE:
					case INTEGER_NEGATIVE:
					case DECIMAL:
					case DECIMAL_POSITIVE:
					case DECIMAL_NEGATIVE:
					case DOUBLE:
					case DOUBLE_POSITIVE:
					case DOUBLE_NEGATIVE:
					case STRING_LITERAL1:
					case STRING_LITERAL2:
					case STRING_LITERAL_LONG1:
					case STRING_LITERAL_LONG2:
					case TRIPLE_OPEN: {
						break;
					}
					default:
						jj_la1[35] = jj_gen;
						break label_13;
					}
					BindingValue();
				}
				jj_consume_token(RPAREN);
				break;
			}
			case NIL: {
				jj_consume_token(NIL);
				break;
			}
			default:
				jj_la1[36] = jj_gen;
				jj_consume_token(-1);
				throw new ParseException();
			}
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void BindingValue() throws ParseException {/* @bgen(jjtree) BindingValue */
		ASTBindingValue jjtn000 = new ASTBindingValue(JJTBINDINGVALUE);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
			case Q_IRI_REF:
			case PNAME_NS:
			case PNAME_LN: {
				IRIref();
				break;
			}
			case STRING_LITERAL1:
			case STRING_LITERAL2:
			case STRING_LITERAL_LONG1:
			case STRING_LITERAL_LONG2: {
				RDFLiteral();
				break;
			}
			case INTEGER:
			case INTEGER_POSITIVE:
			case INTEGER_NEGATIVE:
			case DECIMAL:
			case DECIMAL_POSITIVE:
			case DECIMAL_NEGATIVE:
			case DOUBLE:
			case DOUBLE_POSITIVE:
			case DOUBLE_NEGATIVE: {
				NumericLiteral();
				break;
			}
			case TRUE:
			case FALSE: {
				BooleanLiteral();
				break;
			}
			case UNDEF: {
				jj_consume_token(UNDEF);
				break;
			}
			case TRIPLE_OPEN: {
				ConstTripleRef();
				break;
			}
			default:
				jj_la1[37] = jj_gen;
				jj_consume_token(-1);
				throw new ParseException();
			}
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void SolutionModifier() throws ParseException {
		if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) == GROUP) {
			GroupClause();
		} else {
			jj_la1[38] = jj_gen;
		}
		if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) == HAVING) {
			HavingClause();
		} else {
			jj_la1[39] = jj_gen;
		}
		if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) == ORDER) {
			OrderClause();
		} else {
			jj_la1[40] = jj_gen;
		}
		switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
		case LIMIT:
		case OFFSET: {
			LimitOffsetClauses();
			break;
		}
		default:
			jj_la1[41] = jj_gen;
		}
	}

	final public void GroupClause() throws ParseException {/* @bgen(jjtree) GroupClause */
		ASTGroupClause jjtn000 = new ASTGroupClause(JJTGROUPCLAUSE);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(GROUP);
			jj_consume_token(BY);
			label_14: while (true) {
				GroupCondition();
				switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
				case LPAREN:
				case NOT_FUNC:
				case EXISTS:
				case STR:
				case LANG:
				case LANGMATCHES:
				case DATATYPE:
				case BOUND:
				case SAMETERM:
				case IS_IRI:
				case IS_BLANK:
				case IS_LITERAL:
				case IS_NUMERIC:
				case COALESCE:
				case BNODE:
				case STRDT:
				case STRLANG:
				case UUID:
				case STRUUID:
				case IRI:
				case IF:
				case REGEX:
				case STRLEN:
				case SUBSTR:
				case STR_STARTS:
				case STR_ENDS:
				case STR_BEFORE:
				case STR_AFTER:
				case REPLACE:
				case UCASE:
				case LCASE:
				case CONCAT:
				case CONTAINS:
				case ENCODE_FOR_URI:
				case RAND:
				case ABS:
				case CEIL:
				case FLOOR:
				case ROUND:
				case NOW:
				case YEAR:
				case MONTH:
				case DAY:
				case HOURS:
				case MINUTES:
				case SECONDS:
				case TIMEZONE:
				case TZ:
				case MD5:
				case SHA1:
				case SHA224:
				case SHA256:
				case SHA384:
				case SHA512:
				case Q_IRI_REF:
				case PNAME_NS:
				case PNAME_LN:
				case VAR1:
				case VAR2: {
					break;
				}
				default:
					jj_la1[42] = jj_gen;
					break label_14;
				}
			}
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void OrderClause() throws ParseException {/* @bgen(jjtree) OrderClause */
		ASTOrderClause jjtn000 = new ASTOrderClause(JJTORDERCLAUSE);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(ORDER);
			jj_consume_token(BY);
			label_15: while (true) {
				OrderCondition();
				switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
				case LPAREN:
				case ASC:
				case DESC:
				case NOT_FUNC:
				case EXISTS:
				case STR:
				case LANG:
				case LANGMATCHES:
				case DATATYPE:
				case BOUND:
				case SAMETERM:
				case IS_IRI:
				case IS_BLANK:
				case IS_LITERAL:
				case IS_NUMERIC:
				case COALESCE:
				case BNODE:
				case STRDT:
				case STRLANG:
				case UUID:
				case STRUUID:
				case IRI:
				case IF:
				case REGEX:
				case STRLEN:
				case SUBSTR:
				case STR_STARTS:
				case STR_ENDS:
				case STR_BEFORE:
				case STR_AFTER:
				case REPLACE:
				case UCASE:
				case LCASE:
				case CONCAT:
				case CONTAINS:
				case ENCODE_FOR_URI:
				case RAND:
				case ABS:
				case CEIL:
				case FLOOR:
				case ROUND:
				case NOW:
				case YEAR:
				case MONTH:
				case DAY:
				case HOURS:
				case MINUTES:
				case SECONDS:
				case TIMEZONE:
				case TZ:
				case MD5:
				case SHA1:
				case SHA224:
				case SHA256:
				case SHA384:
				case SHA512:
				case Q_IRI_REF:
				case PNAME_NS:
				case PNAME_LN:
				case VAR1:
				case VAR2: {
					break;
				}
				default:
					jj_la1[43] = jj_gen;
					break label_15;
				}
			}
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void GroupCondition() throws ParseException {/* @bgen(jjtree) GroupCondition */
		ASTGroupCondition jjtn000 = new ASTGroupCondition(JJTGROUPCONDITION);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
			case Q_IRI_REF:
			case PNAME_NS:
			case PNAME_LN: {
				FunctionCall();
				break;
			}
			case NOT_FUNC:
			case EXISTS:
			case STR:
			case LANG:
			case LANGMATCHES:
			case DATATYPE:
			case BOUND:
			case SAMETERM:
			case IS_IRI:
			case IS_BLANK:
			case IS_LITERAL:
			case IS_NUMERIC:
			case COALESCE:
			case BNODE:
			case STRDT:
			case STRLANG:
			case UUID:
			case STRUUID:
			case IRI:
			case IF:
			case REGEX:
			case STRLEN:
			case SUBSTR:
			case STR_STARTS:
			case STR_ENDS:
			case STR_BEFORE:
			case STR_AFTER:
			case REPLACE:
			case UCASE:
			case LCASE:
			case CONCAT:
			case CONTAINS:
			case ENCODE_FOR_URI:
			case RAND:
			case ABS:
			case CEIL:
			case FLOOR:
			case ROUND:
			case NOW:
			case YEAR:
			case MONTH:
			case DAY:
			case HOURS:
			case MINUTES:
			case SECONDS:
			case TIMEZONE:
			case TZ:
			case MD5:
			case SHA1:
			case SHA224:
			case SHA256:
			case SHA384:
			case SHA512: {
				BuiltInCall();
				break;
			}
			case LPAREN: {
				jj_consume_token(LPAREN);
				Expression();
				if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) == AS) {
					jj_consume_token(AS);
					Var();
				} else {
					jj_la1[44] = jj_gen;
				}
				jj_consume_token(RPAREN);
				break;
			}
			case VAR1:
			case VAR2: {
				Var();
				break;
			}
			default:
				jj_la1[45] = jj_gen;
				jj_consume_token(-1);
				throw new ParseException();
			}
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void HavingClause() throws ParseException {/* @bgen(jjtree) HavingClause */
		ASTHavingClause jjtn000 = new ASTHavingClause(JJTHAVINGCLAUSE);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(HAVING);
			Constraint();
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void OrderCondition() throws ParseException {/* @bgen(jjtree) OrderCondition */
		ASTOrderCondition jjtn000 = new ASTOrderCondition(JJTORDERCONDITION);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
			case LPAREN:
			case ASC:
			case DESC: {
				switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
				case ASC:
				case DESC: {
					switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
					case ASC: {
						jj_consume_token(ASC);
						break;
					}
					case DESC: {
						jj_consume_token(DESC);
						jjtn000.setAscending(false);
						break;
					}
					default:
						jj_la1[46] = jj_gen;
						jj_consume_token(-1);
						throw new ParseException();
					}
					break;
				}
				default:
					jj_la1[47] = jj_gen;
				}
				BrackettedExpression();
				break;
			}
			case Q_IRI_REF:
			case PNAME_NS:
			case PNAME_LN: {
				FunctionCall();
				break;
			}
			case NOT_FUNC:
			case EXISTS:
			case STR:
			case LANG:
			case LANGMATCHES:
			case DATATYPE:
			case BOUND:
			case SAMETERM:
			case IS_IRI:
			case IS_BLANK:
			case IS_LITERAL:
			case IS_NUMERIC:
			case COALESCE:
			case BNODE:
			case STRDT:
			case STRLANG:
			case UUID:
			case STRUUID:
			case IRI:
			case IF:
			case REGEX:
			case STRLEN:
			case SUBSTR:
			case STR_STARTS:
			case STR_ENDS:
			case STR_BEFORE:
			case STR_AFTER:
			case REPLACE:
			case UCASE:
			case LCASE:
			case CONCAT:
			case CONTAINS:
			case ENCODE_FOR_URI:
			case RAND:
			case ABS:
			case CEIL:
			case FLOOR:
			case ROUND:
			case NOW:
			case YEAR:
			case MONTH:
			case DAY:
			case HOURS:
			case MINUTES:
			case SECONDS:
			case TIMEZONE:
			case TZ:
			case MD5:
			case SHA1:
			case SHA224:
			case SHA256:
			case SHA384:
			case SHA512: {
				BuiltInCall();
				break;
			}
			case VAR1:
			case VAR2: {
				Var();
				break;
			}
			default:
				jj_la1[48] = jj_gen;
				jj_consume_token(-1);
				throw new ParseException();
			}
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void LimitOffsetClauses() throws ParseException {
		switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
		case LIMIT: {
			Limit();
			if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) == OFFSET) {
				Offset();
			} else {
				jj_la1[49] = jj_gen;
			}
			break;
		}
		case OFFSET: {
			Offset();
			if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) == LIMIT) {
				Limit();
			} else {
				jj_la1[50] = jj_gen;
			}
			break;
		}
		default:
			jj_la1[51] = jj_gen;
			jj_consume_token(-1);
			throw new ParseException();
		}
	}

	final public void Limit() throws ParseException {/* @bgen(jjtree) Limit */
		ASTLimit jjtn000 = new ASTLimit(JJTLIMIT);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		Token t;
		try {
			jj_consume_token(LIMIT);
			t = jj_consume_token(INTEGER);
			jjtree.closeNodeScope(jjtn000, true);
			jjtc000 = false;
			jjtn000.setValue(Long.parseLong(t.image));
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void Offset() throws ParseException {/* @bgen(jjtree) Offset */
		ASTOffset jjtn000 = new ASTOffset(JJTOFFSET);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		Token t;
		try {
			jj_consume_token(OFFSET);
			t = jj_consume_token(INTEGER);
			jjtree.closeNodeScope(jjtn000, true);
			jjtc000 = false;
			jjtn000.setValue(Long.parseLong(t.image));
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public Token GroupGraphPattern() throws ParseException, Error {/* @bgen(jjtree) GraphPatternGroup */
		ASTGraphPatternGroup jjtn000 = new ASTGraphPatternGroup(JJTGRAPHPATTERNGROUP);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		Token endOfPatternToken;
		try {
			jj_consume_token(LBRACE);
			if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) == SELECT) {
				SubSelect();
			} else {
				jj_la1[52] = jj_gen;
				GraphPattern();
			}
			endOfPatternToken = jj_consume_token(RBRACE);
			jjtree.closeNodeScope(jjtn000, true);
			jjtc000 = false;
			{
				return endOfPatternToken;
			}
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void GraphPattern() throws ParseException {
		switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
		case LPAREN:
		case LBRACK:
		case NIL:
		case ANON:
		case FILTER:
		case TRUE:
		case FALSE:
		case BIND:
		case Q_IRI_REF:
		case PNAME_NS:
		case PNAME_LN:
		case BLANK_NODE_LABEL:
		case VAR1:
		case VAR2:
		case INTEGER:
		case INTEGER_POSITIVE:
		case INTEGER_NEGATIVE:
		case DECIMAL:
		case DECIMAL_POSITIVE:
		case DECIMAL_NEGATIVE:
		case DOUBLE:
		case DOUBLE_POSITIVE:
		case DOUBLE_NEGATIVE:
		case STRING_LITERAL1:
		case STRING_LITERAL2:
		case STRING_LITERAL_LONG1:
		case STRING_LITERAL_LONG2:
		case TRIPLE_OPEN: {
			BasicGraphPattern();
			break;
		}
		default:
			jj_la1[53] = jj_gen;
		}
		switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
		case LBRACE:
		case OPTIONAL:
		case GRAPH:
		case MINUS_SETOPER:
		case SERVICE:
		case VALUES: {
			GraphPatternNotTriples();
			if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) == DOT) {
				jj_consume_token(DOT);
			} else {
				jj_la1[54] = jj_gen;
			}
			GraphPattern();
			break;
		}
		default:
			jj_la1[55] = jj_gen;
		}
	}

	final public void BasicGraphPattern() throws ParseException {/* @bgen(jjtree) BasicGraphPattern */
		ASTBasicGraphPattern jjtn000 = new ASTBasicGraphPattern(JJTBASICGRAPHPATTERN);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
			case LPAREN:
			case LBRACK:
			case NIL:
			case ANON:
			case TRUE:
			case FALSE:
			case Q_IRI_REF:
			case PNAME_NS:
			case PNAME_LN:
			case BLANK_NODE_LABEL:
			case VAR1:
			case VAR2:
			case INTEGER:
			case INTEGER_POSITIVE:
			case INTEGER_NEGATIVE:
			case DECIMAL:
			case DECIMAL_POSITIVE:
			case DECIMAL_NEGATIVE:
			case DOUBLE:
			case DOUBLE_POSITIVE:
			case DOUBLE_NEGATIVE:
			case STRING_LITERAL1:
			case STRING_LITERAL2:
			case STRING_LITERAL_LONG1:
			case STRING_LITERAL_LONG2:
			case TRIPLE_OPEN: {
				TriplesBlock();
				label_16: while (true) {
					switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
					case FILTER:
					case BIND: {
						break;
					}
					default:
						jj_la1[56] = jj_gen;
						break label_16;
					}
					FilterOrBind();
					if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) == DOT) {
						jj_consume_token(DOT);
					} else {
						jj_la1[57] = jj_gen;
					}
					switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
					case LPAREN:
					case LBRACK:
					case NIL:
					case ANON:
					case TRUE:
					case FALSE:
					case Q_IRI_REF:
					case PNAME_NS:
					case PNAME_LN:
					case BLANK_NODE_LABEL:
					case VAR1:
					case VAR2:
					case INTEGER:
					case INTEGER_POSITIVE:
					case INTEGER_NEGATIVE:
					case DECIMAL:
					case DECIMAL_POSITIVE:
					case DECIMAL_NEGATIVE:
					case DOUBLE:
					case DOUBLE_POSITIVE:
					case DOUBLE_NEGATIVE:
					case STRING_LITERAL1:
					case STRING_LITERAL2:
					case STRING_LITERAL_LONG1:
					case STRING_LITERAL_LONG2:
					case TRIPLE_OPEN: {
						TriplesBlock();
						break;
					}
					default:
						jj_la1[58] = jj_gen;
					}
				}
				break;
			}
			case FILTER:
			case BIND: {
				label_17: while (true) {
					FilterOrBind();
					if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) == DOT) {
						jj_consume_token(DOT);
					} else {
						jj_la1[59] = jj_gen;
					}
					switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
					case LPAREN:
					case LBRACK:
					case NIL:
					case ANON:
					case TRUE:
					case FALSE:
					case Q_IRI_REF:
					case PNAME_NS:
					case PNAME_LN:
					case BLANK_NODE_LABEL:
					case VAR1:
					case VAR2:
					case INTEGER:
					case INTEGER_POSITIVE:
					case INTEGER_NEGATIVE:
					case DECIMAL:
					case DECIMAL_POSITIVE:
					case DECIMAL_NEGATIVE:
					case DOUBLE:
					case DOUBLE_POSITIVE:
					case DOUBLE_NEGATIVE:
					case STRING_LITERAL1:
					case STRING_LITERAL2:
					case STRING_LITERAL_LONG1:
					case STRING_LITERAL_LONG2:
					case TRIPLE_OPEN: {
						TriplesBlock();
						break;
					}
					default:
						jj_la1[60] = jj_gen;
					}
					switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
					case FILTER:
					case BIND: {
						break;
					}
					default:
						jj_la1[61] = jj_gen;
						break label_17;
					}
				}
				break;
			}
			default:
				jj_la1[62] = jj_gen;
				jj_consume_token(-1);
				throw new ParseException();
			}
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void FilterOrBind() throws ParseException {
		switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
		case FILTER: {
			Filter();
			break;
		}
		case BIND: {
			Bind();
			break;
		}
		default:
			jj_la1[63] = jj_gen;
			jj_consume_token(-1);
			throw new ParseException();
		}
	}

	final public void TriplesBlock() throws ParseException {
		TriplesSameSubjectPath();
		while (jj_2_2()) {
			jj_consume_token(DOT);
			TriplesSameSubjectPath();
		}
		if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) == DOT) {
			jj_consume_token(DOT);
		} else {
			jj_la1[64] = jj_gen;
		}
	}

	final public void TriplesTemplate() throws ParseException {
		TriplesSameSubject();
		while (jj_2_3()) {
			jj_consume_token(DOT);
			TriplesSameSubject();
		}
		if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) == DOT) {
			jj_consume_token(DOT);
		} else {
			jj_la1[65] = jj_gen;
		}
	}

	final public void GraphPatternNotTriples() throws ParseException {
		switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
		case OPTIONAL: {
			OptionalGraphPattern();
			break;
		}
		case LBRACE: {
			GroupOrUnionGraphPattern();
			break;
		}
		case GRAPH: {
			GraphGraphPattern();
			break;
		}
		case MINUS_SETOPER: {
			MinusGraphPattern();
			break;
		}
		case SERVICE: {
			ServiceGraphPattern();
			break;
		}
		case VALUES: {
			InlineData();
			break;
		}
		default:
			jj_la1[66] = jj_gen;
			jj_consume_token(-1);
			throw new ParseException();
		}
	}

	final public void OptionalGraphPattern() throws ParseException {/* @bgen(jjtree) OptionalGraphPattern */
		ASTOptionalGraphPattern jjtn000 = new ASTOptionalGraphPattern(JJTOPTIONALGRAPHPATTERN);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(OPTIONAL);
			jj_consume_token(LBRACE);
			if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) == SELECT) {
				SubSelect();
			} else {
				jj_la1[67] = jj_gen;
				GraphPattern();
			}
			jj_consume_token(RBRACE);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void GraphGraphPattern() throws ParseException {/* @bgen(jjtree) GraphGraphPattern */
		ASTGraphGraphPattern jjtn000 = new ASTGraphGraphPattern(JJTGRAPHGRAPHPATTERN);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(GRAPH);
			VarOrIRIref();
			GroupGraphPattern();
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void GroupOrUnionGraphPattern() throws ParseException {
		GroupGraphPattern();
		if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) == UNION) {
			jj_consume_token(UNION);
			ASTUnionGraphPattern jjtn001 = new ASTUnionGraphPattern(JJTUNIONGRAPHPATTERN);
			boolean jjtc001 = true;
			jjtree.openNodeScope(jjtn001);
			try {
				GroupOrUnionGraphPattern();
			} catch (Throwable jjte001) {
				jjtree.clearNodeScope(jjtn001);
				jjtc001 = false;
				if (jjte001 instanceof RuntimeException) {
					{
						throw (RuntimeException) jjte001;
					}
				}
				if (jjte001 instanceof ParseException) {
					{
						throw (ParseException) jjte001;
					}
				}
				{
					throw (Error) jjte001;
				}
			} finally {
				if (jjtc001) {
					jjtree.closeNodeScope(jjtn001, 2);
				}
			}
		} else {
			jj_la1[68] = jj_gen;
		}
	}

	final public void MinusGraphPattern() throws ParseException {/* @bgen(jjtree) MinusGraphPattern */
		ASTMinusGraphPattern jjtn000 = new ASTMinusGraphPattern(JJTMINUSGRAPHPATTERN);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(MINUS_SETOPER);
			GroupGraphPattern();
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void ServiceGraphPattern() throws ParseException {/* @bgen(jjtree) ServiceGraphPattern */
		ASTServiceGraphPattern jjtn000 = new ASTServiceGraphPattern(JJTSERVICEGRAPHPATTERN);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		Token t;
		try {
			t = jj_consume_token(SERVICE);
			jjtn000.setBeginTokenLinePos(t.beginLine);
			jjtn000.setBeginTokenColumnPos(t.beginColumn);
			if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) == SILENT) {
				jj_consume_token(SILENT);
				jjtn000.setSilent(true);
			} else {
				jj_la1[69] = jj_gen;
			}
			VarOrIRIref();
			t = GroupGraphPattern();
			jjtree.closeNodeScope(jjtn000, true);
			jjtc000 = false;
			jjtn000.setEndTokenLinePos(t.beginLine);
			jjtn000.setEndTokenColumnPos(t.beginColumn);
		} catch (Throwable jjte000) {
			if (jjtc000) {
				jjtree.clearNodeScope(jjtn000);
				jjtc000 = false;
			} else {
				jjtree.popNode();
			}
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void Filter() throws ParseException {
		jj_consume_token(FILTER);
		Constraint();
	}

	final public void Constraint() throws ParseException {/* @bgen(jjtree) Constraint */
		ASTConstraint jjtn000 = new ASTConstraint(JJTCONSTRAINT);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
			case LPAREN: {
				BrackettedExpression();
				break;
			}
			case NOT_FUNC:
			case EXISTS:
			case STR:
			case LANG:
			case LANGMATCHES:
			case DATATYPE:
			case BOUND:
			case SAMETERM:
			case IS_IRI:
			case IS_BLANK:
			case IS_LITERAL:
			case IS_NUMERIC:
			case COALESCE:
			case BNODE:
			case STRDT:
			case STRLANG:
			case UUID:
			case STRUUID:
			case IRI:
			case IF:
			case REGEX:
			case STRLEN:
			case SUBSTR:
			case STR_STARTS:
			case STR_ENDS:
			case STR_BEFORE:
			case STR_AFTER:
			case REPLACE:
			case UCASE:
			case LCASE:
			case CONCAT:
			case CONTAINS:
			case ENCODE_FOR_URI:
			case RAND:
			case ABS:
			case CEIL:
			case FLOOR:
			case ROUND:
			case NOW:
			case YEAR:
			case MONTH:
			case DAY:
			case HOURS:
			case MINUTES:
			case SECONDS:
			case TIMEZONE:
			case TZ:
			case MD5:
			case SHA1:
			case SHA224:
			case SHA256:
			case SHA384:
			case SHA512: {
				BuiltInCall();
				break;
			}
			case Q_IRI_REF:
			case PNAME_NS:
			case PNAME_LN: {
				FunctionCall();
				break;
			}
			default:
				jj_la1[70] = jj_gen;
				jj_consume_token(-1);
				throw new ParseException();
			}
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void FunctionCall() throws ParseException {/* @bgen(jjtree) FunctionCall */
		ASTFunctionCall jjtn000 = new ASTFunctionCall(JJTFUNCTIONCALL);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			IRIref();
			switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
			case LPAREN:
				jj_consume_token(LPAREN);
				if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) == DISTINCT) {
					jj_consume_token(DISTINCT);
					jjtn000.setDistinct(true);
				} else {
					jj_la1[71] = jj_gen;
				}
				Expression();
				while (true) {
					if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) != COMMA) {
						jj_la1[72] = jj_gen;
						break;
					}
					jj_consume_token(COMMA);
					Expression();
				}
				jj_consume_token(RPAREN);
				break;
			case NIL:
				jj_consume_token(NIL);
				break;
			default:
				jj_la1[73] = jj_gen;
				jj_consume_token(-1);
				throw new ParseException();
			}
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void ArgList() throws ParseException {
		switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
		case NIL:
			jj_consume_token(NIL);
			break;
		case LPAREN:
			jj_consume_token(LPAREN);
			Expression();
			while (true) {
				if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) != COMMA) {
					jj_la1[74] = jj_gen;
					break;
				}
				jj_consume_token(COMMA);
				Expression();
			}
			jj_consume_token(RPAREN);
			break;
		default:
			jj_la1[75] = jj_gen;
			jj_consume_token(-1);
			throw new ParseException();
		}
	}

	final public void TriplesSameSubject() throws ParseException {/* @bgen(jjtree) TriplesSameSubject */
		ASTTriplesSameSubject jjtn000 = new ASTTriplesSameSubject(JJTTRIPLESSAMESUBJECT);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
			case NIL:
			case ANON:
			case TRUE:
			case FALSE:
			case Q_IRI_REF:
			case PNAME_NS:
			case PNAME_LN:
			case BLANK_NODE_LABEL:
			case VAR1:
			case VAR2:
			case INTEGER:
			case INTEGER_POSITIVE:
			case INTEGER_NEGATIVE:
			case DECIMAL:
			case DECIMAL_POSITIVE:
			case DECIMAL_NEGATIVE:
			case DOUBLE:
			case DOUBLE_POSITIVE:
			case DOUBLE_NEGATIVE:
			case STRING_LITERAL1:
			case STRING_LITERAL2:
			case STRING_LITERAL_LONG1:
			case STRING_LITERAL_LONG2:
			case TRIPLE_OPEN: {
				VarOrTerm();
				PropertyList();
				break;
			}
			case LPAREN:
			case LBRACK: {
				TriplesNode();
				switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
				case IS_A:
				case Q_IRI_REF:
				case PNAME_NS:
				case PNAME_LN:
				case VAR1:
				case VAR2: {
					PropertyList();
					break;
				}
				default:
					jj_la1[76] = jj_gen;
				}
				break;
			}
			default:
				jj_la1[77] = jj_gen;
				jj_consume_token(-1);
				throw new ParseException();
			}
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void PropertyList() throws ParseException {/* @bgen(jjtree) PropertyList */
		ASTPropertyList jjtn000 = new ASTPropertyList(JJTPROPERTYLIST);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			Verb();
			ObjectList();
			if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) == SEMICOLON) {
				jj_consume_token(SEMICOLON);
				switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
				case IS_A:
				case Q_IRI_REF:
				case PNAME_NS:
				case PNAME_LN:
				case VAR1:
				case VAR2: {
					PropertyList();
					break;
				}
				default:
					jj_la1[78] = jj_gen;
				}
			} else {
				jj_la1[79] = jj_gen;
			}
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void ObjectList() throws ParseException {/* @bgen(jjtree) ObjectList */
		ASTObjectList jjtn000 = new ASTObjectList(JJTOBJECTLIST);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			Object();
			while (true) {
				if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) != COMMA) {
					jj_la1[80] = jj_gen;
					break;
				}
				jj_consume_token(COMMA);
				Object();
			}
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void TriplesSameSubjectPath() throws ParseException {/* @bgen(jjtree) TriplesSameSubjectPath */
		ASTTriplesSameSubjectPath jjtn000 = new ASTTriplesSameSubjectPath(JJTTRIPLESSAMESUBJECTPATH);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
			case NIL:
			case ANON:
			case TRUE:
			case FALSE:
			case Q_IRI_REF:
			case PNAME_NS:
			case PNAME_LN:
			case BLANK_NODE_LABEL:
			case VAR1:
			case VAR2:
			case INTEGER:
			case INTEGER_POSITIVE:
			case INTEGER_NEGATIVE:
			case DECIMAL:
			case DECIMAL_POSITIVE:
			case DECIMAL_NEGATIVE:
			case DOUBLE:
			case DOUBLE_POSITIVE:
			case DOUBLE_NEGATIVE:
			case STRING_LITERAL1:
			case STRING_LITERAL2:
			case STRING_LITERAL_LONG1:
			case STRING_LITERAL_LONG2:
			case TRIPLE_OPEN: {
				VarOrTerm();
				PropertyListPath();
				break;
			}
			case LPAREN:
			case LBRACK: {
				TriplesNodePath();
				switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
				case LPAREN:
				case NOT:
				case INVERSE:
				case IS_A:
				case Q_IRI_REF:
				case PNAME_NS:
				case PNAME_LN:
				case VAR1:
				case VAR2: {
					PropertyListPath();
					break;
				}
				default:
					jj_la1[81] = jj_gen;
				}
				break;
			}
			default:
				jj_la1[82] = jj_gen;
				jj_consume_token(-1);
				throw new ParseException();
			}
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void PropertyListPath() throws ParseException {/* @bgen(jjtree) PropertyListPath */
		ASTPropertyListPath jjtn000 = new ASTPropertyListPath(JJTPROPERTYLISTPATH);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
			case LPAREN:
			case NOT:
			case INVERSE:
			case IS_A:
			case Q_IRI_REF:
			case PNAME_NS:
			case PNAME_LN: {
				VerbPath();
				break;
			}
			case VAR1:
			case VAR2: {
				VerbSimple();
				break;
			}
			default:
				jj_la1[83] = jj_gen;
				jj_consume_token(-1);
				throw new ParseException();
			}
			ObjectListPath();
			if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) == SEMICOLON) {
				jj_consume_token(SEMICOLON);
				switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
				case LPAREN:
				case NOT:
				case INVERSE:
				case IS_A:
				case Q_IRI_REF:
				case PNAME_NS:
				case PNAME_LN:
				case VAR1:
				case VAR2: {
					PropertyListPath();
					break;
				}
				default:
					jj_la1[84] = jj_gen;
				}
			} else {
				jj_la1[85] = jj_gen;
			}
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void ObjectListPath() throws ParseException {/* @bgen(jjtree) ObjectList */
		ASTObjectList jjtn000 = new ASTObjectList(JJTOBJECTLIST);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			ObjectPath();
			while (true) {
				if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) != COMMA) {
					jj_la1[86] = jj_gen;
					break;
				}
				jj_consume_token(COMMA);
				ObjectPath();
			}
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void VerbPath() throws ParseException {
		Path();
	}

	final public void Path() throws ParseException {
		PathAlternative();
	}

	final public void PathAlternative() throws ParseException {/* @bgen(jjtree) PathAlternative */
		ASTPathAlternative jjtn000 = new ASTPathAlternative(JJTPATHALTERNATIVE);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			PathSequence();
			while (true) {
				if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) != PIPE) {
					jj_la1[87] = jj_gen;
					break;
				}
				jj_consume_token(PIPE);
				PathSequence();
			}
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void PathSequence() throws ParseException {/* @bgen(jjtree) PathSequence */
		ASTPathSequence jjtn000 = new ASTPathSequence(JJTPATHSEQUENCE);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			PathElt();
			while (true) {
				if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) != SLASH) {
					jj_la1[88] = jj_gen;
					break;
				}
				jj_consume_token(SLASH);
				PathElt();
			}
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void PathElt() throws ParseException {/* @bgen(jjtree) PathElt */
		ASTPathElt jjtn000 = new ASTPathElt(JJTPATHELT);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) == INVERSE) {
				jj_consume_token(INVERSE);
				jjtn000.setInverse(true);
			} else {
				jj_la1[89] = jj_gen;
			}
			PathPrimary();
			switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
			case PLUS:
			case STAR:
			case QUESTION: {
				PathMod();
				break;
			}
			default:
				jj_la1[90] = jj_gen;
			}
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void PathPrimary() throws ParseException {
		switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
		case Q_IRI_REF:
		case PNAME_NS:
		case PNAME_LN: {
			IRIref();
			break;
		}
		case IS_A: {
			jj_consume_token(IS_A);
			ASTIRI jjtn001 = new ASTIRI(JJTIRI);
			boolean jjtc001 = true;
			jjtree.openNodeScope(jjtn001);
			try {
				jjtree.closeNodeScope(jjtn001, true);
				jjtc001 = false;
				jjtn001.setValue(RDF.TYPE.toString());
			} finally {
				if (jjtc001) {
					jjtree.closeNodeScope(jjtn001, true);
				}
			}
			break;
		}
		case NOT: {
			jj_consume_token(NOT);
			PathNegatedPropertySet();
			break;
		}
		case LPAREN: {
			jj_consume_token(LPAREN);
			Path();
			jj_consume_token(RPAREN);
			break;
		}
		default:
			jj_la1[91] = jj_gen;
			jj_consume_token(-1);
			throw new ParseException();
		}
	}

	final public void PathNegatedPropertySet() throws ParseException {
		switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
		case INVERSE:
		case IS_A:
		case Q_IRI_REF:
		case PNAME_NS:
		case PNAME_LN: {
			PathOneInPropertySet();
			break;
		}
		case LPAREN: {
			jj_consume_token(LPAREN);
			switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
			case INVERSE:
			case IS_A:
			case Q_IRI_REF:
			case PNAME_NS:
			case PNAME_LN: {
				PathOneInPropertySet();
				while (true) {
					if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) != PIPE) {
						jj_la1[92] = jj_gen;
						break;
					}
					jj_consume_token(PIPE);
					PathOneInPropertySet();
				}
				break;
			}
			default:
				jj_la1[93] = jj_gen;
			}
			jj_consume_token(RPAREN);
			break;
		}
		default:
			jj_la1[94] = jj_gen;
			jj_consume_token(-1);
			throw new ParseException();
		}
	}

	final public void PathOneInPropertySet() throws ParseException {/* @bgen(jjtree) PathOneInPropertySet */
		ASTPathOneInPropertySet jjtn000 = new ASTPathOneInPropertySet(JJTPATHONEINPROPERTYSET);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
			case Q_IRI_REF:
			case PNAME_NS:
			case PNAME_LN: {
				IRIref();
				break;
			}
			case IS_A: {
				jj_consume_token(IS_A);
				ASTIRI jjtn001 = new ASTIRI(JJTIRI);
				boolean jjtc001 = true;
				jjtree.openNodeScope(jjtn001);
				try {
					jjtree.closeNodeScope(jjtn001, true);
					jjtc001 = false;
					jjtn001.setValue(RDF.TYPE.toString());
				} finally {
					if (jjtc001) {
						jjtree.closeNodeScope(jjtn001, true);
					}
				}
				break;
			}
			case INVERSE: {
				jj_consume_token(INVERSE);
				jjtn000.setInverse(true);
				switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
				case Q_IRI_REF:
				case PNAME_NS:
				case PNAME_LN: {
					IRIref();
					break;
				}
				case IS_A: {
					jj_consume_token(IS_A);
					ASTIRI jjtn002 = new ASTIRI(JJTIRI);
					boolean jjtc002 = true;
					jjtree.openNodeScope(jjtn002);
					try {
						jjtree.closeNodeScope(jjtn002, true);
						jjtc002 = false;
						jjtn002.setValue(RDF.TYPE.toString());
					} finally {
						if (jjtc002) {
							jjtree.closeNodeScope(jjtn002, true);
						}
					}
					break;
				}
				default:
					jj_la1[95] = jj_gen;
					jj_consume_token(-1);
					throw new ParseException();
				}
				break;
			}
			default:
				jj_la1[96] = jj_gen;
				jj_consume_token(-1);
				throw new ParseException();
			}
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void PathMod() throws ParseException {/* @bgen(jjtree) PathMod */
		ASTPathMod jjtn000 = new ASTPathMod(JJTPATHMOD);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
			case STAR: {
				jj_consume_token(STAR);
				jjtree.closeNodeScope(jjtn000, true);
				jjtc000 = false;
				jjtn000.setLowerBound(0);
				jjtn000.setUpperBound(Long.MAX_VALUE);
				break;
			}
			case QUESTION: {
				jj_consume_token(QUESTION);
				jjtree.closeNodeScope(jjtn000, true);
				jjtc000 = false;
				jjtn000.setLowerBound(0);
				jjtn000.setUpperBound(1);
				break;
			}
			case PLUS: {
				jj_consume_token(PLUS);
				jjtree.closeNodeScope(jjtn000, true);
				jjtc000 = false;
				jjtn000.setLowerBound(1);
				jjtn000.setUpperBound(Long.MAX_VALUE);
				break;
			}
			default:
				jj_la1[97] = jj_gen;
				jj_consume_token(-1);
				throw new ParseException();
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void VerbSimple() throws ParseException {
		Var();
	}

	final public void Object() throws ParseException {
		GraphNode();
	}

	final public void ObjectPath() throws ParseException {
		GraphNodePath();
	}

	final public void Verb() throws ParseException {
		switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
		case Q_IRI_REF:
		case PNAME_NS:
		case PNAME_LN:
		case VAR1:
		case VAR2: {
			VarOrIRIref();
			break;
		}
		case IS_A: {
			jj_consume_token(IS_A);
			ASTIRI jjtn001 = new ASTIRI(JJTIRI);
			boolean jjtc001 = true;
			jjtree.openNodeScope(jjtn001);
			try {
				jjtree.closeNodeScope(jjtn001, true);
				jjtc001 = false;
				jjtn001.setValue(RDF.TYPE.toString());
			} finally {
				if (jjtc001) {
					jjtree.closeNodeScope(jjtn001, true);
				}
			}
			break;
		}
		default:
			jj_la1[98] = jj_gen;
			jj_consume_token(-1);
			throw new ParseException();
		}
	}

	final public void TriplesNode() throws ParseException {
		switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
		case LPAREN: {
			Collection();
			break;
		}
		case LBRACK: {
			BlankNodePropertyList();
			break;
		}
		default:
			jj_la1[99] = jj_gen;
			jj_consume_token(-1);
			throw new ParseException();
		}
	}

	final public void TriplesNodePath() throws ParseException {
		switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
		case LPAREN: {
			CollectionPath();
			break;
		}
		case LBRACK: {
			BlankNodePropertyListPath();
			break;
		}
		default:
			jj_la1[100] = jj_gen;
			jj_consume_token(-1);
			throw new ParseException();
		}
	}

	final public void BlankNodePropertyList() throws ParseException {/* @bgen(jjtree) BlankNodePropertyList */
		ASTBlankNodePropertyList jjtn000 = new ASTBlankNodePropertyList(JJTBLANKNODEPROPERTYLIST);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(LBRACK);
			PropertyList();
			jj_consume_token(RBRACK);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void BlankNodePropertyListPath() throws ParseException {/* @bgen(jjtree) BlankNodePropertyList */
		ASTBlankNodePropertyList jjtn000 = new ASTBlankNodePropertyList(JJTBLANKNODEPROPERTYLIST);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(LBRACK);
			PropertyListPath();
			jj_consume_token(RBRACK);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void Collection() throws ParseException {/* @bgen(jjtree) Collection */
		ASTCollection jjtn000 = new ASTCollection(JJTCOLLECTION);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(LPAREN);
			label_27: while (true) {
				GraphNode();
				switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
				case LPAREN:
				case LBRACK:
				case NIL:
				case ANON:
				case TRUE:
				case FALSE:
				case Q_IRI_REF:
				case PNAME_NS:
				case PNAME_LN:
				case BLANK_NODE_LABEL:
				case VAR1:
				case VAR2:
				case INTEGER:
				case INTEGER_POSITIVE:
				case INTEGER_NEGATIVE:
				case DECIMAL:
				case DECIMAL_POSITIVE:
				case DECIMAL_NEGATIVE:
				case DOUBLE:
				case DOUBLE_POSITIVE:
				case DOUBLE_NEGATIVE:
				case STRING_LITERAL1:
				case STRING_LITERAL2:
				case STRING_LITERAL_LONG1:
				case STRING_LITERAL_LONG2:
				case TRIPLE_OPEN: {
					break;
				}
				default:
					jj_la1[101] = jj_gen;
					break label_27;
				}
			}
			jj_consume_token(RPAREN);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void CollectionPath() throws ParseException {/* @bgen(jjtree) Collection */
		ASTCollection jjtn000 = new ASTCollection(JJTCOLLECTION);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(LPAREN);
			label_28: while (true) {
				GraphNodePath();
				switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
				case LPAREN:
				case LBRACK:
				case NIL:
				case ANON:
				case TRUE:
				case FALSE:
				case Q_IRI_REF:
				case PNAME_NS:
				case PNAME_LN:
				case BLANK_NODE_LABEL:
				case VAR1:
				case VAR2:
				case INTEGER:
				case INTEGER_POSITIVE:
				case INTEGER_NEGATIVE:
				case DECIMAL:
				case DECIMAL_POSITIVE:
				case DECIMAL_NEGATIVE:
				case DOUBLE:
				case DOUBLE_POSITIVE:
				case DOUBLE_NEGATIVE:
				case STRING_LITERAL1:
				case STRING_LITERAL2:
				case STRING_LITERAL_LONG1:
				case STRING_LITERAL_LONG2:
				case TRIPLE_OPEN: {
					break;
				}
				default:
					jj_la1[102] = jj_gen;
					break label_28;
				}
			}
			jj_consume_token(RPAREN);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void GraphNode() throws ParseException {
		switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
		case NIL:
		case ANON:
		case TRUE:
		case FALSE:
		case Q_IRI_REF:
		case PNAME_NS:
		case PNAME_LN:
		case BLANK_NODE_LABEL:
		case VAR1:
		case VAR2:
		case INTEGER:
		case INTEGER_POSITIVE:
		case INTEGER_NEGATIVE:
		case DECIMAL:
		case DECIMAL_POSITIVE:
		case DECIMAL_NEGATIVE:
		case DOUBLE:
		case DOUBLE_POSITIVE:
		case DOUBLE_NEGATIVE:
		case STRING_LITERAL1:
		case STRING_LITERAL2:
		case STRING_LITERAL_LONG1:
		case STRING_LITERAL_LONG2:
		case TRIPLE_OPEN: {
			VarOrTerm();
			break;
		}
		case LPAREN:
		case LBRACK: {
			TriplesNode();
			break;
		}
		default:
			jj_la1[103] = jj_gen;
			jj_consume_token(-1);
			throw new ParseException();
		}
	}

	final public void GraphNodePath() throws ParseException {
		switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
		case NIL:
		case ANON:
		case TRUE:
		case FALSE:
		case Q_IRI_REF:
		case PNAME_NS:
		case PNAME_LN:
		case BLANK_NODE_LABEL:
		case VAR1:
		case VAR2:
		case INTEGER:
		case INTEGER_POSITIVE:
		case INTEGER_NEGATIVE:
		case DECIMAL:
		case DECIMAL_POSITIVE:
		case DECIMAL_NEGATIVE:
		case DOUBLE:
		case DOUBLE_POSITIVE:
		case DOUBLE_NEGATIVE:
		case STRING_LITERAL1:
		case STRING_LITERAL2:
		case STRING_LITERAL_LONG1:
		case STRING_LITERAL_LONG2:
		case TRIPLE_OPEN: {
			VarOrTerm();
			break;
		}
		case LPAREN:
		case LBRACK: {
			TriplesNodePath();
			break;
		}
		default:
			jj_la1[104] = jj_gen;
			jj_consume_token(-1);
			throw new ParseException();
		}
	}

	final public void VarOrTerm() throws ParseException {
		switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
		case VAR1:
		case VAR2: {
			Var();
			break;
		}
		case NIL:
		case ANON:
		case TRUE:
		case FALSE:
		case Q_IRI_REF:
		case PNAME_NS:
		case PNAME_LN:
		case BLANK_NODE_LABEL:
		case INTEGER:
		case INTEGER_POSITIVE:
		case INTEGER_NEGATIVE:
		case DECIMAL:
		case DECIMAL_POSITIVE:
		case DECIMAL_NEGATIVE:
		case DOUBLE:
		case DOUBLE_POSITIVE:
		case DOUBLE_NEGATIVE:
		case STRING_LITERAL1:
		case STRING_LITERAL2:
		case STRING_LITERAL_LONG1:
		case STRING_LITERAL_LONG2:
		case TRIPLE_OPEN: {
			GraphTerm();
			break;
		}
		default:
			jj_la1[105] = jj_gen;
			jj_consume_token(-1);
			throw new ParseException();
		}
	}

	final public void VarOrIRIref() throws ParseException {
		switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
		case VAR1:
		case VAR2: {
			Var();
			break;
		}
		case Q_IRI_REF:
		case PNAME_NS:
		case PNAME_LN: {
			IRIref();
			break;
		}
		default:
			jj_la1[106] = jj_gen;
			jj_consume_token(-1);
			throw new ParseException();
		}
	}

	final public void Var() throws ParseException {/* @bgen(jjtree) Var */
		ASTVar jjtn000 = new ASTVar(JJTVAR);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		Token t;
		try {
			switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
			case VAR1: {
				t = jj_consume_token(VAR1);
				break;
			}
			case VAR2: {
				t = jj_consume_token(VAR2);
				break;
			}
			default:
				jj_la1[107] = jj_gen;
				jj_consume_token(-1);
				throw new ParseException();
			}
			jjtree.closeNodeScope(jjtn000, true);
			jjtc000 = false;
			jjtn000.setName(t.image.substring(1));
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void GraphTerm() throws ParseException {
		switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
		case Q_IRI_REF:
		case PNAME_NS:
		case PNAME_LN: {
			IRIref();
			break;
		}
		case STRING_LITERAL1:
		case STRING_LITERAL2:
		case STRING_LITERAL_LONG1:
		case STRING_LITERAL_LONG2: {
			RDFLiteral();
			break;
		}
		case INTEGER:
		case INTEGER_POSITIVE:
		case INTEGER_NEGATIVE:
		case DECIMAL:
		case DECIMAL_POSITIVE:
		case DECIMAL_NEGATIVE:
		case DOUBLE:
		case DOUBLE_POSITIVE:
		case DOUBLE_NEGATIVE: {
			NumericLiteral();
			break;
		}
		case TRUE:
		case FALSE: {
			BooleanLiteral();
			break;
		}
		case ANON:
		case BLANK_NODE_LABEL: {
			BlankNode();
			break;
		}
		case NIL: {
			jj_consume_token(NIL);
			ASTIRI jjtn001 = new ASTIRI(JJTIRI);
			boolean jjtc001 = true;
			jjtree.openNodeScope(jjtn001);
			try {
				jjtree.closeNodeScope(jjtn001, true);
				jjtc001 = false;
				jjtn001.setValue(RDF.NIL.toString());
			} finally {
				if (jjtc001) {
					jjtree.closeNodeScope(jjtn001, true);
				}
			}
			break;
		}
		case TRIPLE_OPEN: {
			TripleRef();
			break;
		}
		default:
			jj_la1[108] = jj_gen;
			jj_consume_token(-1);
			throw new ParseException();
		}
	}

	final public void TripleRef() throws ParseException {/* @bgen(jjtree) TripleRef */
		ASTTripleRef jjtn000 = new ASTTripleRef(JJTTRIPLEREF);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(TRIPLE_OPEN);
			switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
			case NIL:
			case ANON:
			case TRUE:
			case FALSE:
			case Q_IRI_REF:
			case PNAME_NS:
			case PNAME_LN:
			case BLANK_NODE_LABEL:
			case INTEGER:
			case INTEGER_POSITIVE:
			case INTEGER_NEGATIVE:
			case DECIMAL:
			case DECIMAL_POSITIVE:
			case DECIMAL_NEGATIVE:
			case DOUBLE:
			case DOUBLE_POSITIVE:
			case DOUBLE_NEGATIVE:
			case STRING_LITERAL1:
			case STRING_LITERAL2:
			case STRING_LITERAL_LONG1:
			case STRING_LITERAL_LONG2:
			case TRIPLE_OPEN: {
				GraphTerm();
				break;
			}
			case VAR1:
			case VAR2: {
				Var();
				break;
			}
			default:
				jj_la1[109] = jj_gen;
				jj_consume_token(-1);
				throw new ParseException();
			}
			switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
			case Q_IRI_REF:
			case PNAME_NS:
			case PNAME_LN: {
				IRIref();
				break;
			}
			case VAR1:
			case VAR2: {
				Var();
				break;
			}
			default:
				jj_la1[110] = jj_gen;
				jj_consume_token(-1);
				throw new ParseException();
			}
			switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
			case NIL:
			case ANON:
			case TRUE:
			case FALSE:
			case Q_IRI_REF:
			case PNAME_NS:
			case PNAME_LN:
			case BLANK_NODE_LABEL:
			case INTEGER:
			case INTEGER_POSITIVE:
			case INTEGER_NEGATIVE:
			case DECIMAL:
			case DECIMAL_POSITIVE:
			case DECIMAL_NEGATIVE:
			case DOUBLE:
			case DOUBLE_POSITIVE:
			case DOUBLE_NEGATIVE:
			case STRING_LITERAL1:
			case STRING_LITERAL2:
			case STRING_LITERAL_LONG1:
			case STRING_LITERAL_LONG2:
			case TRIPLE_OPEN: {
				GraphTerm();
				break;
			}
			case VAR1:
			case VAR2: {
				Var();
				break;
			}
			default:
				jj_la1[111] = jj_gen;
				jj_consume_token(-1);
				throw new ParseException();
			}
			jj_consume_token(TRIPLE_CLOSE);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void ConstTripleRef() throws ParseException {/* @bgen(jjtree) ConstTripleRef */
		ASTConstTripleRef jjtn000 = new ASTConstTripleRef(JJTCONSTTRIPLEREF);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(TRIPLE_OPEN);
			switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
			case TRIPLE_OPEN: {
				ConstTripleRef();
				break;
			}
			case Q_IRI_REF:
			case PNAME_NS:
			case PNAME_LN: {
				IRIref();
				break;
			}
			default:
				jj_la1[112] = jj_gen;
				jj_consume_token(-1);
				throw new ParseException();
			}
			IRIref();
			switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
			case TRIPLE_OPEN: {
				ConstTripleRef();
				break;
			}
			case Q_IRI_REF:
			case PNAME_NS:
			case PNAME_LN: {
				IRIref();
				break;
			}
			case INTEGER:
			case INTEGER_POSITIVE:
			case INTEGER_NEGATIVE:
			case DECIMAL:
			case DECIMAL_POSITIVE:
			case DECIMAL_NEGATIVE:
			case DOUBLE:
			case DOUBLE_POSITIVE:
			case DOUBLE_NEGATIVE: {
				NumericLiteral();
				break;
			}
			case STRING_LITERAL1:
			case STRING_LITERAL2:
			case STRING_LITERAL_LONG1:
			case STRING_LITERAL_LONG2: {
				RDFLiteral();
				break;
			}
			case TRUE:
			case FALSE: {
				BooleanLiteral();
				break;
			}
			default:
				jj_la1[113] = jj_gen;
				jj_consume_token(-1);
				throw new ParseException();
			}
			jj_consume_token(TRIPLE_CLOSE);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void Expression() throws ParseException {
		switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
		case TRIPLE_OPEN: {
			TripleRef();
			break;
		}
		case LPAREN:
		case NOT:
		case PLUS:
		case MINUS:
		case NOT_FUNC:
		case EXISTS:
		case STR:
		case LANG:
		case LANGMATCHES:
		case DATATYPE:
		case BOUND:
		case SAMETERM:
		case IS_IRI:
		case IS_BLANK:
		case IS_LITERAL:
		case IS_NUMERIC:
		case COALESCE:
		case BNODE:
		case STRDT:
		case STRLANG:
		case UUID:
		case STRUUID:
		case IRI:
		case IF:
		case COUNT:
		case SUM:
		case MIN:
		case MAX:
		case AVG:
		case SAMPLE:
		case GROUP_CONCAT:
		case REGEX:
		case TRUE:
		case FALSE:
		case STRLEN:
		case SUBSTR:
		case STR_STARTS:
		case STR_ENDS:
		case STR_BEFORE:
		case STR_AFTER:
		case REPLACE:
		case UCASE:
		case LCASE:
		case CONCAT:
		case CONTAINS:
		case ENCODE_FOR_URI:
		case RAND:
		case ABS:
		case CEIL:
		case FLOOR:
		case ROUND:
		case NOW:
		case YEAR:
		case MONTH:
		case DAY:
		case HOURS:
		case MINUTES:
		case SECONDS:
		case TIMEZONE:
		case TZ:
		case MD5:
		case SHA1:
		case SHA224:
		case SHA256:
		case SHA384:
		case SHA512:
		case Q_IRI_REF:
		case PNAME_NS:
		case PNAME_LN:
		case VAR1:
		case VAR2:
		case INTEGER:
		case INTEGER_POSITIVE:
		case INTEGER_NEGATIVE:
		case DECIMAL:
		case DECIMAL_POSITIVE:
		case DECIMAL_NEGATIVE:
		case DOUBLE:
		case DOUBLE_POSITIVE:
		case DOUBLE_NEGATIVE:
		case STRING_LITERAL1:
		case STRING_LITERAL2:
		case STRING_LITERAL_LONG1:
		case STRING_LITERAL_LONG2: {
			ConditionalOrExpression();
			break;
		}
		default:
			jj_la1[114] = jj_gen;
			jj_consume_token(-1);
			throw new ParseException();
		}
	}

	final public void ConditionalOrExpression() throws ParseException {
		ConditionalAndExpression();
		if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) == OR) {
			jj_consume_token(OR);
			ASTOr jjtn001 = new ASTOr(JJTOR);
			boolean jjtc001 = true;
			jjtree.openNodeScope(jjtn001);
			try {
				ConditionalOrExpression();
			} catch (Throwable jjte001) {
				jjtree.clearNodeScope(jjtn001);
				jjtc001 = false;
				if (jjte001 instanceof RuntimeException) {
					{
						throw (RuntimeException) jjte001;
					}
				}
				if (jjte001 instanceof ParseException) {
					{
						throw (ParseException) jjte001;
					}
				}
				{
					throw (Error) jjte001;
				}
			} finally {
				if (jjtc001) {
					jjtree.closeNodeScope(jjtn001, 2);
				}
			}
		} else {
			jj_la1[115] = jj_gen;
		}
	}

	final public void ConditionalAndExpression() throws ParseException {
		ValueLogical();
		if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) == AND) {
			jj_consume_token(AND);
			ASTAnd jjtn001 = new ASTAnd(JJTAND);
			boolean jjtc001 = true;
			jjtree.openNodeScope(jjtn001);
			try {
				ConditionalAndExpression();
			} catch (Throwable jjte001) {
				jjtree.clearNodeScope(jjtn001);
				jjtc001 = false;
				if (jjte001 instanceof RuntimeException) {
					{
						throw (RuntimeException) jjte001;
					}
				}
				if (jjte001 instanceof ParseException) {
					{
						throw (ParseException) jjte001;
					}
				}
				{
					throw (Error) jjte001;
				}
			} finally {
				if (jjtc001) {
					jjtree.closeNodeScope(jjtn001, 2);
				}
			}
		} else {
			jj_la1[116] = jj_gen;
		}
	}

	final public void ValueLogical() throws ParseException {
		RelationalExpression();
	}

	final public void RelationalExpression() throws ParseException {
		NumericExpression();
		switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
		case EQ:
		case NE:
		case GT:
		case LT:
		case LE:
		case GE:
		case NOT_FUNC:
		case IN: {
			switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
			case EQ: {
				jj_consume_token(EQ);
				NumericExpression();
				ASTCompare jjtn001 = new ASTCompare(JJTCOMPARE);
				boolean jjtc001 = true;
				jjtree.openNodeScope(jjtn001);
				try {
					jjtree.closeNodeScope(jjtn001, 2);
					jjtc001 = false;
					jjtn001.setOperator(CompareOp.EQ);
				} finally {
					if (jjtc001) {
						jjtree.closeNodeScope(jjtn001, 2);
					}
				}
				break;
			}
			case NE: {
				jj_consume_token(NE);
				NumericExpression();
				ASTCompare jjtn002 = new ASTCompare(JJTCOMPARE);
				boolean jjtc002 = true;
				jjtree.openNodeScope(jjtn002);
				try {
					jjtree.closeNodeScope(jjtn002, 2);
					jjtc002 = false;
					jjtn002.setOperator(CompareOp.NE);
				} finally {
					if (jjtc002) {
						jjtree.closeNodeScope(jjtn002, 2);
					}
				}
				break;
			}
			case LT: {
				jj_consume_token(LT);
				NumericExpression();
				ASTCompare jjtn003 = new ASTCompare(JJTCOMPARE);
				boolean jjtc003 = true;
				jjtree.openNodeScope(jjtn003);
				try {
					jjtree.closeNodeScope(jjtn003, 2);
					jjtc003 = false;
					jjtn003.setOperator(CompareOp.LT);
				} finally {
					if (jjtc003) {
						jjtree.closeNodeScope(jjtn003, 2);
					}
				}
				break;
			}
			case LE: {
				jj_consume_token(LE);
				NumericExpression();
				ASTCompare jjtn004 = new ASTCompare(JJTCOMPARE);
				boolean jjtc004 = true;
				jjtree.openNodeScope(jjtn004);
				try {
					jjtree.closeNodeScope(jjtn004, 2);
					jjtc004 = false;
					jjtn004.setOperator(CompareOp.LE);
				} finally {
					if (jjtc004) {
						jjtree.closeNodeScope(jjtn004, 2);
					}
				}
				break;
			}
			case GE: {
				jj_consume_token(GE);
				NumericExpression();
				ASTCompare jjtn005 = new ASTCompare(JJTCOMPARE);
				boolean jjtc005 = true;
				jjtree.openNodeScope(jjtn005);
				try {
					jjtree.closeNodeScope(jjtn005, 2);
					jjtc005 = false;
					jjtn005.setOperator(CompareOp.GE);
				} finally {
					if (jjtc005) {
						jjtree.closeNodeScope(jjtn005, 2);
					}
				}
				break;
			}
			case GT: {
				jj_consume_token(GT);
				NumericExpression();
				ASTCompare jjtn006 = new ASTCompare(JJTCOMPARE);
				boolean jjtc006 = true;
				jjtree.openNodeScope(jjtn006);
				try {
					jjtree.closeNodeScope(jjtn006, 2);
					jjtc006 = false;
					jjtn006.setOperator(CompareOp.GT);
				} finally {
					if (jjtc006) {
						jjtree.closeNodeScope(jjtn006, 2);
					}
				}
				break;
			}
			case IN: {
				ASTInfix jjtn007 = new ASTInfix(JJTINFIX);
				boolean jjtc007 = true;
				jjtree.openNodeScope(jjtn007);
				try {
					In();
				} catch (Throwable jjte007) {
					jjtree.clearNodeScope(jjtn007);
					jjtc007 = false;
					if (jjte007 instanceof RuntimeException) {
						{
							throw (RuntimeException) jjte007;
						}
					}
					if (jjte007 instanceof ParseException) {
						{
							throw (ParseException) jjte007;
						}
					}
					{
						throw (Error) jjte007;
					}
				} finally {
					if (jjtc007) {
						jjtree.closeNodeScope(jjtn007, 2);
					}
				}
				break;
			}
			case NOT_FUNC: {
				ASTInfix jjtn008 = new ASTInfix(JJTINFIX);
				boolean jjtc008 = true;
				jjtree.openNodeScope(jjtn008);
				try {
					NotIn();
				} catch (Throwable jjte008) {
					jjtree.clearNodeScope(jjtn008);
					jjtc008 = false;
					if (jjte008 instanceof RuntimeException) {
						{
							throw (RuntimeException) jjte008;
						}
					}
					if (jjte008 instanceof ParseException) {
						{
							throw (ParseException) jjte008;
						}
					}
					{
						throw (Error) jjte008;
					}
				} finally {
					if (jjtc008) {
						jjtree.closeNodeScope(jjtn008, 2);
					}
				}
				break;
			}
			default:
				jj_la1[117] = jj_gen;
				jj_consume_token(-1);
				throw new ParseException();
			}
			break;
		}
		default:
			jj_la1[118] = jj_gen;
		}
	}

	final public void NumericExpression() throws ParseException {
		AdditiveExpression();
	}

	final public void AdditiveExpression() throws ParseException {
		MultiplicativeExpression();
		label_29: while (true) {
			switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
			case PLUS:
			case MINUS:
			case INTEGER_POSITIVE:
			case INTEGER_NEGATIVE:
			case DECIMAL_POSITIVE:
			case DECIMAL_NEGATIVE:
			case DOUBLE_POSITIVE:
			case DOUBLE_NEGATIVE: {
				break;
			}
			default:
				jj_la1[119] = jj_gen;
				break label_29;
			}
			switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
			case PLUS: {
				jj_consume_token(PLUS);
				MultiplicativeExpression();
				ASTMath jjtn001 = new ASTMath(JJTMATH);
				boolean jjtc001 = true;
				jjtree.openNodeScope(jjtn001);
				try {
					jjtree.closeNodeScope(jjtn001, 2);
					jjtc001 = false;
					jjtn001.setOperator(MathOp.PLUS);
				} finally {
					if (jjtc001) {
						jjtree.closeNodeScope(jjtn001, 2);
					}
				}
				break;
			}
			case MINUS: {
				jj_consume_token(MINUS);
				MultiplicativeExpression();
				ASTMath jjtn002 = new ASTMath(JJTMATH);
				boolean jjtc002 = true;
				jjtree.openNodeScope(jjtn002);
				try {
					jjtree.closeNodeScope(jjtn002, 2);
					jjtc002 = false;
					jjtn002.setOperator(MathOp.MINUS);
				} finally {
					if (jjtc002) {
						jjtree.closeNodeScope(jjtn002, 2);
					}
				}
				break;
			}
			case INTEGER_POSITIVE:
			case DECIMAL_POSITIVE:
			case DOUBLE_POSITIVE: {
				NumericLiteralPositive();
				ASTMath jjtn003 = new ASTMath(JJTMATH);
				boolean jjtc003 = true;
				jjtree.openNodeScope(jjtn003);
				try {
					jjtree.closeNodeScope(jjtn003, 2);
					jjtc003 = false;
					jjtn003.setOperator(MathOp.PLUS);
				} finally {
					if (jjtc003) {
						jjtree.closeNodeScope(jjtn003, 2);
					}
				}
				break;
			}
			case INTEGER_NEGATIVE:
			case DECIMAL_NEGATIVE:
			case DOUBLE_NEGATIVE: {
				NumericLiteralNegative();
				ASTMath jjtn004 = new ASTMath(JJTMATH);
				boolean jjtc004 = true;
				jjtree.openNodeScope(jjtn004);
				try {
					jjtree.closeNodeScope(jjtn004, 2);
					jjtc004 = false;
					jjtn004.setOperator(MathOp.PLUS);
				} finally {
					if (jjtc004) {
						jjtree.closeNodeScope(jjtn004, 2);
					}
				}
				break;
			}
			default:
				jj_la1[120] = jj_gen;
				jj_consume_token(-1);
				throw new ParseException();
			}
		}
	}

	final public void MultiplicativeExpression() throws ParseException {
		UnaryExpression();
		label_30: while (true) {
			switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
			case STAR:
			case SLASH: {
				break;
			}
			default:
				jj_la1[121] = jj_gen;
				break label_30;
			}
			switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
			case STAR: {
				jj_consume_token(STAR);
				UnaryExpression();
				ASTMath jjtn001 = new ASTMath(JJTMATH);
				boolean jjtc001 = true;
				jjtree.openNodeScope(jjtn001);
				try {
					jjtree.closeNodeScope(jjtn001, 2);
					jjtc001 = false;
					jjtn001.setOperator(MathOp.MULTIPLY);
				} finally {
					if (jjtc001) {
						jjtree.closeNodeScope(jjtn001, 2);
					}
				}
				break;
			}
			case SLASH: {
				jj_consume_token(SLASH);
				UnaryExpression();
				ASTMath jjtn002 = new ASTMath(JJTMATH);
				boolean jjtc002 = true;
				jjtree.openNodeScope(jjtn002);
				try {
					jjtree.closeNodeScope(jjtn002, 2);
					jjtc002 = false;
					jjtn002.setOperator(MathOp.DIVIDE);
				} finally {
					if (jjtc002) {
						jjtree.closeNodeScope(jjtn002, 2);
					}
				}
				break;
			}
			default:
				jj_la1[122] = jj_gen;
				jj_consume_token(-1);
				throw new ParseException();
			}
		}
	}

	final public void UnaryExpression() throws ParseException {
		switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
		case NOT: {
			jj_consume_token(NOT);
			ASTNot jjtn001 = new ASTNot(JJTNOT);
			boolean jjtc001 = true;
			jjtree.openNodeScope(jjtn001);
			try {
				PrimaryExpression();
			} catch (Throwable jjte001) {
				jjtree.clearNodeScope(jjtn001);
				jjtc001 = false;
				if (jjte001 instanceof RuntimeException) {
					{
						throw (RuntimeException) jjte001;
					}
				}
				if (jjte001 instanceof ParseException) {
					{
						throw (ParseException) jjte001;
					}
				}
				{
					throw (Error) jjte001;
				}
			} finally {
				if (jjtc001) {
					jjtree.closeNodeScope(jjtn001, true);
				}
			}
			break;
		}
		case LPAREN:
		case PLUS:
		case NOT_FUNC:
		case EXISTS:
		case STR:
		case LANG:
		case LANGMATCHES:
		case DATATYPE:
		case BOUND:
		case SAMETERM:
		case IS_IRI:
		case IS_BLANK:
		case IS_LITERAL:
		case IS_NUMERIC:
		case COALESCE:
		case BNODE:
		case STRDT:
		case STRLANG:
		case UUID:
		case STRUUID:
		case IRI:
		case IF:
		case COUNT:
		case SUM:
		case MIN:
		case MAX:
		case AVG:
		case SAMPLE:
		case GROUP_CONCAT:
		case REGEX:
		case TRUE:
		case FALSE:
		case STRLEN:
		case SUBSTR:
		case STR_STARTS:
		case STR_ENDS:
		case STR_BEFORE:
		case STR_AFTER:
		case REPLACE:
		case UCASE:
		case LCASE:
		case CONCAT:
		case CONTAINS:
		case ENCODE_FOR_URI:
		case RAND:
		case ABS:
		case CEIL:
		case FLOOR:
		case ROUND:
		case NOW:
		case YEAR:
		case MONTH:
		case DAY:
		case HOURS:
		case MINUTES:
		case SECONDS:
		case TIMEZONE:
		case TZ:
		case MD5:
		case SHA1:
		case SHA224:
		case SHA256:
		case SHA384:
		case SHA512:
		case Q_IRI_REF:
		case PNAME_NS:
		case PNAME_LN:
		case VAR1:
		case VAR2:
		case INTEGER:
		case INTEGER_POSITIVE:
		case INTEGER_NEGATIVE:
		case DECIMAL:
		case DECIMAL_POSITIVE:
		case DECIMAL_NEGATIVE:
		case DOUBLE:
		case DOUBLE_POSITIVE:
		case DOUBLE_NEGATIVE:
		case STRING_LITERAL1:
		case STRING_LITERAL2:
		case STRING_LITERAL_LONG1:
		case STRING_LITERAL_LONG2: {
			if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) == PLUS) {
				jj_consume_token(PLUS);
			} else {
				jj_la1[123] = jj_gen;
			}
			PrimaryExpression();
			break;
		}
		case MINUS: {
			UnaryMinus();
			PrimaryExpression();
			ASTMath jjtn002 = new ASTMath(JJTMATH);
			boolean jjtc002 = true;
			jjtree.openNodeScope(jjtn002);
			try {
				jjtree.closeNodeScope(jjtn002, 2);
				jjtc002 = false;
				jjtn002.setOperator(MathOp.MULTIPLY);
			} finally {
				if (jjtc002) {
					jjtree.closeNodeScope(jjtn002, 2);
				}
			}
			break;
		}
		default:
			jj_la1[124] = jj_gen;
			jj_consume_token(-1);
			throw new ParseException();
		}
	}

	final public void UnaryMinus() throws ParseException {/* @bgen(jjtree) NumericLiteral */
		ASTNumericLiteral jjtn000 = new ASTNumericLiteral(JJTNUMERICLITERAL);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(MINUS);
			jjtree.closeNodeScope(jjtn000, true);
			jjtc000 = false;
			jjtn000.setValue("-1");
			jjtn000.setDatatype(XSD.INTEGER);
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void PrimaryExpression() throws ParseException {
		switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
		case LPAREN: {
			BrackettedExpression();
			break;
		}
		case NOT_FUNC:
		case EXISTS:
		case STR:
		case LANG:
		case LANGMATCHES:
		case DATATYPE:
		case BOUND:
		case SAMETERM:
		case IS_IRI:
		case IS_BLANK:
		case IS_LITERAL:
		case IS_NUMERIC:
		case COALESCE:
		case BNODE:
		case STRDT:
		case STRLANG:
		case UUID:
		case STRUUID:
		case IRI:
		case IF:
		case REGEX:
		case STRLEN:
		case SUBSTR:
		case STR_STARTS:
		case STR_ENDS:
		case STR_BEFORE:
		case STR_AFTER:
		case REPLACE:
		case UCASE:
		case LCASE:
		case CONCAT:
		case CONTAINS:
		case ENCODE_FOR_URI:
		case RAND:
		case ABS:
		case CEIL:
		case FLOOR:
		case ROUND:
		case NOW:
		case YEAR:
		case MONTH:
		case DAY:
		case HOURS:
		case MINUTES:
		case SECONDS:
		case TIMEZONE:
		case TZ:
		case MD5:
		case SHA1:
		case SHA224:
		case SHA256:
		case SHA384:
		case SHA512: {
			BuiltInCall();
			break;
		}
		default:
			jj_la1[125] = jj_gen;
			if (jj_2_4()) {
				FunctionCall();
			} else {
				switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
				case Q_IRI_REF:
				case PNAME_NS:
				case PNAME_LN: {
					IRIref();
					break;
				}
				case STRING_LITERAL1:
				case STRING_LITERAL2:
				case STRING_LITERAL_LONG1:
				case STRING_LITERAL_LONG2: {
					RDFLiteral();
					break;
				}
				case INTEGER:
				case INTEGER_POSITIVE:
				case INTEGER_NEGATIVE:
				case DECIMAL:
				case DECIMAL_POSITIVE:
				case DECIMAL_NEGATIVE:
				case DOUBLE:
				case DOUBLE_POSITIVE:
				case DOUBLE_NEGATIVE: {
					NumericLiteral();
					break;
				}
				case TRUE:
				case FALSE: {
					BooleanLiteral();
					break;
				}
				case VAR1:
				case VAR2: {
					Var();
					break;
				}
				case COUNT:
				case SUM:
				case MIN:
				case MAX:
				case AVG:
				case SAMPLE:
				case GROUP_CONCAT: {
					Aggregate();
					break;
				}
				default:
					jj_la1[126] = jj_gen;
					jj_consume_token(-1);
					throw new ParseException();
				}
			}
		}
	}

	final public void Aggregate() throws ParseException {
		switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
		case COUNT: {
			Count();
			break;
		}
		case SUM: {
			Sum();
			break;
		}
		case MIN: {
			Min();
			break;
		}
		case MAX: {
			Max();
			break;
		}
		case AVG: {
			Avg();
			break;
		}
		case SAMPLE: {
			Sample();
			break;
		}
		case GROUP_CONCAT: {
			GroupConcat();
			break;
		}
		default:
			jj_la1[127] = jj_gen;
			jj_consume_token(-1);
			throw new ParseException();
		}
	}

	final public void Count() throws ParseException {/* @bgen(jjtree) Count */
		ASTCount jjtn000 = new ASTCount(JJTCOUNT);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(COUNT);
			jj_consume_token(LPAREN);
			if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) == DISTINCT) {
				jj_consume_token(DISTINCT);
				jjtn000.setDistinct(true);
			} else {
				jj_la1[128] = jj_gen;
			}
			switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
			case STAR: {
				jj_consume_token(STAR);
				jjtn000.setWildcard(true);
				break;
			}
			case LPAREN:
			case NOT:
			case PLUS:
			case MINUS:
			case NOT_FUNC:
			case EXISTS:
			case STR:
			case LANG:
			case LANGMATCHES:
			case DATATYPE:
			case BOUND:
			case SAMETERM:
			case IS_IRI:
			case IS_BLANK:
			case IS_LITERAL:
			case IS_NUMERIC:
			case COALESCE:
			case BNODE:
			case STRDT:
			case STRLANG:
			case UUID:
			case STRUUID:
			case IRI:
			case IF:
			case COUNT:
			case SUM:
			case MIN:
			case MAX:
			case AVG:
			case SAMPLE:
			case GROUP_CONCAT:
			case REGEX:
			case TRUE:
			case FALSE:
			case STRLEN:
			case SUBSTR:
			case STR_STARTS:
			case STR_ENDS:
			case STR_BEFORE:
			case STR_AFTER:
			case REPLACE:
			case UCASE:
			case LCASE:
			case CONCAT:
			case CONTAINS:
			case ENCODE_FOR_URI:
			case RAND:
			case ABS:
			case CEIL:
			case FLOOR:
			case ROUND:
			case NOW:
			case YEAR:
			case MONTH:
			case DAY:
			case HOURS:
			case MINUTES:
			case SECONDS:
			case TIMEZONE:
			case TZ:
			case MD5:
			case SHA1:
			case SHA224:
			case SHA256:
			case SHA384:
			case SHA512:
			case Q_IRI_REF:
			case PNAME_NS:
			case PNAME_LN:
			case VAR1:
			case VAR2:
			case INTEGER:
			case INTEGER_POSITIVE:
			case INTEGER_NEGATIVE:
			case DECIMAL:
			case DECIMAL_POSITIVE:
			case DECIMAL_NEGATIVE:
			case DOUBLE:
			case DOUBLE_POSITIVE:
			case DOUBLE_NEGATIVE:
			case STRING_LITERAL1:
			case STRING_LITERAL2:
			case STRING_LITERAL_LONG1:
			case STRING_LITERAL_LONG2:
			case TRIPLE_OPEN: {
				Expression();
				break;
			}
			default:
				jj_la1[129] = jj_gen;
				jj_consume_token(-1);
				throw new ParseException();
			}
			jj_consume_token(RPAREN);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {

				throw (RuntimeException) jjte000;

			}
			if (jjte000 instanceof ParseException) {
				throw (ParseException) jjte000;
			}

			throw (Error) jjte000;

		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void Sum() throws ParseException {/* @bgen(jjtree) Sum */
		ASTSum jjtn000 = new ASTSum(JJTSUM);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(SUM);
			jj_consume_token(LPAREN);
			if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) == DISTINCT) {
				jj_consume_token(DISTINCT);
				jjtn000.setDistinct(true);
			} else {
				jj_la1[130] = jj_gen;
			}
			Expression();
			jj_consume_token(RPAREN);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void Min() throws ParseException {/* @bgen(jjtree) Min */
		ASTMin jjtn000 = new ASTMin(JJTMIN);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(MIN);
			jj_consume_token(LPAREN);
			if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) == DISTINCT) {
				jj_consume_token(DISTINCT);
				jjtn000.setDistinct(true);
			} else {
				jj_la1[131] = jj_gen;
			}
			Expression();
			jj_consume_token(RPAREN);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void Max() throws ParseException {/* @bgen(jjtree) Max */
		ASTMax jjtn000 = new ASTMax(JJTMAX);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(MAX);
			jj_consume_token(LPAREN);
			if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) == DISTINCT) {
				jj_consume_token(DISTINCT);
				jjtn000.setDistinct(true);
			} else {
				jj_la1[132] = jj_gen;
			}
			Expression();
			jj_consume_token(RPAREN);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void Avg() throws ParseException {/* @bgen(jjtree) Avg */
		ASTAvg jjtn000 = new ASTAvg(JJTAVG);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(AVG);
			jj_consume_token(LPAREN);
			if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) == DISTINCT) {
				jj_consume_token(DISTINCT);
				jjtn000.setDistinct(true);
			} else {
				jj_la1[133] = jj_gen;
			}
			Expression();
			jj_consume_token(RPAREN);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void Sample() throws ParseException {/* @bgen(jjtree) Sample */
		ASTSample jjtn000 = new ASTSample(JJTSAMPLE);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(SAMPLE);
			jj_consume_token(LPAREN);
			if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) == DISTINCT) {
				jj_consume_token(DISTINCT);
				jjtn000.setDistinct(true);
			} else {
				jj_la1[134] = jj_gen;
			}
			Expression();
			jj_consume_token(RPAREN);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void GroupConcat() throws ParseException {/* @bgen(jjtree) GroupConcat */
		ASTGroupConcat jjtn000 = new ASTGroupConcat(JJTGROUPCONCAT);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(GROUP_CONCAT);
			jj_consume_token(LPAREN);
			if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) == DISTINCT) {
				jj_consume_token(DISTINCT);
				jjtn000.setDistinct(true);
			} else {
				jj_la1[135] = jj_gen;
			}
			Expression();
			if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) == SEMICOLON) {
				jj_consume_token(SEMICOLON);
				jj_consume_token(SEPARATOR);
				jj_consume_token(EQ);
				Expression();
			} else {
				jj_la1[136] = jj_gen;
			}
			jj_consume_token(RPAREN);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void BrackettedExpression() throws ParseException {
		jj_consume_token(LPAREN);
		Expression();
		jj_consume_token(RPAREN);
	}

	final public void BuiltInCall() throws ParseException {
		switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
		case BOUND: {
			Bound();
			break;
		}
		case SAMETERM: {
			SameTerm();
			break;
		}
		case EXISTS: {
			ExistsFunc();
			break;
		}
		case NOT_FUNC: {
			NotExistsFunc();
			break;
		}
		case COALESCE: {
			Coalesce();
			break;
		}
		case IF: {
			If();
			break;
		}
		case LANGMATCHES:
		case REGEX:
		case STRLEN:
		case SUBSTR:
		case STR_STARTS:
		case STR_ENDS:
		case STR_BEFORE:
		case STR_AFTER:
		case REPLACE:
		case UCASE:
		case LCASE:
		case CONCAT:
		case CONTAINS:
		case ENCODE_FOR_URI: {
			StringFunction();
			break;
		}
		case RAND:
		case ABS:
		case CEIL:
		case FLOOR:
		case ROUND: {
			NumericFunction();
			break;
		}
		case STR:
		case LANG:
		case DATATYPE:
		case IS_IRI:
		case IS_BLANK:
		case IS_LITERAL:
		case IS_NUMERIC:
		case BNODE:
		case STRDT:
		case STRLANG:
		case UUID:
		case STRUUID:
		case IRI: {
			RDFTermFunction();
			break;
		}
		case NOW:
		case YEAR:
		case MONTH:
		case DAY:
		case HOURS:
		case MINUTES:
		case SECONDS:
		case TIMEZONE:
		case TZ: {
			DateTimeFunction();
			break;
		}
		case MD5:
		case SHA1:
		case SHA224:
		case SHA256:
		case SHA384:
		case SHA512: {
			HashFunction();
			break;
		}
		default:
			jj_la1[137] = jj_gen;
			jj_consume_token(-1);
			throw new ParseException();
		}
	}

	final public void StringFunction() throws ParseException {
		switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
		case SUBSTR: {
			Substr();
			break;
		}
		case STRLEN: {
			StrLen();
			break;
		}
		case UCASE: {
			UpperCase();
			break;
		}
		case LCASE: {
			LowerCase();
			break;
		}
		case STR_STARTS: {
			StrStarts();
			break;
		}
		case STR_ENDS: {
			StrEnds();
			break;
		}
		case STR_BEFORE: {
			StrBefore();
			break;
		}
		case STR_AFTER: {
			StrAfter();
			break;
		}
		case REPLACE: {
			Replace();
			break;
		}
		case CONCAT: {
			Concat();
			break;
		}
		case CONTAINS: {
			Contains();
			break;
		}
		case ENCODE_FOR_URI: {
			EncodeForURI();
			break;
		}
		case LANGMATCHES: {
			LangMatches();
			break;
		}
		case REGEX: {
			RegexExpression();
			break;
		}
		default:
			jj_la1[138] = jj_gen;
			jj_consume_token(-1);
			throw new ParseException();
		}
	}

	final public void NumericFunction() throws ParseException {
		switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
		case RAND: {
			Rand();
			break;
		}
		case ABS: {
			Abs();
			break;
		}
		case CEIL: {
			Ceil();
			break;
		}
		case FLOOR: {
			Floor();
			break;
		}
		case ROUND: {
			Round();
			break;
		}
		default:
			jj_la1[139] = jj_gen;
			jj_consume_token(-1);
			throw new ParseException();
		}
	}

	final public void RDFTermFunction() throws ParseException {
		switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
		case IS_IRI: {
			IsIRI();
			break;
		}
		case IS_BLANK: {
			IsBlank();
			break;
		}
		case IS_LITERAL: {
			IsLiteral();
			break;
		}
		case IS_NUMERIC: {
			IsNumeric();
			break;
		}
		case BNODE: {
			BNodeFunc();
			break;
		}
		case IRI: {
			IRIFunc();
			break;
		}
		case LANG: {
			Lang();
			break;
		}
		case DATATYPE: {
			Datatype();
			break;
		}
		case STR: {
			Str();
			break;
		}
		case STRDT: {
			StrDt();
			break;
		}
		case STRLANG: {
			StrLang();
			break;
		}
		case UUID: {
			UUID();
			break;
		}
		case STRUUID: {
			STRUUID();
			break;
		}
		default:
			jj_la1[140] = jj_gen;
			jj_consume_token(-1);
			throw new ParseException();
		}
	}

	final public void DateTimeFunction() throws ParseException {
		switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
		case NOW: {
			Now();
			break;
		}
		case YEAR: {
			Year();
			break;
		}
		case MONTH: {
			Month();
			break;
		}
		case DAY: {
			Day();
			break;
		}
		case HOURS: {
			Hours();
			break;
		}
		case MINUTES: {
			Minutes();
			break;
		}
		case SECONDS: {
			Seconds();
			break;
		}
		case TIMEZONE: {
			Timezone();
			break;
		}
		case TZ: {
			Tz();
			break;
		}
		default:
			jj_la1[141] = jj_gen;
			jj_consume_token(-1);
			throw new ParseException();
		}
	}

	final public void HashFunction() throws ParseException {
		switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
		case MD5: {
			MD5();
			break;
		}
		case SHA1: {
			SHA1();
			break;
		}
		case SHA224: {
			SHA224();
			break;
		}
		case SHA256: {
			SHA256();
			break;
		}
		case SHA384: {
			SHA384();
			break;
		}
		case SHA512: {
			SHA512();
			break;
		}
		default:
			jj_la1[142] = jj_gen;
			jj_consume_token(-1);
			throw new ParseException();
		}
	}

	final public void MD5() throws ParseException {/* @bgen(jjtree) MD5 */
		ASTMD5 jjtn000 = new ASTMD5(JJTMD5);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(MD5);
			jj_consume_token(LPAREN);
			Expression();
			jj_consume_token(RPAREN);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void SHA1() throws ParseException {/* @bgen(jjtree) SHA1 */
		ASTSHA1 jjtn000 = new ASTSHA1(JJTSHA1);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(SHA1);
			jj_consume_token(LPAREN);
			Expression();
			jj_consume_token(RPAREN);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void SHA224() throws ParseException {/* @bgen(jjtree) SHA224 */
		ASTSHA224 jjtn000 = new ASTSHA224(JJTSHA224);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(SHA224);
			jj_consume_token(LPAREN);
			Expression();
			jj_consume_token(RPAREN);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void SHA256() throws ParseException {/* @bgen(jjtree) SHA256 */
		ASTSHA256 jjtn000 = new ASTSHA256(JJTSHA256);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(SHA256);
			jj_consume_token(LPAREN);
			Expression();
			jj_consume_token(RPAREN);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void SHA384() throws ParseException {/* @bgen(jjtree) SHA384 */
		ASTSHA384 jjtn000 = new ASTSHA384(JJTSHA384);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(SHA384);
			jj_consume_token(LPAREN);
			Expression();
			jj_consume_token(RPAREN);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void SHA512() throws ParseException {/* @bgen(jjtree) SHA512 */
		ASTSHA512 jjtn000 = new ASTSHA512(JJTSHA512);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(SHA512);
			jj_consume_token(LPAREN);
			Expression();
			jj_consume_token(RPAREN);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void Now() throws ParseException {/* @bgen(jjtree) Now */
		ASTNow jjtn000 = new ASTNow(JJTNOW);
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(NOW);
			jj_consume_token(NIL);
		} finally {
			jjtree.closeNodeScope(jjtn000, true);
		}
	}

	final public void Year() throws ParseException {/* @bgen(jjtree) Year */
		ASTYear jjtn000 = new ASTYear(JJTYEAR);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(YEAR);
			jj_consume_token(LPAREN);
			Expression();
			jj_consume_token(RPAREN);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void Month() throws ParseException {/* @bgen(jjtree) Month */
		ASTMonth jjtn000 = new ASTMonth(JJTMONTH);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(MONTH);
			jj_consume_token(LPAREN);
			Expression();
			jj_consume_token(RPAREN);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void Day() throws ParseException {/* @bgen(jjtree) Day */
		ASTDay jjtn000 = new ASTDay(JJTDAY);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(DAY);
			jj_consume_token(LPAREN);
			Expression();
			jj_consume_token(RPAREN);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void Hours() throws ParseException {/* @bgen(jjtree) Hours */
		ASTHours jjtn000 = new ASTHours(JJTHOURS);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(HOURS);
			jj_consume_token(LPAREN);
			Expression();
			jj_consume_token(RPAREN);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void Minutes() throws ParseException {/* @bgen(jjtree) Minutes */
		ASTMinutes jjtn000 = new ASTMinutes(JJTMINUTES);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(MINUTES);
			jj_consume_token(LPAREN);
			Expression();
			jj_consume_token(RPAREN);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void Seconds() throws ParseException {/* @bgen(jjtree) Seconds */
		ASTSeconds jjtn000 = new ASTSeconds(JJTSECONDS);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(SECONDS);
			jj_consume_token(LPAREN);
			Expression();
			jj_consume_token(RPAREN);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void Timezone() throws ParseException {/* @bgen(jjtree) Timezone */
		ASTTimezone jjtn000 = new ASTTimezone(JJTTIMEZONE);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(TIMEZONE);
			jj_consume_token(LPAREN);
			Expression();
			jj_consume_token(RPAREN);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void Tz() throws ParseException {/* @bgen(jjtree) Tz */
		ASTTz jjtn000 = new ASTTz(JJTTZ);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(TZ);
			jj_consume_token(LPAREN);
			Expression();
			jj_consume_token(RPAREN);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void Rand() throws ParseException {/* @bgen(jjtree) Rand */
		ASTRand jjtn000 = new ASTRand(JJTRAND);
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(RAND);
			jj_consume_token(NIL);
		} finally {
			jjtree.closeNodeScope(jjtn000, true);
		}
	}

	final public void Abs() throws ParseException {/* @bgen(jjtree) Abs */
		ASTAbs jjtn000 = new ASTAbs(JJTABS);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(ABS);
			jj_consume_token(LPAREN);
			Expression();
			jj_consume_token(RPAREN);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void Ceil() throws ParseException {/* @bgen(jjtree) Ceil */
		ASTCeil jjtn000 = new ASTCeil(JJTCEIL);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(CEIL);
			jj_consume_token(LPAREN);
			Expression();
			jj_consume_token(RPAREN);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void Floor() throws ParseException {/* @bgen(jjtree) Floor */
		ASTFloor jjtn000 = new ASTFloor(JJTFLOOR);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(FLOOR);
			jj_consume_token(LPAREN);
			Expression();
			jj_consume_token(RPAREN);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void Round() throws ParseException {/* @bgen(jjtree) Round */
		ASTRound jjtn000 = new ASTRound(JJTROUND);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(ROUND);
			jj_consume_token(LPAREN);
			Expression();
			jj_consume_token(RPAREN);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void Substr() throws ParseException {/* @bgen(jjtree) Substr */
		ASTSubstr jjtn000 = new ASTSubstr(JJTSUBSTR);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(SUBSTR);
			jj_consume_token(LPAREN);
			Expression();
			jj_consume_token(COMMA);
			Expression();
			if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) == COMMA) {
				jj_consume_token(COMMA);
				Expression();
			} else {
				jj_la1[143] = jj_gen;
			}
			jj_consume_token(RPAREN);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void StrLen() throws ParseException {/* @bgen(jjtree) StrLen */
		ASTStrLen jjtn000 = new ASTStrLen(JJTSTRLEN);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(STRLEN);
			jj_consume_token(LPAREN);
			Expression();
			jj_consume_token(RPAREN);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void UpperCase() throws ParseException {/* @bgen(jjtree) UpperCase */
		ASTUpperCase jjtn000 = new ASTUpperCase(JJTUPPERCASE);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(UCASE);
			jj_consume_token(LPAREN);
			Expression();
			jj_consume_token(RPAREN);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void LowerCase() throws ParseException {/* @bgen(jjtree) LowerCase */
		ASTLowerCase jjtn000 = new ASTLowerCase(JJTLOWERCASE);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(LCASE);
			jj_consume_token(LPAREN);
			Expression();
			jj_consume_token(RPAREN);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void StrStarts() throws ParseException {/* @bgen(jjtree) StrStarts */
		ASTStrStarts jjtn000 = new ASTStrStarts(JJTSTRSTARTS);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(STR_STARTS);
			jj_consume_token(LPAREN);
			Expression();
			jj_consume_token(COMMA);
			Expression();
			jj_consume_token(RPAREN);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void StrEnds() throws ParseException {/* @bgen(jjtree) StrEnds */
		ASTStrEnds jjtn000 = new ASTStrEnds(JJTSTRENDS);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(STR_ENDS);
			jj_consume_token(LPAREN);
			Expression();
			jj_consume_token(COMMA);
			Expression();
			jj_consume_token(RPAREN);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void StrBefore() throws ParseException {/* @bgen(jjtree) StrBefore */
		ASTStrBefore jjtn000 = new ASTStrBefore(JJTSTRBEFORE);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(STR_BEFORE);
			jj_consume_token(LPAREN);
			Expression();
			jj_consume_token(COMMA);
			Expression();
			jj_consume_token(RPAREN);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void StrAfter() throws ParseException {/* @bgen(jjtree) StrAfter */
		ASTStrAfter jjtn000 = new ASTStrAfter(JJTSTRAFTER);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(STR_AFTER);
			jj_consume_token(LPAREN);
			Expression();
			jj_consume_token(COMMA);
			Expression();
			jj_consume_token(RPAREN);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void Replace() throws ParseException {/* @bgen(jjtree) Replace */
		ASTReplace jjtn000 = new ASTReplace(JJTREPLACE);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(REPLACE);
			jj_consume_token(LPAREN);
			Expression();
			jj_consume_token(COMMA);
			Expression();
			jj_consume_token(COMMA);
			Expression();
			if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) == COMMA) {
				jj_consume_token(COMMA);
				Expression();
			} else {
				jj_la1[144] = jj_gen;
			}
			jj_consume_token(RPAREN);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void Concat() throws ParseException {/* @bgen(jjtree) Concat */
		ASTConcat jjtn000 = new ASTConcat(JJTCONCAT);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(CONCAT);
			ArgList();
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void Contains() throws ParseException {/* @bgen(jjtree) Contains */
		ASTContains jjtn000 = new ASTContains(JJTCONTAINS);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(CONTAINS);
			jj_consume_token(LPAREN);
			Expression();
			jj_consume_token(COMMA);
			Expression();
			jj_consume_token(RPAREN);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void EncodeForURI() throws ParseException {/* @bgen(jjtree) EncodeForURI */
		ASTEncodeForURI jjtn000 = new ASTEncodeForURI(JJTENCODEFORURI);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(ENCODE_FOR_URI);
			jj_consume_token(LPAREN);
			Expression();
			jj_consume_token(RPAREN);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void If() throws ParseException {/* @bgen(jjtree) If */
		ASTIf jjtn000 = new ASTIf(JJTIF);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(IF);
			jj_consume_token(LPAREN);
			Expression();
			jj_consume_token(COMMA);
			Expression();
			jj_consume_token(COMMA);
			Expression();
			jj_consume_token(RPAREN);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void In() throws ParseException {/* @bgen(jjtree) In */
		ASTIn jjtn000 = new ASTIn(JJTIN);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(IN);
			ArgList();
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void NotIn() throws ParseException {/* @bgen(jjtree) NotIn */
		ASTNotIn jjtn000 = new ASTNotIn(JJTNOTIN);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(NOT_FUNC);
			jj_consume_token(IN);
			ArgList();
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void Coalesce() throws ParseException {/* @bgen(jjtree) Coalesce */
		ASTCoalesce jjtn000 = new ASTCoalesce(JJTCOALESCE);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(COALESCE);
			jj_consume_token(LPAREN);
			Expression();
			while (true) {
				if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) != COMMA) {
					jj_la1[145] = jj_gen;
					break;
				}
				jj_consume_token(COMMA);
				Expression();
			}
			jj_consume_token(RPAREN);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void Str() throws ParseException {/* @bgen(jjtree) Str */
		ASTStr jjtn000 = new ASTStr(JJTSTR);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(STR);
			jj_consume_token(LPAREN);
			Expression();
			jj_consume_token(RPAREN);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void Lang() throws ParseException {/* @bgen(jjtree) Lang */
		ASTLang jjtn000 = new ASTLang(JJTLANG);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(LANG);
			jj_consume_token(LPAREN);
			Expression();
			jj_consume_token(RPAREN);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void LangMatches() throws ParseException {/* @bgen(jjtree) LangMatches */
		ASTLangMatches jjtn000 = new ASTLangMatches(JJTLANGMATCHES);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(LANGMATCHES);
			jj_consume_token(LPAREN);
			Expression();
			jj_consume_token(COMMA);
			Expression();
			jj_consume_token(RPAREN);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void Datatype() throws ParseException {/* @bgen(jjtree) Datatype */
		ASTDatatype jjtn000 = new ASTDatatype(JJTDATATYPE);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(DATATYPE);
			jj_consume_token(LPAREN);
			Expression();
			jj_consume_token(RPAREN);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void Bound() throws ParseException {/* @bgen(jjtree) Bound */
		ASTBound jjtn000 = new ASTBound(JJTBOUND);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(BOUND);
			jj_consume_token(LPAREN);
			Var();
			jj_consume_token(RPAREN);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void SameTerm() throws ParseException {/* @bgen(jjtree) SameTerm */
		ASTSameTerm jjtn000 = new ASTSameTerm(JJTSAMETERM);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(SAMETERM);
			jj_consume_token(LPAREN);
			Expression();
			jj_consume_token(COMMA);
			Expression();
			jj_consume_token(RPAREN);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void IsIRI() throws ParseException {/* @bgen(jjtree) IsIRI */
		ASTIsIRI jjtn000 = new ASTIsIRI(JJTISIRI);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(IS_IRI);
			jj_consume_token(LPAREN);
			Expression();
			jj_consume_token(RPAREN);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void IsBlank() throws ParseException {/* @bgen(jjtree) IsBlank */
		ASTIsBlank jjtn000 = new ASTIsBlank(JJTISBLANK);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(IS_BLANK);
			jj_consume_token(LPAREN);
			Expression();
			jj_consume_token(RPAREN);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void IsLiteral() throws ParseException {/* @bgen(jjtree) IsLiteral */
		ASTIsLiteral jjtn000 = new ASTIsLiteral(JJTISLITERAL);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(IS_LITERAL);
			jj_consume_token(LPAREN);
			Expression();
			jj_consume_token(RPAREN);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void IsNumeric() throws ParseException {/* @bgen(jjtree) IsNumeric */
		ASTIsNumeric jjtn000 = new ASTIsNumeric(JJTISNUMERIC);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(IS_NUMERIC);
			jj_consume_token(LPAREN);
			Expression();
			jj_consume_token(RPAREN);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void BNodeFunc() throws ParseException {/* @bgen(jjtree) BNodeFunc */
		ASTBNodeFunc jjtn000 = new ASTBNodeFunc(JJTBNODEFUNC);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(BNODE);
			switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
			case NIL: {
				jj_consume_token(NIL);
				break;
			}
			case LPAREN: {
				jj_consume_token(LPAREN);
				Expression();
				jj_consume_token(RPAREN);
				break;
			}
			default:
				jj_la1[146] = jj_gen;
				jj_consume_token(-1);
				throw new ParseException();
			}
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void IRIFunc() throws ParseException {/* @bgen(jjtree) IRIFunc */
		ASTIRIFunc jjtn000 = new ASTIRIFunc(JJTIRIFUNC);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(IRI);
			jj_consume_token(LPAREN);
			Expression();
			jj_consume_token(RPAREN);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void StrDt() throws ParseException {/* @bgen(jjtree) StrDt */
		ASTStrDt jjtn000 = new ASTStrDt(JJTSTRDT);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(STRDT);
			jj_consume_token(LPAREN);
			Expression();
			jj_consume_token(COMMA);
			Expression();
			jj_consume_token(RPAREN);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void StrLang() throws ParseException {/* @bgen(jjtree) StrLang */
		ASTStrLang jjtn000 = new ASTStrLang(JJTSTRLANG);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(STRLANG);
			jj_consume_token(LPAREN);
			Expression();
			jj_consume_token(COMMA);
			Expression();
			jj_consume_token(RPAREN);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void UUID() throws ParseException {/* @bgen(jjtree) UUID */
		ASTUUID jjtn000 = new ASTUUID(JJTUUID);
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(UUID);
			jj_consume_token(NIL);
		} finally {
			jjtree.closeNodeScope(jjtn000, true);
		}
	}

	final public void STRUUID() throws ParseException {/* @bgen(jjtree) STRUUID */
		ASTSTRUUID jjtn000 = new ASTSTRUUID(JJTSTRUUID);
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(STRUUID);
			jj_consume_token(NIL);
		} finally {
			jjtree.closeNodeScope(jjtn000, true);
		}
	}

	final public void Bind() throws ParseException {/* @bgen(jjtree) Bind */
		ASTBind jjtn000 = new ASTBind(JJTBIND);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(BIND);
			jj_consume_token(LPAREN);
			Expression();
			jj_consume_token(AS);
			Var();
			jj_consume_token(RPAREN);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void RegexExpression() throws ParseException {/* @bgen(jjtree) RegexExpression */
		ASTRegexExpression jjtn000 = new ASTRegexExpression(JJTREGEXEXPRESSION);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(REGEX);
			jj_consume_token(LPAREN);
			Expression();
			jj_consume_token(COMMA);
			Expression();
			if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) == COMMA) {
				jj_consume_token(COMMA);
				Expression();
			} else {
				jj_la1[147] = jj_gen;
			}
			jj_consume_token(RPAREN);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void ExistsFunc() throws ParseException {/* @bgen(jjtree) ExistsFunc */
		ASTExistsFunc jjtn000 = new ASTExistsFunc(JJTEXISTSFUNC);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(EXISTS);
			GroupGraphPattern();
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void NotExistsFunc() throws ParseException {/* @bgen(jjtree) NotExistsFunc */
		ASTNotExistsFunc jjtn000 = new ASTNotExistsFunc(JJTNOTEXISTSFUNC);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(NOT_FUNC);
			jj_consume_token(EXISTS);
			GroupGraphPattern();
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void RDFLiteral() throws ParseException {/* @bgen(jjtree) RDFLiteral */
		ASTRDFLiteral jjtn000 = new ASTRDFLiteral(JJTRDFLITERAL);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		Token t;
		try {
			String();
			switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
			case DT_PREFIX:
			case LANGTAG: {
				switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
				case LANGTAG: {
					t = jj_consume_token(LANGTAG);
					jjtn000.setLang(t.image.substring(1));
					break;
				}
				case DT_PREFIX: {
					jj_consume_token(DT_PREFIX);
					IRIref();
					break;
				}
				default:
					jj_la1[148] = jj_gen;
					jj_consume_token(-1);
					throw new ParseException();
				}
				break;
			}
			default:
				jj_la1[149] = jj_gen;
			}
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void NumericLiteral() throws ParseException {
		switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
		case INTEGER:
		case DECIMAL:
		case DOUBLE: {
			NumericLiteralUnsigned();
			break;
		}
		case INTEGER_POSITIVE:
		case DECIMAL_POSITIVE:
		case DOUBLE_POSITIVE: {
			NumericLiteralPositive();
			break;
		}
		case INTEGER_NEGATIVE:
		case DECIMAL_NEGATIVE:
		case DOUBLE_NEGATIVE: {
			NumericLiteralNegative();
			break;
		}
		default:
			jj_la1[150] = jj_gen;
			jj_consume_token(-1);
			throw new ParseException();
		}
	}

	final public void NumericLiteralUnsigned() throws ParseException {/* @bgen(jjtree) NumericLiteral */
		ASTNumericLiteral jjtn000 = new ASTNumericLiteral(JJTNUMERICLITERAL);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		Token t;
		IRI datatype;
		try {
			switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
			case INTEGER: {
				t = jj_consume_token(INTEGER);
				datatype = XSD.INTEGER;
				break;
			}
			case DECIMAL: {
				t = jj_consume_token(DECIMAL);
				datatype = XSD.DECIMAL;
				break;
			}
			case DOUBLE: {
				t = jj_consume_token(DOUBLE);
				datatype = XSD.DOUBLE;
				break;
			}
			default:
				jj_la1[151] = jj_gen;
				jj_consume_token(-1);
				throw new ParseException();
			}
			jjtree.closeNodeScope(jjtn000, true);
			jjtc000 = false;
			jjtn000.setValue(t.image);
			jjtn000.setDatatype(datatype);
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void NumericLiteralPositive() throws ParseException {/* @bgen(jjtree) NumericLiteral */
		ASTNumericLiteral jjtn000 = new ASTNumericLiteral(JJTNUMERICLITERAL);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		Token t;
		IRI datatype;
		try {
			switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
			case INTEGER_POSITIVE: {
				t = jj_consume_token(INTEGER_POSITIVE);
				datatype = XSD.INTEGER;
				break;
			}
			case DECIMAL_POSITIVE: {
				t = jj_consume_token(DECIMAL_POSITIVE);
				datatype = XSD.DECIMAL;
				break;
			}
			case DOUBLE_POSITIVE: {
				t = jj_consume_token(DOUBLE_POSITIVE);
				datatype = XSD.DOUBLE;
				break;
			}
			default:
				jj_la1[152] = jj_gen;
				jj_consume_token(-1);
				throw new ParseException();
			}
			jjtree.closeNodeScope(jjtn000, true);
			jjtc000 = false;
			jjtn000.setValue(t.image);
			jjtn000.setDatatype(datatype);
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void NumericLiteralNegative() throws ParseException {/* @bgen(jjtree) NumericLiteral */
		ASTNumericLiteral jjtn000 = new ASTNumericLiteral(JJTNUMERICLITERAL);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		Token t;
		IRI datatype;
		try {
			switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
			case INTEGER_NEGATIVE: {
				t = jj_consume_token(INTEGER_NEGATIVE);
				datatype = XSD.INTEGER;
				break;
			}
			case DECIMAL_NEGATIVE: {
				t = jj_consume_token(DECIMAL_NEGATIVE);
				datatype = XSD.DECIMAL;
				break;
			}
			case DOUBLE_NEGATIVE: {
				t = jj_consume_token(DOUBLE_NEGATIVE);
				datatype = XSD.DOUBLE;
				break;
			}
			default:
				jj_la1[153] = jj_gen;
				jj_consume_token(-1);
				throw new ParseException();
			}
			jjtree.closeNodeScope(jjtn000, true);
			jjtc000 = false;
			jjtn000.setValue(t.image);
			jjtn000.setDatatype(datatype);
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void BooleanLiteral() throws ParseException {
		switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
		case TRUE: {
			ASTTrue jjtn001 = new ASTTrue(JJTTRUE);
			jjtree.openNodeScope(jjtn001);
			try {
				jj_consume_token(TRUE);
			} finally {
				jjtree.closeNodeScope(jjtn001, true);
			}
			break;
		}
		case FALSE: {
			ASTFalse jjtn002 = new ASTFalse(JJTFALSE);
			jjtree.openNodeScope(jjtn002);
			try {
				jj_consume_token(FALSE);
			} finally {
				jjtree.closeNodeScope(jjtn002, true);
			}
			break;
		}
		default:
			jj_la1[154] = jj_gen;
			jj_consume_token(-1);
			throw new ParseException();
		}
	}

	final public void String() throws ParseException {/* @bgen(jjtree) String */
		ASTString jjtn000 = new ASTString(JJTSTRING);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		Token t;
		try {
			switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
			case STRING_LITERAL1:
			case STRING_LITERAL2: {
				switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
				case STRING_LITERAL1: {
					t = jj_consume_token(STRING_LITERAL1);
					break;
				}
				case STRING_LITERAL2: {
					t = jj_consume_token(STRING_LITERAL2);
					break;
				}
				default:
					jj_la1[155] = jj_gen;
					jj_consume_token(-1);
					throw new ParseException();
				}
				jjtree.closeNodeScope(jjtn000, true);
				jjtc000 = false;
				jjtn000.setValue(_trimString(t.image, 1));
				break;
			}
			case STRING_LITERAL_LONG1:
			case STRING_LITERAL_LONG2: {
				switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
				case STRING_LITERAL_LONG1: {
					t = jj_consume_token(STRING_LITERAL_LONG1);
					break;
				}
				case STRING_LITERAL_LONG2: {
					t = jj_consume_token(STRING_LITERAL_LONG2);
					break;
				}
				default:
					jj_la1[156] = jj_gen;
					jj_consume_token(-1);
					throw new ParseException();
				}
				jjtree.closeNodeScope(jjtn000, true);
				jjtc000 = false;
				jjtn000.setValue(_trimString(t.image, 3));
				break;
			}
			default:
				jj_la1[157] = jj_gen;
				jj_consume_token(-1);
				throw new ParseException();
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void IRIref() throws ParseException {
		switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
		case Q_IRI_REF: {
			IRI();
			break;
		}
		case PNAME_NS:
		case PNAME_LN: {
			PrefixedName();
			break;
		}
		default:
			jj_la1[158] = jj_gen;
			jj_consume_token(-1);
			throw new ParseException();
		}
	}

	final public void PrefixedName() throws ParseException {/* @bgen(jjtree) QName */
		ASTQName jjtn000 = new ASTQName(JJTQNAME);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		Token t;
		try {
			switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
			case PNAME_LN: {
				t = jj_consume_token(PNAME_LN);
				break;
			}
			case PNAME_NS: {
				t = jj_consume_token(PNAME_NS);
				break;
			}
			default:
				jj_la1[159] = jj_gen;
				jj_consume_token(-1);
				throw new ParseException();
			}
			jjtree.closeNodeScope(jjtn000, true);
			jjtc000 = false;
			jjtn000.setValue(t.image);
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void BlankNode() throws ParseException {/* @bgen(jjtree) BlankNode */
		ASTBlankNode jjtn000 = new ASTBlankNode(JJTBLANKNODE);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		Token t;
		try {
			switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
			case BLANK_NODE_LABEL: {
				t = jj_consume_token(BLANK_NODE_LABEL);
				jjtree.closeNodeScope(jjtn000, true);
				jjtc000 = false;
				jjtn000.setID(t.image.substring(2));
				break;
			}
			case ANON: {
				jj_consume_token(ANON);
				break;
			}
			default:
				jj_la1[160] = jj_gen;
				jj_consume_token(-1);
				throw new ParseException();
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void IRI() throws ParseException {/* @bgen(jjtree) IRI */
		ASTIRI jjtn000 = new ASTIRI(JJTIRI);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		Token t;
		try {
			t = jj_consume_token(Q_IRI_REF);
			jjtree.closeNodeScope(jjtn000, true);
			jjtc000 = false;
			jjtn000.setValue(_trimString(t.image, 1));
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	/// SPARQL 1.1 Update productions
	final public void GraphRefAll() throws ParseException {/* @bgen(jjtree) GraphRefAll */
		ASTGraphRefAll jjtn000 = new ASTGraphRefAll(JJTGRAPHREFALL);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
			case GRAPH: {
				GraphRef();
				break;
			}
			case DEFAULT_GRAPH: {
				jj_consume_token(DEFAULT_GRAPH);
				jjtree.closeNodeScope(jjtn000, true);
				jjtc000 = false;
				jjtn000.setDefault(true);
				break;
			}
			case NAMED: {
				jj_consume_token(NAMED);
				jjtree.closeNodeScope(jjtn000, true);
				jjtc000 = false;
				jjtn000.setNamed(true);
				break;
			}
			case ALL: {
				jj_consume_token(ALL);
				break;
			}
			default:
				jj_la1[161] = jj_gen;
				jj_consume_token(-1);
				throw new ParseException();
			}
		} catch (Throwable jjte000) {
			if (jjtc000) {
				jjtree.clearNodeScope(jjtn000);
				jjtc000 = false;
			} else {
				jjtree.popNode();
			}
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void GraphOrDefault() throws ParseException {/* @bgen(jjtree) GraphOrDefault */
		ASTGraphOrDefault jjtn000 = new ASTGraphOrDefault(JJTGRAPHORDEFAULT);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
			case DEFAULT_GRAPH: {
				jj_consume_token(DEFAULT_GRAPH);
				break;
			}
			case GRAPH:
			case Q_IRI_REF:
			case PNAME_NS:
			case PNAME_LN: {
				if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) == GRAPH) {
					jj_consume_token(GRAPH);
				} else {
					jj_la1[162] = jj_gen;
				}
				IRIref();
				break;
			}
			default:
				jj_la1[163] = jj_gen;
				jj_consume_token(-1);
				throw new ParseException();
			}
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void GraphRef() throws ParseException {
		jj_consume_token(GRAPH);
		IRIref();
	}

	final public void UnparsedQuadDataBlock() throws ParseException {/* @bgen(jjtree) UnparsedQuadDataBlock */
		ASTUnparsedQuadDataBlock jjtn000 = new ASTUnparsedQuadDataBlock(JJTUNPARSEDQUADDATABLOCK);
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(LBRACE);
			jjtn000.setDataBlock(readToMatchingBrace());
			jj_consume_token(RBRACE);
		} finally {
			jjtree.closeNodeScope(jjtn000, true);
		}
	}

	final public void QuadData() throws ParseException {
		jj_consume_token(LBRACE);
		Quads();
		jj_consume_token(RBRACE);
	}

	final public void Quads() throws ParseException {
		switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
		case LPAREN:
		case LBRACK:
		case NIL:
		case ANON:
		case TRUE:
		case FALSE:
		case Q_IRI_REF:
		case PNAME_NS:
		case PNAME_LN:
		case BLANK_NODE_LABEL:
		case VAR1:
		case VAR2:
		case INTEGER:
		case INTEGER_POSITIVE:
		case INTEGER_NEGATIVE:
		case DECIMAL:
		case DECIMAL_POSITIVE:
		case DECIMAL_NEGATIVE:
		case DOUBLE:
		case DOUBLE_POSITIVE:
		case DOUBLE_NEGATIVE:
		case STRING_LITERAL1:
		case STRING_LITERAL2:
		case STRING_LITERAL_LONG1:
		case STRING_LITERAL_LONG2:
		case TRIPLE_OPEN: {
			TriplesTemplate();
			break;
		}
		default:
			jj_la1[164] = jj_gen;
		}
		while (true) {
			if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) != GRAPH) {
				jj_la1[165] = jj_gen;
				break;
			}
			QuadsNotTriples();
			if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) == DOT) {
				jj_consume_token(DOT);
			} else {
				jj_la1[166] = jj_gen;
			}
			switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
			case LPAREN:
			case LBRACK:
			case NIL:
			case ANON:
			case TRUE:
			case FALSE:
			case Q_IRI_REF:
			case PNAME_NS:
			case PNAME_LN:
			case BLANK_NODE_LABEL:
			case VAR1:
			case VAR2:
			case INTEGER:
			case INTEGER_POSITIVE:
			case INTEGER_NEGATIVE:
			case DECIMAL:
			case DECIMAL_POSITIVE:
			case DECIMAL_NEGATIVE:
			case DOUBLE:
			case DOUBLE_POSITIVE:
			case DOUBLE_NEGATIVE:
			case STRING_LITERAL1:
			case STRING_LITERAL2:
			case STRING_LITERAL_LONG1:
			case STRING_LITERAL_LONG2:
			case TRIPLE_OPEN: {
				TriplesTemplate();
				break;
			}
			default:
				jj_la1[167] = jj_gen;
			}
		}
	}

	final public void QuadsNotTriples() throws ParseException {/* @bgen(jjtree) QuadsNotTriples */
		ASTQuadsNotTriples jjtn000 = new ASTQuadsNotTriples(JJTQUADSNOTTRIPLES);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(GRAPH);
			VarOrIRIref();
			jj_consume_token(LBRACE);
			switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
			case LPAREN:
			case LBRACK:
			case NIL:
			case ANON:
			case TRUE:
			case FALSE:
			case Q_IRI_REF:
			case PNAME_NS:
			case PNAME_LN:
			case BLANK_NODE_LABEL:
			case VAR1:
			case VAR2:
			case INTEGER:
			case INTEGER_POSITIVE:
			case INTEGER_NEGATIVE:
			case DECIMAL:
			case DECIMAL_POSITIVE:
			case DECIMAL_NEGATIVE:
			case DOUBLE:
			case DOUBLE_POSITIVE:
			case DOUBLE_NEGATIVE:
			case STRING_LITERAL1:
			case STRING_LITERAL2:
			case STRING_LITERAL_LONG1:
			case STRING_LITERAL_LONG2:
			case TRIPLE_OPEN: {
				TriplesTemplate();
				break;
			}
			default:
				jj_la1[168] = jj_gen;
			}
			jj_consume_token(RBRACE);
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void Update() throws ParseException {
		switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
		case LOAD: {
			Load();
			break;
		}
		case CLEAR: {
			Clear();
			break;
		}
		case DROP: {
			Drop();
			break;
		}
		case ADD: {
			Add();
			break;
		}
		case MOVE: {
			Move();
			break;
		}
		case COPY: {
			Copy();
			break;
		}
		case CREATE: {
			Create();
			break;
		}
		default:
			jj_la1[169] = jj_gen;
			if (jj_2_5()) {
				InsertData();
			} else if (jj_2_6()) {
				DeleteData();
			} else if (jj_2_7()) {
				DeleteWhere();
			} else {
				switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
				case INSERT:
				case DELETE:
				case WITH: {
					Modify();
					break;
				}
				default:
					jj_la1[170] = jj_gen;
					jj_consume_token(-1);
					throw new ParseException();
				}
			}
		}
	}

	final public void Load() throws ParseException {/* @bgen(jjtree) Load */
		ASTLoad jjtn000 = new ASTLoad(JJTLOAD);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(LOAD);
			if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) == SILENT) {
				jj_consume_token(SILENT);
				jjtn000.setSilent(true);
			} else {
				jj_la1[171] = jj_gen;
			}
			IRIref();
			if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) == INTO) {
				jj_consume_token(INTO);
				GraphRef();
			} else {
				jj_la1[172] = jj_gen;
			}
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void Clear() throws ParseException {/* @bgen(jjtree) Clear */
		ASTClear jjtn000 = new ASTClear(JJTCLEAR);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(CLEAR);
			if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) == SILENT) {
				jj_consume_token(SILENT);
				jjtn000.setSilent(true);
			} else {
				jj_la1[173] = jj_gen;
			}
			GraphRefAll();
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void Drop() throws ParseException {/* @bgen(jjtree) Drop */
		ASTDrop jjtn000 = new ASTDrop(JJTDROP);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(DROP);
			if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) == SILENT) {
				jj_consume_token(SILENT);
				jjtn000.setSilent(true);
			} else {
				jj_la1[174] = jj_gen;
			}
			GraphRefAll();
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void Add() throws ParseException {/* @bgen(jjtree) Add */
		ASTAdd jjtn000 = new ASTAdd(JJTADD);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(ADD);
			if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) == SILENT) {
				jj_consume_token(SILENT);
				jjtn000.setSilent(true);
			} else {
				jj_la1[175] = jj_gen;
			}
			GraphOrDefault();
			jj_consume_token(TO);
			GraphOrDefault();
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void Move() throws ParseException {/* @bgen(jjtree) Move */
		ASTMove jjtn000 = new ASTMove(JJTMOVE);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(MOVE);
			if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) == SILENT) {
				jj_consume_token(SILENT);
				jjtn000.setSilent(true);
			} else {
				jj_la1[176] = jj_gen;
			}
			GraphOrDefault();
			jj_consume_token(TO);
			GraphOrDefault();
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void Copy() throws ParseException {/* @bgen(jjtree) Copy */
		ASTCopy jjtn000 = new ASTCopy(JJTCOPY);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(COPY);
			if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) == SILENT) {
				jj_consume_token(SILENT);
				jjtn000.setSilent(true);
			} else {
				jj_la1[177] = jj_gen;
			}
			GraphOrDefault();
			jj_consume_token(TO);
			GraphOrDefault();
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void Create() throws ParseException {/* @bgen(jjtree) Create */
		ASTCreate jjtn000 = new ASTCreate(JJTCREATE);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(CREATE);
			if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) == SILENT) {
				jj_consume_token(SILENT);
				jjtn000.setSilent(true);
			} else {
				jj_la1[178] = jj_gen;
			}
			GraphRef();
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void InsertData() throws ParseException {/* @bgen(jjtree) InsertData */
		ASTInsertData jjtn000 = new ASTInsertData(JJTINSERTDATA);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(INSERT);
			jj_consume_token(DATA);
			UnparsedQuadDataBlock();
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void DeleteData() throws ParseException {/* @bgen(jjtree) DeleteData */
		ASTDeleteData jjtn000 = new ASTDeleteData(JJTDELETEDATA);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(DELETE);
			jj_consume_token(DATA);
			UnparsedQuadDataBlock();
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void DeleteWhere() throws ParseException {/* @bgen(jjtree) DeleteWhere */
		ASTDeleteWhere jjtn000 = new ASTDeleteWhere(JJTDELETEWHERE);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(DELETE);
			jj_consume_token(WHERE);
			QuadData();
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void DeleteClause() throws ParseException {/* @bgen(jjtree) DeleteClause */
		ASTDeleteClause jjtn000 = new ASTDeleteClause(JJTDELETECLAUSE);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(DELETE);
			QuadData();
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void InsertClause() throws ParseException {/* @bgen(jjtree) InsertClause */
		ASTInsertClause jjtn000 = new ASTInsertClause(JJTINSERTCLAUSE);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(INSERT);
			QuadData();
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void UsingClause() throws ParseException {/* @bgen(jjtree) DatasetClause */
		ASTDatasetClause jjtn000 = new ASTDatasetClause(JJTDATASETCLAUSE);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(USING);
			if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) == NAMED) {
				jj_consume_token(NAMED);
				jjtn000.setNamed(true);
			} else {
				jj_la1[179] = jj_gen;
			}
			IRIref();
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void WithClause() throws ParseException {/* @bgen(jjtree) DatasetClause */
		ASTDatasetClause jjtn000 = new ASTDatasetClause(JJTDATASETCLAUSE);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(WITH);
			IRIref();
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	/*
	 * WHERE keyword is required in modify operations
	 */
	final public void ModifyWhereClause() throws ParseException {/* @bgen(jjtree) WhereClause */
		ASTWhereClause jjtn000 = new ASTWhereClause(JJTWHERECLAUSE);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			jj_consume_token(WHERE);
			GroupGraphPattern();
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	final public void Modify() throws ParseException {/* @bgen(jjtree) Modify */
		ASTModify jjtn000 = new ASTModify(JJTMODIFY);
		boolean jjtc000 = true;
		jjtree.openNodeScope(jjtn000);
		try {
			if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) == WITH) {
				WithClause();
			} else {
				jj_la1[180] = jj_gen;
			}
			switch ((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) {
			case DELETE: {
				DeleteClause();
				if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) == INSERT) {
					InsertClause();
				} else {
					jj_la1[181] = jj_gen;
				}
				break;
			}
			case INSERT: {
				InsertClause();
				break;
			}
			default:
				jj_la1[182] = jj_gen;
				jj_consume_token(-1);
				throw new ParseException();
			}
			while (true) {
				if (((jj_ntk == -1) ? jj_ntk_f() : jj_ntk) != USING) {
					jj_la1[183] = jj_gen;
					break;
				}
				UsingClause();
			}
			ModifyWhereClause();
		} catch (Throwable jjte000) {
			jjtree.clearNodeScope(jjtn000);
			jjtc000 = false;
			if (jjte000 instanceof RuntimeException) {
				{
					throw (RuntimeException) jjte000;
				}
			}
			if (jjte000 instanceof ParseException) {
				{
					throw (ParseException) jjte000;
				}
			}
			{
				throw (Error) jjte000;
			}
		} finally {
			if (jjtc000) {
				jjtree.closeNodeScope(jjtn000, true);
			}
		}
	}

	private boolean jj_2_1() {
		int xla = 2;
		jj_la = xla;
		jj_lastpos = jj_scanpos = token;
		try {
			return !jj_3_1();
		} catch (LookaheadSuccess ls) {
			return true;
		} finally {
			jj_save(0, xla);
		}
	}

	private boolean jj_2_2() {
		int xla = 2;
		jj_la = xla;
		jj_lastpos = jj_scanpos = token;
		try {
			return !jj_3_2();
		} catch (LookaheadSuccess ls) {
			return true;
		} finally {
			jj_save(1, xla);
		}
	}

	private boolean jj_2_3() {
		int xla = 2;
		jj_la = xla;
		jj_lastpos = jj_scanpos = token;
		try {
			return !jj_3_3();
		} catch (LookaheadSuccess ls) {
			return true;
		} finally {
			jj_save(2, xla);
		}
	}

	private boolean jj_2_4() {
		int xla = 2;
		jj_la = xla;
		jj_lastpos = jj_scanpos = token;
		try {
			return !jj_3_4();
		} catch (LookaheadSuccess ls) {
			return true;
		} finally {
			jj_save(3, xla);
		}
	}

	private boolean jj_2_5() {
		int xla = 2;
		jj_la = xla;
		jj_lastpos = jj_scanpos = token;
		try {
			return !jj_3_5();
		} catch (LookaheadSuccess ls) {
			return true;
		} finally {
			jj_save(4, xla);
		}
	}

	private boolean jj_2_6() {
		int xla = 2;
		jj_la = xla;
		jj_lastpos = jj_scanpos = token;
		try {
			return !jj_3_6();
		} catch (LookaheadSuccess ls) {
			return true;
		} finally {
			jj_save(5, xla);
		}
	}

	private boolean jj_2_7() {
		int xla = 2;
		jj_la = xla;
		jj_lastpos = jj_scanpos = token;
		try {
			return !jj_3_7();
		} catch (LookaheadSuccess ls) {
			return true;
		} finally {
			jj_save(6, xla);
		}
	}

	private boolean jj_3R_85() {
		return jj_scan_token(FALSE);
	}

	private boolean jj_3R_77() {
		Token xsp;
		xsp = jj_scanpos;
		if (jj_3R_84()) {
			jj_scanpos = xsp;
			return jj_3R_85();
		}
		return false;
	}

	private boolean jj_3R_84() {
		return jj_scan_token(TRUE);
	}

	private boolean jj_3R_57() {
		return jj_3R_65();
	}

	private boolean jj_3R_100() {
		return jj_scan_token(DOUBLE_NEGATIVE);
	}

	private boolean jj_3R_56() {
		return jj_3R_64();
	}

	private boolean jj_3R_50() {
		Token xsp;
		xsp = jj_scanpos;
		if (jj_3R_56()) {
			jj_scanpos = xsp;
			return jj_3R_57();
		}
		return false;
	}

	private boolean jj_3R_99() {
		return jj_scan_token(DECIMAL_NEGATIVE);
	}

	private boolean jj_3R_98() {
		return jj_scan_token(INTEGER_NEGATIVE);
	}

	private boolean jj_3R_59() {
		return jj_3R_67();
	}

	private boolean jj_3R_58() {
		return jj_3R_66();
	}

	private boolean jj_3R_51() {
		Token xsp;
		xsp = jj_scanpos;
		if (jj_3R_58()) {
			jj_scanpos = xsp;
			return jj_3R_59();
		}
		return false;
	}

	private boolean jj_3R_91() {
		Token xsp;
		xsp = jj_scanpos;
		if (jj_3R_98()) {
			jj_scanpos = xsp;
			if (jj_3R_99()) {
				jj_scanpos = xsp;
				return jj_3R_100();
			}
		}
		return false;
	}

	private boolean jj_3R_97() {
		return jj_scan_token(DOUBLE_POSITIVE);
	}

	private boolean jj_3R_96() {
		return jj_scan_token(DECIMAL_POSITIVE);
	}

	private boolean jj_3R_95() {
		return jj_scan_token(INTEGER_POSITIVE);
	}

	private boolean jj_3R_90() {
		Token xsp;
		xsp = jj_scanpos;
		if (jj_3R_95()) {
			jj_scanpos = xsp;
			if (jj_3R_96()) {
				jj_scanpos = xsp;
				return jj_3R_97();
			}
		}
		return false;
	}

	private boolean jj_3R_40() {
		if (jj_scan_token(DELETE)) {
			return true;
		}
		return jj_scan_token(WHERE);
	}

	private boolean jj_3_3() {
		if (jj_scan_token(DOT)) {
			return true;
		}
		return jj_3R_36();
	}

	private boolean jj_3R_94() {
		return jj_scan_token(DOUBLE);
	}

	private boolean jj_3_2() {
		if (jj_scan_token(DOT)) {
			return true;
		}
		return jj_3R_35();
	}

	private boolean jj_3R_93() {
		return jj_scan_token(DECIMAL);
	}

	private boolean jj_3R_92() {
		return jj_scan_token(INTEGER);
	}

	private boolean jj_3R_39() {
		if (jj_scan_token(DELETE)) {
			return true;
		}
		return jj_scan_token(DATA);
	}

	private boolean jj_3R_38() {
		if (jj_scan_token(INSERT)) {
			return true;
		}
		return jj_scan_token(DATA);
	}

	private boolean jj_3R_83() {
		return jj_3R_91();
	}

	private boolean jj_3R_82() {
		return jj_3R_90();
	}

	private boolean jj_3R_89() {
		Token xsp;
		xsp = jj_scanpos;
		if (jj_3R_92()) {
			jj_scanpos = xsp;
			if (jj_3R_93()) {
				jj_scanpos = xsp;
				return jj_3R_94();
			}
		}
		return false;
	}

	private boolean jj_3R_81() {
		return jj_3R_89();
	}

	private boolean jj_3R_76() {
		Token xsp;
		xsp = jj_scanpos;
		if (jj_3R_81()) {
			jj_scanpos = xsp;
			if (jj_3R_82()) {
				jj_scanpos = xsp;
				return jj_3R_83();
			}
		}
		return false;
	}

	private boolean jj_3R_48() {
		return jj_3R_35();
	}

	private boolean jj_3R_75() {
		return jj_3R_80();
	}

	private boolean jj_3R_41() {
		return jj_3R_48();
	}

	private boolean jj_3_1() {
		return jj_3R_34();
	}

	private boolean jj_3_7() {
		return jj_3R_40();
	}

	private boolean jj_3R_34() {
		if (jj_scan_token(LBRACE)) {
			return true;
		}
		Token xsp;
		xsp = jj_scanpos;
		if (jj_3R_41()) {
			jj_scanpos = xsp;
		}
		return jj_scan_token(RBRACE);
	}

	private boolean jj_3_6() {
		return jj_3R_39();
	}

	private boolean jj_3_5() {
		return jj_3R_38();
	}

	private boolean jj_3R_79() {
		return jj_scan_token(TRIPLE_OPEN);
	}

	private boolean jj_3R_74() {
		return jj_3R_79();
	}

	private boolean jj_3R_73() {
		return jj_scan_token(NIL);
	}

	private boolean jj_3R_72() {
		return jj_3R_78();
	}

	private boolean jj_3R_71() {
		return jj_3R_77();
	}

	private boolean jj_3R_70() {
		return jj_3R_76();
	}

	private boolean jj_3R_69() {
		return jj_3R_75();
	}

	private boolean jj_3R_63() {
		Token xsp;
		xsp = jj_scanpos;
		if (jj_3R_68()) {
			jj_scanpos = xsp;
			if (jj_3R_69()) {
				jj_scanpos = xsp;
				if (jj_3R_70()) {
					jj_scanpos = xsp;
					if (jj_3R_71()) {
						jj_scanpos = xsp;
						if (jj_3R_72()) {
							jj_scanpos = xsp;
							if (jj_3R_73()) {
								jj_scanpos = xsp;
								return jj_3R_74();
							}
						}
					}
				}
			}
		}
		return false;
	}

	private boolean jj_3R_68() {
		return jj_3R_46();
	}

	private boolean jj_3R_62() {
		Token xsp;
		xsp = jj_scanpos;
		if (jj_scan_token(148)) {
			jj_scanpos = xsp;
			return jj_scan_token(149);
		}
		return false;
	}

	private boolean jj_3R_43() {
		return jj_3R_50();
	}

	private boolean jj_3R_35() {
		Token xsp;
		xsp = jj_scanpos;
		if (jj_3R_42()) {
			jj_scanpos = xsp;
			return jj_3R_43();
		}
		return false;
	}

	private boolean jj_3R_42() {
		return jj_3R_49();
	}

	private boolean jj_3R_55() {
		return jj_3R_63();
	}

	private boolean jj_3R_54() {
		return jj_3R_62();
	}

	private boolean jj_3R_49() {
		Token xsp;
		xsp = jj_scanpos;
		if (jj_3R_54()) {
			jj_scanpos = xsp;
			return jj_3R_55();
		}
		return false;
	}

	private boolean jj_3R_60() {
		return jj_scan_token(Q_IRI_REF);
	}

	private boolean jj_3R_45() {
		return jj_3R_51();
	}

	private boolean jj_3R_44() {
		return jj_3R_49();
	}

	private boolean jj_3R_36() {
		Token xsp;
		xsp = jj_scanpos;
		if (jj_3R_44()) {
			jj_scanpos = xsp;
			return jj_3R_45();
		}
		return false;
	}

	private boolean jj_3R_78() {
		Token xsp;
		xsp = jj_scanpos;
		if (jj_3R_86()) {
			jj_scanpos = xsp;
			return jj_scan_token(31);
		}
		return false;
	}

	private boolean jj_3R_86() {
		return jj_scan_token(BLANK_NODE_LABEL);
	}

	private boolean jj_3R_47() {
		return jj_scan_token(LPAREN);
	}

	private boolean jj_3R_61() {
		Token xsp;
		xsp = jj_scanpos;
		if (jj_scan_token(146)) {
			jj_scanpos = xsp;
			return jj_scan_token(145);
		}
		return false;
	}

	private boolean jj_3R_64() {
		return jj_scan_token(LPAREN);
	}

	private boolean jj_3R_53() {
		return jj_3R_61();
	}

	private boolean jj_3R_52() {
		return jj_3R_60();
	}

	private boolean jj_3R_46() {
		Token xsp;
		xsp = jj_scanpos;
		if (jj_3R_52()) {
			jj_scanpos = xsp;
			return jj_3R_53();
		}
		return false;
	}

	private boolean jj_3R_66() {
		return jj_scan_token(LPAREN);
	}

	private boolean jj_3R_37() {
		if (jj_3R_46()) {
			return true;
		}
		Token xsp;
		xsp = jj_scanpos;
		if (jj_3R_47()) {
			jj_scanpos = xsp;
			return jj_scan_token(30);
		}
		return false;
	}

	private boolean jj_3R_65() {
		return jj_scan_token(LBRACK);
	}

	private boolean jj_3R_88() {
		Token xsp;
		xsp = jj_scanpos;
		if (jj_scan_token(166)) {
			jj_scanpos = xsp;
			return jj_scan_token(167);
		}
		return false;
	}

	private boolean jj_3R_80() {
		Token xsp;
		xsp = jj_scanpos;
		if (jj_3R_87()) {
			jj_scanpos = xsp;
			return jj_3R_88();
		}
		return false;
	}

	private boolean jj_3R_87() {
		Token xsp;
		xsp = jj_scanpos;
		if (jj_scan_token(164)) {
			jj_scanpos = xsp;
			return jj_scan_token(165);
		}
		return false;
	}

	private boolean jj_3_4() {
		return jj_3R_37();
	}

	private boolean jj_3R_67() {
		return jj_scan_token(LBRACK);
	}

	/**
	 * Generated Token Manager.
	 */
	public SyntaxTreeBuilderTokenManager token_source;
	/**
	 * Current token.
	 */
	public Token token;
	/**
	 * Next token.
	 */
	public Token jj_nt;
	private int jj_ntk;
	private Token jj_scanpos, jj_lastpos;
	private int jj_la;
	private int jj_gen;
	final private int[] jj_la1 = new int[184];
	static private int[] jj_la1_0;
	static private int[] jj_la1_1;
	static private int[] jj_la1_2;
	static private int[] jj_la1_3;
	static private int[] jj_la1_4;
	static private int[] jj_la1_5;

	static {
		jj_la1_init_0();
		jj_la1_init_1();
		jj_la1_init_2();
		jj_la1_init_3();
		jj_la1_init_4();
		jj_la1_init_5();
	}

	private static void jj_la1_init_0() {
		jj_la1_0 = new int[] { 0x400, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x10, 0x1000010, 0x10, 0x0, 0x0,
				0xc0000110, 0x0, 0x40, 0x0, 0x0, 0x0, 0x1000000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x40000010, 0x0,
				0x40000010, 0x0, 0x0, 0x40000010, 0x40000010, 0x0, 0x40000010, 0x0, 0x0, 0x0, 0x0, 0x0, 0x10, 0x10, 0x0,
				0x10, 0x0, 0x0, 0x10, 0x0, 0x0, 0x0, 0x0, 0xc0000110, 0x1000, 0x40, 0x0, 0x1000, 0xc0000110, 0x1000,
				0xc0000110, 0x0, 0xc0000110, 0x0, 0x1000, 0x1000, 0x40, 0x0, 0x0, 0x0, 0x10, 0x0, 0x800, 0x40000010,
				0x800, 0x40000010, 0x0, 0xc0000110, 0x0, 0x400, 0x800, 0x10080010, 0xc0000110, 0x10080010, 0x10080010,
				0x400, 0x800, 0x8000000, 0x4000000, 0x10000000, 0x3400000, 0x80010, 0x8000000, 0x10000000, 0x10000010,
				0x0, 0x10000000, 0x3400000, 0x0, 0x110, 0x110, 0xc0000110, 0xc0000110, 0xc0000110, 0xc0000110,
				0xc0000000, 0x0, 0x0, 0xc0000000, 0xc0000000, 0x0, 0xc0000000, 0x0, 0x0, 0xc80010, 0x100000, 0x200000,
				0x7e000, 0x7e000, 0xc00000, 0xc00000, 0x5000000, 0x5000000, 0x400000, 0xc80010, 0x10, 0x0, 0x0, 0x0,
				0x1c80010, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x400, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x800, 0x800, 0x800,
				0x40000010, 0x800, 0x20000000, 0x20000000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x80000000,
				0x0, 0x0, 0x0, 0xc0000110, 0x0, 0x1000, 0xc0000110, 0xc0000110, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
				0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, };
	}

	private static void jj_la1_init_1() {
		jj_la1_1 = new int[] { 0x0, 0x0, 0x6, 0x6, 0x78, 0x400, 0x0, 0x0, 0x180, 0x180, 0x0, 0x0, 0x0, 0x400, 0x0, 0x0,
				0x400, 0x1000, 0x0, 0x0, 0x0, 0x0, 0x400, 0x0, 0x800, 0x800, 0x1000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
				0x0, 0x0, 0x0, 0x0, 0x4000, 0x2000000, 0x2000, 0xc0000, 0xfc000000, 0xfc030000, 0x200, 0xfc000000,
				0x30000, 0x30000, 0xfc030000, 0x80000, 0x40000, 0xc0000, 0x8, 0x1000000, 0x0, 0xb00000, 0x1000000, 0x0,
				0x0, 0x0, 0x0, 0x1000000, 0x1000000, 0x1000000, 0x0, 0x0, 0xb00000, 0x8, 0x400000, 0x0, 0xfc000000,
				0x80, 0x0, 0x0, 0x0, 0x0, 0x1, 0x0, 0x1, 0x0, 0x0, 0x1, 0x0, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
				0x1, 0x0, 0x1, 0x1, 0x1, 0x1, 0x0, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
				0x0, 0x0, 0xfc000000, 0x0, 0x0, 0x4000000, 0x4000000, 0x0, 0x0, 0x0, 0x0, 0x0, 0xfc000000, 0xfc000000,
				0x0, 0x0, 0x80, 0xfc000000, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x0, 0xfc000000, 0x40000000, 0x0,
				0xb0000000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
				0x0, 0x0, 0x200800, 0x200000, 0x200000, 0x0, 0x200000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
				0x0, 0x0, 0x0, 0x800, 0x0, 0x0, 0x0, 0x0, };
	}

	private static void jj_la1_init_2() {
		jj_la1_2 = new int[] { 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x30000000, 0x30000000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
				0x30000000, 0x3000000, 0x0, 0x0, 0x30000000, 0x0, 0x0, 0x0, 0x0, 0x30000000, 0x0, 0x0, 0x0, 0x0, 0x0,
				0x30000000, 0x0, 0x43000000, 0x0, 0x0, 0x0, 0x43000000, 0x0, 0x43000000, 0x0, 0x0, 0x0, 0x0, 0x80803fff,
				0x80803fff, 0x0, 0x80803fff, 0x0, 0x0, 0x80803fff, 0x0, 0x0, 0x0, 0x0, 0x7000000, 0x0, 0x28000000,
				0x4000000, 0x0, 0x3000000, 0x0, 0x3000000, 0x4000000, 0x7000000, 0x4000000, 0x0, 0x0, 0x28000000, 0x0,
				0x0, 0x0, 0x80803fff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3000000, 0x0, 0x0, 0x0, 0x0, 0x3000000, 0x0, 0x0,
				0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3000000, 0x3000000,
				0x3000000, 0x3000000, 0x3000000, 0x0, 0x0, 0x3000000, 0x3000000, 0x0, 0x3000000, 0x0, 0x3000000,
				0x83bfbfff, 0x0, 0x0, 0x4000, 0x4000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x83bfbfff, 0x80803fff, 0x33f8000,
				0x3f8000, 0x0, 0x83bfbfff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x80803fff, 0x80800000, 0x0, 0x1fbc, 0x0,
				0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3000000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
				0x0, 0x0, 0x0, 0x3000000, 0x0, 0x0, 0x3000000, 0x3000000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
				0x0, 0x0, 0x0, 0x0, 0x0, 0x0, };
	}

	private static void jj_la1_init_3() {
		jj_la1_3 = new int[] { 0x0, 0x80000000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
				0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
				0x0, 0x0, 0x0, 0x0, 0x0, 0x7fffffff, 0x7fffffff, 0x0, 0x7fffffff, 0x0, 0x0, 0x7fffffff, 0x0, 0x0, 0x0,
				0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7fffffff,
				0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
				0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
				0x0, 0x7fffffff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7fffffff, 0x7fffffff, 0x0, 0x0, 0x0,
				0x7fffffff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7fffffff, 0x7ff, 0xf800, 0x0, 0x1ff0000, 0x7e000000,
				0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
				0x0, 0x0, 0x0, 0x0, 0x0, 0x80000000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
				0x0, };
	}

	private static void jj_la1_init_4() {
		jj_la1_4 = new int[] { 0x0, 0x37f, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x300000, 0x300000, 0x300000, 0x0,
				0x0, 0x3fbf0000, 0x0, 0x0, 0x0, 0x370000, 0x370000, 0x370000, 0x0, 0x0, 0x0, 0x70800, 0x0, 0x300000,
				0x0, 0x0, 0x300000, 0x3f870000, 0x300000, 0x0, 0x0, 0x3f870000, 0x0, 0x3f870000, 0x0, 0x0, 0x0, 0x0,
				0x370000, 0x370000, 0x0, 0x370000, 0x0, 0x0, 0x370000, 0x0, 0x0, 0x0, 0x0, 0x3fbf0000, 0x0, 0x0, 0x0,
				0x0, 0x3fbf0000, 0x0, 0x3fbf0000, 0x0, 0x3fbf0000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x400, 0x70000, 0x0,
				0x0, 0x0, 0x0, 0x0, 0x370000, 0x3fbf0000, 0x370000, 0x0, 0x0, 0x370000, 0x3fbf0000, 0x370000, 0x370000,
				0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x70000, 0x0, 0x70000, 0x70000, 0x70000, 0x70000, 0x0, 0x370000, 0x0, 0x0,
				0x3fbf0000, 0x3fbf0000, 0x3fbf0000, 0x3fbf0000, 0x3fbf0000, 0x370000, 0x300000, 0x3f8f0000, 0x3fbf0000,
				0x370000, 0x3fbf0000, 0x70000, 0x3f870000, 0x3fb70000, 0x0, 0x0, 0x0, 0x0, 0x1b000000, 0x1b000000, 0x0,
				0x0, 0x0, 0x3fb70000, 0x0, 0x3fb70000, 0x0, 0x0, 0x3fb70000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
				0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x400000, 0x400000, 0x3f800000, 0x24800000, 0x9000000,
				0x12000000, 0x0, 0x0, 0x0, 0x0, 0x70000, 0x60000, 0x80000, 0x1800, 0x0, 0x70800, 0x3fbf0000, 0x0, 0x0,
				0x3fbf0000, 0x3fbf0000, 0x3f, 0x340, 0x400, 0x2000, 0x400, 0x400, 0x400, 0x400, 0x400, 0x400, 0x0,
				0x200, 0x40, 0x140, 0x8000, };
	}

	private static void jj_la1_init_5() {
		jj_la1_5 = new int[] { 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x40000fc,
				0x0, 0x0, 0x0, 0x4000000, 0x4000000, 0x4000000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x40000fc,
				0x0, 0x0, 0x0, 0x40000fc, 0x0, 0x40000fc, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
				0x0, 0x0, 0x0, 0x40000fc, 0x0, 0x0, 0x0, 0x0, 0x40000fc, 0x0, 0x40000fc, 0x0, 0x40000fc, 0x0, 0x0, 0x0,
				0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x40000fc, 0x0, 0x0, 0x0, 0x0, 0x40000fc, 0x0,
				0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x40000fc,
				0x40000fc, 0x40000fc, 0x40000fc, 0x40000fc, 0x0, 0x0, 0x40000fc, 0x40000fc, 0x0, 0x40000fc, 0x4000000,
				0x40000fc, 0x40000fc, 0x0, 0x0, 0x0, 0x0, 0xc, 0xc, 0x0, 0x0, 0x0, 0xfc, 0x0, 0xfc, 0x0, 0x0, 0x40000fc,
				0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xc,
				0x0, 0x4, 0x8, 0x0, 0x30, 0xc0, 0xf0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x40000fc, 0x0, 0x0, 0x40000fc,
				0x40000fc, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, };
	}

	final private JJCalls[] jj_2_rtns = new JJCalls[7];
	private boolean jj_rescan = false;
	private int jj_gc = 0;

	/**
	 * Constructor with user supplied CharStream.
	 */
	public SyntaxTreeBuilder(CharStream stream) {
		token_source = new SyntaxTreeBuilderTokenManager(stream);
		token = new Token();
		jj_ntk = -1;
		jj_gen = 0;
		for (int i = 0; i < 184; i++) {
			jj_la1[i] = -1;
		}
		for (int i = 0; i < jj_2_rtns.length; i++) {
			jj_2_rtns[i] = new JJCalls();
		}
	}

	/**
	 * Reinitialise.
	 */
	public void ReInit(CharStream stream) {
		token_source.ReInit(stream);
		token = new Token();
		jj_ntk = -1;
		jjtree.reset();
		jj_gen = 0;
		for (int i = 0; i < 184; i++) {
			jj_la1[i] = -1;
		}
		for (int i = 0; i < jj_2_rtns.length; i++) {
			jj_2_rtns[i] = new JJCalls();
		}
	}

	/**
	 * Constructor with generated Token Manager.
	 */
	public SyntaxTreeBuilder(SyntaxTreeBuilderTokenManager tm) {
		token_source = tm;
		token = new Token();
		jj_ntk = -1;
		jj_gen = 0;
		for (int i = 0; i < 184; i++) {
			jj_la1[i] = -1;
		}
		for (int i = 0; i < jj_2_rtns.length; i++) {
			jj_2_rtns[i] = new JJCalls();
		}
	}

	/**
	 * Reinitialise.
	 */
	public void ReInit(SyntaxTreeBuilderTokenManager tm) {
		token_source = tm;
		token = new Token();
		jj_ntk = -1;
		jjtree.reset();
		jj_gen = 0;
		for (int i = 0; i < 184; i++) {
			jj_la1[i] = -1;
		}
		for (int i = 0; i < jj_2_rtns.length; i++) {
			jj_2_rtns[i] = new JJCalls();
		}
	}

	private Token jj_consume_token(int kind) throws ParseException {
		Token oldToken;
		if ((oldToken = token).next != null) {
			token = token.next;
		} else {
			token = token.next = token_source.getNextToken();
		}
		jj_ntk = -1;
		if (token.kind == kind) {
			jj_gen++;
			if (++jj_gc > 100) {
				jj_gc = 0;
				for (int i = 0; i < jj_2_rtns.length; i++) {
					JJCalls c = jj_2_rtns[i];
					while (c != null) {
						if (c.gen < jj_gen) {
							c.first = null;
						}
						c = c.next;
					}
				}
			}
			return token;
		}
		token = oldToken;
		jj_kind = kind;
		throw generateParseException();
	}

	static private final class LookaheadSuccess extends java.lang.Error {
		@Override
		public Throwable fillInStackTrace() {
			return this;
		}
	}

	static private final LookaheadSuccess jj_ls = new LookaheadSuccess();

	private boolean jj_scan_token(int kind) {
		if (jj_scanpos == jj_lastpos) {
			jj_la--;
			if (jj_scanpos.next == null) {
				jj_lastpos = jj_scanpos = jj_scanpos.next = token_source.getNextToken();
			} else {
				jj_lastpos = jj_scanpos = jj_scanpos.next;
			}
		} else {
			jj_scanpos = jj_scanpos.next;
		}
		if (jj_rescan) {
			int i = 0;
			Token tok = token;
			while (tok != null && tok != jj_scanpos) {
				i++;
				tok = tok.next;
			}
			if (tok != null) {
				jj_add_error_token(kind, i);
			}
		}
		if (jj_scanpos.kind != kind) {
			return true;
		}
		if (jj_la == 0 && jj_scanpos == jj_lastpos) {
			throw jj_ls;
		}
		return false;
	}

	/**
	 * Get the next Token.
	 */
	final public Token getNextToken() {
		if (token.next != null) {
			token = token.next;
		} else {
			token = token.next = token_source.getNextToken();
		}
		jj_ntk = -1;
		jj_gen++;
		return token;
	}

	/**
	 * Get the specific Token.
	 */
	final public Token getToken(int index) {
		Token t = token;
		for (int i = 0; i < index; i++) {
			if (t.next != null) {
				t = t.next;
			} else {
				t = t.next = token_source.getNextToken();
			}
		}
		return t;
	}

	private int jj_ntk_f() {
		if ((jj_nt = token.next) == null) {
			return (jj_ntk = (token.next = token_source.getNextToken()).kind);
		} else {
			return (jj_ntk = jj_nt.kind);
		}
	}

	private final java.util.List<int[]> jj_expentries = new java.util.ArrayList<>();
	private int[] jj_expentry;
	private int jj_kind = -1;
	private final int[] jj_lasttokens = new int[100];
	private int jj_endpos;

	private void jj_add_error_token(int kind, int pos) {
		if (pos >= 100) {
			return;
		}

		if (pos == jj_endpos + 1) {
			jj_lasttokens[jj_endpos++] = kind;
		} else if (jj_endpos != 0) {
			jj_expentry = new int[jj_endpos];

			System.arraycopy(jj_lasttokens, 0, jj_expentry, 0, jj_endpos);
			boolean exists = false;
			for (int[] jjExpentry : jj_expentries) {
				exists = true;
				if (jjExpentry.length == jj_expentry.length) {
					for (int i = 0; i < jj_expentry.length; i++) {
						if (jjExpentry[i] != jj_expentry[i]) {
							exists = false;
							break;
						}
					}
					if (exists) {
						break;
					}
				}
			}
			if (!exists) {
				jj_expentries.add(jj_expentry);
			}
			if (pos != 0) {
				jj_lasttokens[(jj_endpos = pos) - 1] = kind;
			}
		}
	}

	/**
	 * Generate ParseException.
	 */
	public ParseException generateParseException() {
		jj_expentries.clear();
		boolean[] la1tokens = new boolean[188];
		if (jj_kind >= 0) {
			la1tokens[jj_kind] = true;
			jj_kind = -1;
		}
		for (int i = 0; i < 184; i++) {
			if (jj_la1[i] == jj_gen) {
				for (int j = 0; j < 32; j++) {
					if ((jj_la1_0[i] & (1 << j)) != 0) {
						la1tokens[j] = true;
					}
					if ((jj_la1_1[i] & (1 << j)) != 0) {
						la1tokens[32 + j] = true;
					}
					if ((jj_la1_2[i] & (1 << j)) != 0) {
						la1tokens[64 + j] = true;
					}
					if ((jj_la1_3[i] & (1 << j)) != 0) {
						la1tokens[96 + j] = true;
					}
					if ((jj_la1_4[i] & (1 << j)) != 0) {
						la1tokens[128 + j] = true;
					}
					if ((jj_la1_5[i] & (1 << j)) != 0) {
						la1tokens[160 + j] = true;
					}
				}
			}
		}
		for (int i = 0; i < 188; i++) {
			if (la1tokens[i]) {
				jj_expentry = new int[1];
				jj_expentry[0] = i;
				jj_expentries.add(jj_expentry);
			}
		}
		jj_endpos = 0;
		jj_rescan_token();
		jj_add_error_token(0, 0);
		int[][] exptokseq = new int[jj_expentries.size()][];
		for (int i = 0; i < jj_expentries.size(); i++) {
			exptokseq[i] = jj_expentries.get(i);
		}
		return new ParseException(token, exptokseq, tokenImage);
	}

	private boolean trace_enabled;

	/**
	 * Trace enabled.
	 */
	final public boolean trace_enabled() {
		return trace_enabled;
	}

	/**
	 * Enable tracing.
	 */
	final public void enable_tracing() {
	}

	/**
	 * Disable tracing.
	 */
	final public void disable_tracing() {
	}

	private void jj_rescan_token() {
		jj_rescan = true;
		for (int i = 0; i < 7; i++) {
			try {
				JJCalls p = jj_2_rtns[i];

				do {
					if (p.gen > jj_gen) {
						jj_la = p.arg;
						jj_lastpos = jj_scanpos = p.first;
						switch (i) {
						case 0:
							jj_3_1();
							break;
						case 1:
							jj_3_2();
							break;
						case 2:
							jj_3_3();
							break;
						case 3:
							jj_3_4();
							break;
						case 4:
							jj_3_5();
							break;
						case 5:
							jj_3_6();
							break;
						case 6:
							jj_3_7();
							break;
						}
					}
					p = p.next;
				} while (p != null);

			} catch (LookaheadSuccess ignored) {
			}
		}
		jj_rescan = false;
	}

	private void jj_save(int index, int xla) {
		JJCalls p = jj_2_rtns[index];
		while (p.gen > jj_gen) {
			if (p.next == null) {
				p = p.next = new JJCalls();
				break;
			}
			p = p.next;
		}
		p.gen = jj_gen + xla - jj_la;
		p.first = token;
		p.arg = xla;
	}

	static final class JJCalls {
		int gen;
		Token first;
		int arg;
		JJCalls next;
	}

}