public String toSQLWithoutResultModifier(
     List<Variable> project, Set<Variable> explicitIRIBoundVariables) throws Exception {
   AbstractSQLTemplate topSQLTemplate =
       new TopSelectAllTemplate(
           "top_select", q, store, ctx, wrapper, project, explicitIRIBoundVariables);
   return topSQLTemplate.createSQLString();
 }
 private String processSolutionModifierForDescribe() throws Exception {
   StringBuffer sql = new StringBuffer();
   if (q.getMainPattern() != null) sql.append(",\n");
   AbstractSQLTemplate describeSQLTemplate =
       new DescribeSQLTemplate("describe", q, store, ctx, wrapper);
   sql.append(describeSQLTemplate.createSQLString());
   /*
   if(q.getDescribeQuery().getSolutionModifier() != null){
   	if(q.getDescribeQuery().getSolutionModifier().getLimitOffset()!=null){
   		sql.append(",\n");
   		AbstractSQLTemplate limitTemplate = new LimitTemplate("limit",q ,store, ctx, wrapper);
   		sql.append(limitTemplate.createSQLString());
   		if(q.getDescribeQuery().getSolutionModifier().getLimitOffset().getOffset()>0){
   			sql.append(",\n");
   			AbstractSQLTemplate offsetTemplate = new OffsetTemplate("offset",q ,store, ctx, wrapper);
   			sql.append(offsetTemplate.createSQLString());
   		}
   	}
   }
   */
   return sql.toString();
 }
 private String processAskQuery() throws Exception {
   AbstractSQLTemplate askTemplate = new AskTemplate("ask", q, store, ctx, wrapper);
   return askTemplate.createSQLString();
 }
 private String processTopQueryForSelectDescribeConstruct(Set<Variable> explicitIRIBoundVariables)
     throws Exception {
   AbstractSQLTemplate topSQLTemplate =
       new TopSelectTemplate("top_select", q, store, ctx, wrapper, explicitIRIBoundVariables);
   return topSQLTemplate.createSQLString();
 }