/* tracker-sparql-expression.c generated by valac 0.35.5.6-0e61-dirty, the Vala compiler
 * generated from tracker-sparql-expression.vala, do not modify */

/*
 * Copyright (C) 2008-2010, Nokia
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the
 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 * Boston, MA  02110-1301, USA.
 */

#include <glib.h>
#include <glib-object.h>
#include <stdlib.h>
#include <string.h>
#include "libtracker-sparql/tracker-sparql.h"
#include "libtracker-data/tracker-property.h"
#include "libtracker-data/tracker-db-interface-sqlite.h"
#include "libtracker-data/tracker-class.h"
#include "libtracker-data/tracker-collation.h"
#include "libtracker-data/tracker-ontologies.h"


#define TRACKER_SPARQL_TYPE_EXPRESSION (tracker_sparql_expression_get_type ())
#define TRACKER_SPARQL_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TRACKER_SPARQL_TYPE_EXPRESSION, TrackerSparqlExpression))
#define TRACKER_SPARQL_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TRACKER_SPARQL_TYPE_EXPRESSION, TrackerSparqlExpressionClass))
#define TRACKER_SPARQL_IS_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TRACKER_SPARQL_TYPE_EXPRESSION))
#define TRACKER_SPARQL_IS_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TRACKER_SPARQL_TYPE_EXPRESSION))
#define TRACKER_SPARQL_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TRACKER_SPARQL_TYPE_EXPRESSION, TrackerSparqlExpressionClass))

typedef struct _TrackerSparqlExpression TrackerSparqlExpression;
typedef struct _TrackerSparqlExpressionClass TrackerSparqlExpressionClass;
typedef struct _TrackerSparqlExpressionPrivate TrackerSparqlExpressionPrivate;

#define TRACKER_SPARQL_TYPE_QUERY (tracker_sparql_query_get_type ())
#define TRACKER_SPARQL_QUERY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TRACKER_SPARQL_TYPE_QUERY, TrackerSparqlQuery))
#define TRACKER_SPARQL_QUERY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TRACKER_SPARQL_TYPE_QUERY, TrackerSparqlQueryClass))
#define TRACKER_SPARQL_IS_QUERY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TRACKER_SPARQL_TYPE_QUERY))
#define TRACKER_SPARQL_IS_QUERY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TRACKER_SPARQL_TYPE_QUERY))
#define TRACKER_SPARQL_QUERY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TRACKER_SPARQL_TYPE_QUERY, TrackerSparqlQueryClass))

typedef struct _TrackerSparqlQuery TrackerSparqlQuery;
typedef struct _TrackerSparqlQueryClass TrackerSparqlQueryClass;

#define TRACKER_SPARQL_EXPRESSION_TYPE_TIME_FORMAT_TYPE (tracker_sparql_expression_time_format_type_get_type ())
#define _g_free0(var) (var = (g_free (var), NULL))

#define TRACKER_TYPE_SPARQL_TOKEN_TYPE (tracker_sparql_token_type_get_type ())

#define TRACKER_SPARQL_TYPE_VARIABLE (tracker_sparql_variable_get_type ())
#define TRACKER_SPARQL_VARIABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TRACKER_SPARQL_TYPE_VARIABLE, TrackerSparqlVariable))
#define TRACKER_SPARQL_VARIABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TRACKER_SPARQL_TYPE_VARIABLE, TrackerSparqlVariableClass))
#define TRACKER_SPARQL_IS_VARIABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TRACKER_SPARQL_TYPE_VARIABLE))
#define TRACKER_SPARQL_IS_VARIABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TRACKER_SPARQL_TYPE_VARIABLE))
#define TRACKER_SPARQL_VARIABLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TRACKER_SPARQL_TYPE_VARIABLE, TrackerSparqlVariableClass))

typedef struct _TrackerSparqlVariable TrackerSparqlVariable;
typedef struct _TrackerSparqlVariableClass TrackerSparqlVariableClass;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))

#define TRACKER_SPARQL_TYPE_CONTEXT (tracker_sparql_context_get_type ())
#define TRACKER_SPARQL_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TRACKER_SPARQL_TYPE_CONTEXT, TrackerSparqlContext))
#define TRACKER_SPARQL_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TRACKER_SPARQL_TYPE_CONTEXT, TrackerSparqlContextClass))
#define TRACKER_SPARQL_IS_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TRACKER_SPARQL_TYPE_CONTEXT))
#define TRACKER_SPARQL_IS_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TRACKER_SPARQL_TYPE_CONTEXT))
#define TRACKER_SPARQL_CONTEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TRACKER_SPARQL_TYPE_CONTEXT, TrackerSparqlContextClass))

typedef struct _TrackerSparqlContext TrackerSparqlContext;
typedef struct _TrackerSparqlContextClass TrackerSparqlContextClass;
typedef struct _TrackerSparqlVariablePrivate TrackerSparqlVariablePrivate;

#define TRACKER_SPARQL_TYPE_DATA_BINDING (tracker_sparql_data_binding_get_type ())
#define TRACKER_SPARQL_DATA_BINDING(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TRACKER_SPARQL_TYPE_DATA_BINDING, TrackerSparqlDataBinding))
#define TRACKER_SPARQL_DATA_BINDING_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TRACKER_SPARQL_TYPE_DATA_BINDING, TrackerSparqlDataBindingClass))
#define TRACKER_SPARQL_IS_DATA_BINDING(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TRACKER_SPARQL_TYPE_DATA_BINDING))
#define TRACKER_SPARQL_IS_DATA_BINDING_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TRACKER_SPARQL_TYPE_DATA_BINDING))
#define TRACKER_SPARQL_DATA_BINDING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TRACKER_SPARQL_TYPE_DATA_BINDING, TrackerSparqlDataBindingClass))

typedef struct _TrackerSparqlDataBinding TrackerSparqlDataBinding;
typedef struct _TrackerSparqlDataBindingClass TrackerSparqlDataBindingClass;

#define TRACKER_SPARQL_TYPE_VARIABLE_BINDING (tracker_sparql_variable_binding_get_type ())
#define TRACKER_SPARQL_VARIABLE_BINDING(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TRACKER_SPARQL_TYPE_VARIABLE_BINDING, TrackerSparqlVariableBinding))
#define TRACKER_SPARQL_VARIABLE_BINDING_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TRACKER_SPARQL_TYPE_VARIABLE_BINDING, TrackerSparqlVariableBindingClass))
#define TRACKER_SPARQL_IS_VARIABLE_BINDING(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TRACKER_SPARQL_TYPE_VARIABLE_BINDING))
#define TRACKER_SPARQL_IS_VARIABLE_BINDING_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TRACKER_SPARQL_TYPE_VARIABLE_BINDING))
#define TRACKER_SPARQL_VARIABLE_BINDING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TRACKER_SPARQL_TYPE_VARIABLE_BINDING, TrackerSparqlVariableBindingClass))

typedef struct _TrackerSparqlVariableBinding TrackerSparqlVariableBinding;
typedef struct _TrackerSparqlVariableBindingClass TrackerSparqlVariableBindingClass;

#define TRACKER_SPARQL_TYPE_SELECT_CONTEXT (tracker_sparql_select_context_get_type ())
#define TRACKER_SPARQL_SELECT_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TRACKER_SPARQL_TYPE_SELECT_CONTEXT, TrackerSparqlSelectContext))
#define TRACKER_SPARQL_SELECT_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TRACKER_SPARQL_TYPE_SELECT_CONTEXT, TrackerSparqlSelectContextClass))
#define TRACKER_SPARQL_IS_SELECT_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TRACKER_SPARQL_TYPE_SELECT_CONTEXT))
#define TRACKER_SPARQL_IS_SELECT_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TRACKER_SPARQL_TYPE_SELECT_CONTEXT))
#define TRACKER_SPARQL_SELECT_CONTEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TRACKER_SPARQL_TYPE_SELECT_CONTEXT, TrackerSparqlSelectContextClass))

typedef struct _TrackerSparqlSelectContext TrackerSparqlSelectContext;
typedef struct _TrackerSparqlSelectContextClass TrackerSparqlSelectContextClass;

#define TRACKER_SPARQL_TYPE_PATTERN (tracker_sparql_pattern_get_type ())
#define TRACKER_SPARQL_PATTERN(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TRACKER_SPARQL_TYPE_PATTERN, TrackerSparqlPattern))
#define TRACKER_SPARQL_PATTERN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TRACKER_SPARQL_TYPE_PATTERN, TrackerSparqlPatternClass))
#define TRACKER_SPARQL_IS_PATTERN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TRACKER_SPARQL_TYPE_PATTERN))
#define TRACKER_SPARQL_IS_PATTERN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TRACKER_SPARQL_TYPE_PATTERN))
#define TRACKER_SPARQL_PATTERN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TRACKER_SPARQL_TYPE_PATTERN, TrackerSparqlPatternClass))

typedef struct _TrackerSparqlPattern TrackerSparqlPattern;
typedef struct _TrackerSparqlPatternClass TrackerSparqlPatternClass;
#define _tracker_sparql_context_unref0(var) ((var == NULL) ? NULL : (var = (tracker_sparql_context_unref (var), NULL)))
typedef struct _TrackerSparqlContextPrivate TrackerSparqlContextPrivate;

#define TRACKER_SPARQL_TYPE_PREDICATE_VARIABLE (tracker_sparql_predicate_variable_get_type ())
#define TRACKER_SPARQL_PREDICATE_VARIABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TRACKER_SPARQL_TYPE_PREDICATE_VARIABLE, TrackerSparqlPredicateVariable))
#define TRACKER_SPARQL_PREDICATE_VARIABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TRACKER_SPARQL_TYPE_PREDICATE_VARIABLE, TrackerSparqlPredicateVariableClass))
#define TRACKER_SPARQL_IS_PREDICATE_VARIABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TRACKER_SPARQL_TYPE_PREDICATE_VARIABLE))
#define TRACKER_SPARQL_IS_PREDICATE_VARIABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TRACKER_SPARQL_TYPE_PREDICATE_VARIABLE))
#define TRACKER_SPARQL_PREDICATE_VARIABLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TRACKER_SPARQL_TYPE_PREDICATE_VARIABLE, TrackerSparqlPredicateVariableClass))

typedef struct _TrackerSparqlPredicateVariable TrackerSparqlPredicateVariable;
typedef struct _TrackerSparqlPredicateVariableClass TrackerSparqlPredicateVariableClass;
typedef struct _TrackerSparqlSelectContextPrivate TrackerSparqlSelectContextPrivate;
typedef struct _TrackerSparqlDataBindingPrivate TrackerSparqlDataBindingPrivate;

#define TRACKER_SPARQL_TYPE_DATA_TABLE (tracker_sparql_data_table_get_type ())
#define TRACKER_SPARQL_DATA_TABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TRACKER_SPARQL_TYPE_DATA_TABLE, TrackerSparqlDataTable))
#define TRACKER_SPARQL_DATA_TABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TRACKER_SPARQL_TYPE_DATA_TABLE, TrackerSparqlDataTableClass))
#define TRACKER_SPARQL_IS_DATA_TABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TRACKER_SPARQL_TYPE_DATA_TABLE))
#define TRACKER_SPARQL_IS_DATA_TABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TRACKER_SPARQL_TYPE_DATA_TABLE))
#define TRACKER_SPARQL_DATA_TABLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TRACKER_SPARQL_TYPE_DATA_TABLE, TrackerSparqlDataTableClass))

typedef struct _TrackerSparqlDataTable TrackerSparqlDataTable;
typedef struct _TrackerSparqlDataTableClass TrackerSparqlDataTableClass;
typedef struct _TrackerSparqlVariableBindingPrivate TrackerSparqlVariableBindingPrivate;

#define TRACKER_SPARQL_TYPE_VARIABLE_STATE (tracker_sparql_variable_state_get_type ())
#define _g_string_free0(var) ((var == NULL) ? NULL : (var = (g_string_free (var, TRUE), NULL)))
typedef struct _TrackerSparqlPatternPrivate TrackerSparqlPatternPrivate;

#define TRACKER_SPARQL_TYPE_LITERAL_BINDING (tracker_sparql_literal_binding_get_type ())
#define TRACKER_SPARQL_LITERAL_BINDING(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TRACKER_SPARQL_TYPE_LITERAL_BINDING, TrackerSparqlLiteralBinding))
#define TRACKER_SPARQL_LITERAL_BINDING_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TRACKER_SPARQL_TYPE_LITERAL_BINDING, TrackerSparqlLiteralBindingClass))
#define TRACKER_SPARQL_IS_LITERAL_BINDING(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TRACKER_SPARQL_TYPE_LITERAL_BINDING))
#define TRACKER_SPARQL_IS_LITERAL_BINDING_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TRACKER_SPARQL_TYPE_LITERAL_BINDING))
#define TRACKER_SPARQL_LITERAL_BINDING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TRACKER_SPARQL_TYPE_LITERAL_BINDING, TrackerSparqlLiteralBindingClass))

typedef struct _TrackerSparqlLiteralBinding TrackerSparqlLiteralBinding;
typedef struct _TrackerSparqlLiteralBindingClass TrackerSparqlLiteralBindingClass;
typedef struct _TrackerSparqlLiteralBindingPrivate TrackerSparqlLiteralBindingPrivate;
typedef struct _TrackerSparqlQueryPrivate TrackerSparqlQueryPrivate;

struct _TrackerSparqlExpression {
	GObject parent_instance;
	TrackerSparqlExpressionPrivate * priv;
};

struct _TrackerSparqlExpressionClass {
	GObjectClass parent_class;
};

struct _TrackerSparqlExpressionPrivate {
	TrackerSparqlQuery* query;
	gchar* fts_sql;
};

typedef enum  {
	TRACKER_SPARQL_EXPRESSION_TIME_FORMAT_TYPE_SECONDS,
	TRACKER_SPARQL_EXPRESSION_TIME_FORMAT_TYPE_MINUTES,
	TRACKER_SPARQL_EXPRESSION_TIME_FORMAT_TYPE_HOURS
} TrackerSparqlExpressionTimeFormatType;

typedef enum  {
	TRACKER_SPARQL_TOKEN_TYPE_NONE,
	TRACKER_SPARQL_TOKEN_TYPE_A,
	TRACKER_SPARQL_TOKEN_TYPE_ABS,
	TRACKER_SPARQL_TOKEN_TYPE_AS,
	TRACKER_SPARQL_TOKEN_TYPE_ASC,
	TRACKER_SPARQL_TOKEN_TYPE_ASK,
	TRACKER_SPARQL_TOKEN_TYPE_ATBASE,
	TRACKER_SPARQL_TOKEN_TYPE_ATPREFIX,
	TRACKER_SPARQL_TOKEN_TYPE_AVG,
	TRACKER_SPARQL_TOKEN_TYPE_BASE,
	TRACKER_SPARQL_TOKEN_TYPE_BLANK_NODE,
	TRACKER_SPARQL_TOKEN_TYPE_BIND,
	TRACKER_SPARQL_TOKEN_TYPE_BOUND,
	TRACKER_SPARQL_TOKEN_TYPE_BY,
	TRACKER_SPARQL_TOKEN_TYPE_CEIL,
	TRACKER_SPARQL_TOKEN_TYPE_CLOSE_BRACE,
	TRACKER_SPARQL_TOKEN_TYPE_CLOSE_BRACKET,
	TRACKER_SPARQL_TOKEN_TYPE_CLOSE_PARENS,
	TRACKER_SPARQL_TOKEN_TYPE_COALESCE,
	TRACKER_SPARQL_TOKEN_TYPE_COLON,
	TRACKER_SPARQL_TOKEN_TYPE_CONCAT,
	TRACKER_SPARQL_TOKEN_TYPE_CONTAINS,
	TRACKER_SPARQL_TOKEN_TYPE_COMMA,
	TRACKER_SPARQL_TOKEN_TYPE_CONSTRUCT,
	TRACKER_SPARQL_TOKEN_TYPE_COUNT,
	TRACKER_SPARQL_TOKEN_TYPE_DATA,
	TRACKER_SPARQL_TOKEN_TYPE_DATATYPE,
	TRACKER_SPARQL_TOKEN_TYPE_DAY,
	TRACKER_SPARQL_TOKEN_TYPE_DECIMAL,
	TRACKER_SPARQL_TOKEN_TYPE_DELETE,
	TRACKER_SPARQL_TOKEN_TYPE_DESC,
	TRACKER_SPARQL_TOKEN_TYPE_DESCRIBE,
	TRACKER_SPARQL_TOKEN_TYPE_DISTINCT,
	TRACKER_SPARQL_TOKEN_TYPE_DIV,
	TRACKER_SPARQL_TOKEN_TYPE_DOT,
	TRACKER_SPARQL_TOKEN_TYPE_DOUBLE,
	TRACKER_SPARQL_TOKEN_TYPE_DOUBLE_CIRCUMFLEX,
	TRACKER_SPARQL_TOKEN_TYPE_DROP,
	TRACKER_SPARQL_TOKEN_TYPE_ENCODE_FOR_URI,
	TRACKER_SPARQL_TOKEN_TYPE_EOF,
	TRACKER_SPARQL_TOKEN_TYPE_EXISTS,
	TRACKER_SPARQL_TOKEN_TYPE_FALSE,
	TRACKER_SPARQL_TOKEN_TYPE_FILTER,
	TRACKER_SPARQL_TOKEN_TYPE_FLOOR,
	TRACKER_SPARQL_TOKEN_TYPE_FROM,
	TRACKER_SPARQL_TOKEN_TYPE_GRAPH,
	TRACKER_SPARQL_TOKEN_TYPE_GROUP,
	TRACKER_SPARQL_TOKEN_TYPE_GROUP_CONCAT,
	TRACKER_SPARQL_TOKEN_TYPE_HAVING,
	TRACKER_SPARQL_TOKEN_TYPE_HOURS,
	TRACKER_SPARQL_TOKEN_TYPE_IF,
	TRACKER_SPARQL_TOKEN_TYPE_INSERT,
	TRACKER_SPARQL_TOKEN_TYPE_INTEGER,
	TRACKER_SPARQL_TOKEN_TYPE_INTO,
	TRACKER_SPARQL_TOKEN_TYPE_IRI_REF,
	TRACKER_SPARQL_TOKEN_TYPE_ISBLANK,
	TRACKER_SPARQL_TOKEN_TYPE_ISIRI,
	TRACKER_SPARQL_TOKEN_TYPE_ISLITERAL,
	TRACKER_SPARQL_TOKEN_TYPE_ISURI,
	TRACKER_SPARQL_TOKEN_TYPE_LANG,
	TRACKER_SPARQL_TOKEN_TYPE_LANGMATCHES,
	TRACKER_SPARQL_TOKEN_TYPE_LCASE,
	TRACKER_SPARQL_TOKEN_TYPE_LIMIT,
	TRACKER_SPARQL_TOKEN_TYPE_MAX,
	TRACKER_SPARQL_TOKEN_TYPE_MD5,
	TRACKER_SPARQL_TOKEN_TYPE_MIN,
	TRACKER_SPARQL_TOKEN_TYPE_MINUS,
	TRACKER_SPARQL_TOKEN_TYPE_MINUTES,
	TRACKER_SPARQL_TOKEN_TYPE_MONTH,
	TRACKER_SPARQL_TOKEN_TYPE_NAMED,
	TRACKER_SPARQL_TOKEN_TYPE_NOT,
	TRACKER_SPARQL_TOKEN_TYPE_NOW,
	TRACKER_SPARQL_TOKEN_TYPE_NULL,
	TRACKER_SPARQL_TOKEN_TYPE_OFFSET,
	TRACKER_SPARQL_TOKEN_TYPE_OP_AND,
	TRACKER_SPARQL_TOKEN_TYPE_OP_EQ,
	TRACKER_SPARQL_TOKEN_TYPE_OP_GE,
	TRACKER_SPARQL_TOKEN_TYPE_OP_GT,
	TRACKER_SPARQL_TOKEN_TYPE_OP_LE,
	TRACKER_SPARQL_TOKEN_TYPE_OP_LT,
	TRACKER_SPARQL_TOKEN_TYPE_OP_NE,
	TRACKER_SPARQL_TOKEN_TYPE_OP_NEG,
	TRACKER_SPARQL_TOKEN_TYPE_OP_OR,
	TRACKER_SPARQL_TOKEN_TYPE_OP_IN,
	TRACKER_SPARQL_TOKEN_TYPE_OPEN_BRACE,
	TRACKER_SPARQL_TOKEN_TYPE_OPEN_BRACKET,
	TRACKER_SPARQL_TOKEN_TYPE_OPEN_PARENS,
	TRACKER_SPARQL_TOKEN_TYPE_OPTIONAL,
	TRACKER_SPARQL_TOKEN_TYPE_OR,
	TRACKER_SPARQL_TOKEN_TYPE_ORDER,
	TRACKER_SPARQL_TOKEN_TYPE_PLUS,
	TRACKER_SPARQL_TOKEN_TYPE_PN_PREFIX,
	TRACKER_SPARQL_TOKEN_TYPE_PREFIX,
	TRACKER_SPARQL_TOKEN_TYPE_RAND,
	TRACKER_SPARQL_TOKEN_TYPE_REDUCED,
	TRACKER_SPARQL_TOKEN_TYPE_REGEX,
	TRACKER_SPARQL_TOKEN_TYPE_REPLACE,
	TRACKER_SPARQL_TOKEN_TYPE_ROUND,
	TRACKER_SPARQL_TOKEN_TYPE_SAMETERM,
	TRACKER_SPARQL_TOKEN_TYPE_SECONDS,
	TRACKER_SPARQL_TOKEN_TYPE_SELECT,
	TRACKER_SPARQL_TOKEN_TYPE_SEMICOLON,
	TRACKER_SPARQL_TOKEN_TYPE_SHA1,
	TRACKER_SPARQL_TOKEN_TYPE_SHA256,
	TRACKER_SPARQL_TOKEN_TYPE_SHA512,
	TRACKER_SPARQL_TOKEN_TYPE_SILENT,
	TRACKER_SPARQL_TOKEN_TYPE_STAR,
	TRACKER_SPARQL_TOKEN_TYPE_STR,
	TRACKER_SPARQL_TOKEN_TYPE_STRAFTER,
	TRACKER_SPARQL_TOKEN_TYPE_STRBEFORE,
	TRACKER_SPARQL_TOKEN_TYPE_STRENDS,
	TRACKER_SPARQL_TOKEN_TYPE_STRING_LITERAL1,
	TRACKER_SPARQL_TOKEN_TYPE_STRING_LITERAL2,
	TRACKER_SPARQL_TOKEN_TYPE_STRING_LITERAL_LONG1,
	TRACKER_SPARQL_TOKEN_TYPE_STRING_LITERAL_LONG2,
	TRACKER_SPARQL_TOKEN_TYPE_STRLEN,
	TRACKER_SPARQL_TOKEN_TYPE_STRSTARTS,
	TRACKER_SPARQL_TOKEN_TYPE_SUBSTR,
	TRACKER_SPARQL_TOKEN_TYPE_SUM,
	TRACKER_SPARQL_TOKEN_TYPE_TRUE,
	TRACKER_SPARQL_TOKEN_TYPE_UCASE,
	TRACKER_SPARQL_TOKEN_TYPE_UNION,
	TRACKER_SPARQL_TOKEN_TYPE_VAR,
	TRACKER_SPARQL_TOKEN_TYPE_WHERE,
	TRACKER_SPARQL_TOKEN_TYPE_WITH,
	TRACKER_SPARQL_TOKEN_TYPE_YEAR
} TrackerSparqlTokenType;

struct _TrackerSparqlVariable {
	GObject parent_instance;
	TrackerSparqlVariablePrivate * priv;
	TrackerSparqlVariableBinding* binding;
};

struct _TrackerSparqlVariableClass {
	GObjectClass parent_class;
};

struct _TrackerSparqlContext {
	GTypeInstance parent_instance;
	volatile int ref_count;
	TrackerSparqlContextPrivate * priv;
	TrackerSparqlQuery* query;
	TrackerSparqlContext* parent_context;
	GHashTable* var_set;
	GHashTable* var_map;
	GHashTable* select_var_set;
	GHashTable* predicate_variable_map;
	gboolean scalar_subquery;
	gboolean in_bind;
};

struct _TrackerSparqlContextClass {
	GTypeClass parent_class;
	void (*finalize) (TrackerSparqlContext *self);
};

struct _TrackerSparqlSelectContext {
	TrackerSparqlContext parent_instance;
	TrackerSparqlSelectContextPrivate * priv;
	TrackerPropertyType type;
	TrackerPropertyType* types;
	gint types_length1;
	gint _types_size_;
	gchar** variable_names;
	gint variable_names_length1;
	gint _variable_names_size_;
};

struct _TrackerSparqlSelectContextClass {
	TrackerSparqlContextClass parent_class;
};

struct _TrackerSparqlDataBinding {
	GObject parent_instance;
	TrackerSparqlDataBindingPrivate * priv;
	TrackerPropertyType data_type;
	TrackerSparqlDataTable* table;
	gchar* sql_db_column_name;
};

struct _TrackerSparqlDataBindingClass {
	GObjectClass parent_class;
};

struct _TrackerSparqlVariableBinding {
	TrackerSparqlDataBinding parent_instance;
	TrackerSparqlVariableBindingPrivate * priv;
	TrackerSparqlVariable* variable;
	gboolean maybe_null;
	gboolean in_simple_optional;
	TrackerClass* type;
};

struct _TrackerSparqlVariableBindingClass {
	TrackerSparqlDataBindingClass parent_class;
};

typedef enum  {
	TRACKER_SPARQL_VARIABLE_STATE_NONE,
	TRACKER_SPARQL_VARIABLE_STATE_BOUND,
	TRACKER_SPARQL_VARIABLE_STATE_OPTIONAL
} TrackerSparqlVariableState;

struct _TrackerSparqlPattern {
	GObject parent_instance;
	TrackerSparqlPatternPrivate * priv;
	gchar* current_graph;
	TrackerSparqlVariable* fts_subject;
	gchar** fts_variables;
	gint fts_variables_length1;
	gint _fts_variables_size_;
	GString* match_str;
	gboolean queries_fts_data;
};

struct _TrackerSparqlPatternClass {
	GObjectClass parent_class;
};

struct _TrackerSparqlLiteralBinding {
	TrackerSparqlDataBinding parent_instance;
	TrackerSparqlLiteralBindingPrivate * priv;
	gboolean is_fts_match;
	gchar* literal;
};

struct _TrackerSparqlLiteralBindingClass {
	TrackerSparqlDataBindingClass parent_class;
};

struct _TrackerSparqlQuery {
	GObject parent_instance;
	TrackerSparqlQueryPrivate * priv;
	TrackerSparqlExpression* expression;
	TrackerSparqlPattern* pattern;
	GList* bindings;
	TrackerSparqlContext* context;
	gint last_var_index;
};

struct _TrackerSparqlQueryClass {
	GObjectClass parent_class;
};


static gpointer tracker_sparql_expression_parent_class = NULL;

GType tracker_sparql_expression_get_type (void) G_GNUC_CONST;
GType tracker_sparql_query_get_type (void) G_GNUC_CONST;
#define TRACKER_SPARQL_EXPRESSION_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TRACKER_SPARQL_TYPE_EXPRESSION, TrackerSparqlExpressionPrivate))
enum  {
	TRACKER_SPARQL_EXPRESSION_DUMMY_PROPERTY
};
static GType tracker_sparql_expression_time_format_type_get_type (void) G_GNUC_CONST G_GNUC_UNUSED;
#define TRACKER_SPARQL_EXPRESSION_MAX_VARIABLES_FOR_IN 20
#define TRACKER_SPARQL_EXPRESSION_XSD_NS "http://www.w3.org/2001/XMLSchema#"
#define TRACKER_SPARQL_EXPRESSION_FN_NS "http://www.w3.org/2005/xpath-functions#"
#define TRACKER_SPARQL_EXPRESSION_FTS_NS "http://www.tracker-project.org/ontologies/fts#"
#define TRACKER_SPARQL_EXPRESSION_TRACKER_NS "http://www.tracker-project.org/ontologies/tracker#"
TrackerSparqlExpression* tracker_sparql_expression_new (TrackerSparqlQuery* query);
TrackerSparqlExpression* tracker_sparql_expression_construct (GType object_type, TrackerSparqlQuery* query);
static inline gboolean tracker_sparql_expression_next (TrackerSparqlExpression* self, GError** error);
gboolean tracker_sparql_query_next (TrackerSparqlQuery* self, GError** error);
GType tracker_sparql_token_type_get_type (void) G_GNUC_CONST;
static inline TrackerSparqlTokenType tracker_sparql_expression_current (TrackerSparqlExpression* self);
TrackerSparqlTokenType tracker_sparql_query_current (TrackerSparqlQuery* self);
static inline TrackerSparqlTokenType tracker_sparql_expression_last (TrackerSparqlExpression* self);
TrackerSparqlTokenType tracker_sparql_query_last (TrackerSparqlQuery* self);
static inline gboolean tracker_sparql_expression_accept (TrackerSparqlExpression* self, TrackerSparqlTokenType type, GError** error);
gboolean tracker_sparql_query_accept (TrackerSparqlQuery* self, TrackerSparqlTokenType type, GError** error);
static GError* tracker_sparql_expression_get_error (TrackerSparqlExpression* self, const gchar* msg);
GError* tracker_sparql_query_get_error (TrackerSparqlQuery* self, const gchar* msg);
static gboolean tracker_sparql_expression_expect (TrackerSparqlExpression* self, TrackerSparqlTokenType type, GError** error);
gboolean tracker_sparql_query_expect (TrackerSparqlQuery* self, TrackerSparqlTokenType type, GError** error);
static gchar* tracker_sparql_expression_get_last_string (TrackerSparqlExpression* self, gint strip);
gchar* tracker_sparql_query_get_last_string (TrackerSparqlQuery* self, gint strip);
static gchar* tracker_sparql_expression_escape_sql_string_literal (TrackerSparqlExpression* self, const gchar* literal);
static gboolean tracker_sparql_expression_maybe_numeric (TrackerSparqlExpression* self, TrackerPropertyType type);
static void tracker_sparql_expression_append_collate (TrackerSparqlExpression* self, GString* sql);
static void tracker_sparql_expression_skip_bracketted_expression (TrackerSparqlExpression* self, GError** error);
void tracker_sparql_expression_skip_select_variables (TrackerSparqlExpression* self, GError** error);
TrackerPropertyType tracker_sparql_expression_translate_select_expression (TrackerSparqlExpression* self, GString* sql, gboolean subquery, gint variable_index, GError** error);
GType tracker_sparql_variable_get_type (void) G_GNUC_CONST;
TrackerPropertyType tracker_sparql_expression_translate_expression (TrackerSparqlExpression* self, GString* sql, GError** error);
gpointer tracker_sparql_context_ref (gpointer instance);
void tracker_sparql_context_unref (gpointer instance);
GParamSpec* tracker_sparql_param_spec_context (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
void tracker_sparql_value_set_context (GValue* value, gpointer v_object);
void tracker_sparql_value_take_context (GValue* value, gpointer v_object);
gpointer tracker_sparql_value_get_context (const GValue* value);
GType tracker_sparql_context_get_type (void) G_GNUC_CONST;
static TrackerSparqlContext* tracker_sparql_expression_get_context (TrackerSparqlExpression* self);
TrackerSparqlVariable* tracker_sparql_context_get_variable (TrackerSparqlContext* self, const gchar* name);
GType tracker_sparql_data_binding_get_type (void) G_GNUC_CONST;
GType tracker_sparql_variable_binding_get_type (void) G_GNUC_CONST;
const gchar* tracker_sparql_variable_get_name (TrackerSparqlVariable* self);
GType tracker_sparql_select_context_get_type (void) G_GNUC_CONST;
GType tracker_sparql_pattern_get_type (void) G_GNUC_CONST;
static TrackerSparqlPattern* tracker_sparql_expression_get_pattern (TrackerSparqlExpression* self);
TrackerSparqlSelectContext* tracker_sparql_pattern_translate_select (TrackerSparqlPattern* self, GString* sql, gboolean subquery, gboolean scalar_subquery, GError** error);
GType tracker_sparql_predicate_variable_get_type (void) G_GNUC_CONST;
static void tracker_sparql_expression_convert_expression_to_string (GString* sql, TrackerPropertyType type, glong begin);
const gchar* tracker_sparql_variable_get_sql_expression (TrackerSparqlVariable* self);
TrackerSparqlVariableBinding* tracker_sparql_variable_binding_new (void);
TrackerSparqlVariableBinding* tracker_sparql_variable_binding_construct (GType object_type);
GType tracker_sparql_data_table_get_type (void) G_GNUC_CONST;
void tracker_sparql_data_binding_set_sql_expression (TrackerSparqlDataBinding* self, const gchar* value);
GType tracker_sparql_variable_state_get_type (void) G_GNUC_CONST;
void tracker_sparql_pattern_add_variable_binding (TrackerSparqlPattern* self, GString* sql, TrackerSparqlVariableBinding* binding, TrackerSparqlVariableState variable_state);
static void _vala_array_add1 (gchar** * array, int* length, int* size, gchar* value);
static void _vala_array_add2 (gchar** * array, int* length, int* size, gchar* value);
static void _vala_array_add3 (gchar** * array, int* length, int* size, gchar* value);
static void _vala_array_add4 (gchar** * array, int* length, int* size, gchar* value);
static void tracker_sparql_expression_translate_expression_as_order_condition (TrackerSparqlExpression* self, GString* sql, GError** error);
void tracker_sparql_expression_translate_order_condition (TrackerSparqlExpression* self, GString* sql, GError** error);
static void tracker_sparql_expression_translate_bound_call (TrackerSparqlExpression* self, GString* sql, GError** error);
static TrackerPropertyType tracker_sparql_expression_translate_if_call (TrackerSparqlExpression* self, GString* sql, GError** error);
static void tracker_sparql_expression_translate_regex (TrackerSparqlExpression* self, GString* sql, GError** error);
static void tracker_sparql_expression_translate_expression_as_string (TrackerSparqlExpression* self, GString* sql, GError** error);
gchar* tracker_sparql_expression_parse_string_literal (TrackerSparqlExpression* self, TrackerPropertyType* type, GError** error);
static void tracker_sparql_expression_translate_exists (TrackerSparqlExpression* self, GString* sql, GError** error);
void tracker_sparql_pattern_translate_exists (TrackerSparqlPattern* self, GString* sql, GError** error);
void tracker_sparql_expression_append_expression_as_string (GString* sql, const gchar* expression, TrackerPropertyType type);
GType tracker_sparql_literal_binding_get_type (void) G_GNUC_CONST;
TrackerSparqlLiteralBinding* tracker_sparql_literal_binding_new (void);
TrackerSparqlLiteralBinding* tracker_sparql_literal_binding_construct (GType object_type);
gchar* tracker_sparql_pattern_parse_var_or_term (TrackerSparqlPattern* self, GString* sql, gboolean* is_var, GError** error);
static TrackerPropertyType tracker_sparql_expression_translate_function (TrackerSparqlExpression* self, GString* sql, const gchar* uri, GError** error);
static void tracker_sparql_expression_translate_str (TrackerSparqlExpression* self, GString* sql, GError** error);
static void tracker_sparql_expression_translate_isuri (TrackerSparqlExpression* self, GString* sql, GError** error);
static void tracker_sparql_expression_translate_datatype (TrackerSparqlExpression* self, GString* sql, GError** error);
static void tracker_sparql_expression_translate_date (TrackerSparqlExpression* self, GString* sql, const gchar* format, GError** error);
gchar* tracker_sparql_variable_get_extra_sql_expression (TrackerSparqlVariable* self, const gchar* suffix);
static TrackerPropertyType tracker_sparql_expression_translate_primary_expression (TrackerSparqlExpression* self, GString* sql, GError** error);
static void tracker_sparql_expression_translate_time (TrackerSparqlExpression* self, GString* sql, TrackerSparqlExpressionTimeFormatType type, GError** error);
static TrackerPropertyType tracker_sparql_expression_parse_type_uri (TrackerSparqlExpression* self, GError** error);
gchar* tracker_sparql_query_resolve_prefixed_name (TrackerSparqlQuery* self, const gchar* prefix, const gchar* local_name, GError** error);
static TrackerPropertyType tracker_sparql_expression_translate_uri_expression (TrackerSparqlExpression* self, GString* sql, const gchar* uri, GError** error);
static TrackerPropertyType tracker_sparql_expression_translate_bracketted_expression (TrackerSparqlExpression* self, GString* sql, GError** error);
gboolean tracker_sparql_query_get_no_cache (TrackerSparqlQuery* self);
const gchar* tracker_sparql_data_binding_get_sql_expression (TrackerSparqlDataBinding* self);
static TrackerPropertyType tracker_sparql_expression_translate_aggregate_expression (TrackerSparqlExpression* self, GString* sql, GError** error);
void tracker_sparql_query_set_no_cache (TrackerSparqlQuery* self, gboolean value);
static TrackerPropertyType tracker_sparql_expression_translate_unary_expression (TrackerSparqlExpression* self, GString* sql, GError** error);
static TrackerPropertyType tracker_sparql_expression_translate_multiplicative_expression (TrackerSparqlExpression* self, GString* sql, GError** error);
static TrackerPropertyType tracker_sparql_expression_translate_additive_expression (TrackerSparqlExpression* self, GString* sql, GError** error);
static TrackerPropertyType tracker_sparql_expression_translate_numeric_expression (TrackerSparqlExpression* self, GString* sql, GError** error);
static TrackerPropertyType tracker_sparql_expression_process_relational_expression (TrackerSparqlExpression* self, GString* sql, glong begin, guint n_bindings, TrackerPropertyType op1type, const gchar* operator, GError** error);
static TrackerPropertyType tracker_sparql_expression_translate_in (TrackerSparqlExpression* self, GString* sql, gboolean not, GError** error);
static TrackerPropertyType tracker_sparql_expression_translate_relational_expression (TrackerSparqlExpression* self, GString* sql, GError** error);
static TrackerPropertyType tracker_sparql_expression_translate_value_logical (TrackerSparqlExpression* self, GString* sql, GError** error);
static TrackerPropertyType tracker_sparql_expression_translate_conditional_and_expression (TrackerSparqlExpression* self, GString* sql, GError** error);
static TrackerPropertyType tracker_sparql_expression_translate_conditional_or_expression (TrackerSparqlExpression* self, GString* sql, GError** error);
TrackerPropertyType tracker_sparql_expression_translate_constraint (TrackerSparqlExpression* self, GString* sql, GError** error);
static void tracker_sparql_expression_finalize (GObject * obj);
static void _vala_tracker_sparql_expression_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func);
static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func);
static gint _vala_array_length (gpointer array);


static GType tracker_sparql_expression_time_format_type_get_type (void) {
	static volatile gsize tracker_sparql_expression_time_format_type_type_id__volatile = 0;
	if (g_once_init_enter (&tracker_sparql_expression_time_format_type_type_id__volatile)) {
		static const GEnumValue values[] = {{TRACKER_SPARQL_EXPRESSION_TIME_FORMAT_TYPE_SECONDS, "TRACKER_SPARQL_EXPRESSION_TIME_FORMAT_TYPE_SECONDS", "seconds"}, {TRACKER_SPARQL_EXPRESSION_TIME_FORMAT_TYPE_MINUTES, "TRACKER_SPARQL_EXPRESSION_TIME_FORMAT_TYPE_MINUTES", "minutes"}, {TRACKER_SPARQL_EXPRESSION_TIME_FORMAT_TYPE_HOURS, "TRACKER_SPARQL_EXPRESSION_TIME_FORMAT_TYPE_HOURS", "hours"}, {0, NULL, NULL}};
		GType tracker_sparql_expression_time_format_type_type_id;
		tracker_sparql_expression_time_format_type_type_id = g_enum_register_static ("TrackerSparqlExpressionTimeFormatType", values);
		g_once_init_leave (&tracker_sparql_expression_time_format_type_type_id__volatile, tracker_sparql_expression_time_format_type_type_id);
	}
	return tracker_sparql_expression_time_format_type_type_id__volatile;
}


TrackerSparqlExpression* tracker_sparql_expression_construct (GType object_type, TrackerSparqlQuery* query) {
	TrackerSparqlExpression * self = NULL;
	TrackerSparqlQuery* _tmp0_;
#line 37 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (query != NULL, NULL);
#line 37 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	self = (TrackerSparqlExpression*) g_object_new (object_type, NULL);
#line 38 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = query;
#line 38 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	self->priv->query = _tmp0_;
#line 37 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	return self;
#line 573 "tracker-sparql-expression.c"
}


TrackerSparqlExpression* tracker_sparql_expression_new (TrackerSparqlQuery* query) {
#line 37 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	return tracker_sparql_expression_construct (TRACKER_SPARQL_TYPE_EXPRESSION, query);
#line 580 "tracker-sparql-expression.c"
}


static inline gboolean tracker_sparql_expression_next (TrackerSparqlExpression* self, GError** error) {
	gboolean result = FALSE;
	gboolean _tmp0_;
	TrackerSparqlQuery* _tmp1_;
	gboolean _tmp2_;
	GError * _inner_error_ = NULL;
#line 49 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 50 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp1_ = self->priv->query;
#line 50 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp2_ = tracker_sparql_query_next (_tmp1_, &_inner_error_);
#line 50 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = _tmp2_;
#line 50 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 50 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 602 "tracker-sparql-expression.c"
			gboolean _tmp3_ = FALSE;
#line 50 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 50 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return _tmp3_;
#line 608 "tracker-sparql-expression.c"
		} else {
			gboolean _tmp4_ = FALSE;
#line 50 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 50 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 50 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return _tmp4_;
#line 617 "tracker-sparql-expression.c"
		}
	}
#line 50 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	result = _tmp0_;
#line 50 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	return result;
#line 624 "tracker-sparql-expression.c"
}


static inline TrackerSparqlTokenType tracker_sparql_expression_current (TrackerSparqlExpression* self) {
	TrackerSparqlTokenType result = 0;
	TrackerSparqlQuery* _tmp0_;
	TrackerSparqlTokenType _tmp1_;
#line 53 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 54 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = self->priv->query;
#line 54 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp1_ = tracker_sparql_query_current (_tmp0_);
#line 54 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	result = _tmp1_;
#line 54 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	return result;
#line 642 "tracker-sparql-expression.c"
}


static inline TrackerSparqlTokenType tracker_sparql_expression_last (TrackerSparqlExpression* self) {
	TrackerSparqlTokenType result = 0;
	TrackerSparqlQuery* _tmp0_;
	TrackerSparqlTokenType _tmp1_;
#line 57 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 58 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = self->priv->query;
#line 58 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp1_ = tracker_sparql_query_last (_tmp0_);
#line 58 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	result = _tmp1_;
#line 58 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	return result;
#line 660 "tracker-sparql-expression.c"
}


static inline gboolean tracker_sparql_expression_accept (TrackerSparqlExpression* self, TrackerSparqlTokenType type, GError** error) {
	gboolean result = FALSE;
	gboolean _tmp0_;
	TrackerSparqlQuery* _tmp1_;
	TrackerSparqlTokenType _tmp2_;
	gboolean _tmp3_;
	GError * _inner_error_ = NULL;
#line 61 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 62 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp1_ = self->priv->query;
#line 62 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp2_ = type;
#line 62 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp3_ = tracker_sparql_query_accept (_tmp1_, _tmp2_, &_inner_error_);
#line 62 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = _tmp3_;
#line 62 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 62 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 685 "tracker-sparql-expression.c"
			gboolean _tmp4_ = FALSE;
#line 62 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 62 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return _tmp4_;
#line 691 "tracker-sparql-expression.c"
		} else {
			gboolean _tmp5_ = FALSE;
#line 62 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 62 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 62 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return _tmp5_;
#line 700 "tracker-sparql-expression.c"
		}
	}
#line 62 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	result = _tmp0_;
#line 62 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	return result;
#line 707 "tracker-sparql-expression.c"
}


static GError* tracker_sparql_expression_get_error (TrackerSparqlExpression* self, const gchar* msg) {
	GError* result = NULL;
	TrackerSparqlQuery* _tmp0_;
	const gchar* _tmp1_;
	GError* _tmp2_;
#line 65 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 65 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (msg != NULL, NULL);
#line 66 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = self->priv->query;
#line 66 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp1_ = msg;
#line 66 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp2_ = tracker_sparql_query_get_error (_tmp0_, _tmp1_);
#line 66 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	result = _tmp2_;
#line 66 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	return result;
#line 730 "tracker-sparql-expression.c"
}


static gboolean tracker_sparql_expression_expect (TrackerSparqlExpression* self, TrackerSparqlTokenType type, GError** error) {
	gboolean result = FALSE;
	gboolean _tmp0_;
	TrackerSparqlQuery* _tmp1_;
	TrackerSparqlTokenType _tmp2_;
	gboolean _tmp3_;
	GError * _inner_error_ = NULL;
#line 69 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 70 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp1_ = self->priv->query;
#line 70 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp2_ = type;
#line 70 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp3_ = tracker_sparql_query_expect (_tmp1_, _tmp2_, &_inner_error_);
#line 70 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = _tmp3_;
#line 70 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 70 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 755 "tracker-sparql-expression.c"
			gboolean _tmp4_ = FALSE;
#line 70 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 70 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return _tmp4_;
#line 761 "tracker-sparql-expression.c"
		} else {
			gboolean _tmp5_ = FALSE;
#line 70 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 70 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 70 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return _tmp5_;
#line 770 "tracker-sparql-expression.c"
		}
	}
#line 70 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	result = _tmp0_;
#line 70 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	return result;
#line 777 "tracker-sparql-expression.c"
}


static gchar* tracker_sparql_expression_get_last_string (TrackerSparqlExpression* self, gint strip) {
	gchar* result = NULL;
	TrackerSparqlQuery* _tmp0_;
	gint _tmp1_;
	gchar* _tmp2_;
#line 73 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 74 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = self->priv->query;
#line 74 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp1_ = strip;
#line 74 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp2_ = tracker_sparql_query_get_last_string (_tmp0_, _tmp1_);
#line 74 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	result = _tmp2_;
#line 74 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	return result;
#line 798 "tracker-sparql-expression.c"
}


static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int str_array_length1) {
	gchar* result = NULL;
	const gchar* _tmp0_;
	gboolean _tmp1_ = FALSE;
	gboolean _tmp2_ = FALSE;
	gchar** _tmp3_;
	gint _tmp3__length1;
#line 1070 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp0_ = separator;
#line 1070 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
	if (_tmp0_ == NULL) {
#line 1071 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		separator = "";
#line 815 "tracker-sparql-expression.c"
	}
#line 1073 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp3_ = str_array;
#line 1073 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp3__length1 = str_array_length1;
#line 1073 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
	if (_tmp3_ != NULL) {
#line 1073 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp2_ = TRUE;
#line 825 "tracker-sparql-expression.c"
	} else {
		gchar** _tmp4_;
		gint _tmp4__length1;
#line 1073 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp4_ = str_array;
#line 1073 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp4__length1 = str_array_length1;
#line 1073 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp2_ = _tmp4__length1 > 0;
#line 835 "tracker-sparql-expression.c"
	}
#line 1073 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
	if (_tmp2_) {
#line 1073 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp1_ = TRUE;
#line 841 "tracker-sparql-expression.c"
	} else {
		gboolean _tmp5_ = FALSE;
		gchar** _tmp6_;
		gint _tmp6__length1;
#line 1073 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp6_ = str_array;
#line 1073 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp6__length1 = str_array_length1;
#line 1073 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		if (_tmp6__length1 == -1) {
#line 852 "tracker-sparql-expression.c"
			gchar** _tmp7_;
			gint _tmp7__length1;
			const gchar* _tmp8_;
#line 1073 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
			_tmp7_ = str_array;
#line 1073 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
			_tmp7__length1 = str_array_length1;
#line 1073 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
			_tmp8_ = _tmp7_[0];
#line 1073 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
			_tmp5_ = _tmp8_ != NULL;
#line 864 "tracker-sparql-expression.c"
		} else {
#line 1073 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
			_tmp5_ = FALSE;
#line 868 "tracker-sparql-expression.c"
		}
#line 1073 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp1_ = _tmp5_;
#line 872 "tracker-sparql-expression.c"
	}
#line 1073 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
	if (_tmp1_) {
#line 876 "tracker-sparql-expression.c"
		gint i = 0;
		gsize len;
		gint _tmp31_;
		gint _tmp33_;
		gint _tmp34_;
		gsize _tmp35_;
		const gchar* _tmp36_;
		gint _tmp37_;
		gint _tmp38_;
		gint _tmp39_;
		const gchar* res;
		gsize _tmp40_;
		void* _tmp41_;
		void* ptr;
		const gchar* _tmp42_;
		gchar** _tmp43_;
		gint _tmp43__length1;
		const gchar* _tmp44_;
		void* _tmp45_;
		const gchar* _tmp62_;
#line 1075 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		len = (gsize) 1;
#line 899 "tracker-sparql-expression.c"
		{
			gboolean _tmp9_;
#line 1076 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
			i = 0;
#line 1076 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
			_tmp9_ = TRUE;
#line 1076 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
			while (TRUE) {
#line 908 "tracker-sparql-expression.c"
				gboolean _tmp11_ = FALSE;
				gboolean _tmp12_ = FALSE;
				gchar** _tmp13_;
				gint _tmp13__length1;
				gint _tmp21_ = 0;
				gchar** _tmp22_;
				gint _tmp22__length1;
				gint _tmp23_;
				const gchar* _tmp24_;
				gsize _tmp30_;
#line 1076 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
				if (!_tmp9_) {
#line 921 "tracker-sparql-expression.c"
					gint _tmp10_;
#line 1076 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
					_tmp10_ = i;
#line 1076 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
					i = _tmp10_ + 1;
#line 927 "tracker-sparql-expression.c"
				}
#line 1076 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
				_tmp9_ = FALSE;
#line 1076 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
				_tmp13_ = str_array;
#line 1076 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
				_tmp13__length1 = str_array_length1;
#line 1076 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
				if (_tmp13__length1 != -1) {
#line 937 "tracker-sparql-expression.c"
					gint _tmp14_;
					gchar** _tmp15_;
					gint _tmp15__length1;
#line 1076 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
					_tmp14_ = i;
#line 1076 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
					_tmp15_ = str_array;
#line 1076 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
					_tmp15__length1 = str_array_length1;
#line 1076 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
					_tmp12_ = _tmp14_ < _tmp15__length1;
#line 949 "tracker-sparql-expression.c"
				} else {
#line 1076 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
					_tmp12_ = FALSE;
#line 953 "tracker-sparql-expression.c"
				}
#line 1076 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
				if (_tmp12_) {
#line 1076 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
					_tmp11_ = TRUE;
#line 959 "tracker-sparql-expression.c"
				} else {
					gboolean _tmp16_ = FALSE;
					gchar** _tmp17_;
					gint _tmp17__length1;
#line 1076 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
					_tmp17_ = str_array;
#line 1076 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
					_tmp17__length1 = str_array_length1;
#line 1076 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
					if (_tmp17__length1 == -1) {
#line 970 "tracker-sparql-expression.c"
						gchar** _tmp18_;
						gint _tmp18__length1;
						gint _tmp19_;
						const gchar* _tmp20_;
#line 1076 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
						_tmp18_ = str_array;
#line 1076 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
						_tmp18__length1 = str_array_length1;
#line 1076 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
						_tmp19_ = i;
#line 1076 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
						_tmp20_ = _tmp18_[_tmp19_];
#line 1076 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
						_tmp16_ = _tmp20_ != NULL;
#line 985 "tracker-sparql-expression.c"
					} else {
#line 1076 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
						_tmp16_ = FALSE;
#line 989 "tracker-sparql-expression.c"
					}
#line 1076 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
					_tmp11_ = _tmp16_;
#line 993 "tracker-sparql-expression.c"
				}
#line 1076 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
				if (!_tmp11_) {
#line 1076 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
					break;
#line 999 "tracker-sparql-expression.c"
				}
#line 1077 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
				_tmp22_ = str_array;
#line 1077 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
				_tmp22__length1 = str_array_length1;
#line 1077 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
				_tmp23_ = i;
#line 1077 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
				_tmp24_ = _tmp22_[_tmp23_];
#line 1077 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
				if (_tmp24_ != NULL) {
#line 1011 "tracker-sparql-expression.c"
					gchar** _tmp25_;
					gint _tmp25__length1;
					gint _tmp26_;
					const gchar* _tmp27_;
					gint _tmp28_;
					gint _tmp29_;
#line 1077 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
					_tmp25_ = str_array;
#line 1077 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
					_tmp25__length1 = str_array_length1;
#line 1077 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
					_tmp26_ = i;
#line 1077 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
					_tmp27_ = _tmp25_[_tmp26_];
#line 1077 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
					_tmp28_ = strlen ((const gchar*) _tmp27_);
#line 1077 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
					_tmp29_ = _tmp28_;
#line 1077 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
					_tmp21_ = _tmp29_;
#line 1032 "tracker-sparql-expression.c"
				} else {
#line 1077 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
					_tmp21_ = 0;
#line 1036 "tracker-sparql-expression.c"
				}
#line 1077 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
				_tmp30_ = len;
#line 1077 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
				len = _tmp30_ + _tmp21_;
#line 1042 "tracker-sparql-expression.c"
			}
		}
#line 1079 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp31_ = i;
#line 1079 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		if (_tmp31_ == 0) {
#line 1049 "tracker-sparql-expression.c"
			gchar* _tmp32_;
#line 1080 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
			_tmp32_ = g_strdup ("");
#line 1080 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
			result = _tmp32_;
#line 1080 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
			return result;
#line 1057 "tracker-sparql-expression.c"
		}
#line 1082 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp33_ = i;
#line 1082 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		str_array_length1 = _tmp33_;
#line 1082 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp34_ = str_array_length1;
#line 1083 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp35_ = len;
#line 1083 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp36_ = separator;
#line 1083 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp37_ = strlen ((const gchar*) _tmp36_);
#line 1083 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp38_ = _tmp37_;
#line 1083 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp39_ = i;
#line 1083 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		len = _tmp35_ + (_tmp38_ * (_tmp39_ - 1));
#line 1085 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp40_ = len;
#line 1085 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp41_ = g_malloc (_tmp40_);
#line 1085 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		res = _tmp41_;
#line 1086 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp42_ = res;
#line 1086 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp43_ = str_array;
#line 1086 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp43__length1 = str_array_length1;
#line 1086 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp44_ = _tmp43_[0];
#line 1086 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp45_ = g_stpcpy ((void*) _tmp42_, (const gchar*) _tmp44_);
#line 1086 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		ptr = _tmp45_;
#line 1095 "tracker-sparql-expression.c"
		{
			gboolean _tmp46_;
#line 1087 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
			i = 1;
#line 1087 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
			_tmp46_ = TRUE;
#line 1087 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
			while (TRUE) {
#line 1104 "tracker-sparql-expression.c"
				gint _tmp48_;
				gchar** _tmp49_;
				gint _tmp49__length1;
				void* _tmp50_;
				const gchar* _tmp51_;
				void* _tmp52_;
				const gchar* _tmp53_ = NULL;
				gchar** _tmp54_;
				gint _tmp54__length1;
				gint _tmp55_;
				const gchar* _tmp56_;
				void* _tmp60_;
				void* _tmp61_;
#line 1087 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
				if (!_tmp46_) {
#line 1120 "tracker-sparql-expression.c"
					gint _tmp47_;
#line 1087 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
					_tmp47_ = i;
#line 1087 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
					i = _tmp47_ + 1;
#line 1126 "tracker-sparql-expression.c"
				}
#line 1087 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
				_tmp46_ = FALSE;
#line 1087 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
				_tmp48_ = i;
#line 1087 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
				_tmp49_ = str_array;
#line 1087 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
				_tmp49__length1 = str_array_length1;
#line 1087 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
				if (!(_tmp48_ < _tmp49__length1)) {
#line 1087 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
					break;
#line 1140 "tracker-sparql-expression.c"
				}
#line 1088 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
				_tmp50_ = ptr;
#line 1088 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
				_tmp51_ = separator;
#line 1088 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
				_tmp52_ = g_stpcpy (_tmp50_, (const gchar*) _tmp51_);
#line 1088 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
				ptr = _tmp52_;
#line 1089 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
				_tmp54_ = str_array;
#line 1089 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
				_tmp54__length1 = str_array_length1;
#line 1089 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
				_tmp55_ = i;
#line 1089 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
				_tmp56_ = _tmp54_[_tmp55_];
#line 1089 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
				if (_tmp56_ != NULL) {
#line 1160 "tracker-sparql-expression.c"
					gchar** _tmp57_;
					gint _tmp57__length1;
					gint _tmp58_;
					const gchar* _tmp59_;
#line 1089 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
					_tmp57_ = str_array;
#line 1089 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
					_tmp57__length1 = str_array_length1;
#line 1089 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
					_tmp58_ = i;
#line 1089 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
					_tmp59_ = _tmp57_[_tmp58_];
#line 1089 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
					_tmp53_ = (const gchar*) _tmp59_;
#line 1175 "tracker-sparql-expression.c"
				} else {
#line 1089 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
					_tmp53_ = "";
#line 1179 "tracker-sparql-expression.c"
				}
#line 1089 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
				_tmp60_ = ptr;
#line 1089 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
				_tmp61_ = g_stpcpy (_tmp60_, _tmp53_);
#line 1089 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
				ptr = _tmp61_;
#line 1187 "tracker-sparql-expression.c"
			}
		}
#line 1092 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp62_ = res;
#line 1092 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		res = NULL;
#line 1092 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		result = (gchar*) _tmp62_;
#line 1092 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		return result;
#line 1198 "tracker-sparql-expression.c"
	} else {
		gchar* _tmp63_;
#line 1094 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp63_ = g_strdup ("");
#line 1094 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		result = _tmp63_;
#line 1094 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		return result;
#line 1207 "tracker-sparql-expression.c"
	}
}


static gchar* tracker_sparql_expression_escape_sql_string_literal (TrackerSparqlExpression* self, const gchar* literal) {
	gchar* result = NULL;
	const gchar* _tmp0_;
	gchar** _tmp1_;
	gchar** _tmp2_;
	gchar** _tmp3_;
	gint _tmp3__length1;
	gchar* _tmp4_;
	gchar* _tmp5_;
	gchar* _tmp6_;
	gchar* _tmp7_;
#line 77 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 77 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (literal != NULL, NULL);
#line 78 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = literal;
#line 78 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp2_ = _tmp1_ = g_strsplit (_tmp0_, "'", 0);
#line 78 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp3_ = _tmp2_;
#line 78 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp3__length1 = _vala_array_length (_tmp1_);
#line 78 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp4_ = _vala_g_strjoinv ("''", _tmp3_, _vala_array_length (_tmp1_));
#line 78 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp5_ = _tmp4_;
#line 78 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp6_ = g_strdup_printf ("'%s'", _tmp5_);
#line 78 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp7_ = _tmp6_;
#line 78 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_g_free0 (_tmp5_);
#line 78 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp3_ = (_vala_array_free (_tmp3_, _tmp3__length1, (GDestroyNotify) g_free), NULL);
#line 78 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	result = _tmp7_;
#line 78 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	return result;
#line 1251 "tracker-sparql-expression.c"
}


static gboolean tracker_sparql_expression_maybe_numeric (TrackerSparqlExpression* self, TrackerPropertyType type) {
	gboolean result = FALSE;
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_ = FALSE;
	gboolean _tmp2_ = FALSE;
	gboolean _tmp3_ = FALSE;
	TrackerPropertyType _tmp4_;
#line 81 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 82 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp4_ = type;
#line 82 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (_tmp4_ == TRACKER_PROPERTY_TYPE_INTEGER) {
#line 82 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp3_ = TRUE;
#line 1270 "tracker-sparql-expression.c"
	} else {
		TrackerPropertyType _tmp5_;
#line 82 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp5_ = type;
#line 82 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp3_ = _tmp5_ == TRACKER_PROPERTY_TYPE_DOUBLE;
#line 1277 "tracker-sparql-expression.c"
	}
#line 82 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (_tmp3_) {
#line 82 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp2_ = TRUE;
#line 1283 "tracker-sparql-expression.c"
	} else {
		TrackerPropertyType _tmp6_;
#line 82 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp6_ = type;
#line 82 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp2_ = _tmp6_ == TRACKER_PROPERTY_TYPE_DATE;
#line 1290 "tracker-sparql-expression.c"
	}
#line 82 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (_tmp2_) {
#line 82 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp1_ = TRUE;
#line 1296 "tracker-sparql-expression.c"
	} else {
		TrackerPropertyType _tmp7_;
#line 82 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp7_ = type;
#line 82 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp1_ = _tmp7_ == TRACKER_PROPERTY_TYPE_DATETIME;
#line 1303 "tracker-sparql-expression.c"
	}
#line 82 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (_tmp1_) {
#line 82 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp0_ = TRUE;
#line 1309 "tracker-sparql-expression.c"
	} else {
		TrackerPropertyType _tmp8_;
#line 82 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp8_ = type;
#line 82 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp0_ = _tmp8_ == TRACKER_PROPERTY_TYPE_UNKNOWN;
#line 1316 "tracker-sparql-expression.c"
	}
#line 82 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	result = _tmp0_;
#line 82 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	return result;
#line 1322 "tracker-sparql-expression.c"
}


static void tracker_sparql_expression_append_collate (TrackerSparqlExpression* self, GString* sql) {
	GString* _tmp0_;
#line 85 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_if_fail (self != NULL);
#line 85 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_if_fail (sql != NULL);
#line 86 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = sql;
#line 86 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_string_append_printf (_tmp0_, " COLLATE %s", TRACKER_COLLATION_NAME);
#line 1336 "tracker-sparql-expression.c"
}


static void tracker_sparql_expression_skip_bracketted_expression (TrackerSparqlExpression* self, GError** error) {
	GError * _inner_error_ = NULL;
#line 89 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_if_fail (self != NULL);
#line 90 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_OPEN_PARENS, &_inner_error_);
#line 90 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 90 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 90 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 90 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 1354 "tracker-sparql-expression.c"
		} else {
#line 90 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 90 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 90 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 1362 "tracker-sparql-expression.c"
		}
	}
#line 91 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	while (TRUE) {
#line 1367 "tracker-sparql-expression.c"
		TrackerSparqlTokenType _tmp0_;
#line 92 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp0_ = tracker_sparql_expression_current (self);
#line 92 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		switch (_tmp0_) {
#line 92 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			case TRACKER_SPARQL_TOKEN_TYPE_OPEN_PARENS:
#line 1375 "tracker-sparql-expression.c"
			{
#line 95 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				tracker_sparql_expression_skip_bracketted_expression (self, &_inner_error_);
#line 95 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 95 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 95 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_propagate_error (error, _inner_error_);
#line 95 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return;
#line 1387 "tracker-sparql-expression.c"
					} else {
#line 95 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 95 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_clear_error (&_inner_error_);
#line 95 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return;
#line 1395 "tracker-sparql-expression.c"
					}
				}
#line 96 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				continue;
#line 1400 "tracker-sparql-expression.c"
			}
#line 92 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			case TRACKER_SPARQL_TOKEN_TYPE_CLOSE_PARENS:
#line 92 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			case TRACKER_SPARQL_TOKEN_TYPE_EOF:
#line 1406 "tracker-sparql-expression.c"
			{
#line 99 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				break;
#line 1410 "tracker-sparql-expression.c"
			}
			default:
			{
#line 101 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				tracker_sparql_expression_next (self, &_inner_error_);
#line 101 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 101 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 101 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_propagate_error (error, _inner_error_);
#line 101 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return;
#line 1424 "tracker-sparql-expression.c"
					} else {
#line 101 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 101 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_clear_error (&_inner_error_);
#line 101 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return;
#line 1432 "tracker-sparql-expression.c"
					}
				}
#line 102 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				continue;
#line 1437 "tracker-sparql-expression.c"
			}
		}
#line 104 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		break;
#line 1442 "tracker-sparql-expression.c"
	}
#line 106 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_CLOSE_PARENS, &_inner_error_);
#line 106 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 106 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 106 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 106 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 1454 "tracker-sparql-expression.c"
		} else {
#line 106 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 106 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 106 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 1462 "tracker-sparql-expression.c"
		}
	}
}


void tracker_sparql_expression_skip_select_variables (TrackerSparqlExpression* self, GError** error) {
	GError * _inner_error_ = NULL;
#line 109 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_if_fail (self != NULL);
#line 110 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	while (TRUE) {
#line 1474 "tracker-sparql-expression.c"
		TrackerSparqlTokenType _tmp0_;
#line 111 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp0_ = tracker_sparql_expression_current (self);
#line 111 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		switch (_tmp0_) {
#line 111 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			case TRACKER_SPARQL_TOKEN_TYPE_OPEN_PARENS:
#line 1482 "tracker-sparql-expression.c"
			{
#line 113 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				tracker_sparql_expression_skip_bracketted_expression (self, &_inner_error_);
#line 113 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 113 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 113 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_propagate_error (error, _inner_error_);
#line 113 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return;
#line 1494 "tracker-sparql-expression.c"
					} else {
#line 113 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 113 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_clear_error (&_inner_error_);
#line 113 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return;
#line 1502 "tracker-sparql-expression.c"
					}
				}
#line 114 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				continue;
#line 1507 "tracker-sparql-expression.c"
			}
#line 111 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			case TRACKER_SPARQL_TOKEN_TYPE_FROM:
#line 111 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			case TRACKER_SPARQL_TOKEN_TYPE_WHERE:
#line 111 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			case TRACKER_SPARQL_TOKEN_TYPE_OPEN_BRACE:
#line 111 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			case TRACKER_SPARQL_TOKEN_TYPE_GROUP:
#line 111 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			case TRACKER_SPARQL_TOKEN_TYPE_ORDER:
#line 111 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			case TRACKER_SPARQL_TOKEN_TYPE_LIMIT:
#line 111 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			case TRACKER_SPARQL_TOKEN_TYPE_OFFSET:
#line 111 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			case TRACKER_SPARQL_TOKEN_TYPE_EOF:
#line 1525 "tracker-sparql-expression.c"
			{
#line 123 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				break;
#line 1529 "tracker-sparql-expression.c"
			}
			default:
			{
#line 125 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				tracker_sparql_expression_next (self, &_inner_error_);
#line 125 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 125 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 125 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_propagate_error (error, _inner_error_);
#line 125 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return;
#line 1543 "tracker-sparql-expression.c"
					} else {
#line 125 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 125 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_clear_error (&_inner_error_);
#line 125 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return;
#line 1551 "tracker-sparql-expression.c"
					}
				}
#line 126 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				continue;
#line 1556 "tracker-sparql-expression.c"
			}
		}
#line 128 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		break;
#line 1561 "tracker-sparql-expression.c"
	}
}


static glong string_strnlen (gchar* str, glong maxlen) {
	glong result = 0L;
	gchar* end;
	gchar* _tmp0_;
	glong _tmp1_;
	gchar* _tmp2_;
	gchar* _tmp3_;
#line 1314 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp0_ = str;
#line 1314 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp1_ = maxlen;
#line 1314 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp2_ = memchr (_tmp0_, 0, (gsize) _tmp1_);
#line 1314 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
	end = _tmp2_;
#line 1315 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp3_ = end;
#line 1315 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
	if (_tmp3_ == NULL) {
#line 1585 "tracker-sparql-expression.c"
		glong _tmp4_;
#line 1316 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp4_ = maxlen;
#line 1316 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		result = _tmp4_;
#line 1316 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		return result;
#line 1593 "tracker-sparql-expression.c"
	} else {
		gchar* _tmp5_;
		gchar* _tmp6_;
#line 1318 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp5_ = end;
#line 1318 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp6_ = str;
#line 1318 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		result = (glong) (_tmp5_ - _tmp6_);
#line 1318 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		return result;
#line 1605 "tracker-sparql-expression.c"
	}
}


static gchar* string_substring (const gchar* self, glong offset, glong len) {
	gchar* result = NULL;
	glong string_length = 0L;
	gboolean _tmp0_ = FALSE;
	glong _tmp1_;
	glong _tmp8_;
	glong _tmp14_;
	glong _tmp17_;
	glong _tmp18_;
	glong _tmp19_;
	glong _tmp20_;
	glong _tmp21_;
	gchar* _tmp22_;
#line 1325 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, NULL);
#line 1327 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp1_ = offset;
#line 1327 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
	if (_tmp1_ >= ((glong) 0)) {
#line 1629 "tracker-sparql-expression.c"
		glong _tmp2_;
#line 1327 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp2_ = len;
#line 1327 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp0_ = _tmp2_ >= ((glong) 0);
#line 1635 "tracker-sparql-expression.c"
	} else {
#line 1327 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp0_ = FALSE;
#line 1639 "tracker-sparql-expression.c"
	}
#line 1327 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
	if (_tmp0_) {
#line 1643 "tracker-sparql-expression.c"
		glong _tmp3_;
		glong _tmp4_;
		glong _tmp5_;
#line 1329 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp3_ = offset;
#line 1329 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp4_ = len;
#line 1329 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_);
#line 1329 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		string_length = _tmp5_;
#line 1655 "tracker-sparql-expression.c"
	} else {
		gint _tmp6_;
		gint _tmp7_;
#line 1331 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp6_ = strlen (self);
#line 1331 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp7_ = _tmp6_;
#line 1331 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		string_length = (glong) _tmp7_;
#line 1665 "tracker-sparql-expression.c"
	}
#line 1334 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp8_ = offset;
#line 1334 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
	if (_tmp8_ < ((glong) 0)) {
#line 1671 "tracker-sparql-expression.c"
		glong _tmp9_;
		glong _tmp10_;
		glong _tmp11_;
#line 1335 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp9_ = string_length;
#line 1335 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp10_ = offset;
#line 1335 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		offset = _tmp9_ + _tmp10_;
#line 1336 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp11_ = offset;
#line 1336 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL);
#line 1685 "tracker-sparql-expression.c"
	} else {
		glong _tmp12_;
		glong _tmp13_;
#line 1338 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp12_ = offset;
#line 1338 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp13_ = string_length;
#line 1338 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL);
#line 1695 "tracker-sparql-expression.c"
	}
#line 1340 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp14_ = len;
#line 1340 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
	if (_tmp14_ < ((glong) 0)) {
#line 1701 "tracker-sparql-expression.c"
		glong _tmp15_;
		glong _tmp16_;
#line 1341 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp15_ = string_length;
#line 1341 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp16_ = offset;
#line 1341 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
		len = _tmp15_ - _tmp16_;
#line 1710 "tracker-sparql-expression.c"
	}
#line 1343 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp17_ = offset;
#line 1343 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp18_ = len;
#line 1343 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp19_ = string_length;
#line 1343 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
	g_return_val_if_fail ((_tmp17_ + _tmp18_) <= _tmp19_, NULL);
#line 1344 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp20_ = offset;
#line 1344 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp21_ = len;
#line 1344 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp22_ = g_strndup (((gchar*) self) + _tmp20_, (gsize) _tmp21_);
#line 1344 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
	result = _tmp22_;
#line 1344 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
	return result;
#line 1730 "tracker-sparql-expression.c"
}


static gpointer _g_object_ref0 (gpointer self) {
#line 142 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	return self ? g_object_ref (self) : NULL;
#line 1737 "tracker-sparql-expression.c"
}


static void _vala_array_add1 (gchar** * array, int* length, int* size, gchar* value) {
#line 209 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if ((*length) == (*size)) {
#line 209 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 209 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		*array = g_renew (gchar*, *array, (*size) + 1);
#line 1748 "tracker-sparql-expression.c"
	}
#line 209 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	(*array)[(*length)++] = value;
#line 209 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	(*array)[*length] = NULL;
#line 1754 "tracker-sparql-expression.c"
}


static void _vala_array_add2 (gchar** * array, int* length, int* size, gchar* value) {
#line 215 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if ((*length) == (*size)) {
#line 215 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 215 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		*array = g_renew (gchar*, *array, (*size) + 1);
#line 1765 "tracker-sparql-expression.c"
	}
#line 215 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	(*array)[(*length)++] = value;
#line 215 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	(*array)[*length] = NULL;
#line 1771 "tracker-sparql-expression.c"
}


static void _vala_array_add3 (gchar** * array, int* length, int* size, gchar* value) {
#line 231 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if ((*length) == (*size)) {
#line 231 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 231 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		*array = g_renew (gchar*, *array, (*size) + 1);
#line 1782 "tracker-sparql-expression.c"
	}
#line 231 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	(*array)[(*length)++] = value;
#line 231 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	(*array)[*length] = NULL;
#line 1788 "tracker-sparql-expression.c"
}


static void _vala_array_add4 (gchar** * array, int* length, int* size, gchar* value) {
#line 233 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if ((*length) == (*size)) {
#line 233 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 233 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		*array = g_renew (gchar*, *array, (*size) + 1);
#line 1799 "tracker-sparql-expression.c"
	}
#line 233 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	(*array)[(*length)++] = value;
#line 233 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	(*array)[*length] = NULL;
#line 1805 "tracker-sparql-expression.c"
}


TrackerPropertyType tracker_sparql_expression_translate_select_expression (TrackerSparqlExpression* self, GString* sql, gboolean subquery, gint variable_index, GError** error) {
	TrackerPropertyType result = 0;
	TrackerSparqlVariable* variable;
	gboolean expect_close_parens;
	gboolean as_handled;
	glong begin;
	GString* _tmp0_;
	gssize _tmp1_;
	TrackerPropertyType type;
	TrackerSparqlTokenType _tmp2_;
	gboolean _tmp42_;
	gboolean _tmp46_;
	gboolean _tmp47_;
	TrackerSparqlPattern* _tmp83_;
	TrackerSparqlPattern* _tmp84_;
	TrackerSparqlVariable* _tmp85_;
	gboolean _tmp118_;
	TrackerSparqlVariable* _tmp119_;
	GError * _inner_error_ = NULL;
#line 132 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 132 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (sql != NULL, 0);
#line 133 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	variable = NULL;
#line 134 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	expect_close_parens = FALSE;
#line 135 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	as_handled = FALSE;
#line 137 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = sql;
#line 137 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp1_ = _tmp0_->len;
#line 137 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	begin = (glong) _tmp1_;
#line 138 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	type = TRACKER_PROPERTY_TYPE_UNKNOWN;
#line 139 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp2_ = tracker_sparql_expression_current (self);
#line 139 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (_tmp2_ == TRACKER_SPARQL_TOKEN_TYPE_VAR) {
#line 1850 "tracker-sparql-expression.c"
		TrackerPropertyType _tmp3_;
		GString* _tmp4_;
		TrackerPropertyType _tmp5_;
		TrackerSparqlContext* _tmp6_;
		TrackerSparqlContext* _tmp7_;
		gchar* _tmp8_;
		gchar* _tmp9_;
		gchar* _tmp10_;
		gchar* _tmp11_;
		TrackerSparqlVariable* _tmp12_;
		TrackerSparqlVariable* _tmp13_;
		TrackerSparqlVariable* _tmp14_;
		TrackerSparqlVariableBinding* _tmp15_;
#line 140 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp4_ = sql;
#line 140 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp5_ = tracker_sparql_expression_translate_expression (self, _tmp4_, &_inner_error_);
#line 140 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp3_ = _tmp5_;
#line 140 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 140 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 140 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 140 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_object_unref0 (variable);
#line 140 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 1880 "tracker-sparql-expression.c"
			} else {
#line 140 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_object_unref0 (variable);
#line 140 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 140 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 140 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 1890 "tracker-sparql-expression.c"
			}
		}
#line 140 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		type = _tmp3_;
#line 142 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp6_ = tracker_sparql_expression_get_context (self);
#line 142 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp7_ = _tmp6_;
#line 142 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp8_ = tracker_sparql_expression_get_last_string (self, 0);
#line 142 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp9_ = _tmp8_;
#line 142 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp10_ = string_substring (_tmp9_, (glong) 1, (glong) -1);
#line 142 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp11_ = _tmp10_;
#line 142 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp12_ = tracker_sparql_context_get_variable (_tmp7_, _tmp11_);
#line 142 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp13_ = _g_object_ref0 (_tmp12_);
#line 142 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_g_object_unref0 (variable);
#line 142 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		variable = _tmp13_;
#line 142 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_g_free0 (_tmp11_);
#line 142 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_g_free0 (_tmp9_);
#line 144 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp14_ = variable;
#line 144 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp15_ = _tmp14_->binding;
#line 144 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp15_ == NULL) {
#line 1925 "tracker-sparql-expression.c"
			TrackerSparqlVariable* _tmp16_;
			const gchar* _tmp17_;
			const gchar* _tmp18_;
			gchar* _tmp19_;
			gchar* _tmp20_;
			GError* _tmp21_;
			GError* _tmp22_;
#line 145 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp16_ = variable;
#line 145 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp17_ = tracker_sparql_variable_get_name (_tmp16_);
#line 145 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp18_ = _tmp17_;
#line 145 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp19_ = g_strdup_printf ("use of undefined variable `%s'", _tmp18_);
#line 145 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp20_ = _tmp19_;
#line 145 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp21_ = tracker_sparql_expression_get_error (self, _tmp20_);
#line 145 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp22_ = _tmp21_;
#line 145 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (_tmp20_);
#line 145 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_inner_error_ = _tmp22_;
#line 145 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 145 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 145 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_object_unref0 (variable);
#line 145 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 1959 "tracker-sparql-expression.c"
			} else {
#line 145 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_object_unref0 (variable);
#line 145 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 145 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 145 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 1969 "tracker-sparql-expression.c"
			}
		}
	} else {
		gboolean _tmp23_;
		gboolean _tmp24_;
#line 147 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp24_ = tracker_sparql_expression_accept (self, TRACKER_SPARQL_TOKEN_TYPE_OPEN_PARENS, &_inner_error_);
#line 147 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp23_ = _tmp24_;
#line 147 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 147 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 147 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 147 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_object_unref0 (variable);
#line 147 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 1989 "tracker-sparql-expression.c"
			} else {
#line 147 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_object_unref0 (variable);
#line 147 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 147 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 147 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 1999 "tracker-sparql-expression.c"
			}
		}
#line 147 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp23_) {
#line 2004 "tracker-sparql-expression.c"
			TrackerSparqlTokenType _tmp25_;
#line 148 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp25_ = tracker_sparql_expression_current (self);
#line 148 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_tmp25_ == TRACKER_SPARQL_TOKEN_TYPE_SELECT) {
#line 2010 "tracker-sparql-expression.c"
				GString* _tmp26_;
				TrackerSparqlSelectContext* select_context;
				TrackerSparqlPattern* _tmp27_;
				TrackerSparqlPattern* _tmp28_;
				GString* _tmp29_;
				TrackerSparqlSelectContext* _tmp30_;
				GString* _tmp31_;
				TrackerSparqlSelectContext* _tmp32_;
				TrackerPropertyType _tmp33_;
#line 151 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp26_ = sql;
#line 151 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_string_append (_tmp26_, "(");
#line 152 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp27_ = tracker_sparql_expression_get_pattern (self);
#line 152 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp28_ = _tmp27_;
#line 152 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp29_ = sql;
#line 152 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp30_ = tracker_sparql_pattern_translate_select (_tmp28_, _tmp29_, TRUE, TRUE, &_inner_error_);
#line 152 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				select_context = _tmp30_;
#line 152 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 152 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 152 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_propagate_error (error, _inner_error_);
#line 152 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_g_object_unref0 (variable);
#line 152 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return 0;
#line 2044 "tracker-sparql-expression.c"
					} else {
#line 152 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_g_object_unref0 (variable);
#line 152 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 152 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_clear_error (&_inner_error_);
#line 152 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return 0;
#line 2054 "tracker-sparql-expression.c"
					}
				}
#line 153 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp31_ = sql;
#line 153 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_string_append (_tmp31_, ")");
#line 155 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_CLOSE_PARENS, &_inner_error_);
#line 155 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 155 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 155 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_propagate_error (error, _inner_error_);
#line 155 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tracker_sparql_context_unref0 (select_context);
#line 155 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_g_object_unref0 (variable);
#line 155 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return 0;
#line 2075 "tracker-sparql-expression.c"
					} else {
#line 155 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tracker_sparql_context_unref0 (select_context);
#line 155 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_g_object_unref0 (variable);
#line 155 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 155 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_clear_error (&_inner_error_);
#line 155 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return 0;
#line 2087 "tracker-sparql-expression.c"
					}
				}
#line 156 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp32_ = select_context;
#line 156 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp33_ = _tmp32_->type;
#line 156 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				type = _tmp33_;
#line 148 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tracker_sparql_context_unref0 (select_context);
#line 2098 "tracker-sparql-expression.c"
			} else {
				TrackerPropertyType _tmp34_;
				GString* _tmp35_;
				TrackerPropertyType _tmp36_;
				gboolean _tmp37_;
				gboolean _tmp38_;
#line 158 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp35_ = sql;
#line 158 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp36_ = tracker_sparql_expression_translate_expression (self, _tmp35_, &_inner_error_);
#line 158 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp34_ = _tmp36_;
#line 158 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 158 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 158 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_propagate_error (error, _inner_error_);
#line 158 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_g_object_unref0 (variable);
#line 158 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return 0;
#line 2121 "tracker-sparql-expression.c"
					} else {
#line 158 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_g_object_unref0 (variable);
#line 158 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 158 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_clear_error (&_inner_error_);
#line 158 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return 0;
#line 2131 "tracker-sparql-expression.c"
					}
				}
#line 158 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				type = _tmp34_;
#line 159 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp38_ = tracker_sparql_expression_accept (self, TRACKER_SPARQL_TOKEN_TYPE_CLOSE_PARENS, &_inner_error_);
#line 159 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp37_ = _tmp38_;
#line 159 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 159 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 159 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_propagate_error (error, _inner_error_);
#line 159 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_g_object_unref0 (variable);
#line 159 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return 0;
#line 2150 "tracker-sparql-expression.c"
					} else {
#line 159 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_g_object_unref0 (variable);
#line 159 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 159 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_clear_error (&_inner_error_);
#line 159 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return 0;
#line 2160 "tracker-sparql-expression.c"
					}
				}
#line 159 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_tmp37_) {
#line 2165 "tracker-sparql-expression.c"
				} else {
#line 165 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					expect_close_parens = TRUE;
#line 2169 "tracker-sparql-expression.c"
				}
			}
		} else {
			TrackerPropertyType _tmp39_;
			GString* _tmp40_;
			TrackerPropertyType _tmp41_;
#line 171 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp40_ = sql;
#line 171 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp41_ = tracker_sparql_expression_translate_expression (self, _tmp40_, &_inner_error_);
#line 171 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp39_ = _tmp41_;
#line 171 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 171 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 171 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 171 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_object_unref0 (variable);
#line 171 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 2192 "tracker-sparql-expression.c"
				} else {
#line 171 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_object_unref0 (variable);
#line 171 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 171 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 171 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 2202 "tracker-sparql-expression.c"
				}
			}
#line 171 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			type = _tmp39_;
#line 2207 "tracker-sparql-expression.c"
		}
	}
#line 174 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp42_ = subquery;
#line 174 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (!_tmp42_) {
#line 2214 "tracker-sparql-expression.c"
		GString* _tmp43_;
		TrackerPropertyType _tmp44_;
		glong _tmp45_;
#line 175 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp43_ = sql;
#line 175 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp44_ = type;
#line 175 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp45_ = begin;
#line 175 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		tracker_sparql_expression_convert_expression_to_string (_tmp43_, _tmp44_, _tmp45_);
#line 2226 "tracker-sparql-expression.c"
	}
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp47_ = tracker_sparql_expression_accept (self, TRACKER_SPARQL_TOKEN_TYPE_AS, &_inner_error_);
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp46_ = _tmp47_;
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_object_unref0 (variable);
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 2242 "tracker-sparql-expression.c"
		} else {
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_object_unref0 (variable);
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 2252 "tracker-sparql-expression.c"
		}
	}
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (_tmp46_) {
#line 2257 "tracker-sparql-expression.c"
		gboolean _tmp48_;
		gboolean _tmp49_;
		GString* _tmp64_;
		TrackerSparqlVariable* _tmp65_;
		const gchar* _tmp66_;
		const gchar* _tmp67_;
		gboolean _tmp68_;
#line 179 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp49_ = tracker_sparql_expression_accept (self, TRACKER_SPARQL_TOKEN_TYPE_PN_PREFIX, &_inner_error_);
#line 179 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp48_ = _tmp49_;
#line 179 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 179 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 179 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 179 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_object_unref0 (variable);
#line 179 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 2279 "tracker-sparql-expression.c"
			} else {
#line 179 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_object_unref0 (variable);
#line 179 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 179 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 179 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 2289 "tracker-sparql-expression.c"
			}
		}
#line 179 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp48_) {
#line 2294 "tracker-sparql-expression.c"
			TrackerSparqlContext* _tmp50_;
			TrackerSparqlContext* _tmp51_;
			gchar* _tmp52_;
			gchar* _tmp53_;
			TrackerSparqlVariable* _tmp54_;
			TrackerSparqlVariable* _tmp55_;
#line 182 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp50_ = tracker_sparql_expression_get_context (self);
#line 182 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp51_ = _tmp50_;
#line 182 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp52_ = tracker_sparql_expression_get_last_string (self, 0);
#line 182 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp53_ = _tmp52_;
#line 182 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp54_ = tracker_sparql_context_get_variable (_tmp51_, _tmp53_);
#line 182 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp55_ = _g_object_ref0 (_tmp54_);
#line 182 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_object_unref0 (variable);
#line 182 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			variable = _tmp55_;
#line 182 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (_tmp53_);
#line 2319 "tracker-sparql-expression.c"
		} else {
			TrackerSparqlContext* _tmp56_;
			TrackerSparqlContext* _tmp57_;
			gchar* _tmp58_;
			gchar* _tmp59_;
			gchar* _tmp60_;
			gchar* _tmp61_;
			TrackerSparqlVariable* _tmp62_;
			TrackerSparqlVariable* _tmp63_;
#line 186 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_VAR, &_inner_error_);
#line 186 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 186 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 186 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 186 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_object_unref0 (variable);
#line 186 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 2341 "tracker-sparql-expression.c"
				} else {
#line 186 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_object_unref0 (variable);
#line 186 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 186 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 186 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 2351 "tracker-sparql-expression.c"
				}
			}
#line 187 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp56_ = tracker_sparql_expression_get_context (self);
#line 187 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp57_ = _tmp56_;
#line 187 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp58_ = tracker_sparql_expression_get_last_string (self, 0);
#line 187 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp59_ = _tmp58_;
#line 187 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp60_ = string_substring (_tmp59_, (glong) 1, (glong) -1);
#line 187 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp61_ = _tmp60_;
#line 187 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp62_ = tracker_sparql_context_get_variable (_tmp57_, _tmp61_);
#line 187 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp63_ = _g_object_ref0 (_tmp62_);
#line 187 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_object_unref0 (variable);
#line 187 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			variable = _tmp63_;
#line 187 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (_tmp61_);
#line 187 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (_tmp59_);
#line 2378 "tracker-sparql-expression.c"
		}
#line 189 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp64_ = sql;
#line 189 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp65_ = variable;
#line 189 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp66_ = tracker_sparql_variable_get_sql_expression (_tmp65_);
#line 189 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp67_ = _tmp66_;
#line 189 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		g_string_append_printf (_tmp64_, " AS %s", _tmp67_);
#line 190 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		as_handled = TRUE;
#line 192 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp68_ = subquery;
#line 192 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp68_) {
#line 2396 "tracker-sparql-expression.c"
			TrackerSparqlVariableBinding* binding;
			TrackerSparqlVariableBinding* _tmp69_;
			TrackerSparqlVariableBinding* _tmp70_;
			TrackerPropertyType _tmp71_;
			TrackerSparqlVariableBinding* _tmp72_;
			TrackerSparqlVariable* _tmp73_;
			TrackerSparqlVariableBinding* _tmp74_;
			TrackerSparqlVariable* _tmp75_;
			const gchar* _tmp76_;
			const gchar* _tmp77_;
			TrackerSparqlPattern* _tmp78_;
			TrackerSparqlPattern* _tmp79_;
			GString* _tmp80_;
			GString* _tmp81_;
			TrackerSparqlVariableBinding* _tmp82_;
#line 193 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp69_ = tracker_sparql_variable_binding_new ();
#line 193 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			binding = _tmp69_;
#line 194 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp70_ = binding;
#line 194 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp71_ = type;
#line 194 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			((TrackerSparqlDataBinding*) _tmp70_)->data_type = _tmp71_;
#line 195 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp72_ = binding;
#line 195 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp73_ = variable;
#line 195 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp72_->variable = _tmp73_;
#line 196 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp74_ = binding;
#line 196 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp75_ = variable;
#line 196 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp76_ = tracker_sparql_variable_get_sql_expression (_tmp75_);
#line 196 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp77_ = _tmp76_;
#line 196 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_data_binding_set_sql_expression ((TrackerSparqlDataBinding*) _tmp74_, _tmp77_);
#line 197 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp78_ = tracker_sparql_expression_get_pattern (self);
#line 197 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp79_ = _tmp78_;
#line 197 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp80_ = g_string_new ("");
#line 197 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp81_ = _tmp80_;
#line 197 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp82_ = binding;
#line 197 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_pattern_add_variable_binding (_tmp79_, _tmp81_, _tmp82_, TRACKER_SPARQL_VARIABLE_STATE_BOUND);
#line 197 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_string_free0 (_tmp81_);
#line 192 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_object_unref0 (binding);
#line 2454 "tracker-sparql-expression.c"
		}
	}
#line 201 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp83_ = tracker_sparql_expression_get_pattern (self);
#line 201 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp84_ = _tmp83_;
#line 201 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp85_ = _tmp84_->fts_subject;
#line 201 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (_tmp85_ != NULL) {
#line 2465 "tracker-sparql-expression.c"
		TrackerSparqlVariable* _tmp86_;
		const gchar* _tmp94_;
#line 202 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp86_ = variable;
#line 202 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp86_ == NULL) {
#line 2472 "tracker-sparql-expression.c"
			TrackerSparqlContext* _tmp87_;
			TrackerSparqlContext* _tmp88_;
			gint _tmp89_;
			gchar* _tmp90_;
			gchar* _tmp91_;
			TrackerSparqlVariable* _tmp92_;
			TrackerSparqlVariable* _tmp93_;
#line 205 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp87_ = tracker_sparql_expression_get_context (self);
#line 205 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp88_ = _tmp87_;
#line 205 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp89_ = variable_index;
#line 205 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp90_ = g_strdup_printf ("var%d", _tmp89_ + 1);
#line 205 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp91_ = _tmp90_;
#line 205 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp92_ = tracker_sparql_context_get_variable (_tmp88_, _tmp91_);
#line 205 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp93_ = _g_object_ref0 (_tmp92_);
#line 205 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_object_unref0 (variable);
#line 205 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			variable = _tmp93_;
#line 205 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (_tmp91_);
#line 2500 "tracker-sparql-expression.c"
		}
#line 208 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp94_ = self->priv->fts_sql;
#line 208 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp94_ == NULL) {
#line 2506 "tracker-sparql-expression.c"
			TrackerSparqlPattern* _tmp95_;
			TrackerSparqlPattern* _tmp96_;
			TrackerSparqlPattern* _tmp97_;
			TrackerSparqlPattern* _tmp98_;
			gchar** _tmp99_;
			gint _tmp99__length1;
			TrackerSparqlVariable* _tmp100_;
			const gchar* _tmp101_;
			const gchar* _tmp102_;
			gchar* _tmp103_;
			gboolean _tmp104_;
#line 209 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp95_ = tracker_sparql_expression_get_pattern (self);
#line 209 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp96_ = _tmp95_;
#line 209 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp97_ = tracker_sparql_expression_get_pattern (self);
#line 209 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp98_ = _tmp97_;
#line 209 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp99_ = _tmp98_->fts_variables;
#line 209 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp99__length1 = _tmp98_->fts_variables_length1;
#line 209 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp100_ = variable;
#line 209 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp101_ = tracker_sparql_variable_get_sql_expression (_tmp100_);
#line 209 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp102_ = _tmp101_;
#line 209 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp103_ = g_strdup (_tmp102_);
#line 209 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_vala_array_add1 (&_tmp96_->fts_variables, &_tmp96_->fts_variables_length1, &_tmp96_->_fts_variables_size_, _tmp103_);
#line 211 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp104_ = as_handled;
#line 211 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_tmp104_ == FALSE) {
#line 2544 "tracker-sparql-expression.c"
				GString* _tmp105_;
				TrackerSparqlVariable* _tmp106_;
				const gchar* _tmp107_;
				const gchar* _tmp108_;
#line 212 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp105_ = sql;
#line 212 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp106_ = variable;
#line 212 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp107_ = tracker_sparql_variable_get_sql_expression (_tmp106_);
#line 212 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp108_ = _tmp107_;
#line 212 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_string_append_printf (_tmp105_, " AS %s", _tmp108_);
#line 2559 "tracker-sparql-expression.c"
			}
		} else {
			TrackerSparqlPattern* _tmp109_;
			TrackerSparqlPattern* _tmp110_;
			TrackerSparqlPattern* _tmp111_;
			TrackerSparqlPattern* _tmp112_;
			gchar** _tmp113_;
			gint _tmp113__length1;
			const gchar* _tmp114_;
			gchar* _tmp115_;
			TrackerSparqlPattern* _tmp116_;
			TrackerSparqlPattern* _tmp117_;
#line 215 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp109_ = tracker_sparql_expression_get_pattern (self);
#line 215 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp110_ = _tmp109_;
#line 215 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp111_ = tracker_sparql_expression_get_pattern (self);
#line 215 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp112_ = _tmp111_;
#line 215 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp113_ = _tmp112_->fts_variables;
#line 215 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp113__length1 = _tmp112_->fts_variables_length1;
#line 215 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp114_ = self->priv->fts_sql;
#line 215 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp115_ = g_strdup (_tmp114_);
#line 215 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_vala_array_add2 (&_tmp110_->fts_variables, &_tmp110_->fts_variables_length1, &_tmp110_->_fts_variables_size_, _tmp115_);
#line 216 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp116_ = tracker_sparql_expression_get_pattern (self);
#line 216 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp117_ = _tmp116_;
#line 216 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp117_->queries_fts_data = TRUE;
#line 2596 "tracker-sparql-expression.c"
		}
	}
#line 220 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp118_ = expect_close_parens;
#line 220 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (_tmp118_) {
#line 221 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_CLOSE_PARENS, &_inner_error_);
#line 221 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 221 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 221 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 221 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_object_unref0 (variable);
#line 221 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 2615 "tracker-sparql-expression.c"
			} else {
#line 221 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_object_unref0 (variable);
#line 221 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 221 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 221 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 2625 "tracker-sparql-expression.c"
			}
		}
	}
#line 224 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp119_ = variable;
#line 224 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (_tmp119_ != NULL) {
#line 2633 "tracker-sparql-expression.c"
		gint state;
		TrackerSparqlContext* _tmp120_;
		TrackerSparqlContext* _tmp121_;
		GHashTable* _tmp122_;
		TrackerSparqlVariable* _tmp123_;
		gconstpointer _tmp124_;
		gint _tmp125_;
		TrackerSparqlContext* _tmp126_;
		TrackerSparqlContext* _tmp127_;
		GHashTable* _tmp128_;
		TrackerSparqlVariable* _tmp129_;
		TrackerSparqlVariable* _tmp130_;
		gint _tmp131_;
		TrackerSparqlContext* _tmp132_;
		TrackerSparqlContext* _tmp133_;
		TrackerSparqlContext* _tmp134_;
		TrackerSparqlContext* _tmp135_;
		gchar** _tmp136_;
		gint _tmp136__length1;
		TrackerSparqlVariable* _tmp137_;
		const gchar* _tmp138_;
		const gchar* _tmp139_;
		gchar* _tmp140_;
#line 225 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp120_ = tracker_sparql_expression_get_context (self);
#line 225 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp121_ = _tmp120_;
#line 225 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp122_ = _tmp121_->var_set;
#line 225 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp123_ = variable;
#line 225 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp124_ = g_hash_table_lookup (_tmp122_, _tmp123_);
#line 225 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		state = (gint) ((gintptr) _tmp124_);
#line 226 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp125_ = state;
#line 226 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp125_ == 0) {
#line 227 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			state = (gint) TRACKER_SPARQL_VARIABLE_STATE_BOUND;
#line 2675 "tracker-sparql-expression.c"
		}
#line 229 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp126_ = tracker_sparql_expression_get_context (self);
#line 229 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp127_ = _tmp126_;
#line 229 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp128_ = _tmp127_->select_var_set;
#line 229 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp129_ = variable;
#line 229 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp130_ = _g_object_ref0 (_tmp129_);
#line 229 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp131_ = state;
#line 229 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		g_hash_table_insert (_tmp128_, _tmp130_, (gpointer) ((gintptr) _tmp131_));
#line 231 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp132_ = tracker_sparql_expression_get_context (self);
#line 231 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp133_ = _tmp132_;
#line 231 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp134_ = tracker_sparql_expression_get_context (self);
#line 231 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp135_ = _tmp134_;
#line 231 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp136_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp135_, TRACKER_SPARQL_TYPE_SELECT_CONTEXT, TrackerSparqlSelectContext)->variable_names;
#line 231 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp136__length1 = G_TYPE_CHECK_INSTANCE_CAST (_tmp135_, TRACKER_SPARQL_TYPE_SELECT_CONTEXT, TrackerSparqlSelectContext)->variable_names_length1;
#line 231 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp137_ = variable;
#line 231 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp138_ = tracker_sparql_variable_get_name (_tmp137_);
#line 231 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp139_ = _tmp138_;
#line 231 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp140_ = g_strdup (_tmp139_);
#line 231 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_vala_array_add3 (&G_TYPE_CHECK_INSTANCE_CAST (_tmp133_, TRACKER_SPARQL_TYPE_SELECT_CONTEXT, TrackerSparqlSelectContext)->variable_names, &G_TYPE_CHECK_INSTANCE_CAST (_tmp133_, TRACKER_SPARQL_TYPE_SELECT_CONTEXT, TrackerSparqlSelectContext)->variable_names_length1, &G_TYPE_CHECK_INSTANCE_CAST (_tmp133_, TRACKER_SPARQL_TYPE_SELECT_CONTEXT, TrackerSparqlSelectContext)->_variable_names_size_, _tmp140_);
#line 2713 "tracker-sparql-expression.c"
	} else {
		TrackerSparqlContext* _tmp141_;
		TrackerSparqlContext* _tmp142_;
		TrackerSparqlContext* _tmp143_;
		TrackerSparqlContext* _tmp144_;
		gchar** _tmp145_;
		gint _tmp145__length1;
		gint _tmp146_;
		gchar* _tmp147_;
#line 233 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp141_ = tracker_sparql_expression_get_context (self);
#line 233 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp142_ = _tmp141_;
#line 233 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp143_ = tracker_sparql_expression_get_context (self);
#line 233 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp144_ = _tmp143_;
#line 233 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp145_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp144_, TRACKER_SPARQL_TYPE_SELECT_CONTEXT, TrackerSparqlSelectContext)->variable_names;
#line 233 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp145__length1 = G_TYPE_CHECK_INSTANCE_CAST (_tmp144_, TRACKER_SPARQL_TYPE_SELECT_CONTEXT, TrackerSparqlSelectContext)->variable_names_length1;
#line 233 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp146_ = variable_index;
#line 233 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp147_ = g_strdup_printf ("var%d", _tmp146_ + 1);
#line 233 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_vala_array_add4 (&G_TYPE_CHECK_INSTANCE_CAST (_tmp142_, TRACKER_SPARQL_TYPE_SELECT_CONTEXT, TrackerSparqlSelectContext)->variable_names, &G_TYPE_CHECK_INSTANCE_CAST (_tmp142_, TRACKER_SPARQL_TYPE_SELECT_CONTEXT, TrackerSparqlSelectContext)->variable_names_length1, &G_TYPE_CHECK_INSTANCE_CAST (_tmp142_, TRACKER_SPARQL_TYPE_SELECT_CONTEXT, TrackerSparqlSelectContext)->_variable_names_size_, _tmp147_);
#line 2741 "tracker-sparql-expression.c"
	}
#line 236 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_g_free0 (self->priv->fts_sql);
#line 236 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	self->priv->fts_sql = NULL;
#line 238 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	result = type;
#line 238 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_g_object_unref0 (variable);
#line 238 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	return result;
#line 2753 "tracker-sparql-expression.c"
}


static void tracker_sparql_expression_translate_expression_as_order_condition (TrackerSparqlExpression* self, GString* sql, GError** error) {
	glong begin;
	GString* _tmp0_;
	gssize _tmp1_;
	TrackerPropertyType _tmp2_;
	GString* _tmp3_;
	TrackerPropertyType _tmp4_;
	GError * _inner_error_ = NULL;
#line 241 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_if_fail (self != NULL);
#line 241 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_if_fail (sql != NULL);
#line 242 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = sql;
#line 242 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp1_ = _tmp0_->len;
#line 242 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	begin = (glong) _tmp1_;
#line 243 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp3_ = sql;
#line 243 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp4_ = tracker_sparql_expression_translate_expression (self, _tmp3_, &_inner_error_);
#line 243 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp2_ = _tmp4_;
#line 243 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 243 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 243 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 243 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 2789 "tracker-sparql-expression.c"
		} else {
#line 243 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 243 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 243 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 2797 "tracker-sparql-expression.c"
		}
	}
#line 243 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (_tmp2_ == TRACKER_PROPERTY_TYPE_RESOURCE) {
#line 2802 "tracker-sparql-expression.c"
		GString* _tmp5_;
		GString* _tmp6_;
#line 245 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp5_ = sql;
#line 245 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		g_string_insert (_tmp5_, (gssize) begin, "(SELECT Uri FROM Resource WHERE ID = ");
#line 246 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp6_ = sql;
#line 246 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		g_string_append (_tmp6_, ")");
#line 2813 "tracker-sparql-expression.c"
	}
}


void tracker_sparql_expression_translate_order_condition (TrackerSparqlExpression* self, GString* sql, GError** error) {
	gboolean _tmp0_;
	gboolean _tmp1_;
	GError * _inner_error_ = NULL;
#line 250 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_if_fail (self != NULL);
#line 250 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_if_fail (sql != NULL);
#line 251 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp1_ = tracker_sparql_expression_accept (self, TRACKER_SPARQL_TOKEN_TYPE_ASC, &_inner_error_);
#line 251 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = _tmp1_;
#line 251 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 251 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 251 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 251 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 2838 "tracker-sparql-expression.c"
		} else {
#line 251 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 251 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 251 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 2846 "tracker-sparql-expression.c"
		}
	}
#line 251 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (_tmp0_) {
#line 2851 "tracker-sparql-expression.c"
		GString* _tmp2_;
		GString* _tmp3_;
#line 252 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp2_ = sql;
#line 252 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		tracker_sparql_expression_translate_expression_as_order_condition (self, _tmp2_, &_inner_error_);
#line 252 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 252 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 252 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 252 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return;
#line 2866 "tracker-sparql-expression.c"
			} else {
#line 252 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 252 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 252 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return;
#line 2874 "tracker-sparql-expression.c"
			}
		}
#line 253 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp3_ = sql;
#line 253 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		g_string_append (_tmp3_, " ASC");
#line 2881 "tracker-sparql-expression.c"
	} else {
		gboolean _tmp4_;
		gboolean _tmp5_;
#line 254 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp5_ = tracker_sparql_expression_accept (self, TRACKER_SPARQL_TOKEN_TYPE_DESC, &_inner_error_);
#line 254 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp4_ = _tmp5_;
#line 254 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 254 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 254 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 254 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return;
#line 2897 "tracker-sparql-expression.c"
			} else {
#line 254 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 254 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 254 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return;
#line 2905 "tracker-sparql-expression.c"
			}
		}
#line 254 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp4_) {
#line 2910 "tracker-sparql-expression.c"
			GString* _tmp6_;
			GString* _tmp7_;
#line 255 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp6_ = sql;
#line 255 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_translate_expression_as_order_condition (self, _tmp6_, &_inner_error_);
#line 255 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 255 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 255 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 255 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return;
#line 2925 "tracker-sparql-expression.c"
				} else {
#line 255 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 255 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 255 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return;
#line 2933 "tracker-sparql-expression.c"
				}
			}
#line 256 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp7_ = sql;
#line 256 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp7_, " DESC");
#line 2940 "tracker-sparql-expression.c"
		} else {
			GString* _tmp8_;
#line 258 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp8_ = sql;
#line 258 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_translate_expression_as_order_condition (self, _tmp8_, &_inner_error_);
#line 258 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 258 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 258 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 258 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return;
#line 2955 "tracker-sparql-expression.c"
				} else {
#line 258 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 258 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 258 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return;
#line 2963 "tracker-sparql-expression.c"
				}
			}
		}
	}
}


static void tracker_sparql_expression_translate_bound_call (TrackerSparqlExpression* self, GString* sql, GError** error) {
	GString* _tmp0_;
	GString* _tmp1_;
	GString* _tmp2_;
	GError * _inner_error_ = NULL;
#line 262 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_if_fail (self != NULL);
#line 262 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_if_fail (sql != NULL);
#line 263 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_BOUND, &_inner_error_);
#line 263 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 263 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 263 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 263 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 2990 "tracker-sparql-expression.c"
		} else {
#line 263 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 263 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 263 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 2998 "tracker-sparql-expression.c"
		}
	}
#line 264 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_OPEN_PARENS, &_inner_error_);
#line 264 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 264 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 264 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 264 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 3011 "tracker-sparql-expression.c"
		} else {
#line 264 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 264 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 264 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 3019 "tracker-sparql-expression.c"
		}
	}
#line 265 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = sql;
#line 265 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_string_append (_tmp0_, "(");
#line 266 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp1_ = sql;
#line 266 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	tracker_sparql_expression_translate_expression (self, _tmp1_, &_inner_error_);
#line 266 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 266 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 266 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 266 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 3038 "tracker-sparql-expression.c"
		} else {
#line 266 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 266 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 266 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 3046 "tracker-sparql-expression.c"
		}
	}
#line 267 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp2_ = sql;
#line 267 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_string_append (_tmp2_, " IS NOT NULL)");
#line 268 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_CLOSE_PARENS, &_inner_error_);
#line 268 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 268 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 268 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 268 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 3063 "tracker-sparql-expression.c"
		} else {
#line 268 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 268 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 268 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 3071 "tracker-sparql-expression.c"
		}
	}
}


static TrackerPropertyType tracker_sparql_expression_translate_if_call (TrackerSparqlExpression* self, GString* sql, GError** error) {
	TrackerPropertyType result = 0;
	GString* _tmp0_;
	GString* _tmp1_;
	GString* _tmp2_;
	TrackerPropertyType type;
	GString* _tmp3_;
	TrackerPropertyType _tmp4_;
	GString* _tmp5_;
	GString* _tmp6_;
	GString* _tmp7_;
	GError * _inner_error_ = NULL;
#line 271 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 271 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (sql != NULL, 0);
#line 272 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_IF, &_inner_error_);
#line 272 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 272 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 272 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 272 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 3103 "tracker-sparql-expression.c"
		} else {
#line 272 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 272 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 272 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 3111 "tracker-sparql-expression.c"
		}
	}
#line 273 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_OPEN_PARENS, &_inner_error_);
#line 273 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 273 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 273 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 273 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 3124 "tracker-sparql-expression.c"
		} else {
#line 273 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 273 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 273 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 3132 "tracker-sparql-expression.c"
		}
	}
#line 276 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = sql;
#line 276 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_string_append (_tmp0_, "(CASE ");
#line 277 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp1_ = sql;
#line 277 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	tracker_sparql_expression_translate_expression (self, _tmp1_, &_inner_error_);
#line 277 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 277 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 277 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 277 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 3151 "tracker-sparql-expression.c"
		} else {
#line 277 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 277 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 277 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 3159 "tracker-sparql-expression.c"
		}
	}
#line 280 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp2_ = sql;
#line 280 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_string_append (_tmp2_, " WHEN 1 THEN ");
#line 281 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_COMMA, &_inner_error_);
#line 281 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 281 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 281 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 281 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 3176 "tracker-sparql-expression.c"
		} else {
#line 281 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 281 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 281 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 3184 "tracker-sparql-expression.c"
		}
	}
#line 282 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp3_ = sql;
#line 282 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp4_ = tracker_sparql_expression_translate_expression (self, _tmp3_, &_inner_error_);
#line 282 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	type = _tmp4_;
#line 282 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 282 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 282 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 282 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 3201 "tracker-sparql-expression.c"
		} else {
#line 282 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 282 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 282 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 3209 "tracker-sparql-expression.c"
		}
	}
#line 285 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp5_ = sql;
#line 285 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_string_append (_tmp5_, " WHEN 0 THEN ");
#line 286 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_COMMA, &_inner_error_);
#line 286 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 286 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 286 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 286 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 3226 "tracker-sparql-expression.c"
		} else {
#line 286 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 286 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 286 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 3234 "tracker-sparql-expression.c"
		}
	}
#line 287 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp6_ = sql;
#line 287 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	tracker_sparql_expression_translate_expression (self, _tmp6_, &_inner_error_);
#line 287 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 287 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 287 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 287 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 3249 "tracker-sparql-expression.c"
		} else {
#line 287 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 287 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 287 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 3257 "tracker-sparql-expression.c"
		}
	}
#line 289 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp7_ = sql;
#line 289 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_string_append (_tmp7_, " ELSE NULL END)");
#line 291 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_CLOSE_PARENS, &_inner_error_);
#line 291 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 291 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 291 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 291 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 3274 "tracker-sparql-expression.c"
		} else {
#line 291 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 291 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 291 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 3282 "tracker-sparql-expression.c"
		}
	}
#line 293 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	result = type;
#line 293 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	return result;
#line 3289 "tracker-sparql-expression.c"
}


static void tracker_sparql_expression_translate_regex (TrackerSparqlExpression* self, GString* sql, GError** error) {
	GString* _tmp0_;
	GString* _tmp1_;
	GString* _tmp2_;
	gchar* _tmp3_;
	gchar* _tmp4_;
	GString* _tmp5_;
	gchar* _tmp6_;
	gchar* _tmp7_;
	GString* _tmp8_;
	gboolean _tmp9_;
	gboolean _tmp10_;
	GString* _tmp17_;
	GError * _inner_error_ = NULL;
#line 296 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_if_fail (self != NULL);
#line 296 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_if_fail (sql != NULL);
#line 297 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_REGEX, &_inner_error_);
#line 297 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 297 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 297 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 297 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 3321 "tracker-sparql-expression.c"
		} else {
#line 297 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 297 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 297 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 3329 "tracker-sparql-expression.c"
		}
	}
#line 298 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_OPEN_PARENS, &_inner_error_);
#line 298 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 298 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 298 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 298 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 3342 "tracker-sparql-expression.c"
		} else {
#line 298 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 298 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 298 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 3350 "tracker-sparql-expression.c"
		}
	}
#line 299 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = sql;
#line 299 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_string_append (_tmp0_, "SparqlRegex(");
#line 300 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp1_ = sql;
#line 300 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	tracker_sparql_expression_translate_expression_as_string (self, _tmp1_, &_inner_error_);
#line 300 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 300 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 300 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 300 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 3369 "tracker-sparql-expression.c"
		} else {
#line 300 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 300 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 300 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 3377 "tracker-sparql-expression.c"
		}
	}
#line 301 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp2_ = sql;
#line 301 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_string_append (_tmp2_, ", ");
#line 302 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_COMMA, &_inner_error_);
#line 302 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 302 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 302 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 302 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 3394 "tracker-sparql-expression.c"
		} else {
#line 302 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 302 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 302 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 3402 "tracker-sparql-expression.c"
		}
	}
#line 306 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp4_ = tracker_sparql_expression_parse_string_literal (self, NULL, &_inner_error_);
#line 306 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp3_ = _tmp4_;
#line 306 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 306 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 306 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 306 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 3417 "tracker-sparql-expression.c"
		} else {
#line 306 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 306 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 306 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 3425 "tracker-sparql-expression.c"
		}
	}
#line 306 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp5_ = sql;
#line 306 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp6_ = tracker_sparql_expression_escape_sql_string_literal (self, _tmp3_);
#line 306 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp7_ = _tmp6_;
#line 306 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_string_append (_tmp5_, _tmp7_);
#line 306 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_g_free0 (_tmp7_);
#line 307 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp8_ = sql;
#line 307 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_string_append (_tmp8_, ", ");
#line 308 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp10_ = tracker_sparql_expression_accept (self, TRACKER_SPARQL_TOKEN_TYPE_COMMA, &_inner_error_);
#line 308 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp9_ = _tmp10_;
#line 308 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 308 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 308 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 308 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (_tmp3_);
#line 308 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 3456 "tracker-sparql-expression.c"
		} else {
#line 308 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (_tmp3_);
#line 308 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 308 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 308 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 3466 "tracker-sparql-expression.c"
		}
	}
#line 308 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (_tmp9_) {
#line 3471 "tracker-sparql-expression.c"
		gchar* _tmp11_;
		gchar* _tmp12_;
		GString* _tmp13_;
		gchar* _tmp14_;
		gchar* _tmp15_;
#line 311 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp12_ = tracker_sparql_expression_parse_string_literal (self, NULL, &_inner_error_);
#line 311 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp11_ = _tmp12_;
#line 311 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 311 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 311 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 311 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_free0 (_tmp3_);
#line 311 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return;
#line 3491 "tracker-sparql-expression.c"
			} else {
#line 311 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_free0 (_tmp3_);
#line 311 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 311 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 311 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return;
#line 3501 "tracker-sparql-expression.c"
			}
		}
#line 311 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp13_ = sql;
#line 311 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp14_ = tracker_sparql_expression_escape_sql_string_literal (self, _tmp11_);
#line 311 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp15_ = _tmp14_;
#line 311 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		g_string_append (_tmp13_, _tmp15_);
#line 311 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_g_free0 (_tmp15_);
#line 308 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_g_free0 (_tmp11_);
#line 3516 "tracker-sparql-expression.c"
	} else {
		GString* _tmp16_;
#line 313 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp16_ = sql;
#line 313 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		g_string_append (_tmp16_, "''");
#line 3523 "tracker-sparql-expression.c"
	}
#line 315 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp17_ = sql;
#line 315 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_string_append (_tmp17_, ")");
#line 316 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_CLOSE_PARENS, &_inner_error_);
#line 316 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 316 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 316 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 316 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (_tmp3_);
#line 316 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 3541 "tracker-sparql-expression.c"
		} else {
#line 316 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (_tmp3_);
#line 316 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 316 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 316 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 3551 "tracker-sparql-expression.c"
		}
	}
#line 296 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_g_free0 (_tmp3_);
#line 3556 "tracker-sparql-expression.c"
}


static void tracker_sparql_expression_translate_exists (TrackerSparqlExpression* self, GString* sql, GError** error) {
	GString* _tmp0_;
	TrackerSparqlPattern* _tmp1_;
	TrackerSparqlPattern* _tmp2_;
	GString* _tmp3_;
	GString* _tmp4_;
	GError * _inner_error_ = NULL;
#line 319 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_if_fail (self != NULL);
#line 319 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_if_fail (sql != NULL);
#line 320 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = sql;
#line 320 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_string_append (_tmp0_, "(");
#line 321 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp1_ = tracker_sparql_expression_get_pattern (self);
#line 321 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp2_ = _tmp1_;
#line 321 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp3_ = sql;
#line 321 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	tracker_sparql_pattern_translate_exists (_tmp2_, _tmp3_, &_inner_error_);
#line 321 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 321 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 321 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 321 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 3591 "tracker-sparql-expression.c"
		} else {
#line 321 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 321 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 321 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 3599 "tracker-sparql-expression.c"
		}
	}
#line 322 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp4_ = sql;
#line 322 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_string_append (_tmp4_, ")");
#line 3606 "tracker-sparql-expression.c"
}


void tracker_sparql_expression_append_expression_as_string (GString* sql, const gchar* expression, TrackerPropertyType type) {
	glong begin;
	GString* _tmp0_;
	gssize _tmp1_;
	GString* _tmp2_;
	const gchar* _tmp3_;
	GString* _tmp4_;
	TrackerPropertyType _tmp5_;
#line 325 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_if_fail (sql != NULL);
#line 325 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_if_fail (expression != NULL);
#line 326 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = sql;
#line 326 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp1_ = _tmp0_->len;
#line 326 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	begin = (glong) _tmp1_;
#line 327 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp2_ = sql;
#line 327 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp3_ = expression;
#line 327 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_string_append (_tmp2_, _tmp3_);
#line 328 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp4_ = sql;
#line 328 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp5_ = type;
#line 328 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	tracker_sparql_expression_convert_expression_to_string (_tmp4_, _tmp5_, begin);
#line 3640 "tracker-sparql-expression.c"
}


static void tracker_sparql_expression_convert_expression_to_string (GString* sql, TrackerPropertyType type, glong begin) {
	TrackerPropertyType _tmp0_;
#line 331 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_if_fail (sql != NULL);
#line 332 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = type;
#line 332 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	switch (_tmp0_) {
#line 332 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_PROPERTY_TYPE_STRING:
#line 332 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_PROPERTY_TYPE_INTEGER:
#line 3656 "tracker-sparql-expression.c"
		{
#line 338 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			break;
#line 3660 "tracker-sparql-expression.c"
		}
#line 332 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_PROPERTY_TYPE_RESOURCE:
#line 3664 "tracker-sparql-expression.c"
		{
			GString* _tmp1_;
			glong _tmp2_;
			GString* _tmp3_;
#line 341 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp1_ = sql;
#line 341 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp2_ = begin;
#line 341 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_insert (_tmp1_, (gssize) _tmp2_, "(SELECT Uri FROM Resource WHERE ID = ");
#line 342 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp3_ = sql;
#line 342 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp3_, ")");
#line 343 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			break;
#line 3681 "tracker-sparql-expression.c"
		}
#line 332 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_PROPERTY_TYPE_BOOLEAN:
#line 3685 "tracker-sparql-expression.c"
		{
			GString* _tmp4_;
			glong _tmp5_;
			GString* _tmp6_;
#line 346 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp4_ = sql;
#line 346 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp5_ = begin;
#line 346 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_insert (_tmp4_, (gssize) _tmp5_, "CASE ");
#line 347 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp6_ = sql;
#line 347 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp6_, " WHEN 1 THEN 'true' WHEN 0 THEN 'false' ELSE NULL END");
#line 348 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			break;
#line 3702 "tracker-sparql-expression.c"
		}
#line 332 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_PROPERTY_TYPE_DATE:
#line 3706 "tracker-sparql-expression.c"
		{
			GString* _tmp7_;
			glong _tmp8_;
			GString* _tmp9_;
#line 351 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp7_ = sql;
#line 351 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp8_ = begin;
#line 351 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_insert (_tmp7_, (gssize) _tmp8_, "strftime (\"%Y-%m-%d\", ");
#line 352 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp9_ = sql;
#line 352 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp9_, ", \"unixepoch\")");
#line 353 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			break;
#line 3723 "tracker-sparql-expression.c"
		}
#line 332 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_PROPERTY_TYPE_DATETIME:
#line 3727 "tracker-sparql-expression.c"
		{
			GString* _tmp10_;
			glong _tmp11_;
			GString* _tmp12_;
#line 356 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp10_ = sql;
#line 356 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp11_ = begin;
#line 356 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_insert (_tmp10_, (gssize) _tmp11_, "SparqlFormatTime (");
#line 357 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp12_ = sql;
#line 357 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp12_, ")");
#line 358 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			break;
#line 3744 "tracker-sparql-expression.c"
		}
		default:
		{
			GString* _tmp13_;
			glong _tmp14_;
			GString* _tmp15_;
#line 361 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp13_ = sql;
#line 361 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp14_ = begin;
#line 361 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_insert (_tmp13_, (gssize) _tmp14_, "CAST (");
#line 362 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp15_ = sql;
#line 362 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp15_, " AS TEXT)");
#line 363 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			break;
#line 3763 "tracker-sparql-expression.c"
		}
	}
}


static void tracker_sparql_expression_translate_expression_as_string (TrackerSparqlExpression* self, GString* sql, GError** error) {
	TrackerSparqlTokenType _tmp0_;
	GError * _inner_error_ = NULL;
#line 367 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_if_fail (self != NULL);
#line 367 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_if_fail (sql != NULL);
#line 368 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = tracker_sparql_expression_current (self);
#line 368 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	switch (_tmp0_) {
#line 368 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_IRI_REF:
#line 368 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_PN_PREFIX:
#line 368 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_COLON:
#line 3786 "tracker-sparql-expression.c"
		{
			TrackerSparqlLiteralBinding* binding;
			TrackerSparqlLiteralBinding* _tmp1_;
			gboolean is_var = FALSE;
			gchar* _tmp2_;
			TrackerSparqlPattern* _tmp3_;
			TrackerSparqlPattern* _tmp4_;
			gboolean _tmp5_ = FALSE;
			gchar* _tmp6_;
			TrackerSparqlLiteralBinding* _tmp7_;
			gchar* _tmp8_;
			gboolean _tmp9_;
			gboolean _tmp10_;
#line 373 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp1_ = tracker_sparql_literal_binding_new ();
#line 373 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			binding = _tmp1_;
#line 375 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp3_ = tracker_sparql_expression_get_pattern (self);
#line 375 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp4_ = _tmp3_;
#line 375 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp6_ = tracker_sparql_pattern_parse_var_or_term (_tmp4_, NULL, &_tmp5_, &_inner_error_);
#line 375 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			is_var = _tmp5_;
#line 375 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp2_ = _tmp6_;
#line 375 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 375 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 375 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 375 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_object_unref0 (binding);
#line 375 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return;
#line 3824 "tracker-sparql-expression.c"
				} else {
#line 375 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_object_unref0 (binding);
#line 375 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 375 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 375 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return;
#line 3834 "tracker-sparql-expression.c"
				}
			}
#line 375 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp7_ = binding;
#line 375 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp8_ = _tmp2_;
#line 375 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp2_ = NULL;
#line 375 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (_tmp7_->literal);
#line 375 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp7_->literal = _tmp8_;
#line 376 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp10_ = tracker_sparql_expression_accept (self, TRACKER_SPARQL_TOKEN_TYPE_OPEN_PARENS, &_inner_error_);
#line 376 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp9_ = _tmp10_;
#line 376 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 376 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 376 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 376 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_free0 (_tmp2_);
#line 376 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_object_unref0 (binding);
#line 376 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return;
#line 3863 "tracker-sparql-expression.c"
				} else {
#line 376 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_free0 (_tmp2_);
#line 376 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_object_unref0 (binding);
#line 376 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 376 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 376 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return;
#line 3875 "tracker-sparql-expression.c"
				}
			}
#line 376 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_tmp9_) {
#line 3880 "tracker-sparql-expression.c"
				glong begin;
				GString* _tmp11_;
				gssize _tmp12_;
				TrackerPropertyType type;
				GString* _tmp13_;
				TrackerSparqlLiteralBinding* _tmp14_;
				const gchar* _tmp15_;
				TrackerPropertyType _tmp16_;
				GString* _tmp17_;
				TrackerPropertyType _tmp18_;
				glong _tmp19_;
#line 378 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp11_ = sql;
#line 378 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp12_ = _tmp11_->len;
#line 378 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				begin = (glong) _tmp12_;
#line 379 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp13_ = sql;
#line 379 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp14_ = binding;
#line 379 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp15_ = _tmp14_->literal;
#line 379 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp16_ = tracker_sparql_expression_translate_function (self, _tmp13_, _tmp15_, &_inner_error_);
#line 379 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				type = _tmp16_;
#line 379 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 379 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 379 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_propagate_error (error, _inner_error_);
#line 379 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_g_free0 (_tmp2_);
#line 379 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_g_object_unref0 (binding);
#line 379 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return;
#line 3920 "tracker-sparql-expression.c"
					} else {
#line 379 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_g_free0 (_tmp2_);
#line 379 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_g_object_unref0 (binding);
#line 379 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 379 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_clear_error (&_inner_error_);
#line 379 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return;
#line 3932 "tracker-sparql-expression.c"
					}
				}
#line 380 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_CLOSE_PARENS, &_inner_error_);
#line 380 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 380 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 380 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_propagate_error (error, _inner_error_);
#line 380 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_g_free0 (_tmp2_);
#line 380 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_g_object_unref0 (binding);
#line 380 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return;
#line 3949 "tracker-sparql-expression.c"
					} else {
#line 380 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_g_free0 (_tmp2_);
#line 380 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_g_object_unref0 (binding);
#line 380 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 380 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_clear_error (&_inner_error_);
#line 380 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return;
#line 3961 "tracker-sparql-expression.c"
					}
				}
#line 381 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp17_ = sql;
#line 381 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp18_ = type;
#line 381 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp19_ = begin;
#line 381 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				tracker_sparql_expression_convert_expression_to_string (_tmp17_, _tmp18_, _tmp19_);
#line 3972 "tracker-sparql-expression.c"
			} else {
				GString* _tmp20_;
				TrackerSparqlQuery* _tmp21_;
				TrackerSparqlLiteralBinding* _tmp22_;
				TrackerSparqlLiteralBinding* _tmp23_;
#line 383 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp20_ = sql;
#line 383 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_string_append (_tmp20_, "?");
#line 384 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp21_ = self->priv->query;
#line 384 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp22_ = binding;
#line 384 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp23_ = _g_object_ref0 (_tmp22_);
#line 384 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp21_->bindings = g_list_append (_tmp21_->bindings, _tmp23_);
#line 3990 "tracker-sparql-expression.c"
			}
#line 386 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (_tmp2_);
#line 386 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_object_unref0 (binding);
#line 386 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			break;
#line 3998 "tracker-sparql-expression.c"
		}
		default:
		{
			glong begin;
			GString* _tmp24_;
			gssize _tmp25_;
			TrackerPropertyType type;
			GString* _tmp26_;
			TrackerPropertyType _tmp27_;
			GString* _tmp28_;
			TrackerPropertyType _tmp29_;
			glong _tmp30_;
#line 388 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp24_ = sql;
#line 388 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp25_ = _tmp24_->len;
#line 388 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			begin = (glong) _tmp25_;
#line 389 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp26_ = sql;
#line 389 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp27_ = tracker_sparql_expression_translate_expression (self, _tmp26_, &_inner_error_);
#line 389 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			type = _tmp27_;
#line 389 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 389 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 389 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 389 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return;
#line 4031 "tracker-sparql-expression.c"
				} else {
#line 389 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 389 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 389 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return;
#line 4039 "tracker-sparql-expression.c"
				}
			}
#line 390 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp28_ = sql;
#line 390 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp29_ = type;
#line 390 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp30_ = begin;
#line 390 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_convert_expression_to_string (_tmp28_, _tmp29_, _tmp30_);
#line 391 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			break;
#line 4052 "tracker-sparql-expression.c"
		}
	}
}


static void tracker_sparql_expression_translate_str (TrackerSparqlExpression* self, GString* sql, GError** error) {
	GString* _tmp0_;
	GError * _inner_error_ = NULL;
#line 395 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_if_fail (self != NULL);
#line 395 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_if_fail (sql != NULL);
#line 396 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_STR, &_inner_error_);
#line 396 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 396 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 396 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 396 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 4075 "tracker-sparql-expression.c"
		} else {
#line 396 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 396 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 396 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 4083 "tracker-sparql-expression.c"
		}
	}
#line 397 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_OPEN_PARENS, &_inner_error_);
#line 397 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 397 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 397 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 397 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 4096 "tracker-sparql-expression.c"
		} else {
#line 397 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 397 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 397 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 4104 "tracker-sparql-expression.c"
		}
	}
#line 399 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = sql;
#line 399 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	tracker_sparql_expression_translate_expression_as_string (self, _tmp0_, &_inner_error_);
#line 399 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 399 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 399 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 399 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 4119 "tracker-sparql-expression.c"
		} else {
#line 399 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 399 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 399 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 4127 "tracker-sparql-expression.c"
		}
	}
#line 401 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_CLOSE_PARENS, &_inner_error_);
#line 401 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 401 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 401 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 401 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 4140 "tracker-sparql-expression.c"
		} else {
#line 401 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 401 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 401 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 4148 "tracker-sparql-expression.c"
		}
	}
}


static void tracker_sparql_expression_translate_isuri (TrackerSparqlExpression* self, GString* sql, GError** error) {
	gboolean _tmp0_;
	gboolean _tmp1_;
	GString* _tmp2_;
	TrackerSparqlLiteralBinding* new_binding;
	TrackerSparqlLiteralBinding* _tmp3_;
	TrackerSparqlLiteralBinding* _tmp4_;
	TrackerSparqlTokenType _tmp5_;
	TrackerSparqlQuery* _tmp17_;
	TrackerSparqlLiteralBinding* _tmp18_;
	TrackerSparqlLiteralBinding* _tmp19_;
	GError * _inner_error_ = NULL;
#line 404 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_if_fail (self != NULL);
#line 404 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_if_fail (sql != NULL);
#line 405 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp1_ = tracker_sparql_expression_accept (self, TRACKER_SPARQL_TOKEN_TYPE_ISURI, &_inner_error_);
#line 405 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = _tmp1_;
#line 405 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 405 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 405 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 405 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 4182 "tracker-sparql-expression.c"
		} else {
#line 405 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 405 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 405 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 4190 "tracker-sparql-expression.c"
		}
	}
#line 405 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (!_tmp0_) {
#line 406 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_ISIRI, &_inner_error_);
#line 406 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 406 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 406 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 406 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return;
#line 4205 "tracker-sparql-expression.c"
			} else {
#line 406 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 406 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 406 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return;
#line 4213 "tracker-sparql-expression.c"
			}
		}
	}
#line 409 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_OPEN_PARENS, &_inner_error_);
#line 409 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 409 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 409 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 409 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 4227 "tracker-sparql-expression.c"
		} else {
#line 409 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 409 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 409 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 4235 "tracker-sparql-expression.c"
		}
	}
#line 411 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp2_ = sql;
#line 411 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_string_append (_tmp2_, "?");
#line 412 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp3_ = tracker_sparql_literal_binding_new ();
#line 412 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	new_binding = _tmp3_;
#line 413 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp4_ = new_binding;
#line 413 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	((TrackerSparqlDataBinding*) _tmp4_)->data_type = TRACKER_PROPERTY_TYPE_INTEGER;
#line 415 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp5_ = tracker_sparql_expression_current (self);
#line 415 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (_tmp5_ == TRACKER_SPARQL_TOKEN_TYPE_IRI_REF) {
#line 4254 "tracker-sparql-expression.c"
		TrackerSparqlLiteralBinding* _tmp6_;
		gchar* _tmp7_;
#line 416 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp6_ = new_binding;
#line 416 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp7_ = g_strdup ("1");
#line 416 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_g_free0 (_tmp6_->literal);
#line 416 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp6_->literal = _tmp7_;
#line 417 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		tracker_sparql_expression_next (self, &_inner_error_);
#line 417 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 417 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 417 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 417 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_object_unref0 (new_binding);
#line 417 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return;
#line 4277 "tracker-sparql-expression.c"
			} else {
#line 417 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_object_unref0 (new_binding);
#line 417 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 417 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 417 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return;
#line 4287 "tracker-sparql-expression.c"
			}
		}
	} else {
		TrackerPropertyType _tmp8_;
		GString* _tmp9_;
		GString* _tmp10_;
		TrackerPropertyType _tmp11_;
		TrackerPropertyType _tmp12_;
#line 418 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp9_ = g_string_new ("");
#line 418 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp10_ = _tmp9_;
#line 418 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp11_ = tracker_sparql_expression_translate_expression (self, _tmp10_, &_inner_error_);
#line 418 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp12_ = _tmp11_;
#line 418 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_g_string_free0 (_tmp10_);
#line 418 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp8_ = _tmp12_;
#line 418 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 418 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 418 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 418 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_object_unref0 (new_binding);
#line 418 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return;
#line 4318 "tracker-sparql-expression.c"
			} else {
#line 418 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_object_unref0 (new_binding);
#line 418 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 418 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 418 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return;
#line 4328 "tracker-sparql-expression.c"
			}
		}
#line 418 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp8_ == TRACKER_PROPERTY_TYPE_RESOURCE) {
#line 4333 "tracker-sparql-expression.c"
			TrackerSparqlLiteralBinding* _tmp13_;
			gchar* _tmp14_;
#line 419 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp13_ = new_binding;
#line 419 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp14_ = g_strdup ("1");
#line 419 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (_tmp13_->literal);
#line 419 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp13_->literal = _tmp14_;
#line 4344 "tracker-sparql-expression.c"
		} else {
			TrackerSparqlLiteralBinding* _tmp15_;
			gchar* _tmp16_;
#line 421 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp15_ = new_binding;
#line 421 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp16_ = g_strdup ("0");
#line 421 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (_tmp15_->literal);
#line 421 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp15_->literal = _tmp16_;
#line 4356 "tracker-sparql-expression.c"
		}
	}
#line 424 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp17_ = self->priv->query;
#line 424 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp18_ = new_binding;
#line 424 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp19_ = _g_object_ref0 (_tmp18_);
#line 424 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp17_->bindings = g_list_append (_tmp17_->bindings, _tmp19_);
#line 426 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_CLOSE_PARENS, &_inner_error_);
#line 426 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 426 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 426 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 426 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_object_unref0 (new_binding);
#line 426 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 4379 "tracker-sparql-expression.c"
		} else {
#line 426 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_object_unref0 (new_binding);
#line 426 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 426 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 426 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 4389 "tracker-sparql-expression.c"
		}
	}
#line 404 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_g_object_unref0 (new_binding);
#line 4394 "tracker-sparql-expression.c"
}


static void tracker_sparql_expression_translate_datatype (TrackerSparqlExpression* self, GString* sql, GError** error) {
	gboolean _tmp0_;
	gboolean _tmp1_;
	GError * _inner_error_ = NULL;
#line 429 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_if_fail (self != NULL);
#line 429 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_if_fail (sql != NULL);
#line 430 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_DATATYPE, &_inner_error_);
#line 430 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 430 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 430 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 430 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 4416 "tracker-sparql-expression.c"
		} else {
#line 430 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 430 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 430 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 4424 "tracker-sparql-expression.c"
		}
	}
#line 431 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_OPEN_PARENS, &_inner_error_);
#line 431 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 431 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 431 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 431 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 4437 "tracker-sparql-expression.c"
		} else {
#line 431 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 431 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 431 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 4445 "tracker-sparql-expression.c"
		}
	}
#line 433 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp1_ = tracker_sparql_expression_accept (self, TRACKER_SPARQL_TOKEN_TYPE_VAR, &_inner_error_);
#line 433 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = _tmp1_;
#line 433 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 433 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 433 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 433 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 4460 "tracker-sparql-expression.c"
		} else {
#line 433 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 433 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 433 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 4468 "tracker-sparql-expression.c"
		}
	}
#line 433 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (_tmp0_) {
#line 4473 "tracker-sparql-expression.c"
		gchar* variable_name;
		gchar* _tmp2_;
		gchar* _tmp3_;
		gchar* _tmp4_;
		gchar* _tmp5_;
		TrackerSparqlVariable* variable;
		TrackerSparqlContext* _tmp6_;
		TrackerSparqlContext* _tmp7_;
		const gchar* _tmp8_;
		TrackerSparqlVariable* _tmp9_;
		TrackerSparqlVariable* _tmp10_;
		TrackerSparqlVariable* _tmp11_;
		TrackerSparqlVariableBinding* _tmp12_;
		gboolean _tmp20_ = FALSE;
		TrackerSparqlVariable* _tmp21_;
		TrackerSparqlVariableBinding* _tmp22_;
		TrackerPropertyType _tmp23_;
		GString* _tmp28_;
		TrackerSparqlLiteralBinding* new_binding;
		TrackerSparqlLiteralBinding* _tmp29_;
		TrackerSparqlLiteralBinding* _tmp30_;
		TrackerSparqlVariable* _tmp31_;
		TrackerSparqlVariableBinding* _tmp32_;
		TrackerClass* _tmp33_;
		const gchar* _tmp34_;
		const gchar* _tmp35_;
		gchar* _tmp36_;
		TrackerSparqlQuery* _tmp37_;
		TrackerSparqlLiteralBinding* _tmp38_;
		TrackerSparqlLiteralBinding* _tmp39_;
#line 434 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp2_ = tracker_sparql_expression_get_last_string (self, 0);
#line 434 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp3_ = _tmp2_;
#line 434 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp4_ = string_substring (_tmp3_, (glong) 1, (glong) -1);
#line 434 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp5_ = _tmp4_;
#line 434 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_g_free0 (_tmp3_);
#line 434 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		variable_name = _tmp5_;
#line 435 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp6_ = tracker_sparql_expression_get_context (self);
#line 435 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp7_ = _tmp6_;
#line 435 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp8_ = variable_name;
#line 435 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp9_ = tracker_sparql_context_get_variable (_tmp7_, _tmp8_);
#line 435 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp10_ = _g_object_ref0 (_tmp9_);
#line 435 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		variable = _tmp10_;
#line 437 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp11_ = variable;
#line 437 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp12_ = _tmp11_->binding;
#line 437 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp12_ == NULL) {
#line 4534 "tracker-sparql-expression.c"
			TrackerSparqlVariable* _tmp13_;
			const gchar* _tmp14_;
			const gchar* _tmp15_;
			gchar* _tmp16_;
			gchar* _tmp17_;
			GError* _tmp18_;
			GError* _tmp19_;
#line 438 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp13_ = variable;
#line 438 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp14_ = tracker_sparql_variable_get_name (_tmp13_);
#line 438 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp15_ = _tmp14_;
#line 438 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp16_ = g_strdup_printf ("`%s' is not a valid variable", _tmp15_);
#line 438 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp17_ = _tmp16_;
#line 438 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp18_ = tracker_sparql_expression_get_error (self, _tmp17_);
#line 438 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp19_ = _tmp18_;
#line 438 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (_tmp17_);
#line 438 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_inner_error_ = _tmp19_;
#line 438 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 438 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 438 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_object_unref0 (variable);
#line 438 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_free0 (variable_name);
#line 438 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return;
#line 4570 "tracker-sparql-expression.c"
			} else {
#line 438 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_object_unref0 (variable);
#line 438 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_free0 (variable_name);
#line 438 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 438 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 438 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return;
#line 4582 "tracker-sparql-expression.c"
			}
		}
#line 441 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp21_ = variable;
#line 441 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp22_ = _tmp21_->binding;
#line 441 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp23_ = ((TrackerSparqlDataBinding*) _tmp22_)->data_type;
#line 441 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp23_ == TRACKER_PROPERTY_TYPE_RESOURCE) {
#line 441 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp20_ = TRUE;
#line 4595 "tracker-sparql-expression.c"
		} else {
			TrackerSparqlVariable* _tmp24_;
			TrackerSparqlVariableBinding* _tmp25_;
			TrackerClass* _tmp26_;
#line 441 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp24_ = variable;
#line 441 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp25_ = _tmp24_->binding;
#line 441 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp26_ = _tmp25_->type;
#line 441 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp20_ = _tmp26_ == NULL;
#line 4608 "tracker-sparql-expression.c"
		}
#line 441 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp20_) {
#line 4612 "tracker-sparql-expression.c"
			GError* _tmp27_;
#line 442 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp27_ = tracker_sparql_expression_get_error (self, "Invalid FILTER");
#line 442 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_inner_error_ = _tmp27_;
#line 442 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 442 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 442 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_object_unref0 (variable);
#line 442 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_free0 (variable_name);
#line 442 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return;
#line 4628 "tracker-sparql-expression.c"
			} else {
#line 442 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_object_unref0 (variable);
#line 442 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_free0 (variable_name);
#line 442 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 442 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 442 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return;
#line 4640 "tracker-sparql-expression.c"
			}
		}
#line 445 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp28_ = sql;
#line 445 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		g_string_append (_tmp28_, "(SELECT ID FROM Resource WHERE Uri = ?)");
#line 447 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp29_ = tracker_sparql_literal_binding_new ();
#line 447 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		new_binding = _tmp29_;
#line 448 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp30_ = new_binding;
#line 448 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp31_ = variable;
#line 448 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp32_ = _tmp31_->binding;
#line 448 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp33_ = _tmp32_->type;
#line 448 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp34_ = tracker_class_get_uri (_tmp33_);
#line 448 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp35_ = _tmp34_;
#line 448 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp36_ = g_strdup (_tmp35_);
#line 448 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_g_free0 (_tmp30_->literal);
#line 448 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp30_->literal = _tmp36_;
#line 449 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp37_ = self->priv->query;
#line 449 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp38_ = new_binding;
#line 449 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp39_ = _g_object_ref0 (_tmp38_);
#line 449 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp37_->bindings = g_list_append (_tmp37_->bindings, _tmp39_);
#line 433 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_g_object_unref0 (new_binding);
#line 433 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_g_object_unref0 (variable);
#line 433 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_g_free0 (variable_name);
#line 4683 "tracker-sparql-expression.c"
	} else {
		GError* _tmp40_;
#line 452 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp40_ = tracker_sparql_expression_get_error (self, "Invalid FILTER");
#line 452 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_inner_error_ = _tmp40_;
#line 452 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 452 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 452 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 4696 "tracker-sparql-expression.c"
		} else {
#line 452 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 452 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 452 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 4704 "tracker-sparql-expression.c"
		}
	}
#line 455 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_CLOSE_PARENS, &_inner_error_);
#line 455 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 455 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 455 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 455 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 4717 "tracker-sparql-expression.c"
		} else {
#line 455 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 455 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 455 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 4725 "tracker-sparql-expression.c"
		}
	}
}


static void tracker_sparql_expression_translate_date (TrackerSparqlExpression* self, GString* sql, const gchar* format, GError** error) {
	GString* _tmp0_;
	const gchar* _tmp1_;
	gboolean _tmp2_;
	gboolean _tmp3_;
	GString* _tmp19_;
	GError * _inner_error_ = NULL;
#line 458 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_if_fail (self != NULL);
#line 458 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_if_fail (sql != NULL);
#line 458 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_if_fail (format != NULL);
#line 459 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = sql;
#line 459 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp1_ = format;
#line 459 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_string_append_printf (_tmp0_, "strftime (\"%s\", ", _tmp1_);
#line 461 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp3_ = tracker_sparql_expression_accept (self, TRACKER_SPARQL_TOKEN_TYPE_VAR, &_inner_error_);
#line 461 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp2_ = _tmp3_;
#line 461 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 461 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 461 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 461 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 4762 "tracker-sparql-expression.c"
		} else {
#line 461 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 461 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 461 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 4770 "tracker-sparql-expression.c"
		}
	}
#line 461 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (_tmp2_) {
#line 4775 "tracker-sparql-expression.c"
		gchar* variable_name;
		gchar* _tmp4_;
		gchar* _tmp5_;
		gchar* _tmp6_;
		gchar* _tmp7_;
		TrackerSparqlVariable* variable;
		TrackerSparqlContext* _tmp8_;
		TrackerSparqlContext* _tmp9_;
		const gchar* _tmp10_;
		TrackerSparqlVariable* _tmp11_;
		TrackerSparqlVariable* _tmp12_;
		GString* _tmp13_;
		TrackerSparqlVariable* _tmp14_;
		gchar* _tmp15_;
		gchar* _tmp16_;
		GString* _tmp17_;
#line 462 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp4_ = tracker_sparql_expression_get_last_string (self, 0);
#line 462 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp5_ = _tmp4_;
#line 462 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp6_ = string_substring (_tmp5_, (glong) 1, (glong) -1);
#line 462 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp7_ = _tmp6_;
#line 462 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_g_free0 (_tmp5_);
#line 462 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		variable_name = _tmp7_;
#line 463 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp8_ = tracker_sparql_expression_get_context (self);
#line 463 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp9_ = _tmp8_;
#line 463 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp10_ = variable_name;
#line 463 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp11_ = tracker_sparql_context_get_variable (_tmp9_, _tmp10_);
#line 463 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp12_ = _g_object_ref0 (_tmp11_);
#line 463 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		variable = _tmp12_;
#line 464 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp13_ = sql;
#line 464 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp14_ = variable;
#line 464 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp15_ = tracker_sparql_variable_get_extra_sql_expression (_tmp14_, "localDate");
#line 464 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp16_ = _tmp15_;
#line 464 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		g_string_append (_tmp13_, _tmp16_);
#line 464 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_g_free0 (_tmp16_);
#line 465 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp17_ = sql;
#line 465 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		g_string_append (_tmp17_, " * 24 * 3600");
#line 461 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_g_object_unref0 (variable);
#line 461 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_g_free0 (variable_name);
#line 4836 "tracker-sparql-expression.c"
	} else {
		GString* _tmp18_;
#line 467 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp18_ = sql;
#line 467 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		tracker_sparql_expression_translate_primary_expression (self, _tmp18_, &_inner_error_);
#line 467 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 467 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 467 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 467 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return;
#line 4851 "tracker-sparql-expression.c"
			} else {
#line 467 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 467 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 467 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return;
#line 4859 "tracker-sparql-expression.c"
			}
		}
	}
#line 470 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp19_ = sql;
#line 470 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_string_append (_tmp19_, ", \"unixepoch\")");
#line 4867 "tracker-sparql-expression.c"
}


static void tracker_sparql_expression_translate_time (TrackerSparqlExpression* self, GString* sql, TrackerSparqlExpressionTimeFormatType type, GError** error) {
	GString* _tmp0_;
	gboolean _tmp1_;
	gboolean _tmp2_;
	TrackerSparqlExpressionTimeFormatType _tmp17_;
	GString* _tmp21_;
	GError * _inner_error_ = NULL;
#line 473 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_if_fail (self != NULL);
#line 473 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_if_fail (sql != NULL);
#line 474 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = sql;
#line 474 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_string_append (_tmp0_, "(");
#line 475 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp2_ = tracker_sparql_expression_accept (self, TRACKER_SPARQL_TOKEN_TYPE_VAR, &_inner_error_);
#line 475 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp1_ = _tmp2_;
#line 475 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 475 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 475 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 475 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 4898 "tracker-sparql-expression.c"
		} else {
#line 475 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 475 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 475 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 4906 "tracker-sparql-expression.c"
		}
	}
#line 475 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (_tmp1_) {
#line 4911 "tracker-sparql-expression.c"
		gchar* variable_name;
		gchar* _tmp3_;
		gchar* _tmp4_;
		gchar* _tmp5_;
		gchar* _tmp6_;
		TrackerSparqlVariable* variable;
		TrackerSparqlContext* _tmp7_;
		TrackerSparqlContext* _tmp8_;
		const gchar* _tmp9_;
		TrackerSparqlVariable* _tmp10_;
		TrackerSparqlVariable* _tmp11_;
		GString* _tmp12_;
		TrackerSparqlVariable* _tmp13_;
		gchar* _tmp14_;
		gchar* _tmp15_;
#line 476 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp3_ = tracker_sparql_expression_get_last_string (self, 0);
#line 476 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp4_ = _tmp3_;
#line 476 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp5_ = string_substring (_tmp4_, (glong) 1, (glong) -1);
#line 476 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp6_ = _tmp5_;
#line 476 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_g_free0 (_tmp4_);
#line 476 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		variable_name = _tmp6_;
#line 477 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp7_ = tracker_sparql_expression_get_context (self);
#line 477 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp8_ = _tmp7_;
#line 477 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp9_ = variable_name;
#line 477 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp10_ = tracker_sparql_context_get_variable (_tmp8_, _tmp9_);
#line 477 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp11_ = _g_object_ref0 (_tmp10_);
#line 477 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		variable = _tmp11_;
#line 478 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp12_ = sql;
#line 478 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp13_ = variable;
#line 478 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp14_ = tracker_sparql_variable_get_extra_sql_expression (_tmp13_, "localTime");
#line 478 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp15_ = _tmp14_;
#line 478 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		g_string_append (_tmp12_, _tmp15_);
#line 478 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_g_free0 (_tmp15_);
#line 475 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_g_object_unref0 (variable);
#line 475 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_g_free0 (variable_name);
#line 4967 "tracker-sparql-expression.c"
	} else {
		GString* _tmp16_;
#line 480 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp16_ = sql;
#line 480 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		tracker_sparql_expression_translate_primary_expression (self, _tmp16_, &_inner_error_);
#line 480 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 480 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 480 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 480 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return;
#line 4982 "tracker-sparql-expression.c"
			} else {
#line 480 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 480 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 480 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return;
#line 4990 "tracker-sparql-expression.c"
			}
		}
	}
#line 483 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp17_ = type;
#line 483 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	switch (_tmp17_) {
#line 483 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_EXPRESSION_TIME_FORMAT_TYPE_SECONDS:
#line 5000 "tracker-sparql-expression.c"
		{
			GString* _tmp18_;
#line 485 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp18_ = sql;
#line 485 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp18_, "% 60");
#line 486 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			break;
#line 5009 "tracker-sparql-expression.c"
		}
#line 483 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_EXPRESSION_TIME_FORMAT_TYPE_MINUTES:
#line 5013 "tracker-sparql-expression.c"
		{
			GString* _tmp19_;
#line 488 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp19_ = sql;
#line 488 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp19_, " / 60 % 60");
#line 489 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			break;
#line 5022 "tracker-sparql-expression.c"
		}
#line 483 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_EXPRESSION_TIME_FORMAT_TYPE_HOURS:
#line 5026 "tracker-sparql-expression.c"
		{
			GString* _tmp20_;
#line 491 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp20_ = sql;
#line 491 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp20_, " / 3600 % 24");
#line 492 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			break;
#line 5035 "tracker-sparql-expression.c"
		}
		default:
#line 483 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		break;
#line 5040 "tracker-sparql-expression.c"
	}
#line 494 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp21_ = sql;
#line 494 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_string_append (_tmp21_, ")");
#line 5046 "tracker-sparql-expression.c"
}


static gchar* g_unichar_to_string (gunichar self) {
	gchar* result = NULL;
	gchar* str;
	gchar* _tmp0_;
	const gchar* _tmp1_;
#line 941 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp0_ = g_new0 (gchar, 7);
#line 941 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
	str = (gchar*) _tmp0_;
#line 942 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp1_ = str;
#line 942 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
	g_unichar_to_utf8 (self, _tmp1_);
#line 943 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
	result = str;
#line 943 "/home/carlos/Build/gnome/share/vala-0.36/vapi/glib-2.0.vapi"
	return result;
#line 5067 "tracker-sparql-expression.c"
}


static TrackerPropertyType tracker_sparql_expression_translate_function (TrackerSparqlExpression* self, GString* sql, const gchar* uri, GError** error) {
	TrackerPropertyType result = 0;
	const gchar* _tmp0_;
	GError * _inner_error_ = NULL;
#line 497 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 497 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (sql != NULL, 0);
#line 497 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (uri != NULL, 0);
#line 498 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = uri;
#line 498 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (g_strcmp0 (_tmp0_, TRACKER_SPARQL_EXPRESSION_XSD_NS "string") == 0) {
#line 5085 "tracker-sparql-expression.c"
		GString* _tmp1_;
#line 500 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp1_ = sql;
#line 500 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		tracker_sparql_expression_translate_expression_as_string (self, _tmp1_, &_inner_error_);
#line 500 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 500 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 500 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 500 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 5099 "tracker-sparql-expression.c"
			} else {
#line 500 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 500 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 500 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 5107 "tracker-sparql-expression.c"
			}
		}
#line 502 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		result = TRACKER_PROPERTY_TYPE_STRING;
#line 502 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		return result;
#line 5114 "tracker-sparql-expression.c"
	} else {
		const gchar* _tmp2_;
#line 503 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp2_ = uri;
#line 503 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (g_strcmp0 (_tmp2_, TRACKER_SPARQL_EXPRESSION_XSD_NS "integer") == 0) {
#line 5121 "tracker-sparql-expression.c"
			GString* _tmp3_;
			GString* _tmp4_;
			GString* _tmp5_;
#line 505 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp3_ = sql;
#line 505 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp3_, "CAST (");
#line 506 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp4_ = sql;
#line 506 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_translate_expression_as_string (self, _tmp4_, &_inner_error_);
#line 506 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 506 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 506 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 506 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 5141 "tracker-sparql-expression.c"
				} else {
#line 506 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 506 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 506 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 5149 "tracker-sparql-expression.c"
				}
			}
#line 507 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp5_ = sql;
#line 507 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp5_, " AS INTEGER)");
#line 509 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = TRACKER_PROPERTY_TYPE_INTEGER;
#line 509 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 5160 "tracker-sparql-expression.c"
		} else {
			const gchar* _tmp6_;
#line 510 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp6_ = uri;
#line 510 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (g_strcmp0 (_tmp6_, TRACKER_SPARQL_EXPRESSION_XSD_NS "double") == 0) {
#line 5167 "tracker-sparql-expression.c"
				GString* _tmp7_;
				GString* _tmp8_;
				GString* _tmp9_;
#line 512 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp7_ = sql;
#line 512 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_string_append (_tmp7_, "CAST (");
#line 513 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp8_ = sql;
#line 513 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				tracker_sparql_expression_translate_expression_as_string (self, _tmp8_, &_inner_error_);
#line 513 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 513 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 513 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_propagate_error (error, _inner_error_);
#line 513 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return 0;
#line 5187 "tracker-sparql-expression.c"
					} else {
#line 513 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 513 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_clear_error (&_inner_error_);
#line 513 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return 0;
#line 5195 "tracker-sparql-expression.c"
					}
				}
#line 514 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp9_ = sql;
#line 514 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_string_append (_tmp9_, " AS REAL)");
#line 516 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				result = TRACKER_PROPERTY_TYPE_DOUBLE;
#line 516 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return result;
#line 5206 "tracker-sparql-expression.c"
			} else {
				const gchar* _tmp10_;
#line 517 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp10_ = uri;
#line 517 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (g_strcmp0 (_tmp10_, TRACKER_SPARQL_EXPRESSION_TRACKER_NS "case-fold") == 0) {
#line 5213 "tracker-sparql-expression.c"
					GString* _tmp11_;
					GString* _tmp12_;
					GString* _tmp13_;
#line 519 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp11_ = sql;
#line 519 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_string_append (_tmp11_, "SparqlCaseFold (");
#line 520 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp12_ = sql;
#line 520 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					tracker_sparql_expression_translate_expression_as_string (self, _tmp12_, &_inner_error_);
#line 520 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 520 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 520 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							g_propagate_error (error, _inner_error_);
#line 520 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							return 0;
#line 5233 "tracker-sparql-expression.c"
						} else {
#line 520 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 520 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							g_clear_error (&_inner_error_);
#line 520 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							return 0;
#line 5241 "tracker-sparql-expression.c"
						}
					}
#line 521 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp13_ = sql;
#line 521 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_string_append (_tmp13_, ")");
#line 522 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					result = TRACKER_PROPERTY_TYPE_STRING;
#line 522 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return result;
#line 5252 "tracker-sparql-expression.c"
				} else {
					const gchar* _tmp14_;
#line 523 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp14_ = uri;
#line 523 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					if (g_strcmp0 (_tmp14_, TRACKER_SPARQL_EXPRESSION_TRACKER_NS "ascii-lower-case") == 0) {
#line 5259 "tracker-sparql-expression.c"
						GString* _tmp15_;
						GString* _tmp16_;
						GString* _tmp17_;
#line 525 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp15_ = sql;
#line 525 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_string_append (_tmp15_, "lower (");
#line 526 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp16_ = sql;
#line 526 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						tracker_sparql_expression_translate_expression_as_string (self, _tmp16_, &_inner_error_);
#line 526 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 526 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 526 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								g_propagate_error (error, _inner_error_);
#line 526 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								return 0;
#line 5279 "tracker-sparql-expression.c"
							} else {
#line 526 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 526 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								g_clear_error (&_inner_error_);
#line 526 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								return 0;
#line 5287 "tracker-sparql-expression.c"
							}
						}
#line 527 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp17_ = sql;
#line 527 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_string_append (_tmp17_, ")");
#line 528 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						result = TRACKER_PROPERTY_TYPE_STRING;
#line 528 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return result;
#line 5298 "tracker-sparql-expression.c"
					} else {
						const gchar* _tmp18_;
#line 529 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp18_ = uri;
#line 529 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						if (g_strcmp0 (_tmp18_, TRACKER_SPARQL_EXPRESSION_FN_NS "lower-case") == 0) {
#line 5305 "tracker-sparql-expression.c"
							GString* _tmp19_;
							GString* _tmp20_;
							GString* _tmp21_;
#line 531 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp19_ = sql;
#line 531 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							g_string_append (_tmp19_, "SparqlLowerCase (");
#line 532 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp20_ = sql;
#line 532 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							tracker_sparql_expression_translate_expression_as_string (self, _tmp20_, &_inner_error_);
#line 532 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 532 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 532 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
									g_propagate_error (error, _inner_error_);
#line 532 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
									return 0;
#line 5325 "tracker-sparql-expression.c"
								} else {
#line 532 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
									g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 532 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
									g_clear_error (&_inner_error_);
#line 532 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
									return 0;
#line 5333 "tracker-sparql-expression.c"
								}
							}
#line 533 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp21_ = sql;
#line 533 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							g_string_append (_tmp21_, ")");
#line 534 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							result = TRACKER_PROPERTY_TYPE_STRING;
#line 534 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							return result;
#line 5344 "tracker-sparql-expression.c"
						} else {
							const gchar* _tmp22_;
#line 535 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp22_ = uri;
#line 535 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							if (g_strcmp0 (_tmp22_, TRACKER_SPARQL_EXPRESSION_FN_NS "upper-case") == 0) {
#line 5351 "tracker-sparql-expression.c"
								GString* _tmp23_;
								GString* _tmp24_;
								GString* _tmp25_;
#line 536 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								_tmp23_ = sql;
#line 536 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								g_string_append (_tmp23_, "SparqlUpperCase (");
#line 537 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								_tmp24_ = sql;
#line 537 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								tracker_sparql_expression_translate_expression_as_string (self, _tmp24_, &_inner_error_);
#line 537 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 537 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
									if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 537 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
										g_propagate_error (error, _inner_error_);
#line 537 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
										return 0;
#line 5371 "tracker-sparql-expression.c"
									} else {
#line 537 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
										g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 537 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
										g_clear_error (&_inner_error_);
#line 537 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
										return 0;
#line 5379 "tracker-sparql-expression.c"
									}
								}
#line 538 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								_tmp25_ = sql;
#line 538 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								g_string_append (_tmp25_, ")");
#line 539 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								result = TRACKER_PROPERTY_TYPE_STRING;
#line 539 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								return result;
#line 5390 "tracker-sparql-expression.c"
							} else {
								const gchar* _tmp26_;
#line 540 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								_tmp26_ = uri;
#line 540 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								if (g_strcmp0 (_tmp26_, TRACKER_SPARQL_EXPRESSION_TRACKER_NS "normalize") == 0) {
#line 5397 "tracker-sparql-expression.c"
									GString* _tmp27_;
									GString* _tmp28_;
									GString* _tmp29_;
									GString* _tmp30_;
									GString* _tmp31_;
#line 542 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
									_tmp27_ = sql;
#line 542 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
									g_string_append (_tmp27_, "SparqlNormalize (");
#line 543 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
									_tmp28_ = sql;
#line 543 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
									tracker_sparql_expression_translate_expression_as_string (self, _tmp28_, &_inner_error_);
#line 543 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
									if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 543 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
										if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 543 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											g_propagate_error (error, _inner_error_);
#line 543 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											return 0;
#line 5419 "tracker-sparql-expression.c"
										} else {
#line 543 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 543 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											g_clear_error (&_inner_error_);
#line 543 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											return 0;
#line 5427 "tracker-sparql-expression.c"
										}
									}
#line 544 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
									_tmp29_ = sql;
#line 544 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
									g_string_append (_tmp29_, ", ");
#line 545 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
									tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_COMMA, &_inner_error_);
#line 545 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
									if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 545 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
										if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 545 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											g_propagate_error (error, _inner_error_);
#line 545 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											return 0;
#line 5444 "tracker-sparql-expression.c"
										} else {
#line 545 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 545 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											g_clear_error (&_inner_error_);
#line 545 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											return 0;
#line 5452 "tracker-sparql-expression.c"
										}
									}
#line 546 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
									_tmp30_ = sql;
#line 546 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
									tracker_sparql_expression_translate_expression_as_string (self, _tmp30_, &_inner_error_);
#line 546 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
									if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 546 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
										if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 546 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											g_propagate_error (error, _inner_error_);
#line 546 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											return 0;
#line 5467 "tracker-sparql-expression.c"
										} else {
#line 546 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 546 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											g_clear_error (&_inner_error_);
#line 546 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											return 0;
#line 5475 "tracker-sparql-expression.c"
										}
									}
#line 547 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
									_tmp31_ = sql;
#line 547 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
									g_string_append (_tmp31_, ")");
#line 548 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
									result = TRACKER_PROPERTY_TYPE_STRING;
#line 548 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
									return result;
#line 5486 "tracker-sparql-expression.c"
								} else {
									const gchar* _tmp32_;
#line 549 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
									_tmp32_ = uri;
#line 549 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
									if (g_strcmp0 (_tmp32_, TRACKER_SPARQL_EXPRESSION_TRACKER_NS "unaccent") == 0) {
#line 5493 "tracker-sparql-expression.c"
										GString* _tmp33_;
										GString* _tmp34_;
										GString* _tmp35_;
#line 551 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
										_tmp33_ = sql;
#line 551 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
										g_string_append (_tmp33_, "SparqlUnaccent (");
#line 552 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
										_tmp34_ = sql;
#line 552 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
										tracker_sparql_expression_translate_expression_as_string (self, _tmp34_, &_inner_error_);
#line 552 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
										if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 552 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 552 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												g_propagate_error (error, _inner_error_);
#line 552 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												return 0;
#line 5513 "tracker-sparql-expression.c"
											} else {
#line 552 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 552 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												g_clear_error (&_inner_error_);
#line 552 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												return 0;
#line 5521 "tracker-sparql-expression.c"
											}
										}
#line 553 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
										_tmp35_ = sql;
#line 553 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
										g_string_append (_tmp35_, ")");
#line 554 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
										result = TRACKER_PROPERTY_TYPE_STRING;
#line 554 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
										return result;
#line 5532 "tracker-sparql-expression.c"
									} else {
										const gchar* _tmp36_;
#line 555 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
										_tmp36_ = uri;
#line 555 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
										if (g_strcmp0 (_tmp36_, TRACKER_SPARQL_EXPRESSION_FN_NS "contains") == 0) {
#line 5539 "tracker-sparql-expression.c"
											GString* _tmp37_;
											GString* _tmp38_;
											GString* _tmp39_;
											GString* _tmp40_;
											TrackerSparqlLiteralBinding* binding;
											TrackerSparqlLiteralBinding* _tmp41_;
											gchar* _tmp42_;
											gchar* _tmp43_;
											TrackerSparqlLiteralBinding* _tmp44_;
											gchar* _tmp45_;
											TrackerSparqlQuery* _tmp46_;
											TrackerSparqlLiteralBinding* _tmp47_;
											TrackerSparqlLiteralBinding* _tmp48_;
											GString* _tmp49_;
#line 557 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											_tmp37_ = sql;
#line 557 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											g_string_append (_tmp37_, "(");
#line 558 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											_tmp38_ = sql;
#line 558 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											tracker_sparql_expression_translate_expression_as_string (self, _tmp38_, &_inner_error_);
#line 558 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 558 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 558 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													g_propagate_error (error, _inner_error_);
#line 558 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													return 0;
#line 5570 "tracker-sparql-expression.c"
												} else {
#line 558 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 558 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													g_clear_error (&_inner_error_);
#line 558 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													return 0;
#line 5578 "tracker-sparql-expression.c"
												}
											}
#line 559 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											_tmp39_ = sql;
#line 559 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											g_string_append (_tmp39_, " GLOB ");
#line 560 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_COMMA, &_inner_error_);
#line 560 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 560 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 560 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													g_propagate_error (error, _inner_error_);
#line 560 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													return 0;
#line 5595 "tracker-sparql-expression.c"
												} else {
#line 560 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 560 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													g_clear_error (&_inner_error_);
#line 560 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													return 0;
#line 5603 "tracker-sparql-expression.c"
												}
											}
#line 562 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											_tmp40_ = sql;
#line 562 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											g_string_append (_tmp40_, "?");
#line 563 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											_tmp41_ = tracker_sparql_literal_binding_new ();
#line 563 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											binding = _tmp41_;
#line 564 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											_tmp43_ = tracker_sparql_expression_parse_string_literal (self, NULL, &_inner_error_);
#line 564 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											_tmp42_ = _tmp43_;
#line 564 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 564 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 564 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													g_propagate_error (error, _inner_error_);
#line 564 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													_g_object_unref0 (binding);
#line 564 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													return 0;
#line 5628 "tracker-sparql-expression.c"
												} else {
#line 564 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													_g_object_unref0 (binding);
#line 564 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 564 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													g_clear_error (&_inner_error_);
#line 564 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													return 0;
#line 5638 "tracker-sparql-expression.c"
												}
											}
#line 564 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											_tmp44_ = binding;
#line 564 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											_tmp45_ = g_strdup_printf ("*%s*", _tmp42_);
#line 564 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											_g_free0 (_tmp44_->literal);
#line 564 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											_tmp44_->literal = _tmp45_;
#line 565 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											_tmp46_ = self->priv->query;
#line 565 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											_tmp47_ = binding;
#line 565 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											_tmp48_ = _g_object_ref0 (_tmp47_);
#line 565 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											_tmp46_->bindings = g_list_append (_tmp46_->bindings, _tmp48_);
#line 567 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											_tmp49_ = sql;
#line 567 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											g_string_append (_tmp49_, ")");
#line 569 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											result = TRACKER_PROPERTY_TYPE_BOOLEAN;
#line 569 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											_g_free0 (_tmp42_);
#line 569 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											_g_object_unref0 (binding);
#line 569 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											return result;
#line 5669 "tracker-sparql-expression.c"
										} else {
											const gchar* _tmp50_;
#line 570 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											_tmp50_ = uri;
#line 570 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											if (g_strcmp0 (_tmp50_, TRACKER_SPARQL_EXPRESSION_FN_NS "starts-with") == 0) {
#line 5676 "tracker-sparql-expression.c"
												GString* _tmp51_;
												GString* _tmp52_;
												gchar* prefix;
												gchar* _tmp53_;
												GString* _tmp54_;
												TrackerSparqlLiteralBinding* binding;
												TrackerSparqlLiteralBinding* _tmp55_;
												TrackerSparqlLiteralBinding* _tmp56_;
												const gchar* _tmp57_;
												gchar* _tmp58_;
												TrackerSparqlQuery* _tmp59_;
												TrackerSparqlLiteralBinding* _tmp60_;
												TrackerSparqlLiteralBinding* _tmp61_;
												GString* _tmp62_;
												GString* _tmp63_;
												TrackerSparqlLiteralBinding* _tmp64_;
												TrackerSparqlLiteralBinding* _tmp65_;
												const gchar* _tmp66_;
												gchar* _tmp67_;
												gchar* _tmp68_;
												gchar* _tmp69_;
												TrackerSparqlQuery* _tmp70_;
												TrackerSparqlLiteralBinding* _tmp71_;
												TrackerSparqlLiteralBinding* _tmp72_;
#line 574 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												_tmp51_ = sql;
#line 574 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												tracker_sparql_expression_translate_expression_as_string (self, _tmp51_, &_inner_error_);
#line 574 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 574 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 574 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														g_propagate_error (error, _inner_error_);
#line 574 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														return 0;
#line 5713 "tracker-sparql-expression.c"
													} else {
#line 574 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 574 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														g_clear_error (&_inner_error_);
#line 574 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														return 0;
#line 5721 "tracker-sparql-expression.c"
													}
												}
#line 575 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												_tmp52_ = sql;
#line 575 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												g_string_append (_tmp52_, " BETWEEN ");
#line 577 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_COMMA, &_inner_error_);
#line 577 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 577 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 577 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														g_propagate_error (error, _inner_error_);
#line 577 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														return 0;
#line 5738 "tracker-sparql-expression.c"
													} else {
#line 577 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 577 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														g_clear_error (&_inner_error_);
#line 577 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														return 0;
#line 5746 "tracker-sparql-expression.c"
													}
												}
#line 578 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												_tmp53_ = tracker_sparql_expression_parse_string_literal (self, NULL, &_inner_error_);
#line 578 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												prefix = _tmp53_;
#line 578 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 578 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 578 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														g_propagate_error (error, _inner_error_);
#line 578 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														return 0;
#line 5761 "tracker-sparql-expression.c"
													} else {
#line 578 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 578 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														g_clear_error (&_inner_error_);
#line 578 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														return 0;
#line 5769 "tracker-sparql-expression.c"
													}
												}
#line 580 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												_tmp54_ = sql;
#line 580 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												g_string_append (_tmp54_, "?");
#line 581 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												_tmp55_ = tracker_sparql_literal_binding_new ();
#line 581 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												binding = _tmp55_;
#line 582 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												_tmp56_ = binding;
#line 582 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												_tmp57_ = prefix;
#line 582 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												_tmp58_ = g_strdup (_tmp57_);
#line 582 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												_g_free0 (_tmp56_->literal);
#line 582 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												_tmp56_->literal = _tmp58_;
#line 583 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												_tmp59_ = self->priv->query;
#line 583 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												_tmp60_ = binding;
#line 583 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												_tmp61_ = _g_object_ref0 (_tmp60_);
#line 583 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												_tmp59_->bindings = g_list_append (_tmp59_->bindings, _tmp61_);
#line 585 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												_tmp62_ = sql;
#line 585 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												g_string_append (_tmp62_, " AND ");
#line 587 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												_tmp63_ = sql;
#line 587 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												g_string_append (_tmp63_, "?");
#line 588 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												_tmp64_ = tracker_sparql_literal_binding_new ();
#line 588 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												_g_object_unref0 (binding);
#line 588 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												binding = _tmp64_;
#line 589 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												_tmp65_ = binding;
#line 589 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												_tmp66_ = prefix;
#line 589 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												_tmp67_ = g_unichar_to_string (TRACKER_COLLATION_LAST_CHAR);
#line 589 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												_tmp68_ = _tmp67_;
#line 589 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												_tmp69_ = g_strconcat (_tmp66_, _tmp68_, NULL);
#line 589 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												_g_free0 (_tmp65_->literal);
#line 589 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												_tmp65_->literal = _tmp69_;
#line 589 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												_g_free0 (_tmp68_);
#line 590 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												_tmp70_ = self->priv->query;
#line 590 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												_tmp71_ = binding;
#line 590 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												_tmp72_ = _g_object_ref0 (_tmp71_);
#line 590 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												_tmp70_->bindings = g_list_append (_tmp70_->bindings, _tmp72_);
#line 592 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												result = TRACKER_PROPERTY_TYPE_BOOLEAN;
#line 592 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												_g_object_unref0 (binding);
#line 592 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												_g_free0 (prefix);
#line 592 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												return result;
#line 5844 "tracker-sparql-expression.c"
											} else {
												const gchar* _tmp73_;
#line 593 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												_tmp73_ = uri;
#line 593 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												if (g_strcmp0 (_tmp73_, TRACKER_SPARQL_EXPRESSION_FN_NS "ends-with") == 0) {
#line 5851 "tracker-sparql-expression.c"
													GString* _tmp74_;
													GString* _tmp75_;
													GString* _tmp76_;
													GString* _tmp77_;
													TrackerSparqlLiteralBinding* binding;
													TrackerSparqlLiteralBinding* _tmp78_;
													gchar* _tmp79_;
													gchar* _tmp80_;
													TrackerSparqlLiteralBinding* _tmp81_;
													gchar* _tmp82_;
													TrackerSparqlQuery* _tmp83_;
													TrackerSparqlLiteralBinding* _tmp84_;
													TrackerSparqlLiteralBinding* _tmp85_;
													GString* _tmp86_;
#line 595 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													_tmp74_ = sql;
#line 595 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													g_string_append (_tmp74_, "(");
#line 596 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													_tmp75_ = sql;
#line 596 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													tracker_sparql_expression_translate_expression_as_string (self, _tmp75_, &_inner_error_);
#line 596 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 596 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 596 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
															g_propagate_error (error, _inner_error_);
#line 596 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
															return 0;
#line 5882 "tracker-sparql-expression.c"
														} else {
#line 596 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
															g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 596 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
															g_clear_error (&_inner_error_);
#line 596 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
															return 0;
#line 5890 "tracker-sparql-expression.c"
														}
													}
#line 597 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													_tmp76_ = sql;
#line 597 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													g_string_append (_tmp76_, " GLOB ");
#line 598 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_COMMA, &_inner_error_);
#line 598 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 598 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 598 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
															g_propagate_error (error, _inner_error_);
#line 598 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
															return 0;
#line 5907 "tracker-sparql-expression.c"
														} else {
#line 598 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
															g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 598 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
															g_clear_error (&_inner_error_);
#line 598 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
															return 0;
#line 5915 "tracker-sparql-expression.c"
														}
													}
#line 600 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													_tmp77_ = sql;
#line 600 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													g_string_append (_tmp77_, "?");
#line 601 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													_tmp78_ = tracker_sparql_literal_binding_new ();
#line 601 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													binding = _tmp78_;
#line 602 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													_tmp80_ = tracker_sparql_expression_parse_string_literal (self, NULL, &_inner_error_);
#line 602 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													_tmp79_ = _tmp80_;
#line 602 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 602 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 602 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
															g_propagate_error (error, _inner_error_);
#line 602 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
															_g_object_unref0 (binding);
#line 602 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
															return 0;
#line 5940 "tracker-sparql-expression.c"
														} else {
#line 602 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
															_g_object_unref0 (binding);
#line 602 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
															g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 602 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
															g_clear_error (&_inner_error_);
#line 602 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
															return 0;
#line 5950 "tracker-sparql-expression.c"
														}
													}
#line 602 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													_tmp81_ = binding;
#line 602 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													_tmp82_ = g_strdup_printf ("*%s", _tmp79_);
#line 602 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													_g_free0 (_tmp81_->literal);
#line 602 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													_tmp81_->literal = _tmp82_;
#line 603 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													_tmp83_ = self->priv->query;
#line 603 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													_tmp84_ = binding;
#line 603 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													_tmp85_ = _g_object_ref0 (_tmp84_);
#line 603 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													_tmp83_->bindings = g_list_append (_tmp83_->bindings, _tmp85_);
#line 605 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													_tmp86_ = sql;
#line 605 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													g_string_append (_tmp86_, ")");
#line 607 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													result = TRACKER_PROPERTY_TYPE_BOOLEAN;
#line 607 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													_g_free0 (_tmp79_);
#line 607 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													_g_object_unref0 (binding);
#line 607 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													return result;
#line 5981 "tracker-sparql-expression.c"
												} else {
													const gchar* _tmp87_;
#line 608 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													_tmp87_ = uri;
#line 608 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													if (g_strcmp0 (_tmp87_, TRACKER_SPARQL_EXPRESSION_FN_NS "substring") == 0) {
#line 5988 "tracker-sparql-expression.c"
														GString* _tmp88_;
														GString* _tmp89_;
														GString* _tmp90_;
														GString* _tmp91_;
														gboolean _tmp92_;
														gboolean _tmp93_;
														GString* _tmp96_;
#line 609 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														_tmp88_ = sql;
#line 609 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														g_string_append (_tmp88_, "substr(");
#line 610 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														_tmp89_ = sql;
#line 610 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														tracker_sparql_expression_translate_expression_as_string (self, _tmp89_, &_inner_error_);
#line 610 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 610 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
															if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 610 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																g_propagate_error (error, _inner_error_);
#line 610 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																return 0;
#line 6012 "tracker-sparql-expression.c"
															} else {
#line 610 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 610 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																g_clear_error (&_inner_error_);
#line 610 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																return 0;
#line 6020 "tracker-sparql-expression.c"
															}
														}
#line 612 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														_tmp90_ = sql;
#line 612 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														g_string_append (_tmp90_, ", ");
#line 613 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_COMMA, &_inner_error_);
#line 613 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 613 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
															if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 613 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																g_propagate_error (error, _inner_error_);
#line 613 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																return 0;
#line 6037 "tracker-sparql-expression.c"
															} else {
#line 613 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 613 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																g_clear_error (&_inner_error_);
#line 613 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																return 0;
#line 6045 "tracker-sparql-expression.c"
															}
														}
#line 614 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														_tmp91_ = sql;
#line 614 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														tracker_sparql_expression_translate_expression_as_string (self, _tmp91_, &_inner_error_);
#line 614 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 614 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
															if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 614 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																g_propagate_error (error, _inner_error_);
#line 614 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																return 0;
#line 6060 "tracker-sparql-expression.c"
															} else {
#line 614 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 614 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																g_clear_error (&_inner_error_);
#line 614 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																return 0;
#line 6068 "tracker-sparql-expression.c"
															}
														}
#line 616 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														_tmp93_ = tracker_sparql_expression_accept (self, TRACKER_SPARQL_TOKEN_TYPE_COMMA, &_inner_error_);
#line 616 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														_tmp92_ = _tmp93_;
#line 616 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 616 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
															if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 616 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																g_propagate_error (error, _inner_error_);
#line 616 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																return 0;
#line 6083 "tracker-sparql-expression.c"
															} else {
#line 616 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 616 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																g_clear_error (&_inner_error_);
#line 616 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																return 0;
#line 6091 "tracker-sparql-expression.c"
															}
														}
#line 616 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														if (_tmp92_) {
#line 6096 "tracker-sparql-expression.c"
															GString* _tmp94_;
															GString* _tmp95_;
#line 617 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
															_tmp94_ = sql;
#line 617 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
															g_string_append (_tmp94_, ", ");
#line 618 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
															_tmp95_ = sql;
#line 618 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
															tracker_sparql_expression_translate_expression_as_string (self, _tmp95_, &_inner_error_);
#line 618 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
															if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 618 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 618 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	g_propagate_error (error, _inner_error_);
#line 618 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	return 0;
#line 6115 "tracker-sparql-expression.c"
																} else {
#line 618 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 618 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	g_clear_error (&_inner_error_);
#line 618 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	return 0;
#line 6123 "tracker-sparql-expression.c"
																}
															}
														}
#line 621 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														_tmp96_ = sql;
#line 621 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														g_string_append (_tmp96_, ")");
#line 623 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														result = TRACKER_PROPERTY_TYPE_STRING;
#line 623 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														return result;
#line 6135 "tracker-sparql-expression.c"
													} else {
														const gchar* _tmp97_;
#line 624 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														_tmp97_ = uri;
#line 624 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														if (g_strcmp0 (_tmp97_, TRACKER_SPARQL_EXPRESSION_FN_NS "concat") == 0) {
#line 6142 "tracker-sparql-expression.c"
															GString* _tmp98_;
															GString* _tmp99_;
															GString* _tmp100_;
#line 625 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
															_tmp98_ = sql;
#line 625 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
															tracker_sparql_expression_translate_expression_as_string (self, _tmp98_, &_inner_error_);
#line 625 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
															if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 625 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 625 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	g_propagate_error (error, _inner_error_);
#line 625 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	return 0;
#line 6158 "tracker-sparql-expression.c"
																} else {
#line 625 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 625 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	g_clear_error (&_inner_error_);
#line 625 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	return 0;
#line 6166 "tracker-sparql-expression.c"
																}
															}
#line 626 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
															_tmp99_ = sql;
#line 626 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
															g_string_append (_tmp99_, "||");
#line 627 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
															tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_COMMA, &_inner_error_);
#line 627 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
															if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 627 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 627 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	g_propagate_error (error, _inner_error_);
#line 627 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	return 0;
#line 6183 "tracker-sparql-expression.c"
																} else {
#line 627 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 627 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	g_clear_error (&_inner_error_);
#line 627 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	return 0;
#line 6191 "tracker-sparql-expression.c"
																}
															}
#line 628 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
															_tmp100_ = sql;
#line 628 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
															tracker_sparql_expression_translate_expression_as_string (self, _tmp100_, &_inner_error_);
#line 628 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
															if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 628 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 628 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	g_propagate_error (error, _inner_error_);
#line 628 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	return 0;
#line 6206 "tracker-sparql-expression.c"
																} else {
#line 628 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 628 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	g_clear_error (&_inner_error_);
#line 628 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	return 0;
#line 6214 "tracker-sparql-expression.c"
																}
															}
#line 629 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
															while (TRUE) {
#line 6219 "tracker-sparql-expression.c"
																gboolean _tmp101_;
																gboolean _tmp102_;
																GString* _tmp103_;
																GString* _tmp104_;
#line 629 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																_tmp102_ = tracker_sparql_expression_accept (self, TRACKER_SPARQL_TOKEN_TYPE_COMMA, &_inner_error_);
#line 629 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																_tmp101_ = _tmp102_;
#line 629 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 629 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 629 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		g_propagate_error (error, _inner_error_);
#line 629 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		return 0;
#line 6236 "tracker-sparql-expression.c"
																	} else {
#line 629 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 629 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		g_clear_error (&_inner_error_);
#line 629 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		return 0;
#line 6244 "tracker-sparql-expression.c"
																	}
																}
#line 629 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																if (!_tmp101_) {
#line 629 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	break;
#line 6251 "tracker-sparql-expression.c"
																}
#line 630 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																_tmp103_ = sql;
#line 630 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																g_string_append (_tmp103_, "||");
#line 631 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																_tmp104_ = sql;
#line 631 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																tracker_sparql_expression_translate_expression_as_string (self, _tmp104_, &_inner_error_);
#line 631 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 631 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 631 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		g_propagate_error (error, _inner_error_);
#line 631 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		return 0;
#line 6269 "tracker-sparql-expression.c"
																	} else {
#line 631 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 631 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		g_clear_error (&_inner_error_);
#line 631 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		return 0;
#line 6277 "tracker-sparql-expression.c"
																	}
																}
															}
#line 634 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
															result = TRACKER_PROPERTY_TYPE_STRING;
#line 634 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
															return result;
#line 6285 "tracker-sparql-expression.c"
														} else {
															const gchar* _tmp105_;
#line 635 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
															_tmp105_ = uri;
#line 635 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
															if (g_strcmp0 (_tmp105_, TRACKER_SPARQL_EXPRESSION_FN_NS "string-join") == 0) {
#line 6292 "tracker-sparql-expression.c"
																GString* _tmp106_;
																GString* _tmp107_;
																GString* _tmp108_;
																GString* _tmp109_;
																GString* _tmp114_;
																GString* _tmp115_;
																GString* _tmp116_;
#line 636 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																_tmp106_ = sql;
#line 636 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																g_string_append (_tmp106_, "SparqlStringJoin(");
#line 637 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_OPEN_PARENS, &_inner_error_);
#line 637 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 637 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 637 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		g_propagate_error (error, _inner_error_);
#line 637 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		return 0;
#line 6314 "tracker-sparql-expression.c"
																	} else {
#line 637 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 637 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		g_clear_error (&_inner_error_);
#line 637 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		return 0;
#line 6322 "tracker-sparql-expression.c"
																	}
																}
#line 639 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																_tmp107_ = sql;
#line 639 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																tracker_sparql_expression_translate_expression_as_string (self, _tmp107_, &_inner_error_);
#line 639 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 639 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 639 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		g_propagate_error (error, _inner_error_);
#line 639 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		return 0;
#line 6337 "tracker-sparql-expression.c"
																	} else {
#line 639 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 639 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		g_clear_error (&_inner_error_);
#line 639 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		return 0;
#line 6345 "tracker-sparql-expression.c"
																	}
																}
#line 640 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																_tmp108_ = sql;
#line 640 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																g_string_append (_tmp108_, ", ");
#line 641 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_COMMA, &_inner_error_);
#line 641 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 641 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 641 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		g_propagate_error (error, _inner_error_);
#line 641 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		return 0;
#line 6362 "tracker-sparql-expression.c"
																	} else {
#line 641 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 641 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		g_clear_error (&_inner_error_);
#line 641 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		return 0;
#line 6370 "tracker-sparql-expression.c"
																	}
																}
#line 642 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																_tmp109_ = sql;
#line 642 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																tracker_sparql_expression_translate_expression_as_string (self, _tmp109_, &_inner_error_);
#line 642 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 642 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 642 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		g_propagate_error (error, _inner_error_);
#line 642 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		return 0;
#line 6385 "tracker-sparql-expression.c"
																	} else {
#line 642 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 642 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		g_clear_error (&_inner_error_);
#line 642 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		return 0;
#line 6393 "tracker-sparql-expression.c"
																	}
																}
#line 643 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																while (TRUE) {
#line 6398 "tracker-sparql-expression.c"
																	gboolean _tmp110_;
																	gboolean _tmp111_;
																	GString* _tmp112_;
																	GString* _tmp113_;
#line 643 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	_tmp111_ = tracker_sparql_expression_accept (self, TRACKER_SPARQL_TOKEN_TYPE_COMMA, &_inner_error_);
#line 643 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	_tmp110_ = _tmp111_;
#line 643 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 643 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 643 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																			g_propagate_error (error, _inner_error_);
#line 643 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																			return 0;
#line 6415 "tracker-sparql-expression.c"
																		} else {
#line 643 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 643 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																			g_clear_error (&_inner_error_);
#line 643 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																			return 0;
#line 6423 "tracker-sparql-expression.c"
																		}
																	}
#line 643 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	if (!_tmp110_) {
#line 643 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		break;
#line 6430 "tracker-sparql-expression.c"
																	}
#line 644 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	_tmp112_ = sql;
#line 644 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	g_string_append (_tmp112_, ", ");
#line 645 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	_tmp113_ = sql;
#line 645 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	tracker_sparql_expression_translate_expression_as_string (self, _tmp113_, &_inner_error_);
#line 645 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 645 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 645 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																			g_propagate_error (error, _inner_error_);
#line 645 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																			return 0;
#line 6448 "tracker-sparql-expression.c"
																		} else {
#line 645 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 645 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																			g_clear_error (&_inner_error_);
#line 645 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																			return 0;
#line 6456 "tracker-sparql-expression.c"
																		}
																	}
																}
#line 648 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_CLOSE_PARENS, &_inner_error_);
#line 648 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 648 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 648 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		g_propagate_error (error, _inner_error_);
#line 648 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		return 0;
#line 6470 "tracker-sparql-expression.c"
																	} else {
#line 648 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 648 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		g_clear_error (&_inner_error_);
#line 648 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		return 0;
#line 6478 "tracker-sparql-expression.c"
																	}
																}
#line 649 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																_tmp114_ = sql;
#line 649 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																g_string_append (_tmp114_, ",");
#line 650 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_COMMA, &_inner_error_);
#line 650 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 650 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 650 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		g_propagate_error (error, _inner_error_);
#line 650 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		return 0;
#line 6495 "tracker-sparql-expression.c"
																	} else {
#line 650 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 650 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		g_clear_error (&_inner_error_);
#line 650 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		return 0;
#line 6503 "tracker-sparql-expression.c"
																	}
																}
#line 651 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																_tmp115_ = sql;
#line 651 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																tracker_sparql_expression_translate_expression (self, _tmp115_, &_inner_error_);
#line 651 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 651 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 651 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		g_propagate_error (error, _inner_error_);
#line 651 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		return 0;
#line 6518 "tracker-sparql-expression.c"
																	} else {
#line 651 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 651 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		g_clear_error (&_inner_error_);
#line 651 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		return 0;
#line 6526 "tracker-sparql-expression.c"
																	}
																}
#line 652 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																_tmp116_ = sql;
#line 652 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																g_string_append (_tmp116_, ")");
#line 654 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																result = TRACKER_PROPERTY_TYPE_STRING;
#line 654 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																return result;
#line 6537 "tracker-sparql-expression.c"
															} else {
																const gchar* _tmp117_;
#line 655 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																_tmp117_ = uri;
#line 655 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																if (g_strcmp0 (_tmp117_, TRACKER_SPARQL_EXPRESSION_FN_NS "year-from-dateTime") == 0) {
#line 6544 "tracker-sparql-expression.c"
																	GString* _tmp118_;
#line 656 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	_tmp118_ = sql;
#line 656 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	tracker_sparql_expression_translate_date (self, _tmp118_, "%Y", &_inner_error_);
#line 656 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 656 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 656 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																			g_propagate_error (error, _inner_error_);
#line 656 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																			return 0;
#line 6558 "tracker-sparql-expression.c"
																		} else {
#line 656 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 656 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																			g_clear_error (&_inner_error_);
#line 656 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																			return 0;
#line 6566 "tracker-sparql-expression.c"
																		}
																	}
#line 657 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	result = TRACKER_PROPERTY_TYPE_INTEGER;
#line 657 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	return result;
#line 6573 "tracker-sparql-expression.c"
																} else {
																	const gchar* _tmp119_;
#line 658 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	_tmp119_ = uri;
#line 658 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	if (g_strcmp0 (_tmp119_, TRACKER_SPARQL_EXPRESSION_FN_NS "month-from-dateTime") == 0) {
#line 6580 "tracker-sparql-expression.c"
																		GString* _tmp120_;
#line 659 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		_tmp120_ = sql;
#line 659 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		tracker_sparql_expression_translate_date (self, _tmp120_, "%m", &_inner_error_);
#line 659 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 659 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 659 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																				g_propagate_error (error, _inner_error_);
#line 659 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																				return 0;
#line 6594 "tracker-sparql-expression.c"
																			} else {
#line 659 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 659 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																				g_clear_error (&_inner_error_);
#line 659 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																				return 0;
#line 6602 "tracker-sparql-expression.c"
																			}
																		}
#line 660 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		result = TRACKER_PROPERTY_TYPE_INTEGER;
#line 660 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		return result;
#line 6609 "tracker-sparql-expression.c"
																	} else {
																		const gchar* _tmp121_;
#line 661 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		_tmp121_ = uri;
#line 661 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		if (g_strcmp0 (_tmp121_, TRACKER_SPARQL_EXPRESSION_FN_NS "day-from-dateTime") == 0) {
#line 6616 "tracker-sparql-expression.c"
																			GString* _tmp122_;
#line 662 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																			_tmp122_ = sql;
#line 662 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																			tracker_sparql_expression_translate_date (self, _tmp122_, "%d", &_inner_error_);
#line 662 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 662 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 662 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																					g_propagate_error (error, _inner_error_);
#line 662 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																					return 0;
#line 6630 "tracker-sparql-expression.c"
																				} else {
#line 662 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 662 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																					g_clear_error (&_inner_error_);
#line 662 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																					return 0;
#line 6638 "tracker-sparql-expression.c"
																				}
																			}
#line 663 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																			result = TRACKER_PROPERTY_TYPE_INTEGER;
#line 663 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																			return result;
#line 6645 "tracker-sparql-expression.c"
																		} else {
																			const gchar* _tmp123_;
#line 664 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																			_tmp123_ = uri;
#line 664 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																			if (g_strcmp0 (_tmp123_, TRACKER_SPARQL_EXPRESSION_FN_NS "hours-from-dateTime") == 0) {
#line 6652 "tracker-sparql-expression.c"
																				GString* _tmp124_;
#line 665 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																				_tmp124_ = sql;
#line 665 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																				tracker_sparql_expression_translate_time (self, _tmp124_, TRACKER_SPARQL_EXPRESSION_TIME_FORMAT_TYPE_HOURS, &_inner_error_);
#line 665 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 665 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																					if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 665 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																						g_propagate_error (error, _inner_error_);
#line 665 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																						return 0;
#line 6666 "tracker-sparql-expression.c"
																					} else {
#line 665 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 665 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																						g_clear_error (&_inner_error_);
#line 665 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																						return 0;
#line 6674 "tracker-sparql-expression.c"
																					}
																				}
#line 666 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																				result = TRACKER_PROPERTY_TYPE_INTEGER;
#line 666 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																				return result;
#line 6681 "tracker-sparql-expression.c"
																			} else {
																				const gchar* _tmp125_;
#line 667 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																				_tmp125_ = uri;
#line 667 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																				if (g_strcmp0 (_tmp125_, TRACKER_SPARQL_EXPRESSION_FN_NS "minutes-from-dateTime") == 0) {
#line 6688 "tracker-sparql-expression.c"
																					GString* _tmp126_;
#line 668 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																					_tmp126_ = sql;
#line 668 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																					tracker_sparql_expression_translate_time (self, _tmp126_, TRACKER_SPARQL_EXPRESSION_TIME_FORMAT_TYPE_MINUTES, &_inner_error_);
#line 668 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																					if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 668 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																						if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 668 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							g_propagate_error (error, _inner_error_);
#line 668 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							return 0;
#line 6702 "tracker-sparql-expression.c"
																						} else {
#line 668 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 668 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							g_clear_error (&_inner_error_);
#line 668 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							return 0;
#line 6710 "tracker-sparql-expression.c"
																						}
																					}
#line 669 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																					result = TRACKER_PROPERTY_TYPE_INTEGER;
#line 669 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																					return result;
#line 6717 "tracker-sparql-expression.c"
																				} else {
																					const gchar* _tmp127_;
#line 670 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																					_tmp127_ = uri;
#line 670 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																					if (g_strcmp0 (_tmp127_, TRACKER_SPARQL_EXPRESSION_FN_NS "seconds-from-dateTime") == 0) {
#line 6724 "tracker-sparql-expression.c"
																						GString* _tmp128_;
#line 671 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																						_tmp128_ = sql;
#line 671 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																						tracker_sparql_expression_translate_time (self, _tmp128_, TRACKER_SPARQL_EXPRESSION_TIME_FORMAT_TYPE_SECONDS, &_inner_error_);
#line 671 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																						if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 671 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 671 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								g_propagate_error (error, _inner_error_);
#line 671 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								return 0;
#line 6738 "tracker-sparql-expression.c"
																							} else {
#line 671 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 671 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								g_clear_error (&_inner_error_);
#line 671 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								return 0;
#line 6746 "tracker-sparql-expression.c"
																							}
																						}
#line 672 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																						result = TRACKER_PROPERTY_TYPE_INTEGER;
#line 672 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																						return result;
#line 6753 "tracker-sparql-expression.c"
																					} else {
																						const gchar* _tmp129_;
#line 673 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																						_tmp129_ = uri;
#line 673 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																						if (g_strcmp0 (_tmp129_, TRACKER_SPARQL_EXPRESSION_FN_NS "timezone-from-dateTime") == 0) {
#line 6760 "tracker-sparql-expression.c"
																							gchar* variable_name;
																							gchar* _tmp130_;
																							gchar* _tmp131_;
																							gchar* _tmp132_;
																							gchar* _tmp133_;
																							TrackerSparqlVariable* variable;
																							TrackerSparqlContext* _tmp134_;
																							TrackerSparqlContext* _tmp135_;
																							const gchar* _tmp136_;
																							TrackerSparqlVariable* _tmp137_;
																							TrackerSparqlVariable* _tmp138_;
																							GString* _tmp139_;
																							GString* _tmp140_;
																							TrackerSparqlVariable* _tmp141_;
																							gchar* _tmp142_;
																							gchar* _tmp143_;
																							GString* _tmp144_;
																							GString* _tmp145_;
																							TrackerSparqlVariable* _tmp146_;
																							gchar* _tmp147_;
																							gchar* _tmp148_;
																							GString* _tmp149_;
																							GString* _tmp150_;
																							GString* _tmp151_;
																							TrackerSparqlVariable* _tmp152_;
																							const gchar* _tmp153_;
																							const gchar* _tmp154_;
																							GString* _tmp155_;
																							GString* _tmp156_;
#line 674 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_VAR, &_inner_error_);
#line 674 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 674 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 674 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																									g_propagate_error (error, _inner_error_);
#line 674 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																									return 0;
#line 6800 "tracker-sparql-expression.c"
																								} else {
#line 674 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																									g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 674 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																									g_clear_error (&_inner_error_);
#line 674 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																									return 0;
#line 6808 "tracker-sparql-expression.c"
																								}
																							}
#line 675 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							_tmp130_ = tracker_sparql_expression_get_last_string (self, 0);
#line 675 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							_tmp131_ = _tmp130_;
#line 675 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							_tmp132_ = string_substring (_tmp131_, (glong) 1, (glong) -1);
#line 675 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							_tmp133_ = _tmp132_;
#line 675 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							_g_free0 (_tmp131_);
#line 675 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							variable_name = _tmp133_;
#line 676 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							_tmp134_ = tracker_sparql_expression_get_context (self);
#line 676 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							_tmp135_ = _tmp134_;
#line 676 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							_tmp136_ = variable_name;
#line 676 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							_tmp137_ = tracker_sparql_context_get_variable (_tmp135_, _tmp136_);
#line 676 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							_tmp138_ = _g_object_ref0 (_tmp137_);
#line 676 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							variable = _tmp138_;
#line 678 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							_tmp139_ = sql;
#line 678 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							g_string_append (_tmp139_, "(");
#line 679 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							_tmp140_ = sql;
#line 679 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							_tmp141_ = variable;
#line 679 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							_tmp142_ = tracker_sparql_variable_get_extra_sql_expression (_tmp141_, "localDate");
#line 679 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							_tmp143_ = _tmp142_;
#line 679 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							g_string_append (_tmp140_, _tmp143_);
#line 679 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							_g_free0 (_tmp143_);
#line 680 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							_tmp144_ = sql;
#line 680 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							g_string_append (_tmp144_, " * 24 * 3600 + ");
#line 681 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							_tmp145_ = sql;
#line 681 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							_tmp146_ = variable;
#line 681 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							_tmp147_ = tracker_sparql_variable_get_extra_sql_expression (_tmp146_, "localTime");
#line 681 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							_tmp148_ = _tmp147_;
#line 681 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							g_string_append (_tmp145_, _tmp148_);
#line 681 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							_g_free0 (_tmp148_);
#line 682 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							_tmp149_ = sql;
#line 682 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							g_string_append (_tmp149_, "- ");
#line 683 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							_tmp150_ = sql;
#line 683 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							g_string_append (_tmp150_, "CAST (");
#line 684 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							_tmp151_ = sql;
#line 684 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							_tmp152_ = variable;
#line 684 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							_tmp153_ = tracker_sparql_variable_get_sql_expression (_tmp152_);
#line 684 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							_tmp154_ = _tmp153_;
#line 684 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							g_string_append (_tmp151_, _tmp154_);
#line 685 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							_tmp155_ = sql;
#line 685 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							g_string_append (_tmp155_, " AS INTEGER)");
#line 686 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							_tmp156_ = sql;
#line 686 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							g_string_append (_tmp156_, ")");
#line 688 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							result = TRACKER_PROPERTY_TYPE_INTEGER;
#line 688 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							_g_object_unref0 (variable);
#line 688 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							_g_free0 (variable_name);
#line 688 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							return result;
#line 6901 "tracker-sparql-expression.c"
																						} else {
																							const gchar* _tmp157_;
#line 689 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							_tmp157_ = uri;
#line 689 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							if (g_strcmp0 (_tmp157_, TRACKER_SPARQL_EXPRESSION_FN_NS "replace") == 0) {
#line 6908 "tracker-sparql-expression.c"
																								GString* _tmp158_;
																								GString* _tmp159_;
																								GString* _tmp160_;
																								GString* _tmp161_;
																								GString* _tmp162_;
																								GString* _tmp163_;
																								gboolean _tmp164_;
																								gboolean _tmp165_;
																								GString* _tmp172_;
#line 690 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								_tmp158_ = sql;
#line 690 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								g_string_append (_tmp158_, "SparqlReplace(");
#line 691 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								_tmp159_ = sql;
#line 691 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								tracker_sparql_expression_translate_expression_as_string (self, _tmp159_, &_inner_error_);
#line 691 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 691 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																									if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 691 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										g_propagate_error (error, _inner_error_);
#line 691 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										return 0;
#line 6934 "tracker-sparql-expression.c"
																									} else {
#line 691 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 691 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										g_clear_error (&_inner_error_);
#line 691 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										return 0;
#line 6942 "tracker-sparql-expression.c"
																									}
																								}
#line 692 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								_tmp160_ = sql;
#line 692 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								g_string_append (_tmp160_, ", ");
#line 694 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_COMMA, &_inner_error_);
#line 694 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 694 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																									if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 694 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										g_propagate_error (error, _inner_error_);
#line 694 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										return 0;
#line 6959 "tracker-sparql-expression.c"
																									} else {
#line 694 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 694 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										g_clear_error (&_inner_error_);
#line 694 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										return 0;
#line 6967 "tracker-sparql-expression.c"
																									}
																								}
#line 695 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								_tmp161_ = sql;
#line 695 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								tracker_sparql_expression_translate_expression_as_string (self, _tmp161_, &_inner_error_);
#line 695 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 695 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																									if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 695 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										g_propagate_error (error, _inner_error_);
#line 695 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										return 0;
#line 6982 "tracker-sparql-expression.c"
																									} else {
#line 695 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 695 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										g_clear_error (&_inner_error_);
#line 695 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										return 0;
#line 6990 "tracker-sparql-expression.c"
																									}
																								}
#line 696 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								_tmp162_ = sql;
#line 696 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								g_string_append (_tmp162_, ", ");
#line 698 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_COMMA, &_inner_error_);
#line 698 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 698 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																									if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 698 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										g_propagate_error (error, _inner_error_);
#line 698 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										return 0;
#line 7007 "tracker-sparql-expression.c"
																									} else {
#line 698 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 698 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										g_clear_error (&_inner_error_);
#line 698 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										return 0;
#line 7015 "tracker-sparql-expression.c"
																									}
																								}
#line 699 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								_tmp163_ = sql;
#line 699 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								tracker_sparql_expression_translate_expression_as_string (self, _tmp163_, &_inner_error_);
#line 699 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 699 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																									if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 699 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										g_propagate_error (error, _inner_error_);
#line 699 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										return 0;
#line 7030 "tracker-sparql-expression.c"
																									} else {
#line 699 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 699 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										g_clear_error (&_inner_error_);
#line 699 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										return 0;
#line 7038 "tracker-sparql-expression.c"
																									}
																								}
#line 701 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								_tmp165_ = tracker_sparql_expression_accept (self, TRACKER_SPARQL_TOKEN_TYPE_COMMA, &_inner_error_);
#line 701 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								_tmp164_ = _tmp165_;
#line 701 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 701 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																									if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 701 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										g_propagate_error (error, _inner_error_);
#line 701 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										return 0;
#line 7053 "tracker-sparql-expression.c"
																									} else {
#line 701 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 701 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										g_clear_error (&_inner_error_);
#line 701 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										return 0;
#line 7061 "tracker-sparql-expression.c"
																									}
																								}
#line 701 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								if (_tmp164_) {
#line 7066 "tracker-sparql-expression.c"
																									GString* _tmp166_;
																									gchar* _tmp167_;
																									gchar* _tmp168_;
																									GString* _tmp169_;
																									gchar* _tmp170_;
																									gchar* _tmp171_;
#line 702 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																									_tmp166_ = sql;
#line 702 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																									g_string_append (_tmp166_, ", ");
#line 703 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																									_tmp168_ = tracker_sparql_expression_parse_string_literal (self, NULL, &_inner_error_);
#line 703 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																									_tmp167_ = _tmp168_;
#line 703 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																									if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 703 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 703 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											g_propagate_error (error, _inner_error_);
#line 703 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											return 0;
#line 7089 "tracker-sparql-expression.c"
																										} else {
#line 703 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 703 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											g_clear_error (&_inner_error_);
#line 703 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											return 0;
#line 7097 "tracker-sparql-expression.c"
																										}
																									}
#line 703 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																									_tmp169_ = sql;
#line 703 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																									_tmp170_ = tracker_sparql_expression_escape_sql_string_literal (self, _tmp167_);
#line 703 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																									_tmp171_ = _tmp170_;
#line 703 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																									g_string_append (_tmp169_, _tmp171_);
#line 703 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																									_g_free0 (_tmp171_);
#line 701 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																									_g_free0 (_tmp167_);
#line 7112 "tracker-sparql-expression.c"
																								}
#line 705 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								_tmp172_ = sql;
#line 705 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								g_string_append (_tmp172_, ")");
#line 706 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								result = TRACKER_PROPERTY_TYPE_STRING;
#line 706 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								return result;
#line 7122 "tracker-sparql-expression.c"
																							} else {
																								const gchar* _tmp173_;
#line 707 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								_tmp173_ = uri;
#line 707 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								if (g_strcmp0 (_tmp173_, TRACKER_SPARQL_EXPRESSION_FTS_NS "rank") == 0) {
#line 7129 "tracker-sparql-expression.c"
																									gboolean is_var = FALSE;
																									gchar* v;
																									TrackerSparqlPattern* _tmp174_;
																									TrackerSparqlPattern* _tmp175_;
																									gboolean _tmp176_ = FALSE;
																									gchar* _tmp177_;
																									GString* _tmp178_;
																									const gchar* _tmp179_;
#line 709 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																									_tmp174_ = tracker_sparql_expression_get_pattern (self);
#line 709 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																									_tmp175_ = _tmp174_;
#line 709 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																									_tmp177_ = tracker_sparql_pattern_parse_var_or_term (_tmp175_, NULL, &_tmp176_, &_inner_error_);
#line 709 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																									is_var = _tmp176_;
#line 709 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																									v = _tmp177_;
#line 709 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																									if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 709 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 709 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											g_propagate_error (error, _inner_error_);
#line 709 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											return 0;
#line 7156 "tracker-sparql-expression.c"
																										} else {
#line 709 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 709 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											g_clear_error (&_inner_error_);
#line 709 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											return 0;
#line 7164 "tracker-sparql-expression.c"
																										}
																									}
#line 710 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																									_tmp178_ = sql;
#line 710 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																									_tmp179_ = v;
#line 710 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																									g_string_append_printf (_tmp178_, "\"%s_u_rank\"", _tmp179_);
#line 712 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																									result = TRACKER_PROPERTY_TYPE_DOUBLE;
#line 712 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																									_g_free0 (v);
#line 712 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																									return result;
#line 7179 "tracker-sparql-expression.c"
																								} else {
																									const gchar* _tmp180_;
#line 713 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																									_tmp180_ = uri;
#line 713 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																									if (g_strcmp0 (_tmp180_, TRACKER_SPARQL_EXPRESSION_FTS_NS "offsets") == 0) {
#line 7186 "tracker-sparql-expression.c"
																										gboolean is_var = FALSE;
																										gchar* v;
																										TrackerSparqlPattern* _tmp181_;
																										TrackerSparqlPattern* _tmp182_;
																										gboolean _tmp183_ = FALSE;
																										gchar* _tmp184_;
																										TrackerSparqlVariable* variable;
																										TrackerSparqlContext* _tmp185_;
																										TrackerSparqlContext* _tmp186_;
																										const gchar* _tmp187_;
																										TrackerSparqlVariable* _tmp188_;
																										TrackerSparqlVariable* _tmp189_;
																										GString* _tmp190_;
																										TrackerSparqlVariable* _tmp191_;
																										const gchar* _tmp192_;
																										const gchar* _tmp193_;
																										gchar* _tmp194_;
#line 715 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										_tmp181_ = tracker_sparql_expression_get_pattern (self);
#line 715 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										_tmp182_ = _tmp181_;
#line 715 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										_tmp184_ = tracker_sparql_pattern_parse_var_or_term (_tmp182_, NULL, &_tmp183_, &_inner_error_);
#line 715 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										is_var = _tmp183_;
#line 715 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										v = _tmp184_;
#line 715 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 715 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 715 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												g_propagate_error (error, _inner_error_);
#line 715 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												return 0;
#line 7222 "tracker-sparql-expression.c"
																											} else {
#line 715 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 715 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												g_clear_error (&_inner_error_);
#line 715 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												return 0;
#line 7230 "tracker-sparql-expression.c"
																											}
																										}
#line 716 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										_tmp185_ = tracker_sparql_expression_get_context (self);
#line 716 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										_tmp186_ = _tmp185_;
#line 716 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										_tmp187_ = v;
#line 716 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										_tmp188_ = tracker_sparql_context_get_variable (_tmp186_, _tmp187_);
#line 716 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										_tmp189_ = _g_object_ref0 (_tmp188_);
#line 716 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										variable = _tmp189_;
#line 718 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										_tmp190_ = sql;
#line 718 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										_tmp191_ = variable;
#line 718 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										_tmp192_ = tracker_sparql_variable_get_sql_expression (_tmp191_);
#line 718 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										_tmp193_ = _tmp192_;
#line 718 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										g_string_append (_tmp190_, _tmp193_);
#line 719 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										_tmp194_ = g_strdup ("tracker_offsets(\"fts5\")");
#line 719 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										_g_free0 (self->priv->fts_sql);
#line 719 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										self->priv->fts_sql = _tmp194_;
#line 720 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										result = TRACKER_PROPERTY_TYPE_STRING;
#line 720 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										_g_object_unref0 (variable);
#line 720 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										_g_free0 (v);
#line 720 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										return result;
#line 7269 "tracker-sparql-expression.c"
																									} else {
																										const gchar* _tmp195_;
#line 721 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										_tmp195_ = uri;
#line 721 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										if (g_strcmp0 (_tmp195_, TRACKER_SPARQL_EXPRESSION_FTS_NS "snippet") == 0) {
#line 7276 "tracker-sparql-expression.c"
																											gboolean is_var = FALSE;
																											gchar* v;
																											TrackerSparqlPattern* _tmp196_;
																											TrackerSparqlPattern* _tmp197_;
																											gboolean _tmp198_ = FALSE;
																											gchar* _tmp199_;
																											TrackerSparqlVariable* variable;
																											TrackerSparqlContext* _tmp200_;
																											TrackerSparqlContext* _tmp201_;
																											const gchar* _tmp202_;
																											TrackerSparqlVariable* _tmp203_;
																											TrackerSparqlVariable* _tmp204_;
																											GString* fts;
																											GString* _tmp205_;
																											GString* _tmp206_;
																											GString* _tmp207_;
																											gboolean _tmp208_;
																											gboolean _tmp209_;
																											gboolean _tmp215_;
																											gboolean _tmp216_;
																											gboolean _tmp220_;
																											gboolean _tmp221_;
																											GString* _tmp225_;
																											GString* _tmp226_;
																											const gchar* _tmp227_;
																											gchar* _tmp228_;
																											GString* _tmp229_;
																											TrackerSparqlVariable* _tmp230_;
																											const gchar* _tmp231_;
																											const gchar* _tmp232_;
#line 724 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											_tmp196_ = tracker_sparql_expression_get_pattern (self);
#line 724 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											_tmp197_ = _tmp196_;
#line 724 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											_tmp199_ = tracker_sparql_pattern_parse_var_or_term (_tmp197_, NULL, &_tmp198_, &_inner_error_);
#line 724 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											is_var = _tmp198_;
#line 724 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											v = _tmp199_;
#line 724 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 724 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 724 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													g_propagate_error (error, _inner_error_);
#line 724 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													return 0;
#line 7325 "tracker-sparql-expression.c"
																												} else {
#line 724 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 724 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													g_clear_error (&_inner_error_);
#line 724 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													return 0;
#line 7333 "tracker-sparql-expression.c"
																												}
																											}
#line 725 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											_tmp200_ = tracker_sparql_expression_get_context (self);
#line 725 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											_tmp201_ = _tmp200_;
#line 725 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											_tmp202_ = v;
#line 725 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											_tmp203_ = tracker_sparql_context_get_variable (_tmp201_, _tmp202_);
#line 725 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											_tmp204_ = _g_object_ref0 (_tmp203_);
#line 725 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											variable = _tmp204_;
#line 726 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											_tmp205_ = g_string_new ("");
#line 726 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											fts = _tmp205_;
#line 728 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											_tmp206_ = fts;
#line 728 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											g_string_append_printf (_tmp206_, "snippet(\"fts5\"");
#line 731 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											_tmp207_ = fts;
#line 731 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											g_string_append (_tmp207_, ", -1");
#line 734 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											_tmp209_ = tracker_sparql_expression_accept (self, TRACKER_SPARQL_TOKEN_TYPE_COMMA, &_inner_error_);
#line 734 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											_tmp208_ = _tmp209_;
#line 734 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 734 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 734 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													g_propagate_error (error, _inner_error_);
#line 734 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													_g_string_free0 (fts);
#line 734 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													_g_object_unref0 (variable);
#line 734 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													_g_free0 (v);
#line 734 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													return 0;
#line 7378 "tracker-sparql-expression.c"
																												} else {
#line 734 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													_g_string_free0 (fts);
#line 734 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													_g_object_unref0 (variable);
#line 734 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													_g_free0 (v);
#line 734 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 734 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													g_clear_error (&_inner_error_);
#line 734 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													return 0;
#line 7392 "tracker-sparql-expression.c"
																												}
																											}
#line 734 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											if (_tmp208_) {
#line 7397 "tracker-sparql-expression.c"
																												GString* _tmp210_;
																												GString* _tmp211_;
																												GString* _tmp212_;
																												GString* _tmp213_;
#line 735 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												_tmp210_ = fts;
#line 735 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												g_string_append (_tmp210_, ", ");
#line 736 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												_tmp211_ = fts;
#line 736 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												tracker_sparql_expression_translate_expression_as_string (self, _tmp211_, &_inner_error_);
#line 736 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 736 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 736 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														g_propagate_error (error, _inner_error_);
#line 736 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														_g_string_free0 (fts);
#line 736 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														_g_object_unref0 (variable);
#line 736 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														_g_free0 (v);
#line 736 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														return 0;
#line 7424 "tracker-sparql-expression.c"
																													} else {
#line 736 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														_g_string_free0 (fts);
#line 736 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														_g_object_unref0 (variable);
#line 736 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														_g_free0 (v);
#line 736 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 736 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														g_clear_error (&_inner_error_);
#line 736 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														return 0;
#line 7438 "tracker-sparql-expression.c"
																													}
																												}
#line 739 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_COMMA, &_inner_error_);
#line 739 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 739 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 739 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														g_propagate_error (error, _inner_error_);
#line 739 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														_g_string_free0 (fts);
#line 739 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														_g_object_unref0 (variable);
#line 739 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														_g_free0 (v);
#line 739 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														return 0;
#line 7457 "tracker-sparql-expression.c"
																													} else {
#line 739 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														_g_string_free0 (fts);
#line 739 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														_g_object_unref0 (variable);
#line 739 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														_g_free0 (v);
#line 739 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 739 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														g_clear_error (&_inner_error_);
#line 739 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														return 0;
#line 7471 "tracker-sparql-expression.c"
																													}
																												}
#line 740 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												_tmp212_ = fts;
#line 740 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												g_string_append (_tmp212_, ", ");
#line 741 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												_tmp213_ = fts;
#line 741 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												tracker_sparql_expression_translate_expression_as_string (self, _tmp213_, &_inner_error_);
#line 741 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 741 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 741 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														g_propagate_error (error, _inner_error_);
#line 741 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														_g_string_free0 (fts);
#line 741 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														_g_object_unref0 (variable);
#line 741 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														_g_free0 (v);
#line 741 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														return 0;
#line 7496 "tracker-sparql-expression.c"
																													} else {
#line 741 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														_g_string_free0 (fts);
#line 741 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														_g_object_unref0 (variable);
#line 741 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														_g_free0 (v);
#line 741 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 741 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														g_clear_error (&_inner_error_);
#line 741 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														return 0;
#line 7510 "tracker-sparql-expression.c"
																													}
																												}
																											} else {
																												GString* _tmp214_;
#line 743 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												_tmp214_ = fts;
#line 743 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												g_string_append (_tmp214_, ",'',''");
#line 7519 "tracker-sparql-expression.c"
																											}
#line 747 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											_tmp216_ = tracker_sparql_expression_accept (self, TRACKER_SPARQL_TOKEN_TYPE_COMMA, &_inner_error_);
#line 747 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											_tmp215_ = _tmp216_;
#line 747 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 747 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 747 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													g_propagate_error (error, _inner_error_);
#line 747 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													_g_string_free0 (fts);
#line 747 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													_g_object_unref0 (variable);
#line 747 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													_g_free0 (v);
#line 747 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													return 0;
#line 7539 "tracker-sparql-expression.c"
																												} else {
#line 747 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													_g_string_free0 (fts);
#line 747 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													_g_object_unref0 (variable);
#line 747 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													_g_free0 (v);
#line 747 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 747 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													g_clear_error (&_inner_error_);
#line 747 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													return 0;
#line 7553 "tracker-sparql-expression.c"
																												}
																											}
#line 747 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											if (_tmp215_) {
#line 7558 "tracker-sparql-expression.c"
																												GString* _tmp217_;
																												GString* _tmp218_;
#line 748 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												_tmp217_ = fts;
#line 748 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												g_string_append (_tmp217_, ", ");
#line 749 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												_tmp218_ = fts;
#line 749 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												tracker_sparql_expression_translate_expression_as_string (self, _tmp218_, &_inner_error_);
#line 749 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 749 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 749 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														g_propagate_error (error, _inner_error_);
#line 749 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														_g_string_free0 (fts);
#line 749 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														_g_object_unref0 (variable);
#line 749 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														_g_free0 (v);
#line 749 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														return 0;
#line 7583 "tracker-sparql-expression.c"
																													} else {
#line 749 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														_g_string_free0 (fts);
#line 749 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														_g_object_unref0 (variable);
#line 749 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														_g_free0 (v);
#line 749 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 749 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														g_clear_error (&_inner_error_);
#line 749 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														return 0;
#line 7597 "tracker-sparql-expression.c"
																													}
																												}
																											} else {
																												GString* _tmp219_;
#line 751 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												_tmp219_ = fts;
#line 751 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												g_string_append (_tmp219_, ", '...'");
#line 7606 "tracker-sparql-expression.c"
																											}
#line 755 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											_tmp221_ = tracker_sparql_expression_accept (self, TRACKER_SPARQL_TOKEN_TYPE_COMMA, &_inner_error_);
#line 755 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											_tmp220_ = _tmp221_;
#line 755 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 755 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 755 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													g_propagate_error (error, _inner_error_);
#line 755 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													_g_string_free0 (fts);
#line 755 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													_g_object_unref0 (variable);
#line 755 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													_g_free0 (v);
#line 755 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													return 0;
#line 7626 "tracker-sparql-expression.c"
																												} else {
#line 755 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													_g_string_free0 (fts);
#line 755 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													_g_object_unref0 (variable);
#line 755 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													_g_free0 (v);
#line 755 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 755 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													g_clear_error (&_inner_error_);
#line 755 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													return 0;
#line 7640 "tracker-sparql-expression.c"
																												}
																											}
#line 755 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											if (_tmp220_) {
#line 7645 "tracker-sparql-expression.c"
																												GString* _tmp222_;
																												GString* _tmp223_;
#line 756 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												_tmp222_ = fts;
#line 756 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												g_string_append (_tmp222_, ", ");
#line 757 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												_tmp223_ = fts;
#line 757 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												tracker_sparql_expression_translate_expression_as_string (self, _tmp223_, &_inner_error_);
#line 757 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 757 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 757 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														g_propagate_error (error, _inner_error_);
#line 757 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														_g_string_free0 (fts);
#line 757 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														_g_object_unref0 (variable);
#line 757 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														_g_free0 (v);
#line 757 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														return 0;
#line 7670 "tracker-sparql-expression.c"
																													} else {
#line 757 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														_g_string_free0 (fts);
#line 757 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														_g_object_unref0 (variable);
#line 757 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														_g_free0 (v);
#line 757 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 757 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														g_clear_error (&_inner_error_);
#line 757 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														return 0;
#line 7684 "tracker-sparql-expression.c"
																													}
																												}
																											} else {
																												GString* _tmp224_;
#line 759 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												_tmp224_ = fts;
#line 759 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												g_string_append (_tmp224_, ", 5");
#line 7693 "tracker-sparql-expression.c"
																											}
#line 762 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											_tmp225_ = fts;
#line 762 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											g_string_append (_tmp225_, ")");
#line 764 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											_tmp226_ = fts;
#line 764 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											_tmp227_ = _tmp226_->str;
#line 764 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											_tmp228_ = g_strdup (_tmp227_);
#line 764 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											_g_free0 (self->priv->fts_sql);
#line 764 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											self->priv->fts_sql = _tmp228_;
#line 765 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											_tmp229_ = sql;
#line 765 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											_tmp230_ = variable;
#line 765 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											_tmp231_ = tracker_sparql_variable_get_sql_expression (_tmp230_);
#line 765 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											_tmp232_ = _tmp231_;
#line 765 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											g_string_append (_tmp229_, _tmp232_);
#line 766 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											result = TRACKER_PROPERTY_TYPE_STRING;
#line 766 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											_g_string_free0 (fts);
#line 766 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											_g_object_unref0 (variable);
#line 766 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											_g_free0 (v);
#line 766 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											return result;
#line 7729 "tracker-sparql-expression.c"
																										} else {
																											const gchar* _tmp233_;
#line 767 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											_tmp233_ = uri;
#line 767 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											if (g_strcmp0 (_tmp233_, TRACKER_SPARQL_EXPRESSION_TRACKER_NS "id") == 0) {
#line 7736 "tracker-sparql-expression.c"
																												TrackerPropertyType type;
																												GString* _tmp234_;
																												TrackerPropertyType _tmp235_;
																												TrackerPropertyType _tmp236_;
#line 768 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												_tmp234_ = sql;
#line 768 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												_tmp235_ = tracker_sparql_expression_translate_expression (self, _tmp234_, &_inner_error_);
#line 768 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												type = _tmp235_;
#line 768 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 768 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 768 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														g_propagate_error (error, _inner_error_);
#line 768 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														return 0;
#line 7755 "tracker-sparql-expression.c"
																													} else {
#line 768 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 768 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														g_clear_error (&_inner_error_);
#line 768 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														return 0;
#line 7763 "tracker-sparql-expression.c"
																													}
																												}
#line 769 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												_tmp236_ = type;
#line 769 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												if (_tmp236_ != TRACKER_PROPERTY_TYPE_RESOURCE) {
#line 7770 "tracker-sparql-expression.c"
																													GError* _tmp237_;
#line 770 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													_tmp237_ = tracker_sparql_expression_get_error (self, "expected resource");
#line 770 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													_inner_error_ = _tmp237_;
#line 770 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 770 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														g_propagate_error (error, _inner_error_);
#line 770 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														return 0;
#line 7782 "tracker-sparql-expression.c"
																													} else {
#line 770 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 770 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														g_clear_error (&_inner_error_);
#line 770 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														return 0;
#line 7790 "tracker-sparql-expression.c"
																													}
																												}
#line 773 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												result = TRACKER_PROPERTY_TYPE_INTEGER;
#line 773 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												return result;
#line 7797 "tracker-sparql-expression.c"
																											} else {
																												const gchar* _tmp238_;
#line 774 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												_tmp238_ = uri;
#line 774 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												if (g_strcmp0 (_tmp238_, TRACKER_SPARQL_EXPRESSION_TRACKER_NS "uri") == 0) {
#line 7804 "tracker-sparql-expression.c"
																													TrackerPropertyType type;
																													GString* _tmp239_;
																													TrackerPropertyType _tmp240_;
																													TrackerPropertyType _tmp241_;
#line 775 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													_tmp239_ = sql;
#line 775 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													_tmp240_ = tracker_sparql_expression_translate_expression (self, _tmp239_, &_inner_error_);
#line 775 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													type = _tmp240_;
#line 775 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 775 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 775 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															g_propagate_error (error, _inner_error_);
#line 775 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															return 0;
#line 7823 "tracker-sparql-expression.c"
																														} else {
#line 775 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 775 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															g_clear_error (&_inner_error_);
#line 775 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															return 0;
#line 7831 "tracker-sparql-expression.c"
																														}
																													}
#line 776 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													_tmp241_ = type;
#line 776 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													if (_tmp241_ != TRACKER_PROPERTY_TYPE_INTEGER) {
#line 7838 "tracker-sparql-expression.c"
																														GError* _tmp242_;
#line 777 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														_tmp242_ = tracker_sparql_expression_get_error (self, "expected integer ID");
#line 777 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														_inner_error_ = _tmp242_;
#line 777 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 777 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															g_propagate_error (error, _inner_error_);
#line 777 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															return 0;
#line 7850 "tracker-sparql-expression.c"
																														} else {
#line 777 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 777 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															g_clear_error (&_inner_error_);
#line 777 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															return 0;
#line 7858 "tracker-sparql-expression.c"
																														}
																													}
#line 780 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													result = TRACKER_PROPERTY_TYPE_RESOURCE;
#line 780 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													return result;
#line 7865 "tracker-sparql-expression.c"
																												} else {
																													const gchar* _tmp243_;
#line 781 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													_tmp243_ = uri;
#line 781 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													if (g_strcmp0 (_tmp243_, TRACKER_SPARQL_EXPRESSION_TRACKER_NS "cartesian-distance") == 0) {
#line 7872 "tracker-sparql-expression.c"
																														GString* _tmp244_;
																														GString* _tmp245_;
																														GString* _tmp246_;
																														GString* _tmp247_;
																														GString* _tmp248_;
																														GString* _tmp249_;
																														GString* _tmp250_;
																														GString* _tmp251_;
																														GString* _tmp252_;
#line 782 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														_tmp244_ = sql;
#line 782 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														g_string_append (_tmp244_, "SparqlCartesianDistance(");
#line 783 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														_tmp245_ = sql;
#line 783 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														tracker_sparql_expression_translate_expression (self, _tmp245_, &_inner_error_);
#line 783 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 783 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 783 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																g_propagate_error (error, _inner_error_);
#line 783 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																return 0;
#line 7898 "tracker-sparql-expression.c"
																															} else {
#line 783 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 783 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																g_clear_error (&_inner_error_);
#line 783 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																return 0;
#line 7906 "tracker-sparql-expression.c"
																															}
																														}
#line 784 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														_tmp246_ = sql;
#line 784 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														g_string_append (_tmp246_, ", ");
#line 785 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_COMMA, &_inner_error_);
#line 785 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 785 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 785 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																g_propagate_error (error, _inner_error_);
#line 785 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																return 0;
#line 7923 "tracker-sparql-expression.c"
																															} else {
#line 785 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 785 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																g_clear_error (&_inner_error_);
#line 785 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																return 0;
#line 7931 "tracker-sparql-expression.c"
																															}
																														}
#line 786 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														_tmp247_ = sql;
#line 786 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														tracker_sparql_expression_translate_expression (self, _tmp247_, &_inner_error_);
#line 786 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 786 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 786 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																g_propagate_error (error, _inner_error_);
#line 786 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																return 0;
#line 7946 "tracker-sparql-expression.c"
																															} else {
#line 786 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 786 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																g_clear_error (&_inner_error_);
#line 786 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																return 0;
#line 7954 "tracker-sparql-expression.c"
																															}
																														}
#line 787 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														_tmp248_ = sql;
#line 787 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														g_string_append (_tmp248_, ", ");
#line 788 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_COMMA, &_inner_error_);
#line 788 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 788 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 788 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																g_propagate_error (error, _inner_error_);
#line 788 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																return 0;
#line 7971 "tracker-sparql-expression.c"
																															} else {
#line 788 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 788 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																g_clear_error (&_inner_error_);
#line 788 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																return 0;
#line 7979 "tracker-sparql-expression.c"
																															}
																														}
#line 789 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														_tmp249_ = sql;
#line 789 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														tracker_sparql_expression_translate_expression (self, _tmp249_, &_inner_error_);
#line 789 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 789 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 789 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																g_propagate_error (error, _inner_error_);
#line 789 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																return 0;
#line 7994 "tracker-sparql-expression.c"
																															} else {
#line 789 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 789 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																g_clear_error (&_inner_error_);
#line 789 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																return 0;
#line 8002 "tracker-sparql-expression.c"
																															}
																														}
#line 790 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														_tmp250_ = sql;
#line 790 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														g_string_append (_tmp250_, ", ");
#line 791 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_COMMA, &_inner_error_);
#line 791 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 791 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 791 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																g_propagate_error (error, _inner_error_);
#line 791 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																return 0;
#line 8019 "tracker-sparql-expression.c"
																															} else {
#line 791 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 791 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																g_clear_error (&_inner_error_);
#line 791 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																return 0;
#line 8027 "tracker-sparql-expression.c"
																															}
																														}
#line 792 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														_tmp251_ = sql;
#line 792 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														tracker_sparql_expression_translate_expression (self, _tmp251_, &_inner_error_);
#line 792 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 792 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 792 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																g_propagate_error (error, _inner_error_);
#line 792 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																return 0;
#line 8042 "tracker-sparql-expression.c"
																															} else {
#line 792 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 792 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																g_clear_error (&_inner_error_);
#line 792 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																return 0;
#line 8050 "tracker-sparql-expression.c"
																															}
																														}
#line 793 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														_tmp252_ = sql;
#line 793 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														g_string_append (_tmp252_, ")");
#line 795 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														result = TRACKER_PROPERTY_TYPE_DOUBLE;
#line 795 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														return result;
#line 8061 "tracker-sparql-expression.c"
																													} else {
																														const gchar* _tmp253_;
#line 796 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														_tmp253_ = uri;
#line 796 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														if (g_strcmp0 (_tmp253_, TRACKER_SPARQL_EXPRESSION_TRACKER_NS "haversine-distance") == 0) {
#line 8068 "tracker-sparql-expression.c"
																															GString* _tmp254_;
																															GString* _tmp255_;
																															GString* _tmp256_;
																															GString* _tmp257_;
																															GString* _tmp258_;
																															GString* _tmp259_;
																															GString* _tmp260_;
																															GString* _tmp261_;
																															GString* _tmp262_;
#line 797 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															_tmp254_ = sql;
#line 797 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															g_string_append (_tmp254_, "SparqlHaversineDistance(");
#line 798 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															_tmp255_ = sql;
#line 798 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															tracker_sparql_expression_translate_expression (self, _tmp255_, &_inner_error_);
#line 798 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 798 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 798 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	g_propagate_error (error, _inner_error_);
#line 798 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	return 0;
#line 8094 "tracker-sparql-expression.c"
																																} else {
#line 798 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 798 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	g_clear_error (&_inner_error_);
#line 798 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	return 0;
#line 8102 "tracker-sparql-expression.c"
																																}
																															}
#line 799 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															_tmp256_ = sql;
#line 799 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															g_string_append (_tmp256_, ", ");
#line 800 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_COMMA, &_inner_error_);
#line 800 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 800 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 800 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	g_propagate_error (error, _inner_error_);
#line 800 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	return 0;
#line 8119 "tracker-sparql-expression.c"
																																} else {
#line 800 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 800 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	g_clear_error (&_inner_error_);
#line 800 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	return 0;
#line 8127 "tracker-sparql-expression.c"
																																}
																															}
#line 801 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															_tmp257_ = sql;
#line 801 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															tracker_sparql_expression_translate_expression (self, _tmp257_, &_inner_error_);
#line 801 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 801 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 801 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	g_propagate_error (error, _inner_error_);
#line 801 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	return 0;
#line 8142 "tracker-sparql-expression.c"
																																} else {
#line 801 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 801 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	g_clear_error (&_inner_error_);
#line 801 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	return 0;
#line 8150 "tracker-sparql-expression.c"
																																}
																															}
#line 802 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															_tmp258_ = sql;
#line 802 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															g_string_append (_tmp258_, ", ");
#line 803 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_COMMA, &_inner_error_);
#line 803 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 803 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 803 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	g_propagate_error (error, _inner_error_);
#line 803 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	return 0;
#line 8167 "tracker-sparql-expression.c"
																																} else {
#line 803 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 803 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	g_clear_error (&_inner_error_);
#line 803 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	return 0;
#line 8175 "tracker-sparql-expression.c"
																																}
																															}
#line 804 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															_tmp259_ = sql;
#line 804 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															tracker_sparql_expression_translate_expression (self, _tmp259_, &_inner_error_);
#line 804 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 804 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 804 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	g_propagate_error (error, _inner_error_);
#line 804 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	return 0;
#line 8190 "tracker-sparql-expression.c"
																																} else {
#line 804 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 804 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	g_clear_error (&_inner_error_);
#line 804 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	return 0;
#line 8198 "tracker-sparql-expression.c"
																																}
																															}
#line 805 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															_tmp260_ = sql;
#line 805 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															g_string_append (_tmp260_, ", ");
#line 806 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_COMMA, &_inner_error_);
#line 806 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 806 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 806 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	g_propagate_error (error, _inner_error_);
#line 806 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	return 0;
#line 8215 "tracker-sparql-expression.c"
																																} else {
#line 806 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 806 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	g_clear_error (&_inner_error_);
#line 806 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	return 0;
#line 8223 "tracker-sparql-expression.c"
																																}
																															}
#line 807 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															_tmp261_ = sql;
#line 807 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															tracker_sparql_expression_translate_expression (self, _tmp261_, &_inner_error_);
#line 807 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 807 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 807 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	g_propagate_error (error, _inner_error_);
#line 807 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	return 0;
#line 8238 "tracker-sparql-expression.c"
																																} else {
#line 807 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 807 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	g_clear_error (&_inner_error_);
#line 807 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	return 0;
#line 8246 "tracker-sparql-expression.c"
																																}
																															}
#line 808 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															_tmp262_ = sql;
#line 808 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															g_string_append (_tmp262_, ")");
#line 810 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															result = TRACKER_PROPERTY_TYPE_DOUBLE;
#line 810 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															return result;
#line 8257 "tracker-sparql-expression.c"
																														} else {
																															const gchar* _tmp263_;
#line 811 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															_tmp263_ = uri;
#line 811 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															if (g_strcmp0 (_tmp263_, TRACKER_SPARQL_EXPRESSION_TRACKER_NS "coalesce") == 0) {
#line 8264 "tracker-sparql-expression.c"
																																GString* _tmp264_;
																																GString* _tmp265_;
																																GString* _tmp266_;
																																GString* _tmp267_;
																																GString* _tmp272_;
#line 812 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																_tmp264_ = sql;
#line 812 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																g_string_append (_tmp264_, "COALESCE(");
#line 813 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																_tmp265_ = sql;
#line 813 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																tracker_sparql_expression_translate_expression_as_string (self, _tmp265_, &_inner_error_);
#line 813 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 813 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 813 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																		g_propagate_error (error, _inner_error_);
#line 813 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																		return 0;
#line 8286 "tracker-sparql-expression.c"
																																	} else {
#line 813 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 813 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																		g_clear_error (&_inner_error_);
#line 813 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																		return 0;
#line 8294 "tracker-sparql-expression.c"
																																	}
																																}
#line 814 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																_tmp266_ = sql;
#line 814 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																g_string_append (_tmp266_, ", ");
#line 815 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_COMMA, &_inner_error_);
#line 815 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 815 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 815 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																		g_propagate_error (error, _inner_error_);
#line 815 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																		return 0;
#line 8311 "tracker-sparql-expression.c"
																																	} else {
#line 815 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 815 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																		g_clear_error (&_inner_error_);
#line 815 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																		return 0;
#line 8319 "tracker-sparql-expression.c"
																																	}
																																}
#line 816 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																_tmp267_ = sql;
#line 816 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																tracker_sparql_expression_translate_expression_as_string (self, _tmp267_, &_inner_error_);
#line 816 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 816 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 816 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																		g_propagate_error (error, _inner_error_);
#line 816 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																		return 0;
#line 8334 "tracker-sparql-expression.c"
																																	} else {
#line 816 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 816 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																		g_clear_error (&_inner_error_);
#line 816 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																		return 0;
#line 8342 "tracker-sparql-expression.c"
																																	}
																																}
#line 817 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																while (TRUE) {
#line 8347 "tracker-sparql-expression.c"
																																	gboolean _tmp268_;
																																	gboolean _tmp269_;
																																	GString* _tmp270_;
																																	GString* _tmp271_;
#line 817 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	_tmp269_ = tracker_sparql_expression_accept (self, TRACKER_SPARQL_TOKEN_TYPE_COMMA, &_inner_error_);
#line 817 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	_tmp268_ = _tmp269_;
#line 817 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 817 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 817 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			g_propagate_error (error, _inner_error_);
#line 817 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			return 0;
#line 8364 "tracker-sparql-expression.c"
																																		} else {
#line 817 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 817 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			g_clear_error (&_inner_error_);
#line 817 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			return 0;
#line 8372 "tracker-sparql-expression.c"
																																		}
																																	}
#line 817 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	if (!_tmp268_) {
#line 817 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																		break;
#line 8379 "tracker-sparql-expression.c"
																																	}
#line 818 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	_tmp270_ = sql;
#line 818 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	g_string_append (_tmp270_, ", ");
#line 819 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	_tmp271_ = sql;
#line 819 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	tracker_sparql_expression_translate_expression_as_string (self, _tmp271_, &_inner_error_);
#line 819 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 819 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 819 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			g_propagate_error (error, _inner_error_);
#line 819 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			return 0;
#line 8397 "tracker-sparql-expression.c"
																																		} else {
#line 819 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 819 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			g_clear_error (&_inner_error_);
#line 819 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			return 0;
#line 8405 "tracker-sparql-expression.c"
																																		}
																																	}
																																}
#line 821 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																_tmp272_ = sql;
#line 821 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																g_string_append (_tmp272_, ")");
#line 823 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																result = TRACKER_PROPERTY_TYPE_STRING;
#line 823 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																return result;
#line 8417 "tracker-sparql-expression.c"
																															} else {
																																const gchar* _tmp273_;
#line 824 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																_tmp273_ = uri;
#line 824 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																if (g_strcmp0 (_tmp273_, TRACKER_SPARQL_EXPRESSION_TRACKER_NS "uri-is-parent") == 0) {
#line 8424 "tracker-sparql-expression.c"
																																	GString* _tmp274_;
																																	GString* _tmp275_;
																																	GString* _tmp276_;
																																	GString* _tmp277_;
																																	GString* _tmp278_;
#line 825 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	_tmp274_ = sql;
#line 825 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	g_string_append (_tmp274_, "SparqlUriIsParent(");
#line 826 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	_tmp275_ = sql;
#line 826 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	tracker_sparql_expression_translate_expression_as_string (self, _tmp275_, &_inner_error_);
#line 826 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 826 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 826 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			g_propagate_error (error, _inner_error_);
#line 826 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			return 0;
#line 8446 "tracker-sparql-expression.c"
																																		} else {
#line 826 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 826 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			g_clear_error (&_inner_error_);
#line 826 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			return 0;
#line 8454 "tracker-sparql-expression.c"
																																		}
																																	}
#line 827 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	_tmp276_ = sql;
#line 827 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	g_string_append (_tmp276_, ", ");
#line 828 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_COMMA, &_inner_error_);
#line 828 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 828 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 828 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			g_propagate_error (error, _inner_error_);
#line 828 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			return 0;
#line 8471 "tracker-sparql-expression.c"
																																		} else {
#line 828 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 828 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			g_clear_error (&_inner_error_);
#line 828 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			return 0;
#line 8479 "tracker-sparql-expression.c"
																																		}
																																	}
#line 830 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	_tmp277_ = sql;
#line 830 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	tracker_sparql_expression_translate_expression_as_string (self, _tmp277_, &_inner_error_);
#line 830 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 830 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 830 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			g_propagate_error (error, _inner_error_);
#line 830 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			return 0;
#line 8494 "tracker-sparql-expression.c"
																																		} else {
#line 830 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 830 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			g_clear_error (&_inner_error_);
#line 830 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			return 0;
#line 8502 "tracker-sparql-expression.c"
																																		}
																																	}
#line 831 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	_tmp278_ = sql;
#line 831 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	g_string_append (_tmp278_, ")");
#line 833 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	result = TRACKER_PROPERTY_TYPE_BOOLEAN;
#line 833 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	return result;
#line 8513 "tracker-sparql-expression.c"
																																} else {
																																	const gchar* _tmp279_;
#line 834 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	_tmp279_ = uri;
#line 834 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	if (g_strcmp0 (_tmp279_, TRACKER_SPARQL_EXPRESSION_TRACKER_NS "uri-is-descendant") == 0) {
#line 8520 "tracker-sparql-expression.c"
																																		GString* _tmp280_;
																																		GString* _tmp281_;
																																		GString* _tmp282_;
																																		GString* _tmp283_;
																																		GString* _tmp288_;
#line 835 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																		_tmp280_ = sql;
#line 835 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																		g_string_append (_tmp280_, "SparqlUriIsDescendant(");
#line 836 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																		_tmp281_ = sql;
#line 836 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																		tracker_sparql_expression_translate_expression_as_string (self, _tmp281_, &_inner_error_);
#line 836 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 836 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 836 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				g_propagate_error (error, _inner_error_);
#line 836 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				return 0;
#line 8542 "tracker-sparql-expression.c"
																																			} else {
#line 836 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 836 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				g_clear_error (&_inner_error_);
#line 836 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				return 0;
#line 8550 "tracker-sparql-expression.c"
																																			}
																																		}
#line 837 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																		_tmp282_ = sql;
#line 837 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																		g_string_append (_tmp282_, ", ");
#line 838 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																		tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_COMMA, &_inner_error_);
#line 838 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 838 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 838 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				g_propagate_error (error, _inner_error_);
#line 838 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				return 0;
#line 8567 "tracker-sparql-expression.c"
																																			} else {
#line 838 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 838 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				g_clear_error (&_inner_error_);
#line 838 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				return 0;
#line 8575 "tracker-sparql-expression.c"
																																			}
																																		}
#line 840 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																		_tmp283_ = sql;
#line 840 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																		tracker_sparql_expression_translate_expression_as_string (self, _tmp283_, &_inner_error_);
#line 840 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 840 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 840 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				g_propagate_error (error, _inner_error_);
#line 840 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				return 0;
#line 8590 "tracker-sparql-expression.c"
																																			} else {
#line 840 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 840 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				g_clear_error (&_inner_error_);
#line 840 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				return 0;
#line 8598 "tracker-sparql-expression.c"
																																			}
																																		}
#line 841 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																		while (TRUE) {
#line 8603 "tracker-sparql-expression.c"
																																			gboolean _tmp284_;
																																			gboolean _tmp285_;
																																			GString* _tmp286_;
																																			GString* _tmp287_;
#line 841 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			_tmp285_ = tracker_sparql_expression_accept (self, TRACKER_SPARQL_TOKEN_TYPE_COMMA, &_inner_error_);
#line 841 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			_tmp284_ = _tmp285_;
#line 841 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 841 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 841 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					g_propagate_error (error, _inner_error_);
#line 841 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					return 0;
#line 8620 "tracker-sparql-expression.c"
																																				} else {
#line 841 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 841 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					g_clear_error (&_inner_error_);
#line 841 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					return 0;
#line 8628 "tracker-sparql-expression.c"
																																				}
																																			}
#line 841 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			if (!_tmp284_) {
#line 841 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				break;
#line 8635 "tracker-sparql-expression.c"
																																			}
#line 842 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			_tmp286_ = sql;
#line 842 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			g_string_append (_tmp286_, ", ");
#line 843 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			_tmp287_ = sql;
#line 843 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			tracker_sparql_expression_translate_expression_as_string (self, _tmp287_, &_inner_error_);
#line 843 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 843 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 843 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					g_propagate_error (error, _inner_error_);
#line 843 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					return 0;
#line 8653 "tracker-sparql-expression.c"
																																				} else {
#line 843 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 843 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					g_clear_error (&_inner_error_);
#line 843 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					return 0;
#line 8661 "tracker-sparql-expression.c"
																																				}
																																			}
																																		}
#line 845 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																		_tmp288_ = sql;
#line 845 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																		g_string_append (_tmp288_, ")");
#line 847 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																		result = TRACKER_PROPERTY_TYPE_BOOLEAN;
#line 847 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																		return result;
#line 8673 "tracker-sparql-expression.c"
																																	} else {
																																		const gchar* _tmp289_;
#line 848 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																		_tmp289_ = uri;
#line 848 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																		if (g_strcmp0 (_tmp289_, TRACKER_SPARQL_EXPRESSION_TRACKER_NS "string-from-filename") == 0) {
#line 8680 "tracker-sparql-expression.c"
																																			GString* _tmp290_;
																																			GString* _tmp291_;
																																			GString* _tmp292_;
#line 849 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			_tmp290_ = sql;
#line 849 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			g_string_append (_tmp290_, "SparqlStringFromFilename(");
#line 850 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			_tmp291_ = sql;
#line 850 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			tracker_sparql_expression_translate_expression_as_string (self, _tmp291_, &_inner_error_);
#line 850 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 850 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 850 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					g_propagate_error (error, _inner_error_);
#line 850 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					return 0;
#line 8700 "tracker-sparql-expression.c"
																																				} else {
#line 850 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 850 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					g_clear_error (&_inner_error_);
#line 850 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					return 0;
#line 8708 "tracker-sparql-expression.c"
																																				}
																																			}
#line 851 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			_tmp292_ = sql;
#line 851 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			g_string_append (_tmp292_, ")");
#line 853 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			result = TRACKER_PROPERTY_TYPE_STRING;
#line 853 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			return result;
#line 8719 "tracker-sparql-expression.c"
																																		} else {
																																			TrackerProperty* prop;
																																			const gchar* _tmp293_;
																																			TrackerProperty* _tmp294_;
																																			TrackerProperty* _tmp295_;
																																			TrackerProperty* _tmp296_;
																																			GString* expr;
																																			GString* _tmp298_;
																																			GString* _tmp299_;
																																			gchar* value_separator;
																																			gchar* _tmp300_;
																																			gchar* graph_separator;
																																			gboolean _tmp301_;
																																			gboolean _tmp302_;
																																			TrackerProperty* _tmp311_;
																																			gboolean _tmp312_;
																																			gboolean _tmp313_;
#line 856 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			_tmp293_ = uri;
#line 856 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			_tmp294_ = tracker_ontologies_get_property_by_uri (_tmp293_);
#line 856 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			_tmp295_ = _g_object_ref0 (_tmp294_);
#line 856 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			prop = _tmp295_;
#line 857 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			_tmp296_ = prop;
#line 857 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			if (_tmp296_ == NULL) {
#line 8749 "tracker-sparql-expression.c"
																																				GError* _tmp297_;
#line 858 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_tmp297_ = tracker_sparql_expression_get_error (self, "Unknown function");
#line 858 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_inner_error_ = _tmp297_;
#line 858 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 858 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					g_propagate_error (error, _inner_error_);
#line 858 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_g_object_unref0 (prop);
#line 858 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					return 0;
#line 8763 "tracker-sparql-expression.c"
																																				} else {
#line 858 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_g_object_unref0 (prop);
#line 858 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 858 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					g_clear_error (&_inner_error_);
#line 858 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					return 0;
#line 8773 "tracker-sparql-expression.c"
																																				}
																																			}
#line 861 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			_tmp298_ = g_string_new ("");
#line 861 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			expr = _tmp298_;
#line 862 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			_tmp299_ = expr;
#line 862 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			tracker_sparql_expression_translate_expression (self, _tmp299_, &_inner_error_);
#line 862 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 862 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 862 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					g_propagate_error (error, _inner_error_);
#line 862 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_g_string_free0 (expr);
#line 862 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_g_object_unref0 (prop);
#line 862 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					return 0;
#line 8796 "tracker-sparql-expression.c"
																																				} else {
#line 862 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_g_string_free0 (expr);
#line 862 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_g_object_unref0 (prop);
#line 862 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 862 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					g_clear_error (&_inner_error_);
#line 862 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					return 0;
#line 8808 "tracker-sparql-expression.c"
																																				}
																																			}
#line 864 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			_tmp300_ = g_strdup (",");
#line 864 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			value_separator = _tmp300_;
#line 865 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			graph_separator = NULL;
#line 867 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			_tmp302_ = tracker_sparql_expression_accept (self, TRACKER_SPARQL_TOKEN_TYPE_COMMA, &_inner_error_);
#line 867 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			_tmp301_ = _tmp302_;
#line 867 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 867 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 867 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					g_propagate_error (error, _inner_error_);
#line 867 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_g_free0 (graph_separator);
#line 867 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_g_free0 (value_separator);
#line 867 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_g_string_free0 (expr);
#line 867 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_g_object_unref0 (prop);
#line 867 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					return 0;
#line 8837 "tracker-sparql-expression.c"
																																				} else {
#line 867 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_g_free0 (graph_separator);
#line 867 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_g_free0 (value_separator);
#line 867 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_g_string_free0 (expr);
#line 867 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_g_object_unref0 (prop);
#line 867 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 867 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					g_clear_error (&_inner_error_);
#line 867 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					return 0;
#line 8853 "tracker-sparql-expression.c"
																																				}
																																			}
#line 867 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			if (_tmp301_) {
#line 8858 "tracker-sparql-expression.c"
																																				gchar* _tmp303_;
																																				gchar* _tmp304_;
																																				gchar* _tmp305_;
																																				gboolean _tmp306_;
																																				gboolean _tmp307_;
#line 868 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_tmp304_ = tracker_sparql_expression_parse_string_literal (self, NULL, &_inner_error_);
#line 868 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_tmp303_ = _tmp304_;
#line 868 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 868 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 868 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						g_propagate_error (error, _inner_error_);
#line 868 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_g_free0 (graph_separator);
#line 868 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_g_free0 (value_separator);
#line 868 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_g_string_free0 (expr);
#line 868 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_g_object_unref0 (prop);
#line 868 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						return 0;
#line 8884 "tracker-sparql-expression.c"
																																					} else {
#line 868 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_g_free0 (graph_separator);
#line 868 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_g_free0 (value_separator);
#line 868 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_g_string_free0 (expr);
#line 868 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_g_object_unref0 (prop);
#line 868 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 868 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						g_clear_error (&_inner_error_);
#line 868 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						return 0;
#line 8900 "tracker-sparql-expression.c"
																																					}
																																				}
#line 868 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_tmp305_ = _tmp303_;
#line 868 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_tmp303_ = NULL;
#line 868 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_g_free0 (value_separator);
#line 868 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				value_separator = _tmp305_;
#line 870 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_tmp307_ = tracker_sparql_expression_accept (self, TRACKER_SPARQL_TOKEN_TYPE_COMMA, &_inner_error_);
#line 870 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_tmp306_ = _tmp307_;
#line 870 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 870 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 870 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						g_propagate_error (error, _inner_error_);
#line 870 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_g_free0 (_tmp303_);
#line 870 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_g_free0 (graph_separator);
#line 870 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_g_free0 (value_separator);
#line 870 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_g_string_free0 (expr);
#line 870 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_g_object_unref0 (prop);
#line 870 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						return 0;
#line 8933 "tracker-sparql-expression.c"
																																					} else {
#line 870 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_g_free0 (_tmp303_);
#line 870 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_g_free0 (graph_separator);
#line 870 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_g_free0 (value_separator);
#line 870 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_g_string_free0 (expr);
#line 870 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_g_object_unref0 (prop);
#line 870 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 870 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						g_clear_error (&_inner_error_);
#line 870 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						return 0;
#line 8951 "tracker-sparql-expression.c"
																																					}
																																				}
#line 870 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				if (_tmp306_) {
#line 8956 "tracker-sparql-expression.c"
																																					gchar* _tmp308_;
																																					gchar* _tmp309_;
																																					gchar* _tmp310_;
#line 871 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp309_ = tracker_sparql_expression_parse_string_literal (self, NULL, &_inner_error_);
#line 871 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp308_ = _tmp309_;
#line 871 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 871 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 871 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																							g_propagate_error (error, _inner_error_);
#line 871 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																							_g_free0 (_tmp303_);
#line 871 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																							_g_free0 (graph_separator);
#line 871 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																							_g_free0 (value_separator);
#line 871 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																							_g_string_free0 (expr);
#line 871 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																							_g_object_unref0 (prop);
#line 871 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																							return 0;
#line 8982 "tracker-sparql-expression.c"
																																						} else {
#line 871 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																							_g_free0 (_tmp303_);
#line 871 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																							_g_free0 (graph_separator);
#line 871 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																							_g_free0 (value_separator);
#line 871 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																							_g_string_free0 (expr);
#line 871 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																							_g_object_unref0 (prop);
#line 871 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																							g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 871 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																							g_clear_error (&_inner_error_);
#line 871 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																							return 0;
#line 9000 "tracker-sparql-expression.c"
																																						}
																																					}
#line 871 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp310_ = _tmp308_;
#line 871 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp308_ = NULL;
#line 871 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_g_free0 (graph_separator);
#line 871 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					graph_separator = _tmp310_;
#line 870 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_g_free0 (_tmp308_);
#line 9013 "tracker-sparql-expression.c"
																																				}
#line 867 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_g_free0 (_tmp303_);
#line 9017 "tracker-sparql-expression.c"
																																			}
#line 875 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			_tmp311_ = prop;
#line 875 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			_tmp312_ = tracker_property_get_multiple_values (_tmp311_);
#line 875 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			_tmp313_ = _tmp312_;
#line 875 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			if (_tmp313_) {
#line 9027 "tracker-sparql-expression.c"
																																				GString* _tmp314_;
																																				glong begin;
																																				GString* _tmp315_;
																																				gssize _tmp316_;
																																				GString* _tmp317_;
																																				TrackerProperty* _tmp318_;
																																				const gchar* _tmp319_;
																																				const gchar* _tmp320_;
																																				GString* _tmp321_;
																																				TrackerProperty* _tmp322_;
																																				TrackerPropertyType _tmp323_;
																																				TrackerPropertyType _tmp324_;
																																				glong _tmp325_;
																																				const gchar* _tmp326_;
																																				GString* _tmp334_;
																																				const gchar* _tmp335_;
																																				gchar* _tmp336_;
																																				gchar* _tmp337_;
																																				GString* _tmp338_;
																																				TrackerProperty* _tmp339_;
																																				const gchar* _tmp340_;
																																				const gchar* _tmp341_;
																																				GString* _tmp342_;
																																				const gchar* _tmp343_;
#line 877 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_tmp314_ = sql;
#line 877 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				g_string_append (_tmp314_, "(SELECT GROUP_CONCAT(");
#line 878 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_tmp315_ = sql;
#line 878 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_tmp316_ = _tmp315_->len;
#line 878 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				begin = (glong) _tmp316_;
#line 879 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_tmp317_ = sql;
#line 879 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_tmp318_ = prop;
#line 879 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_tmp319_ = tracker_property_get_name (_tmp318_);
#line 879 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_tmp320_ = _tmp319_;
#line 879 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				g_string_append_printf (_tmp317_, "\"%s\"", _tmp320_);
#line 880 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_tmp321_ = sql;
#line 880 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_tmp322_ = prop;
#line 880 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_tmp323_ = tracker_property_get_data_type (_tmp322_);
#line 880 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_tmp324_ = _tmp323_;
#line 880 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_tmp325_ = begin;
#line 880 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				tracker_sparql_expression_convert_expression_to_string (_tmp321_, _tmp324_, _tmp325_);
#line 881 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_tmp326_ = graph_separator;
#line 881 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				if (_tmp326_ != NULL) {
#line 9088 "tracker-sparql-expression.c"
																																					GString* _tmp327_;
																																					const gchar* _tmp328_;
																																					gchar* _tmp329_;
																																					gchar* _tmp330_;
																																					TrackerProperty* _tmp331_;
																																					const gchar* _tmp332_;
																																					const gchar* _tmp333_;
#line 882 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp327_ = sql;
#line 882 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp328_ = graph_separator;
#line 882 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp329_ = tracker_sparql_expression_escape_sql_string_literal (self, _tmp328_);
#line 882 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp330_ = _tmp329_;
#line 882 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp331_ = prop;
#line 882 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp332_ = tracker_property_get_name (_tmp331_);
#line 882 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp333_ = _tmp332_;
#line 882 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					g_string_append_printf (_tmp327_, " || %s || COALESCE((SELECT Uri FROM Resource WHERE ID = \"%s:graph\")," \
" '')", _tmp330_, _tmp333_);
#line 882 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_g_free0 (_tmp330_);
#line 9114 "tracker-sparql-expression.c"
																																				}
#line 884 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_tmp334_ = sql;
#line 884 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_tmp335_ = value_separator;
#line 884 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_tmp336_ = tracker_sparql_expression_escape_sql_string_literal (self, _tmp335_);
#line 884 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_tmp337_ = _tmp336_;
#line 884 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				g_string_append_printf (_tmp334_, ",%s)", _tmp337_);
#line 884 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_g_free0 (_tmp337_);
#line 885 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_tmp338_ = sql;
#line 885 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_tmp339_ = prop;
#line 885 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_tmp340_ = tracker_property_get_table_name (_tmp339_);
#line 885 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_tmp341_ = _tmp340_;
#line 885 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_tmp342_ = expr;
#line 885 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_tmp343_ = _tmp342_->str;
#line 885 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				g_string_append_printf (_tmp338_, " FROM \"%s\" WHERE ID = %s)", _tmp341_, _tmp343_);
#line 887 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				result = TRACKER_PROPERTY_TYPE_STRING;
#line 887 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_g_free0 (graph_separator);
#line 887 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_g_free0 (value_separator);
#line 887 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_g_string_free0 (expr);
#line 887 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_g_object_unref0 (prop);
#line 887 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				return result;
#line 9154 "tracker-sparql-expression.c"
																																			} else {
																																				const gchar* _tmp344_;
#line 890 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_tmp344_ = graph_separator;
#line 890 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				if (_tmp344_ == NULL) {
#line 9161 "tracker-sparql-expression.c"
																																					GString* _tmp345_;
																																					TrackerProperty* _tmp346_;
																																					const gchar* _tmp347_;
																																					const gchar* _tmp348_;
																																					TrackerProperty* _tmp349_;
																																					const gchar* _tmp350_;
																																					const gchar* _tmp351_;
																																					GString* _tmp352_;
																																					const gchar* _tmp353_;
																																					TrackerProperty* _tmp354_;
																																					TrackerPropertyType _tmp355_;
																																					TrackerPropertyType _tmp356_;
																																					TrackerProperty* _tmp358_;
																																					TrackerPropertyType _tmp359_;
																																					TrackerPropertyType _tmp360_;
#line 891 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp345_ = sql;
#line 891 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp346_ = prop;
#line 891 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp347_ = tracker_property_get_name (_tmp346_);
#line 891 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp348_ = _tmp347_;
#line 891 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp349_ = prop;
#line 891 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp350_ = tracker_property_get_table_name (_tmp349_);
#line 891 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp351_ = _tmp350_;
#line 891 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp352_ = expr;
#line 891 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp353_ = _tmp352_->str;
#line 891 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					g_string_append_printf (_tmp345_, "(SELECT \"%s\" FROM \"%s\" WHERE ID = %s)", _tmp348_, _tmp351_, _tmp353_);
#line 893 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp354_ = prop;
#line 893 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp355_ = tracker_property_get_data_type (_tmp354_);
#line 893 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp356_ = _tmp355_;
#line 893 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					if (_tmp356_ == TRACKER_PROPERTY_TYPE_STRING) {
#line 9205 "tracker-sparql-expression.c"
																																						GString* _tmp357_;
#line 894 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_tmp357_ = sql;
#line 894 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						tracker_sparql_expression_append_collate (self, _tmp357_);
#line 9211 "tracker-sparql-expression.c"
																																					}
#line 897 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp358_ = prop;
#line 897 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp359_ = tracker_property_get_data_type (_tmp358_);
#line 897 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp360_ = _tmp359_;
#line 897 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					result = _tmp360_;
#line 897 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_g_free0 (graph_separator);
#line 897 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_g_free0 (value_separator);
#line 897 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_g_string_free0 (expr);
#line 897 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_g_object_unref0 (prop);
#line 897 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					return result;
#line 9231 "tracker-sparql-expression.c"
																																				} else {
																																					GString* _tmp361_;
																																					glong begin;
																																					GString* _tmp362_;
																																					gssize _tmp363_;
																																					GString* _tmp364_;
																																					TrackerProperty* _tmp365_;
																																					const gchar* _tmp366_;
																																					const gchar* _tmp367_;
																																					GString* _tmp368_;
																																					TrackerProperty* _tmp369_;
																																					TrackerPropertyType _tmp370_;
																																					TrackerPropertyType _tmp371_;
																																					glong _tmp372_;
																																					GString* _tmp373_;
																																					const gchar* _tmp374_;
																																					gchar* _tmp375_;
																																					gchar* _tmp376_;
																																					TrackerProperty* _tmp377_;
																																					const gchar* _tmp378_;
																																					const gchar* _tmp379_;
																																					GString* _tmp380_;
																																					TrackerProperty* _tmp381_;
																																					const gchar* _tmp382_;
																																					const gchar* _tmp383_;
																																					GString* _tmp384_;
																																					const gchar* _tmp385_;
#line 899 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp361_ = sql;
#line 899 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					g_string_append (_tmp361_, "(SELECT ");
#line 900 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp362_ = sql;
#line 900 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp363_ = _tmp362_->len;
#line 900 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					begin = (glong) _tmp363_;
#line 901 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp364_ = sql;
#line 901 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp365_ = prop;
#line 901 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp366_ = tracker_property_get_name (_tmp365_);
#line 901 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp367_ = _tmp366_;
#line 901 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					g_string_append_printf (_tmp364_, "\"%s\"", _tmp367_);
#line 902 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp368_ = sql;
#line 902 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp369_ = prop;
#line 902 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp370_ = tracker_property_get_data_type (_tmp369_);
#line 902 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp371_ = _tmp370_;
#line 902 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp372_ = begin;
#line 902 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					tracker_sparql_expression_convert_expression_to_string (_tmp368_, _tmp371_, _tmp372_);
#line 903 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp373_ = sql;
#line 903 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp374_ = graph_separator;
#line 903 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp375_ = tracker_sparql_expression_escape_sql_string_literal (self, _tmp374_);
#line 903 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp376_ = _tmp375_;
#line 903 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp377_ = prop;
#line 903 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp378_ = tracker_property_get_name (_tmp377_);
#line 903 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp379_ = _tmp378_;
#line 903 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					g_string_append_printf (_tmp373_, " || %s || COALESCE((SELECT Uri FROM Resource WHERE ID = \"%s:graph\")," \
" '')", _tmp376_, _tmp379_);
#line 903 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_g_free0 (_tmp376_);
#line 904 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp380_ = sql;
#line 904 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp381_ = prop;
#line 904 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp382_ = tracker_property_get_table_name (_tmp381_);
#line 904 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp383_ = _tmp382_;
#line 904 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp384_ = expr;
#line 904 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp385_ = _tmp384_->str;
#line 904 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					g_string_append_printf (_tmp380_, " FROM \"%s\" WHERE ID = %s)", _tmp383_, _tmp385_);
#line 906 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					result = TRACKER_PROPERTY_TYPE_STRING;
#line 906 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_g_free0 (graph_separator);
#line 906 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_g_free0 (value_separator);
#line 906 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_g_string_free0 (expr);
#line 906 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_g_object_unref0 (prop);
#line 906 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					return result;
#line 9335 "tracker-sparql-expression.c"
																																				}
																																			}
#line 848 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			_g_free0 (graph_separator);
#line 848 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			_g_free0 (value_separator);
#line 848 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			_g_string_free0 (expr);
#line 848 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			_g_object_unref0 (prop);
#line 9346 "tracker-sparql-expression.c"
																																		}
																																	}
																																}
																															}
																														}
																													}
																												}
																											}
																										}
																									}
																								}
																							}
																						}
																					}
																				}
																			}
																		}
																	}
																}
															}
														}
													}
												}
											}
										}
									}
								}
							}
						}
					}
				}
			}
		}
	}
}


static TrackerPropertyType tracker_sparql_expression_parse_type_uri (TrackerSparqlExpression* self, GError** error) {
	TrackerPropertyType result = 0;
	gchar* type_iri = NULL;
	TrackerPropertyType type = 0;
	gboolean _tmp0_;
	gboolean _tmp1_;
	const gchar* _tmp25_;
	GError * _inner_error_ = NULL;
#line 912 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 916 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp1_ = tracker_sparql_expression_accept (self, TRACKER_SPARQL_TOKEN_TYPE_IRI_REF, &_inner_error_);
#line 916 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = _tmp1_;
#line 916 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 916 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 916 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 916 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (type_iri);
#line 916 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 9408 "tracker-sparql-expression.c"
		} else {
#line 916 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (type_iri);
#line 916 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 916 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 916 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 9418 "tracker-sparql-expression.c"
		}
	}
#line 916 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (_tmp0_) {
#line 9423 "tracker-sparql-expression.c"
		gchar* _tmp2_;
#line 917 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp2_ = tracker_sparql_expression_get_last_string (self, 1);
#line 917 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_g_free0 (type_iri);
#line 917 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		type_iri = _tmp2_;
#line 9431 "tracker-sparql-expression.c"
	} else {
		gboolean _tmp3_;
		gboolean _tmp4_;
#line 918 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp4_ = tracker_sparql_expression_accept (self, TRACKER_SPARQL_TOKEN_TYPE_PN_PREFIX, &_inner_error_);
#line 918 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp3_ = _tmp4_;
#line 918 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 918 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 918 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 918 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_free0 (type_iri);
#line 918 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 9449 "tracker-sparql-expression.c"
			} else {
#line 918 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_free0 (type_iri);
#line 918 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 918 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 918 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 9459 "tracker-sparql-expression.c"
			}
		}
#line 918 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp3_) {
#line 9464 "tracker-sparql-expression.c"
			gchar* ns;
			gchar* _tmp5_;
			gchar* _tmp6_;
			TrackerSparqlQuery* _tmp7_;
			const gchar* _tmp8_;
			gchar* _tmp9_;
			gchar* _tmp10_;
			gchar* _tmp11_;
			gchar* _tmp12_;
			gchar* _tmp13_;
			gchar* _tmp14_;
			gchar* _tmp15_;
#line 919 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp5_ = tracker_sparql_expression_get_last_string (self, 0);
#line 919 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			ns = _tmp5_;
#line 920 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_COLON, &_inner_error_);
#line 920 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 920 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 920 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 920 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_free0 (ns);
#line 920 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_free0 (type_iri);
#line 920 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 9495 "tracker-sparql-expression.c"
				} else {
#line 920 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_free0 (ns);
#line 920 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_free0 (type_iri);
#line 920 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 920 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 920 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 9507 "tracker-sparql-expression.c"
				}
			}
#line 921 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp7_ = self->priv->query;
#line 921 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp8_ = ns;
#line 921 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp9_ = tracker_sparql_expression_get_last_string (self, 0);
#line 921 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp10_ = _tmp9_;
#line 921 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp11_ = string_substring (_tmp10_, (glong) 1, (glong) -1);
#line 921 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp12_ = _tmp11_;
#line 921 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp13_ = tracker_sparql_query_resolve_prefixed_name (_tmp7_, _tmp8_, _tmp12_, &_inner_error_);
#line 921 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp14_ = _tmp13_;
#line 921 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (_tmp12_);
#line 921 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (_tmp10_);
#line 921 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp6_ = _tmp14_;
#line 921 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 921 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 921 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 921 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_free0 (ns);
#line 921 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_free0 (type_iri);
#line 921 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 9544 "tracker-sparql-expression.c"
				} else {
#line 921 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_free0 (ns);
#line 921 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_free0 (type_iri);
#line 921 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 921 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 921 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 9556 "tracker-sparql-expression.c"
				}
			}
#line 921 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp15_ = _tmp6_;
#line 921 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp6_ = NULL;
#line 921 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (type_iri);
#line 921 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			type_iri = _tmp15_;
#line 918 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (_tmp6_);
#line 918 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (ns);
#line 9571 "tracker-sparql-expression.c"
		} else {
			gchar* _tmp16_;
			TrackerSparqlQuery* _tmp17_;
			gchar* _tmp18_;
			gchar* _tmp19_;
			gchar* _tmp20_;
			gchar* _tmp21_;
			gchar* _tmp22_;
			gchar* _tmp23_;
			gchar* _tmp24_;
#line 923 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_COLON, &_inner_error_);
#line 923 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 923 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 923 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 923 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_free0 (type_iri);
#line 923 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 9594 "tracker-sparql-expression.c"
				} else {
#line 923 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_free0 (type_iri);
#line 923 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 923 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 923 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 9604 "tracker-sparql-expression.c"
				}
			}
#line 924 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp17_ = self->priv->query;
#line 924 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp18_ = tracker_sparql_expression_get_last_string (self, 0);
#line 924 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp19_ = _tmp18_;
#line 924 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp20_ = string_substring (_tmp19_, (glong) 1, (glong) -1);
#line 924 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp21_ = _tmp20_;
#line 924 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp22_ = tracker_sparql_query_resolve_prefixed_name (_tmp17_, "", _tmp21_, &_inner_error_);
#line 924 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp23_ = _tmp22_;
#line 924 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (_tmp21_);
#line 924 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (_tmp19_);
#line 924 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp16_ = _tmp23_;
#line 924 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 924 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 924 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 924 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_free0 (type_iri);
#line 924 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 9637 "tracker-sparql-expression.c"
				} else {
#line 924 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_free0 (type_iri);
#line 924 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 924 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 924 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 9647 "tracker-sparql-expression.c"
				}
			}
#line 924 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp24_ = _tmp16_;
#line 924 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp16_ = NULL;
#line 924 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (type_iri);
#line 924 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			type_iri = _tmp24_;
#line 918 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (_tmp16_);
#line 9660 "tracker-sparql-expression.c"
		}
	}
#line 927 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp25_ = type_iri;
#line 927 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (g_strcmp0 (_tmp25_, TRACKER_SPARQL_EXPRESSION_XSD_NS "boolean") == 0) {
#line 928 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		type = TRACKER_PROPERTY_TYPE_BOOLEAN;
#line 9669 "tracker-sparql-expression.c"
	} else {
		gboolean _tmp26_ = FALSE;
		gboolean _tmp27_ = FALSE;
		gboolean _tmp28_ = FALSE;
		gboolean _tmp29_ = FALSE;
		gboolean _tmp30_ = FALSE;
		gboolean _tmp31_ = FALSE;
		gboolean _tmp32_ = FALSE;
		gboolean _tmp33_ = FALSE;
		gboolean _tmp34_ = FALSE;
		gboolean _tmp35_ = FALSE;
		gboolean _tmp36_ = FALSE;
		gboolean _tmp37_ = FALSE;
		const gchar* _tmp38_;
#line 929 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp38_ = type_iri;
#line 929 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (g_strcmp0 (_tmp38_, TRACKER_SPARQL_EXPRESSION_XSD_NS "integer") == 0) {
#line 929 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp37_ = TRUE;
#line 9690 "tracker-sparql-expression.c"
		} else {
			const gchar* _tmp39_;
#line 930 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp39_ = type_iri;
#line 930 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp37_ = g_strcmp0 (_tmp39_, TRACKER_SPARQL_EXPRESSION_XSD_NS "nonPositiveInteger") == 0;
#line 9697 "tracker-sparql-expression.c"
		}
#line 929 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp37_) {
#line 929 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp36_ = TRUE;
#line 9703 "tracker-sparql-expression.c"
		} else {
			const gchar* _tmp40_;
#line 931 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp40_ = type_iri;
#line 931 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp36_ = g_strcmp0 (_tmp40_, TRACKER_SPARQL_EXPRESSION_XSD_NS "negativeInteger") == 0;
#line 9710 "tracker-sparql-expression.c"
		}
#line 929 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp36_) {
#line 929 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp35_ = TRUE;
#line 9716 "tracker-sparql-expression.c"
		} else {
			const gchar* _tmp41_;
#line 932 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp41_ = type_iri;
#line 932 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp35_ = g_strcmp0 (_tmp41_, TRACKER_SPARQL_EXPRESSION_XSD_NS "long") == 0;
#line 9723 "tracker-sparql-expression.c"
		}
#line 929 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp35_) {
#line 929 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp34_ = TRUE;
#line 9729 "tracker-sparql-expression.c"
		} else {
			const gchar* _tmp42_;
#line 933 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp42_ = type_iri;
#line 933 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp34_ = g_strcmp0 (_tmp42_, TRACKER_SPARQL_EXPRESSION_XSD_NS "int") == 0;
#line 9736 "tracker-sparql-expression.c"
		}
#line 929 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp34_) {
#line 929 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp33_ = TRUE;
#line 9742 "tracker-sparql-expression.c"
		} else {
			const gchar* _tmp43_;
#line 934 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp43_ = type_iri;
#line 934 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp33_ = g_strcmp0 (_tmp43_, TRACKER_SPARQL_EXPRESSION_XSD_NS "short") == 0;
#line 9749 "tracker-sparql-expression.c"
		}
#line 929 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp33_) {
#line 929 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp32_ = TRUE;
#line 9755 "tracker-sparql-expression.c"
		} else {
			const gchar* _tmp44_;
#line 935 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp44_ = type_iri;
#line 935 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp32_ = g_strcmp0 (_tmp44_, TRACKER_SPARQL_EXPRESSION_XSD_NS "byte") == 0;
#line 9762 "tracker-sparql-expression.c"
		}
#line 929 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp32_) {
#line 929 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp31_ = TRUE;
#line 9768 "tracker-sparql-expression.c"
		} else {
			const gchar* _tmp45_;
#line 936 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp45_ = type_iri;
#line 936 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp31_ = g_strcmp0 (_tmp45_, TRACKER_SPARQL_EXPRESSION_XSD_NS "nonNegativeInteger") == 0;
#line 9775 "tracker-sparql-expression.c"
		}
#line 929 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp31_) {
#line 929 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp30_ = TRUE;
#line 9781 "tracker-sparql-expression.c"
		} else {
			const gchar* _tmp46_;
#line 937 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp46_ = type_iri;
#line 937 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp30_ = g_strcmp0 (_tmp46_, TRACKER_SPARQL_EXPRESSION_XSD_NS "unsignedLong") == 0;
#line 9788 "tracker-sparql-expression.c"
		}
#line 929 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp30_) {
#line 929 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp29_ = TRUE;
#line 9794 "tracker-sparql-expression.c"
		} else {
			const gchar* _tmp47_;
#line 938 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp47_ = type_iri;
#line 938 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp29_ = g_strcmp0 (_tmp47_, TRACKER_SPARQL_EXPRESSION_XSD_NS "unsignedInt") == 0;
#line 9801 "tracker-sparql-expression.c"
		}
#line 929 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp29_) {
#line 929 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp28_ = TRUE;
#line 9807 "tracker-sparql-expression.c"
		} else {
			const gchar* _tmp48_;
#line 939 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp48_ = type_iri;
#line 939 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp28_ = g_strcmp0 (_tmp48_, TRACKER_SPARQL_EXPRESSION_XSD_NS "unsignedShort") == 0;
#line 9814 "tracker-sparql-expression.c"
		}
#line 929 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp28_) {
#line 929 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp27_ = TRUE;
#line 9820 "tracker-sparql-expression.c"
		} else {
			const gchar* _tmp49_;
#line 940 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp49_ = type_iri;
#line 940 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp27_ = g_strcmp0 (_tmp49_, TRACKER_SPARQL_EXPRESSION_XSD_NS "unsignedByte") == 0;
#line 9827 "tracker-sparql-expression.c"
		}
#line 929 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp27_) {
#line 929 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp26_ = TRUE;
#line 9833 "tracker-sparql-expression.c"
		} else {
			const gchar* _tmp50_;
#line 941 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp50_ = type_iri;
#line 941 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp26_ = g_strcmp0 (_tmp50_, TRACKER_SPARQL_EXPRESSION_XSD_NS "positiveInteger") == 0;
#line 9840 "tracker-sparql-expression.c"
		}
#line 929 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp26_) {
#line 942 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			type = TRACKER_PROPERTY_TYPE_INTEGER;
#line 9846 "tracker-sparql-expression.c"
		} else {
			const gchar* _tmp51_;
#line 943 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp51_ = type_iri;
#line 943 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (g_strcmp0 (_tmp51_, TRACKER_SPARQL_EXPRESSION_XSD_NS "double") == 0) {
#line 944 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				type = TRACKER_PROPERTY_TYPE_DOUBLE;
#line 9855 "tracker-sparql-expression.c"
			} else {
				const gchar* _tmp52_;
#line 945 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp52_ = type_iri;
#line 945 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (g_strcmp0 (_tmp52_, TRACKER_SPARQL_EXPRESSION_XSD_NS "date") == 0) {
#line 946 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					type = TRACKER_PROPERTY_TYPE_DATE;
#line 9864 "tracker-sparql-expression.c"
				} else {
					const gchar* _tmp53_;
#line 947 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp53_ = type_iri;
#line 947 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					if (g_strcmp0 (_tmp53_, TRACKER_SPARQL_EXPRESSION_XSD_NS "dateTime") == 0) {
#line 948 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						type = TRACKER_PROPERTY_TYPE_DATETIME;
#line 9873 "tracker-sparql-expression.c"
					} else {
#line 950 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						type = TRACKER_PROPERTY_TYPE_STRING;
#line 9877 "tracker-sparql-expression.c"
					}
				}
			}
		}
	}
#line 953 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	result = type;
#line 953 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_g_free0 (type_iri);
#line 953 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	return result;
#line 9889 "tracker-sparql-expression.c"
}


gchar* tracker_sparql_expression_parse_string_literal (TrackerSparqlExpression* self, TrackerPropertyType* type, GError** error) {
	TrackerPropertyType _vala_type = 0;
	gchar* result = NULL;
	TrackerSparqlTokenType _tmp0_;
	GError * _inner_error_ = NULL;
#line 956 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 957 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_vala_type = TRACKER_PROPERTY_TYPE_STRING;
#line 959 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	tracker_sparql_expression_next (self, &_inner_error_);
#line 959 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 959 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 959 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 959 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return NULL;
#line 9912 "tracker-sparql-expression.c"
		} else {
#line 959 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 959 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 959 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return NULL;
#line 9920 "tracker-sparql-expression.c"
		}
	}
#line 960 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = tracker_sparql_expression_last (self);
#line 960 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	switch (_tmp0_) {
#line 960 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_STRING_LITERAL1:
#line 960 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_STRING_LITERAL2:
#line 9931 "tracker-sparql-expression.c"
		{
			GString* sb;
			GString* _tmp1_;
			gchar* s;
			gchar* _tmp2_;
			const gchar* p;
			const gchar* _tmp3_;
			const gchar* end;
			const gchar* _tmp4_;
			const gchar* _tmp5_;
			gint _tmp6_;
			gint _tmp7_;
			gboolean _tmp50_;
			gboolean _tmp51_;
			GString* _tmp54_;
			const gchar* _tmp55_;
			gchar* _tmp56_;
#line 963 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp1_ = g_string_new ("");
#line 963 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			sb = _tmp1_;
#line 965 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp2_ = tracker_sparql_expression_get_last_string (self, 1);
#line 965 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			s = _tmp2_;
#line 966 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp3_ = s;
#line 966 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			p = _tmp3_;
#line 967 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp4_ = p;
#line 967 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp5_ = s;
#line 967 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp6_ = strlen (_tmp5_);
#line 967 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp7_ = _tmp6_;
#line 967 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			end = _tmp4_ + _tmp7_;
#line 968 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			while (TRUE) {
#line 9973 "tracker-sparql-expression.c"
				const gchar* _tmp8_;
				const gchar* _tmp9_;
				const gchar* q;
				const gchar* _tmp10_;
				const gchar* _tmp11_;
				const gchar* _tmp12_;
#line 968 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp8_ = p;
#line 968 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp9_ = end;
#line 968 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (!(((glong) _tmp8_) < ((glong) _tmp9_))) {
#line 968 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					break;
#line 9988 "tracker-sparql-expression.c"
				}
#line 969 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp10_ = p;
#line 969 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp11_ = strchr (_tmp10_, (gint) '\\');
#line 969 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				q = _tmp11_;
#line 970 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp12_ = q;
#line 970 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_tmp12_ == NULL) {
#line 10000 "tracker-sparql-expression.c"
					GString* _tmp13_;
					const gchar* _tmp14_;
					const gchar* _tmp15_;
					const gchar* _tmp16_;
					const gchar* _tmp17_;
#line 971 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp13_ = sb;
#line 971 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp14_ = p;
#line 971 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp15_ = end;
#line 971 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp16_ = p;
#line 971 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_string_append_len (_tmp13_, _tmp14_, (gssize) ((glong) (_tmp15_ - _tmp16_)));
#line 972 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp17_ = end;
#line 972 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					p = _tmp17_;
#line 10020 "tracker-sparql-expression.c"
				} else {
					GString* _tmp18_;
					const gchar* _tmp19_;
					const gchar* _tmp20_;
					const gchar* _tmp21_;
					const gchar* _tmp22_;
					const gchar* _tmp23_;
					gchar _tmp24_;
					const gchar* _tmp49_;
#line 974 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp18_ = sb;
#line 974 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp19_ = p;
#line 974 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp20_ = q;
#line 974 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp21_ = p;
#line 974 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_string_append_len (_tmp18_, _tmp19_, (gssize) ((glong) (_tmp20_ - _tmp21_)));
#line 975 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp22_ = q;
#line 975 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					p = _tmp22_ + 1;
#line 976 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp23_ = p;
#line 976 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp24_ = ((gchar*) _tmp23_)[0];
#line 976 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					switch (_tmp24_) {
#line 976 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						case '\'':
#line 976 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						case '"':
#line 976 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						case '\\':
#line 10056 "tracker-sparql-expression.c"
						{
							GString* _tmp25_;
							const gchar* _tmp26_;
							gchar _tmp27_;
#line 980 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp25_ = sb;
#line 980 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp26_ = p;
#line 980 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp27_ = ((gchar*) _tmp26_)[0];
#line 980 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							g_string_append_c (_tmp25_, _tmp27_);
#line 981 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							break;
#line 10071 "tracker-sparql-expression.c"
						}
#line 976 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						case 'b':
#line 10075 "tracker-sparql-expression.c"
						{
							GString* _tmp28_;
#line 983 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp28_ = sb;
#line 983 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							g_string_append_c (_tmp28_, '\b');
#line 984 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							break;
#line 10084 "tracker-sparql-expression.c"
						}
#line 976 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						case 'f':
#line 10088 "tracker-sparql-expression.c"
						{
							GString* _tmp29_;
#line 986 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp29_ = sb;
#line 986 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							g_string_append_c (_tmp29_, '\f');
#line 987 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							break;
#line 10097 "tracker-sparql-expression.c"
						}
#line 976 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						case 'n':
#line 10101 "tracker-sparql-expression.c"
						{
							GString* _tmp30_;
#line 989 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp30_ = sb;
#line 989 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							g_string_append_c (_tmp30_, '\n');
#line 990 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							break;
#line 10110 "tracker-sparql-expression.c"
						}
#line 976 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						case 'r':
#line 10114 "tracker-sparql-expression.c"
						{
							GString* _tmp31_;
#line 992 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp31_ = sb;
#line 992 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							g_string_append_c (_tmp31_, '\r');
#line 993 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							break;
#line 10123 "tracker-sparql-expression.c"
						}
#line 976 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						case 't':
#line 10127 "tracker-sparql-expression.c"
						{
							GString* _tmp32_;
#line 995 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp32_ = sb;
#line 995 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							g_string_append_c (_tmp32_, '\t');
#line 996 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							break;
#line 10136 "tracker-sparql-expression.c"
						}
#line 976 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						case 'u':
#line 10140 "tracker-sparql-expression.c"
						{
							gchar* ptr;
							const gchar* _tmp33_;
							gunichar c;
							gchar* _tmp34_;
							gchar _tmp35_;
							gint _tmp36_;
							gchar* _tmp37_;
							gchar _tmp38_;
							gint _tmp39_;
							gchar* _tmp40_;
							gchar _tmp41_;
							gint _tmp42_;
							gchar* _tmp43_;
							gchar _tmp44_;
							gint _tmp45_;
							GString* _tmp46_;
							gunichar _tmp47_;
							const gchar* _tmp48_;
#line 998 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp33_ = p;
#line 998 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							ptr = ((gchar*) _tmp33_) + 1;
#line 999 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp34_ = ptr;
#line 999 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp35_ = _tmp34_[0];
#line 999 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp36_ = g_ascii_xdigit_value (_tmp35_);
#line 999 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp37_ = ptr;
#line 999 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp38_ = _tmp37_[1];
#line 999 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp39_ = g_ascii_xdigit_value (_tmp38_);
#line 999 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp40_ = ptr;
#line 999 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp41_ = _tmp40_[2];
#line 999 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp42_ = g_ascii_xdigit_value (_tmp41_);
#line 999 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp43_ = ptr;
#line 999 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp44_ = _tmp43_[3];
#line 999 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp45_ = g_ascii_xdigit_value (_tmp44_);
#line 999 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							c = (((((((gunichar) _tmp36_) * 16) + _tmp39_) * 16) + _tmp42_) * 16) + _tmp45_;
#line 1000 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp46_ = sb;
#line 1000 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp47_ = c;
#line 1000 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							g_string_append_unichar (_tmp46_, _tmp47_);
#line 1001 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp48_ = p;
#line 1001 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							p = _tmp48_ + 4;
#line 1002 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							break;
#line 10202 "tracker-sparql-expression.c"
						}
						default:
#line 976 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						break;
#line 10207 "tracker-sparql-expression.c"
					}
#line 1004 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp49_ = p;
#line 1004 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					p = _tmp49_ + 1;
#line 10213 "tracker-sparql-expression.c"
				}
			}
#line 1008 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp51_ = tracker_sparql_expression_accept (self, TRACKER_SPARQL_TOKEN_TYPE_DOUBLE_CIRCUMFLEX, &_inner_error_);
#line 1008 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp50_ = _tmp51_;
#line 1008 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1008 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1008 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1008 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_free0 (s);
#line 1008 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_string_free0 (sb);
#line 1008 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return NULL;
#line 10232 "tracker-sparql-expression.c"
				} else {
#line 1008 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_free0 (s);
#line 1008 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_string_free0 (sb);
#line 1008 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1008 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1008 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return NULL;
#line 10244 "tracker-sparql-expression.c"
				}
			}
#line 1008 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_tmp50_) {
#line 10249 "tracker-sparql-expression.c"
				TrackerPropertyType _tmp52_;
				TrackerPropertyType _tmp53_;
#line 1010 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp53_ = tracker_sparql_expression_parse_type_uri (self, &_inner_error_);
#line 1010 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp52_ = _tmp53_;
#line 1010 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1010 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1010 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_propagate_error (error, _inner_error_);
#line 1010 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_g_free0 (s);
#line 1010 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_g_string_free0 (sb);
#line 1010 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return NULL;
#line 10268 "tracker-sparql-expression.c"
					} else {
#line 1010 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_g_free0 (s);
#line 1010 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_g_string_free0 (sb);
#line 1010 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1010 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_clear_error (&_inner_error_);
#line 1010 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return NULL;
#line 10280 "tracker-sparql-expression.c"
					}
				}
#line 1010 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_vala_type = _tmp52_;
#line 10285 "tracker-sparql-expression.c"
			}
#line 1013 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp54_ = sb;
#line 1013 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp55_ = _tmp54_->str;
#line 1013 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp56_ = g_strdup (_tmp55_);
#line 1013 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = _tmp56_;
#line 1013 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (s);
#line 1013 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_string_free0 (sb);
#line 1013 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (type) {
#line 1013 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				*type = _vala_type;
#line 10303 "tracker-sparql-expression.c"
			}
#line 1013 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 10307 "tracker-sparql-expression.c"
		}
#line 960 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_STRING_LITERAL_LONG1:
#line 960 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_STRING_LITERAL_LONG2:
#line 10313 "tracker-sparql-expression.c"
		{
			gchar* _result_;
			gchar* _tmp57_;
			gboolean _tmp58_;
			gboolean _tmp59_;
#line 1016 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp57_ = tracker_sparql_expression_get_last_string (self, 3);
#line 1016 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_result_ = _tmp57_;
#line 1018 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp59_ = tracker_sparql_expression_accept (self, TRACKER_SPARQL_TOKEN_TYPE_DOUBLE_CIRCUMFLEX, &_inner_error_);
#line 1018 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp58_ = _tmp59_;
#line 1018 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1018 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1018 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1018 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_free0 (_result_);
#line 1018 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return NULL;
#line 10337 "tracker-sparql-expression.c"
				} else {
#line 1018 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_free0 (_result_);
#line 1018 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1018 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1018 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return NULL;
#line 10347 "tracker-sparql-expression.c"
				}
			}
#line 1018 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_tmp58_) {
#line 10352 "tracker-sparql-expression.c"
				TrackerPropertyType _tmp60_;
				TrackerPropertyType _tmp61_;
#line 1020 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp61_ = tracker_sparql_expression_parse_type_uri (self, &_inner_error_);
#line 1020 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp60_ = _tmp61_;
#line 1020 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1020 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1020 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_propagate_error (error, _inner_error_);
#line 1020 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_g_free0 (_result_);
#line 1020 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return NULL;
#line 10369 "tracker-sparql-expression.c"
					} else {
#line 1020 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_g_free0 (_result_);
#line 1020 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1020 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_clear_error (&_inner_error_);
#line 1020 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return NULL;
#line 10379 "tracker-sparql-expression.c"
					}
				}
#line 1020 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_vala_type = _tmp60_;
#line 10384 "tracker-sparql-expression.c"
			}
#line 1023 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = _result_;
#line 1023 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (type) {
#line 1023 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				*type = _vala_type;
#line 10392 "tracker-sparql-expression.c"
			}
#line 1023 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 10396 "tracker-sparql-expression.c"
		}
		default:
		{
			GError* _tmp62_;
#line 1025 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp62_ = tracker_sparql_expression_get_error (self, "expected string literal");
#line 1025 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_inner_error_ = _tmp62_;
#line 1025 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1025 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 1025 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return NULL;
#line 10411 "tracker-sparql-expression.c"
			} else {
#line 1025 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1025 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 1025 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return NULL;
#line 10419 "tracker-sparql-expression.c"
			}
		}
	}
#line 956 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (type) {
#line 956 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		*type = _vala_type;
#line 10427 "tracker-sparql-expression.c"
	}
}


static TrackerPropertyType tracker_sparql_expression_translate_uri_expression (TrackerSparqlExpression* self, GString* sql, const gchar* uri, GError** error) {
	TrackerPropertyType result = 0;
	gboolean _tmp0_;
	gboolean _tmp1_;
	GError * _inner_error_ = NULL;
#line 1029 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 1029 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (sql != NULL, 0);
#line 1029 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (uri != NULL, 0);
#line 1030 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp1_ = tracker_sparql_expression_accept (self, TRACKER_SPARQL_TOKEN_TYPE_OPEN_PARENS, &_inner_error_);
#line 1030 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = _tmp1_;
#line 1030 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1030 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1030 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 1030 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 10455 "tracker-sparql-expression.c"
		} else {
#line 1030 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1030 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 1030 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 10463 "tracker-sparql-expression.c"
		}
	}
#line 1030 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (_tmp0_) {
#line 10468 "tracker-sparql-expression.c"
		TrackerPropertyType _result_;
		GString* _tmp2_;
		const gchar* _tmp3_;
		TrackerPropertyType _tmp4_;
#line 1032 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp2_ = sql;
#line 1032 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp3_ = uri;
#line 1032 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp4_ = tracker_sparql_expression_translate_function (self, _tmp2_, _tmp3_, &_inner_error_);
#line 1032 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_result_ = _tmp4_;
#line 1032 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1032 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1032 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 1032 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 10489 "tracker-sparql-expression.c"
			} else {
#line 1032 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1032 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 1032 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 10497 "tracker-sparql-expression.c"
			}
		}
#line 1033 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_CLOSE_PARENS, &_inner_error_);
#line 1033 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1033 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1033 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 1033 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 10510 "tracker-sparql-expression.c"
			} else {
#line 1033 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1033 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 1033 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 10518 "tracker-sparql-expression.c"
			}
		}
#line 1034 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		result = _result_;
#line 1034 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		return result;
#line 10525 "tracker-sparql-expression.c"
	} else {
		GString* _tmp5_;
		TrackerSparqlLiteralBinding* binding;
		TrackerSparqlLiteralBinding* _tmp6_;
		TrackerSparqlLiteralBinding* _tmp7_;
		const gchar* _tmp8_;
		gchar* _tmp9_;
		TrackerSparqlQuery* _tmp10_;
		TrackerSparqlLiteralBinding* _tmp11_;
		TrackerSparqlLiteralBinding* _tmp12_;
#line 1037 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp5_ = sql;
#line 1037 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		g_string_append (_tmp5_, "COALESCE((SELECT ID FROM Resource WHERE Uri = ?), 0)");
#line 1038 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp6_ = tracker_sparql_literal_binding_new ();
#line 1038 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		binding = _tmp6_;
#line 1039 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp7_ = binding;
#line 1039 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp8_ = uri;
#line 1039 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp9_ = g_strdup (_tmp8_);
#line 1039 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_g_free0 (_tmp7_->literal);
#line 1039 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp7_->literal = _tmp9_;
#line 1040 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp10_ = self->priv->query;
#line 1040 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp11_ = binding;
#line 1040 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp12_ = _g_object_ref0 (_tmp11_);
#line 1040 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp10_->bindings = g_list_append (_tmp10_->bindings, _tmp12_);
#line 1041 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		result = TRACKER_PROPERTY_TYPE_RESOURCE;
#line 1041 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_g_object_unref0 (binding);
#line 1041 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		return result;
#line 10568 "tracker-sparql-expression.c"
	}
}


static TrackerPropertyType tracker_sparql_expression_translate_primary_expression (TrackerSparqlExpression* self, GString* sql, GError** error) {
	TrackerPropertyType result = 0;
	TrackerPropertyType type = 0;
	TrackerSparqlTokenType _tmp0_;
	GError * _inner_error_ = NULL;
#line 1045 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 1045 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (sql != NULL, 0);
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = tracker_sparql_expression_current (self);
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	switch (_tmp0_) {
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_OPEN_PARENS:
#line 10588 "tracker-sparql-expression.c"
		{
			TrackerPropertyType _tmp1_;
			GString* _tmp2_;
			TrackerPropertyType _tmp3_;
#line 1050 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp2_ = sql;
#line 1050 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp3_ = tracker_sparql_expression_translate_bracketted_expression (self, _tmp2_, &_inner_error_);
#line 1050 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp1_ = _tmp3_;
#line 1050 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1050 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1050 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1050 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 10607 "tracker-sparql-expression.c"
				} else {
#line 1050 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1050 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1050 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 10615 "tracker-sparql-expression.c"
				}
			}
#line 1050 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = _tmp1_;
#line 1050 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 10622 "tracker-sparql-expression.c"
		}
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_IRI_REF:
#line 10626 "tracker-sparql-expression.c"
		{
			TrackerPropertyType _tmp4_;
			GString* _tmp5_;
			gchar* _tmp6_;
			gchar* _tmp7_;
			TrackerPropertyType _tmp8_;
			TrackerPropertyType _tmp9_;
#line 1052 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1052 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1052 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1052 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1052 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 10644 "tracker-sparql-expression.c"
				} else {
#line 1052 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1052 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1052 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 10652 "tracker-sparql-expression.c"
				}
			}
#line 1053 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp5_ = sql;
#line 1053 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp6_ = tracker_sparql_expression_get_last_string (self, 1);
#line 1053 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp7_ = _tmp6_;
#line 1053 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp8_ = tracker_sparql_expression_translate_uri_expression (self, _tmp5_, _tmp7_, &_inner_error_);
#line 1053 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp9_ = _tmp8_;
#line 1053 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (_tmp7_);
#line 1053 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp4_ = _tmp9_;
#line 1053 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1053 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1053 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1053 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 10677 "tracker-sparql-expression.c"
				} else {
#line 1053 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1053 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1053 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 10685 "tracker-sparql-expression.c"
				}
			}
#line 1053 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = _tmp4_;
#line 1053 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 10692 "tracker-sparql-expression.c"
		}
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_DECIMAL:
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_DOUBLE:
#line 10698 "tracker-sparql-expression.c"
		{
			TrackerSparqlQuery* _tmp10_;
			gboolean _tmp11_;
			gboolean _tmp12_;
#line 1056 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1056 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1056 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1056 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1056 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 10713 "tracker-sparql-expression.c"
				} else {
#line 1056 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1056 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1056 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 10721 "tracker-sparql-expression.c"
				}
			}
#line 1058 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp10_ = self->priv->query;
#line 1058 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp11_ = tracker_sparql_query_get_no_cache (_tmp10_);
#line 1058 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp12_ = _tmp11_;
#line 1058 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_tmp12_) {
#line 10732 "tracker-sparql-expression.c"
				GString* _tmp13_;
				gchar* _tmp14_;
				gchar* _tmp15_;
#line 1059 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp13_ = sql;
#line 1059 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp14_ = tracker_sparql_expression_get_last_string (self, 0);
#line 1059 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp15_ = _tmp14_;
#line 1059 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_string_append (_tmp13_, _tmp15_);
#line 1059 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_free0 (_tmp15_);
#line 10746 "tracker-sparql-expression.c"
			} else {
				GString* _tmp16_;
				TrackerSparqlLiteralBinding* binding;
				TrackerSparqlLiteralBinding* _tmp17_;
				TrackerSparqlLiteralBinding* _tmp18_;
				gchar* _tmp19_;
				TrackerSparqlQuery* _tmp20_;
				TrackerSparqlLiteralBinding* _tmp21_;
				TrackerSparqlLiteralBinding* _tmp22_;
#line 1061 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp16_ = sql;
#line 1061 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_string_append (_tmp16_, "?");
#line 1063 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp17_ = tracker_sparql_literal_binding_new ();
#line 1063 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				binding = _tmp17_;
#line 1064 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp18_ = binding;
#line 1064 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp19_ = tracker_sparql_expression_get_last_string (self, 0);
#line 1064 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_free0 (_tmp18_->literal);
#line 1064 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp18_->literal = _tmp19_;
#line 1065 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp20_ = self->priv->query;
#line 1065 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp21_ = binding;
#line 1065 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp22_ = _g_object_ref0 (_tmp21_);
#line 1065 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp20_->bindings = g_list_append (_tmp20_->bindings, _tmp22_);
#line 1058 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_object_unref0 (binding);
#line 10782 "tracker-sparql-expression.c"
			}
#line 1068 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = TRACKER_PROPERTY_TYPE_DOUBLE;
#line 1068 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 10788 "tracker-sparql-expression.c"
		}
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_TRUE:
#line 10792 "tracker-sparql-expression.c"
		{
			TrackerSparqlQuery* _tmp23_;
			gboolean _tmp24_;
			gboolean _tmp25_;
#line 1070 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1070 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1070 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1070 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1070 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 10807 "tracker-sparql-expression.c"
				} else {
#line 1070 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1070 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1070 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 10815 "tracker-sparql-expression.c"
				}
			}
#line 1072 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp23_ = self->priv->query;
#line 1072 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp24_ = tracker_sparql_query_get_no_cache (_tmp23_);
#line 1072 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp25_ = _tmp24_;
#line 1072 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_tmp25_) {
#line 10826 "tracker-sparql-expression.c"
				GString* _tmp26_;
#line 1073 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp26_ = sql;
#line 1073 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_string_append (_tmp26_, "1");
#line 10832 "tracker-sparql-expression.c"
			} else {
				GString* _tmp27_;
				TrackerSparqlLiteralBinding* binding;
				TrackerSparqlLiteralBinding* _tmp28_;
				TrackerSparqlLiteralBinding* _tmp29_;
				gchar* _tmp30_;
				TrackerSparqlLiteralBinding* _tmp31_;
				TrackerSparqlQuery* _tmp32_;
				TrackerSparqlLiteralBinding* _tmp33_;
				TrackerSparqlLiteralBinding* _tmp34_;
#line 1075 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp27_ = sql;
#line 1075 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_string_append (_tmp27_, "?");
#line 1077 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp28_ = tracker_sparql_literal_binding_new ();
#line 1077 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				binding = _tmp28_;
#line 1078 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp29_ = binding;
#line 1078 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp30_ = g_strdup ("1");
#line 1078 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_free0 (_tmp29_->literal);
#line 1078 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp29_->literal = _tmp30_;
#line 1079 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp31_ = binding;
#line 1079 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				((TrackerSparqlDataBinding*) _tmp31_)->data_type = TRACKER_PROPERTY_TYPE_INTEGER;
#line 1080 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp32_ = self->priv->query;
#line 1080 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp33_ = binding;
#line 1080 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp34_ = _g_object_ref0 (_tmp33_);
#line 1080 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp32_->bindings = g_list_append (_tmp32_->bindings, _tmp34_);
#line 1072 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_object_unref0 (binding);
#line 10873 "tracker-sparql-expression.c"
			}
#line 1083 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = TRACKER_PROPERTY_TYPE_BOOLEAN;
#line 1083 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 10879 "tracker-sparql-expression.c"
		}
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_FALSE:
#line 10883 "tracker-sparql-expression.c"
		{
			TrackerSparqlQuery* _tmp35_;
			gboolean _tmp36_;
			gboolean _tmp37_;
#line 1085 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1085 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1085 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1085 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1085 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 10898 "tracker-sparql-expression.c"
				} else {
#line 1085 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1085 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1085 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 10906 "tracker-sparql-expression.c"
				}
			}
#line 1087 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp35_ = self->priv->query;
#line 1087 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp36_ = tracker_sparql_query_get_no_cache (_tmp35_);
#line 1087 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp37_ = _tmp36_;
#line 1087 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_tmp37_) {
#line 10917 "tracker-sparql-expression.c"
				GString* _tmp38_;
#line 1088 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp38_ = sql;
#line 1088 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_string_append (_tmp38_, "0");
#line 10923 "tracker-sparql-expression.c"
			} else {
				GString* _tmp39_;
				TrackerSparqlLiteralBinding* binding;
				TrackerSparqlLiteralBinding* _tmp40_;
				TrackerSparqlLiteralBinding* _tmp41_;
				gchar* _tmp42_;
				TrackerSparqlLiteralBinding* _tmp43_;
				TrackerSparqlQuery* _tmp44_;
				TrackerSparqlLiteralBinding* _tmp45_;
				TrackerSparqlLiteralBinding* _tmp46_;
#line 1090 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp39_ = sql;
#line 1090 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_string_append (_tmp39_, "?");
#line 1092 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp40_ = tracker_sparql_literal_binding_new ();
#line 1092 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				binding = _tmp40_;
#line 1093 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp41_ = binding;
#line 1093 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp42_ = g_strdup ("0");
#line 1093 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_free0 (_tmp41_->literal);
#line 1093 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp41_->literal = _tmp42_;
#line 1094 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp43_ = binding;
#line 1094 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				((TrackerSparqlDataBinding*) _tmp43_)->data_type = TRACKER_PROPERTY_TYPE_INTEGER;
#line 1095 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp44_ = self->priv->query;
#line 1095 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp45_ = binding;
#line 1095 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp46_ = _g_object_ref0 (_tmp45_);
#line 1095 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp44_->bindings = g_list_append (_tmp44_->bindings, _tmp46_);
#line 1087 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_object_unref0 (binding);
#line 10964 "tracker-sparql-expression.c"
			}
#line 1098 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = TRACKER_PROPERTY_TYPE_BOOLEAN;
#line 1098 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 10970 "tracker-sparql-expression.c"
		}
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_STRING_LITERAL1:
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_STRING_LITERAL2:
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_STRING_LITERAL_LONG1:
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_STRING_LITERAL_LONG2:
#line 10980 "tracker-sparql-expression.c"
		{
			gchar* literal;
			TrackerPropertyType _tmp47_ = 0;
			gchar* _tmp48_;
			TrackerPropertyType _tmp49_;
#line 1103 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp48_ = tracker_sparql_expression_parse_string_literal (self, &_tmp47_, &_inner_error_);
#line 1103 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			type = _tmp47_;
#line 1103 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			literal = _tmp48_;
#line 1103 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1103 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1103 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1103 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11000 "tracker-sparql-expression.c"
				} else {
#line 1103 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1103 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1103 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11008 "tracker-sparql-expression.c"
				}
			}
#line 1105 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp49_ = type;
#line 1105 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			switch (_tmp49_) {
#line 1105 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				case TRACKER_PROPERTY_TYPE_INTEGER:
#line 1105 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				case TRACKER_PROPERTY_TYPE_BOOLEAN:
#line 1105 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				case TRACKER_PROPERTY_TYPE_DOUBLE:
#line 1105 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				case TRACKER_PROPERTY_TYPE_DATE:
#line 1105 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				case TRACKER_PROPERTY_TYPE_DATETIME:
#line 11025 "tracker-sparql-expression.c"
				{
					TrackerSparqlQuery* _tmp50_;
					gboolean _tmp51_;
					gboolean _tmp52_;
#line 1111 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp50_ = self->priv->query;
#line 1111 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp51_ = tracker_sparql_query_get_no_cache (_tmp50_);
#line 1111 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp52_ = _tmp51_;
#line 1111 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					if (_tmp52_) {
#line 11038 "tracker-sparql-expression.c"
						GString* _tmp53_;
						const gchar* _tmp54_;
						gchar* _tmp55_;
						gchar* _tmp56_;
#line 1112 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp53_ = sql;
#line 1112 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp54_ = literal;
#line 1112 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp55_ = tracker_sparql_expression_escape_sql_string_literal (self, _tmp54_);
#line 1112 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp56_ = _tmp55_;
#line 1112 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_string_append (_tmp53_, _tmp56_);
#line 1112 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_g_free0 (_tmp56_);
#line 11055 "tracker-sparql-expression.c"
					} else {
						TrackerSparqlLiteralBinding* binding;
						TrackerSparqlLiteralBinding* _tmp57_;
						TrackerSparqlLiteralBinding* _tmp58_;
						const gchar* _tmp59_;
						gchar* _tmp60_;
						TrackerSparqlLiteralBinding* _tmp61_;
						TrackerPropertyType _tmp62_;
						TrackerSparqlQuery* _tmp63_;
						TrackerSparqlLiteralBinding* _tmp64_;
						TrackerSparqlLiteralBinding* _tmp65_;
						GString* _tmp66_;
#line 1114 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp57_ = tracker_sparql_literal_binding_new ();
#line 1114 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						binding = _tmp57_;
#line 1115 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp58_ = binding;
#line 1115 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp59_ = literal;
#line 1115 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp60_ = g_strdup (_tmp59_);
#line 1115 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_g_free0 (_tmp58_->literal);
#line 1115 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp58_->literal = _tmp60_;
#line 1116 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp61_ = binding;
#line 1116 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp62_ = type;
#line 1116 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						((TrackerSparqlDataBinding*) _tmp61_)->data_type = _tmp62_;
#line 1117 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp63_ = self->priv->query;
#line 1117 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp64_ = binding;
#line 1117 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp65_ = _g_object_ref0 (_tmp64_);
#line 1117 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp63_->bindings = g_list_append (_tmp63_->bindings, _tmp65_);
#line 1118 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp66_ = sql;
#line 1118 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_string_append (_tmp66_, "?");
#line 1111 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_g_object_unref0 (binding);
#line 11102 "tracker-sparql-expression.c"
					}
#line 1120 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					result = type;
#line 1120 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_free0 (literal);
#line 1120 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return result;
#line 11110 "tracker-sparql-expression.c"
				}
				default:
				{
					TrackerSparqlQuery* _tmp67_;
					gboolean _tmp68_;
					gboolean _tmp69_;
					GString* _tmp82_;
#line 1122 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp67_ = self->priv->query;
#line 1122 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp68_ = tracker_sparql_query_get_no_cache (_tmp67_);
#line 1122 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp69_ = _tmp68_;
#line 1122 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					if (_tmp69_) {
#line 11126 "tracker-sparql-expression.c"
						GString* _tmp70_;
						const gchar* _tmp71_;
						gchar* _tmp72_;
						gchar* _tmp73_;
#line 1123 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp70_ = sql;
#line 1123 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp71_ = literal;
#line 1123 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp72_ = tracker_sparql_expression_escape_sql_string_literal (self, _tmp71_);
#line 1123 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp73_ = _tmp72_;
#line 1123 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_string_append (_tmp70_, _tmp73_);
#line 1123 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_g_free0 (_tmp73_);
#line 11143 "tracker-sparql-expression.c"
					} else {
						TrackerSparqlLiteralBinding* binding;
						TrackerSparqlLiteralBinding* _tmp74_;
						TrackerSparqlLiteralBinding* _tmp75_;
						const gchar* _tmp76_;
						gchar* _tmp77_;
						TrackerSparqlQuery* _tmp78_;
						TrackerSparqlLiteralBinding* _tmp79_;
						TrackerSparqlLiteralBinding* _tmp80_;
						GString* _tmp81_;
#line 1125 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp74_ = tracker_sparql_literal_binding_new ();
#line 1125 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						binding = _tmp74_;
#line 1126 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp75_ = binding;
#line 1126 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp76_ = literal;
#line 1126 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp77_ = g_strdup (_tmp76_);
#line 1126 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_g_free0 (_tmp75_->literal);
#line 1126 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp75_->literal = _tmp77_;
#line 1127 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp78_ = self->priv->query;
#line 1127 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp79_ = binding;
#line 1127 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp80_ = _g_object_ref0 (_tmp79_);
#line 1127 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp78_->bindings = g_list_append (_tmp78_->bindings, _tmp80_);
#line 1128 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp81_ = sql;
#line 1128 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_string_append (_tmp81_, "?");
#line 1122 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_g_object_unref0 (binding);
#line 11182 "tracker-sparql-expression.c"
					}
#line 1130 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp82_ = sql;
#line 1130 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					tracker_sparql_expression_append_collate (self, _tmp82_);
#line 1131 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					result = TRACKER_PROPERTY_TYPE_STRING;
#line 1131 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_free0 (literal);
#line 1131 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return result;
#line 11194 "tracker-sparql-expression.c"
				}
			}
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (literal);
#line 11199 "tracker-sparql-expression.c"
		}
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_INTEGER:
#line 11203 "tracker-sparql-expression.c"
		{
			TrackerSparqlQuery* _tmp83_;
			gboolean _tmp84_;
			gboolean _tmp85_;
#line 1134 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1134 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1134 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1134 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1134 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11218 "tracker-sparql-expression.c"
				} else {
#line 1134 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1134 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1134 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11226 "tracker-sparql-expression.c"
				}
			}
#line 1136 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp83_ = self->priv->query;
#line 1136 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp84_ = tracker_sparql_query_get_no_cache (_tmp83_);
#line 1136 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp85_ = _tmp84_;
#line 1136 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_tmp85_) {
#line 11237 "tracker-sparql-expression.c"
				GString* _tmp86_;
				gchar* _tmp87_;
				gchar* _tmp88_;
#line 1137 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp86_ = sql;
#line 1137 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp87_ = tracker_sparql_expression_get_last_string (self, 0);
#line 1137 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp88_ = _tmp87_;
#line 1137 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_string_append (_tmp86_, _tmp88_);
#line 1137 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_free0 (_tmp88_);
#line 11251 "tracker-sparql-expression.c"
			} else {
				GString* _tmp89_;
				TrackerSparqlLiteralBinding* binding;
				TrackerSparqlLiteralBinding* _tmp90_;
				TrackerSparqlLiteralBinding* _tmp91_;
				gchar* _tmp92_;
				TrackerSparqlLiteralBinding* _tmp93_;
				TrackerSparqlQuery* _tmp94_;
				TrackerSparqlLiteralBinding* _tmp95_;
				TrackerSparqlLiteralBinding* _tmp96_;
#line 1139 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp89_ = sql;
#line 1139 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_string_append (_tmp89_, "?");
#line 1141 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp90_ = tracker_sparql_literal_binding_new ();
#line 1141 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				binding = _tmp90_;
#line 1142 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp91_ = binding;
#line 1142 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp92_ = tracker_sparql_expression_get_last_string (self, 0);
#line 1142 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_free0 (_tmp91_->literal);
#line 1142 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp91_->literal = _tmp92_;
#line 1143 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp93_ = binding;
#line 1143 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				((TrackerSparqlDataBinding*) _tmp93_)->data_type = TRACKER_PROPERTY_TYPE_INTEGER;
#line 1144 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp94_ = self->priv->query;
#line 1144 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp95_ = binding;
#line 1144 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp96_ = _g_object_ref0 (_tmp95_);
#line 1144 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp94_->bindings = g_list_append (_tmp94_->bindings, _tmp96_);
#line 1136 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_object_unref0 (binding);
#line 11292 "tracker-sparql-expression.c"
			}
#line 1147 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = TRACKER_PROPERTY_TYPE_INTEGER;
#line 1147 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 11298 "tracker-sparql-expression.c"
		}
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_VAR:
#line 11302 "tracker-sparql-expression.c"
		{
			gchar* variable_name;
			gchar* _tmp97_;
			gchar* _tmp98_;
			gchar* _tmp99_;
			gchar* _tmp100_;
			TrackerSparqlVariable* variable;
			TrackerSparqlContext* _tmp101_;
			TrackerSparqlContext* _tmp102_;
			const gchar* _tmp103_;
			TrackerSparqlVariable* _tmp104_;
			TrackerSparqlVariable* _tmp105_;
			gboolean _tmp106_ = FALSE;
			TrackerSparqlContext* _tmp107_;
			TrackerSparqlContext* _tmp108_;
			gboolean _tmp109_;
			TrackerSparqlVariable* _tmp121_;
			TrackerSparqlVariableBinding* _tmp122_;
#line 1149 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1149 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1149 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1149 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1149 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11331 "tracker-sparql-expression.c"
				} else {
#line 1149 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1149 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1149 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11339 "tracker-sparql-expression.c"
				}
			}
#line 1150 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp97_ = tracker_sparql_expression_get_last_string (self, 0);
#line 1150 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp98_ = _tmp97_;
#line 1150 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp99_ = string_substring (_tmp98_, (glong) 1, (glong) -1);
#line 1150 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp100_ = _tmp99_;
#line 1150 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (_tmp98_);
#line 1150 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			variable_name = _tmp100_;
#line 1151 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp101_ = tracker_sparql_expression_get_context (self);
#line 1151 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp102_ = _tmp101_;
#line 1151 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp103_ = variable_name;
#line 1151 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp104_ = tracker_sparql_context_get_variable (_tmp102_, _tmp103_);
#line 1151 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp105_ = _g_object_ref0 (_tmp104_);
#line 1151 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			variable = _tmp105_;
#line 1153 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp107_ = tracker_sparql_expression_get_context (self);
#line 1153 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp108_ = _tmp107_;
#line 1153 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp109_ = _tmp108_->in_bind;
#line 1153 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_tmp109_) {
#line 11374 "tracker-sparql-expression.c"
				TrackerSparqlVariable* _tmp110_;
				TrackerSparqlVariableBinding* _tmp111_;
#line 1153 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp110_ = variable;
#line 1153 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp111_ = _tmp110_->binding;
#line 1153 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp106_ = _tmp111_ != NULL;
#line 11383 "tracker-sparql-expression.c"
			} else {
#line 1153 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp106_ = FALSE;
#line 11387 "tracker-sparql-expression.c"
			}
#line 1153 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_tmp106_) {
#line 11391 "tracker-sparql-expression.c"
				GString* _tmp112_;
				TrackerSparqlVariable* _tmp113_;
				TrackerSparqlVariableBinding* _tmp114_;
				const gchar* _tmp115_;
				const gchar* _tmp116_;
#line 1154 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp112_ = sql;
#line 1154 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp113_ = variable;
#line 1154 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp114_ = _tmp113_->binding;
#line 1154 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp115_ = tracker_sparql_data_binding_get_sql_expression ((TrackerSparqlDataBinding*) _tmp114_);
#line 1154 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp116_ = _tmp115_;
#line 1154 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_string_append (_tmp112_, _tmp116_);
#line 11409 "tracker-sparql-expression.c"
			} else {
				GString* _tmp117_;
				TrackerSparqlVariable* _tmp118_;
				const gchar* _tmp119_;
				const gchar* _tmp120_;
#line 1156 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp117_ = sql;
#line 1156 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp118_ = variable;
#line 1156 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp119_ = tracker_sparql_variable_get_sql_expression (_tmp118_);
#line 1156 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp120_ = _tmp119_;
#line 1156 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_string_append (_tmp117_, _tmp120_);
#line 11425 "tracker-sparql-expression.c"
			}
#line 1159 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp121_ = variable;
#line 1159 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp122_ = _tmp121_->binding;
#line 1159 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_tmp122_ == NULL) {
#line 1160 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				result = TRACKER_PROPERTY_TYPE_UNKNOWN;
#line 1160 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_object_unref0 (variable);
#line 1160 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_free0 (variable_name);
#line 1160 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return result;
#line 11441 "tracker-sparql-expression.c"
			} else {
				TrackerSparqlVariable* _tmp123_;
				TrackerSparqlVariableBinding* _tmp124_;
				TrackerPropertyType _tmp125_;
				TrackerSparqlVariable* _tmp127_;
				TrackerSparqlVariableBinding* _tmp128_;
				TrackerPropertyType _tmp129_;
#line 1162 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp123_ = variable;
#line 1162 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp124_ = _tmp123_->binding;
#line 1162 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp125_ = ((TrackerSparqlDataBinding*) _tmp124_)->data_type;
#line 1162 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_tmp125_ == TRACKER_PROPERTY_TYPE_STRING) {
#line 11457 "tracker-sparql-expression.c"
					GString* _tmp126_;
#line 1163 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp126_ = sql;
#line 1163 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					tracker_sparql_expression_append_collate (self, _tmp126_);
#line 11463 "tracker-sparql-expression.c"
				}
#line 1165 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp127_ = variable;
#line 1165 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp128_ = _tmp127_->binding;
#line 1165 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp129_ = ((TrackerSparqlDataBinding*) _tmp128_)->data_type;
#line 1165 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				result = _tmp129_;
#line 1165 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_object_unref0 (variable);
#line 1165 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_free0 (variable_name);
#line 1165 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return result;
#line 11479 "tracker-sparql-expression.c"
			}
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_object_unref0 (variable);
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (variable_name);
#line 11485 "tracker-sparql-expression.c"
		}
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_STR:
#line 11489 "tracker-sparql-expression.c"
		{
			GString* _tmp130_;
#line 1168 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp130_ = sql;
#line 1168 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_translate_str (self, _tmp130_, &_inner_error_);
#line 1168 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1168 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1168 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1168 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11504 "tracker-sparql-expression.c"
				} else {
#line 1168 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1168 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1168 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11512 "tracker-sparql-expression.c"
				}
			}
#line 1169 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = TRACKER_PROPERTY_TYPE_STRING;
#line 1169 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 11519 "tracker-sparql-expression.c"
		}
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_LANG:
#line 11523 "tracker-sparql-expression.c"
		{
			GString* _tmp131_;
#line 1171 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1171 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1171 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1171 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1171 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11536 "tracker-sparql-expression.c"
				} else {
#line 1171 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1171 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1171 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11544 "tracker-sparql-expression.c"
				}
			}
#line 1172 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp131_ = sql;
#line 1172 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp131_, "''");
#line 1173 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = TRACKER_PROPERTY_TYPE_STRING;
#line 1173 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 11555 "tracker-sparql-expression.c"
		}
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_LANGMATCHES:
#line 11559 "tracker-sparql-expression.c"
		{
			GString* _tmp132_;
#line 1175 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1175 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1175 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1175 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1175 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11572 "tracker-sparql-expression.c"
				} else {
#line 1175 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1175 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1175 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11580 "tracker-sparql-expression.c"
				}
			}
#line 1176 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp132_ = sql;
#line 1176 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp132_, "0");
#line 1177 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = TRACKER_PROPERTY_TYPE_BOOLEAN;
#line 1177 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 11591 "tracker-sparql-expression.c"
		}
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_DATATYPE:
#line 11595 "tracker-sparql-expression.c"
		{
			GString* _tmp133_;
#line 1179 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp133_ = sql;
#line 1179 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_translate_datatype (self, _tmp133_, &_inner_error_);
#line 1179 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1179 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1179 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1179 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11610 "tracker-sparql-expression.c"
				} else {
#line 1179 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1179 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1179 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11618 "tracker-sparql-expression.c"
				}
			}
#line 1180 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = TRACKER_PROPERTY_TYPE_RESOURCE;
#line 1180 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 11625 "tracker-sparql-expression.c"
		}
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_BOUND:
#line 11629 "tracker-sparql-expression.c"
		{
			GString* _tmp134_;
#line 1182 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp134_ = sql;
#line 1182 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_translate_bound_call (self, _tmp134_, &_inner_error_);
#line 1182 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1182 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1182 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1182 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11644 "tracker-sparql-expression.c"
				} else {
#line 1182 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1182 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1182 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11652 "tracker-sparql-expression.c"
				}
			}
#line 1183 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = TRACKER_PROPERTY_TYPE_BOOLEAN;
#line 1183 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 11659 "tracker-sparql-expression.c"
		}
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_COALESCE:
#line 11663 "tracker-sparql-expression.c"
		{
			TrackerPropertyType _result_;
			GString* _tmp135_;
			TrackerPropertyType _tmp136_;
#line 1185 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1185 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1185 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1185 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1185 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11678 "tracker-sparql-expression.c"
				} else {
#line 1185 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1185 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1185 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11686 "tracker-sparql-expression.c"
				}
			}
#line 1186 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_OPEN_PARENS, &_inner_error_);
#line 1186 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1186 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1186 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1186 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11699 "tracker-sparql-expression.c"
				} else {
#line 1186 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1186 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1186 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11707 "tracker-sparql-expression.c"
				}
			}
#line 1187 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp135_ = sql;
#line 1187 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp136_ = tracker_sparql_expression_translate_function (self, _tmp135_, TRACKER_SPARQL_EXPRESSION_TRACKER_NS "coalesce", &_inner_error_);
#line 1187 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_result_ = _tmp136_;
#line 1187 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1187 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1187 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1187 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11724 "tracker-sparql-expression.c"
				} else {
#line 1187 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1187 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1187 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11732 "tracker-sparql-expression.c"
				}
			}
#line 1188 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_CLOSE_PARENS, &_inner_error_);
#line 1188 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1188 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1188 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1188 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11745 "tracker-sparql-expression.c"
				} else {
#line 1188 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1188 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1188 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11753 "tracker-sparql-expression.c"
				}
			}
#line 1189 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = _result_;
#line 1189 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 11760 "tracker-sparql-expression.c"
		}
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_CONCAT:
#line 11764 "tracker-sparql-expression.c"
		{
			TrackerPropertyType _result_;
			GString* _tmp137_;
			TrackerPropertyType _tmp138_;
#line 1191 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1191 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1191 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1191 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1191 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11779 "tracker-sparql-expression.c"
				} else {
#line 1191 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1191 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1191 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11787 "tracker-sparql-expression.c"
				}
			}
#line 1192 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_OPEN_PARENS, &_inner_error_);
#line 1192 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1192 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1192 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1192 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11800 "tracker-sparql-expression.c"
				} else {
#line 1192 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1192 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1192 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11808 "tracker-sparql-expression.c"
				}
			}
#line 1193 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp137_ = sql;
#line 1193 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp138_ = tracker_sparql_expression_translate_function (self, _tmp137_, TRACKER_SPARQL_EXPRESSION_FN_NS "concat", &_inner_error_);
#line 1193 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_result_ = _tmp138_;
#line 1193 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1193 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1193 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1193 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11825 "tracker-sparql-expression.c"
				} else {
#line 1193 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1193 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1193 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11833 "tracker-sparql-expression.c"
				}
			}
#line 1194 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_CLOSE_PARENS, &_inner_error_);
#line 1194 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1194 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1194 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1194 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11846 "tracker-sparql-expression.c"
				} else {
#line 1194 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1194 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1194 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11854 "tracker-sparql-expression.c"
				}
			}
#line 1195 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = _result_;
#line 1195 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 11861 "tracker-sparql-expression.c"
		}
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_CONTAINS:
#line 11865 "tracker-sparql-expression.c"
		{
			TrackerPropertyType _result_;
			GString* _tmp139_;
			TrackerPropertyType _tmp140_;
#line 1197 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1197 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1197 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1197 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1197 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11880 "tracker-sparql-expression.c"
				} else {
#line 1197 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1197 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1197 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11888 "tracker-sparql-expression.c"
				}
			}
#line 1198 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_OPEN_PARENS, &_inner_error_);
#line 1198 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1198 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1198 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1198 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11901 "tracker-sparql-expression.c"
				} else {
#line 1198 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1198 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1198 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11909 "tracker-sparql-expression.c"
				}
			}
#line 1199 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp139_ = sql;
#line 1199 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp140_ = tracker_sparql_expression_translate_function (self, _tmp139_, TRACKER_SPARQL_EXPRESSION_FN_NS "contains", &_inner_error_);
#line 1199 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_result_ = _tmp140_;
#line 1199 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1199 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1199 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1199 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11926 "tracker-sparql-expression.c"
				} else {
#line 1199 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1199 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1199 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11934 "tracker-sparql-expression.c"
				}
			}
#line 1200 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_CLOSE_PARENS, &_inner_error_);
#line 1200 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1200 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1200 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1200 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11947 "tracker-sparql-expression.c"
				} else {
#line 1200 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1200 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1200 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11955 "tracker-sparql-expression.c"
				}
			}
#line 1201 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = _result_;
#line 1201 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 11962 "tracker-sparql-expression.c"
		}
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_ENCODE_FOR_URI:
#line 11966 "tracker-sparql-expression.c"
		{
			GString* _tmp141_;
			GString* _tmp142_;
			GString* _tmp143_;
#line 1203 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1203 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1203 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1203 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1203 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11981 "tracker-sparql-expression.c"
				} else {
#line 1203 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1203 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1203 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11989 "tracker-sparql-expression.c"
				}
			}
#line 1204 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_OPEN_PARENS, &_inner_error_);
#line 1204 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1204 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1204 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1204 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12002 "tracker-sparql-expression.c"
				} else {
#line 1204 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1204 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1204 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12010 "tracker-sparql-expression.c"
				}
			}
#line 1205 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp141_ = sql;
#line 1205 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp141_, "SparqlEncodeForUri (");
#line 1206 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp142_ = sql;
#line 1206 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_translate_expression_as_string (self, _tmp142_, &_inner_error_);
#line 1206 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1206 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1206 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1206 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12029 "tracker-sparql-expression.c"
				} else {
#line 1206 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1206 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1206 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12037 "tracker-sparql-expression.c"
				}
			}
#line 1207 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp143_ = sql;
#line 1207 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp143_, ")");
#line 1208 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_CLOSE_PARENS, &_inner_error_);
#line 1208 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1208 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1208 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1208 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12054 "tracker-sparql-expression.c"
				} else {
#line 1208 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1208 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1208 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12062 "tracker-sparql-expression.c"
				}
			}
#line 1209 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = TRACKER_PROPERTY_TYPE_STRING;
#line 1209 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 12069 "tracker-sparql-expression.c"
		}
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_IF:
#line 12073 "tracker-sparql-expression.c"
		{
			TrackerPropertyType _tmp144_;
			GString* _tmp145_;
			TrackerPropertyType _tmp146_;
#line 1211 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp145_ = sql;
#line 1211 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp146_ = tracker_sparql_expression_translate_if_call (self, _tmp145_, &_inner_error_);
#line 1211 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp144_ = _tmp146_;
#line 1211 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1211 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1211 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1211 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12092 "tracker-sparql-expression.c"
				} else {
#line 1211 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1211 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1211 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12100 "tracker-sparql-expression.c"
				}
			}
#line 1211 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = _tmp144_;
#line 1211 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 12107 "tracker-sparql-expression.c"
		}
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_SAMETERM:
#line 12111 "tracker-sparql-expression.c"
		{
			GString* _tmp147_;
			GString* _tmp148_;
			GString* _tmp149_;
			GString* _tmp150_;
			GString* _tmp151_;
#line 1213 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1213 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1213 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1213 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1213 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12128 "tracker-sparql-expression.c"
				} else {
#line 1213 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1213 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1213 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12136 "tracker-sparql-expression.c"
				}
			}
#line 1214 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_OPEN_PARENS, &_inner_error_);
#line 1214 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1214 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1214 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1214 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12149 "tracker-sparql-expression.c"
				} else {
#line 1214 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1214 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1214 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12157 "tracker-sparql-expression.c"
				}
			}
#line 1215 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp147_ = sql;
#line 1215 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp147_, "(");
#line 1216 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp148_ = sql;
#line 1216 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_translate_expression (self, _tmp148_, &_inner_error_);
#line 1216 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1216 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1216 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1216 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12176 "tracker-sparql-expression.c"
				} else {
#line 1216 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1216 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1216 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12184 "tracker-sparql-expression.c"
				}
			}
#line 1217 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp149_ = sql;
#line 1217 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp149_, " = ");
#line 1218 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_COMMA, &_inner_error_);
#line 1218 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1218 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1218 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1218 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12201 "tracker-sparql-expression.c"
				} else {
#line 1218 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1218 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1218 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12209 "tracker-sparql-expression.c"
				}
			}
#line 1219 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp150_ = sql;
#line 1219 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_translate_expression (self, _tmp150_, &_inner_error_);
#line 1219 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1219 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1219 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1219 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12224 "tracker-sparql-expression.c"
				} else {
#line 1219 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1219 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1219 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12232 "tracker-sparql-expression.c"
				}
			}
#line 1220 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp151_ = sql;
#line 1220 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp151_, ")");
#line 1221 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_CLOSE_PARENS, &_inner_error_);
#line 1221 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1221 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1221 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1221 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12249 "tracker-sparql-expression.c"
				} else {
#line 1221 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1221 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1221 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12257 "tracker-sparql-expression.c"
				}
			}
#line 1222 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = TRACKER_PROPERTY_TYPE_BOOLEAN;
#line 1222 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 12264 "tracker-sparql-expression.c"
		}
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_ISIRI:
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_ISURI:
#line 12270 "tracker-sparql-expression.c"
		{
			GString* _tmp152_;
#line 1225 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp152_ = sql;
#line 1225 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_translate_isuri (self, _tmp152_, &_inner_error_);
#line 1225 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1225 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1225 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1225 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12285 "tracker-sparql-expression.c"
				} else {
#line 1225 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1225 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1225 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12293 "tracker-sparql-expression.c"
				}
			}
#line 1226 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = TRACKER_PROPERTY_TYPE_BOOLEAN;
#line 1226 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 12300 "tracker-sparql-expression.c"
		}
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_ISBLANK:
#line 12304 "tracker-sparql-expression.c"
		{
			GString* _tmp153_;
#line 1228 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1228 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1228 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1228 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1228 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12317 "tracker-sparql-expression.c"
				} else {
#line 1228 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1228 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1228 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12325 "tracker-sparql-expression.c"
				}
			}
#line 1229 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_OPEN_PARENS, &_inner_error_);
#line 1229 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1229 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1229 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1229 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12338 "tracker-sparql-expression.c"
				} else {
#line 1229 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1229 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1229 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12346 "tracker-sparql-expression.c"
				}
			}
#line 1230 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1230 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1230 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1230 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1230 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12359 "tracker-sparql-expression.c"
				} else {
#line 1230 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1230 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1230 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12367 "tracker-sparql-expression.c"
				}
			}
#line 1232 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp153_ = sql;
#line 1232 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp153_, "0");
#line 1233 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_CLOSE_PARENS, &_inner_error_);
#line 1233 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1233 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1233 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1233 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12384 "tracker-sparql-expression.c"
				} else {
#line 1233 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1233 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1233 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12392 "tracker-sparql-expression.c"
				}
			}
#line 1234 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = TRACKER_PROPERTY_TYPE_BOOLEAN;
#line 1234 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 12399 "tracker-sparql-expression.c"
		}
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_ISLITERAL:
#line 12403 "tracker-sparql-expression.c"
		{
#line 1236 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1236 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1236 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1236 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1236 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12415 "tracker-sparql-expression.c"
				} else {
#line 1236 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1236 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1236 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12423 "tracker-sparql-expression.c"
				}
			}
#line 1237 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = TRACKER_PROPERTY_TYPE_BOOLEAN;
#line 1237 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 12430 "tracker-sparql-expression.c"
		}
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_LCASE:
#line 12434 "tracker-sparql-expression.c"
		{
			TrackerPropertyType _result_;
			GString* _tmp154_;
			TrackerPropertyType _tmp155_;
#line 1239 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1239 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1239 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1239 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1239 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12449 "tracker-sparql-expression.c"
				} else {
#line 1239 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1239 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1239 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12457 "tracker-sparql-expression.c"
				}
			}
#line 1240 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_OPEN_PARENS, &_inner_error_);
#line 1240 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1240 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1240 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1240 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12470 "tracker-sparql-expression.c"
				} else {
#line 1240 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1240 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1240 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12478 "tracker-sparql-expression.c"
				}
			}
#line 1241 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp154_ = sql;
#line 1241 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp155_ = tracker_sparql_expression_translate_function (self, _tmp154_, TRACKER_SPARQL_EXPRESSION_FN_NS "lower-case", &_inner_error_);
#line 1241 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_result_ = _tmp155_;
#line 1241 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1241 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1241 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1241 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12495 "tracker-sparql-expression.c"
				} else {
#line 1241 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1241 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1241 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12503 "tracker-sparql-expression.c"
				}
			}
#line 1242 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_CLOSE_PARENS, &_inner_error_);
#line 1242 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1242 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1242 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1242 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12516 "tracker-sparql-expression.c"
				} else {
#line 1242 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1242 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1242 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12524 "tracker-sparql-expression.c"
				}
			}
#line 1243 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = _result_;
#line 1243 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 12531 "tracker-sparql-expression.c"
		}
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_UCASE:
#line 12535 "tracker-sparql-expression.c"
		{
			TrackerPropertyType _result_;
			GString* _tmp156_;
			TrackerPropertyType _tmp157_;
#line 1245 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1245 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1245 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1245 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1245 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12550 "tracker-sparql-expression.c"
				} else {
#line 1245 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1245 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1245 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12558 "tracker-sparql-expression.c"
				}
			}
#line 1246 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_OPEN_PARENS, &_inner_error_);
#line 1246 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1246 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1246 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1246 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12571 "tracker-sparql-expression.c"
				} else {
#line 1246 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1246 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1246 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12579 "tracker-sparql-expression.c"
				}
			}
#line 1247 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp156_ = sql;
#line 1247 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp157_ = tracker_sparql_expression_translate_function (self, _tmp156_, TRACKER_SPARQL_EXPRESSION_FN_NS "upper-case", &_inner_error_);
#line 1247 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_result_ = _tmp157_;
#line 1247 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1247 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1247 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1247 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12596 "tracker-sparql-expression.c"
				} else {
#line 1247 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1247 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1247 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12604 "tracker-sparql-expression.c"
				}
			}
#line 1248 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_CLOSE_PARENS, &_inner_error_);
#line 1248 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1248 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1248 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1248 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12617 "tracker-sparql-expression.c"
				} else {
#line 1248 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1248 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1248 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12625 "tracker-sparql-expression.c"
				}
			}
#line 1249 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = _result_;
#line 1249 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 12632 "tracker-sparql-expression.c"
		}
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_STRLEN:
#line 12636 "tracker-sparql-expression.c"
		{
			GString* _tmp158_;
			TrackerPropertyType _tmp159_;
			GString* _tmp160_;
			TrackerPropertyType _tmp161_;
			GString* _tmp162_;
#line 1251 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1251 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1251 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1251 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1251 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12653 "tracker-sparql-expression.c"
				} else {
#line 1251 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1251 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1251 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12661 "tracker-sparql-expression.c"
				}
			}
#line 1252 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp158_ = sql;
#line 1252 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp158_, "LENGTH(");
#line 1253 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp160_ = sql;
#line 1253 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp161_ = tracker_sparql_expression_translate_aggregate_expression (self, _tmp160_, &_inner_error_);
#line 1253 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp159_ = _tmp161_;
#line 1253 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1253 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1253 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1253 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12682 "tracker-sparql-expression.c"
				} else {
#line 1253 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1253 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1253 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12690 "tracker-sparql-expression.c"
				}
			}
#line 1253 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			type = _tmp159_;
#line 1254 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp162_ = sql;
#line 1254 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp162_, ")");
#line 1255 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = TRACKER_PROPERTY_TYPE_INTEGER;
#line 1255 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 12703 "tracker-sparql-expression.c"
		}
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_STRSTARTS:
#line 12707 "tracker-sparql-expression.c"
		{
			TrackerPropertyType _result_;
			GString* _tmp163_;
			TrackerPropertyType _tmp164_;
#line 1257 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1257 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1257 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1257 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1257 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12722 "tracker-sparql-expression.c"
				} else {
#line 1257 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1257 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1257 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12730 "tracker-sparql-expression.c"
				}
			}
#line 1258 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_OPEN_PARENS, &_inner_error_);
#line 1258 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1258 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1258 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1258 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12743 "tracker-sparql-expression.c"
				} else {
#line 1258 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1258 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1258 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12751 "tracker-sparql-expression.c"
				}
			}
#line 1259 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp163_ = sql;
#line 1259 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp164_ = tracker_sparql_expression_translate_function (self, _tmp163_, TRACKER_SPARQL_EXPRESSION_FN_NS "starts-with", &_inner_error_);
#line 1259 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_result_ = _tmp164_;
#line 1259 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1259 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1259 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1259 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12768 "tracker-sparql-expression.c"
				} else {
#line 1259 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1259 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1259 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12776 "tracker-sparql-expression.c"
				}
			}
#line 1260 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_CLOSE_PARENS, &_inner_error_);
#line 1260 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1260 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1260 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1260 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12789 "tracker-sparql-expression.c"
				} else {
#line 1260 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1260 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1260 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12797 "tracker-sparql-expression.c"
				}
			}
#line 1261 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = _result_;
#line 1261 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 12804 "tracker-sparql-expression.c"
		}
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_STRENDS:
#line 12808 "tracker-sparql-expression.c"
		{
			TrackerPropertyType _result_;
			GString* _tmp165_;
			TrackerPropertyType _tmp166_;
#line 1263 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1263 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1263 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1263 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1263 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12823 "tracker-sparql-expression.c"
				} else {
#line 1263 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1263 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1263 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12831 "tracker-sparql-expression.c"
				}
			}
#line 1264 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_OPEN_PARENS, &_inner_error_);
#line 1264 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1264 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1264 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1264 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12844 "tracker-sparql-expression.c"
				} else {
#line 1264 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1264 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1264 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12852 "tracker-sparql-expression.c"
				}
			}
#line 1265 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp165_ = sql;
#line 1265 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp166_ = tracker_sparql_expression_translate_function (self, _tmp165_, TRACKER_SPARQL_EXPRESSION_FN_NS "ends-with", &_inner_error_);
#line 1265 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_result_ = _tmp166_;
#line 1265 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1265 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1265 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1265 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12869 "tracker-sparql-expression.c"
				} else {
#line 1265 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1265 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1265 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12877 "tracker-sparql-expression.c"
				}
			}
#line 1266 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_CLOSE_PARENS, &_inner_error_);
#line 1266 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1266 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1266 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1266 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12890 "tracker-sparql-expression.c"
				} else {
#line 1266 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1266 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1266 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12898 "tracker-sparql-expression.c"
				}
			}
#line 1267 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = _result_;
#line 1267 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 12905 "tracker-sparql-expression.c"
		}
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_SUBSTR:
#line 12909 "tracker-sparql-expression.c"
		{
			TrackerPropertyType _result_;
			GString* _tmp167_;
			TrackerPropertyType _tmp168_;
#line 1269 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1269 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1269 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1269 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1269 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12924 "tracker-sparql-expression.c"
				} else {
#line 1269 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1269 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1269 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12932 "tracker-sparql-expression.c"
				}
			}
#line 1270 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_OPEN_PARENS, &_inner_error_);
#line 1270 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1270 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1270 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1270 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12945 "tracker-sparql-expression.c"
				} else {
#line 1270 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1270 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1270 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12953 "tracker-sparql-expression.c"
				}
			}
#line 1271 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp167_ = sql;
#line 1271 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp168_ = tracker_sparql_expression_translate_function (self, _tmp167_, TRACKER_SPARQL_EXPRESSION_FN_NS "substring", &_inner_error_);
#line 1271 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_result_ = _tmp168_;
#line 1271 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1271 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1271 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1271 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12970 "tracker-sparql-expression.c"
				} else {
#line 1271 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1271 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1271 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12978 "tracker-sparql-expression.c"
				}
			}
#line 1272 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_CLOSE_PARENS, &_inner_error_);
#line 1272 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1272 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1272 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1272 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12991 "tracker-sparql-expression.c"
				} else {
#line 1272 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1272 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1272 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12999 "tracker-sparql-expression.c"
				}
			}
#line 1273 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = _result_;
#line 1273 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 13006 "tracker-sparql-expression.c"
		}
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_STRBEFORE:
#line 13010 "tracker-sparql-expression.c"
		{
			GString* _tmp169_;
			GString* _tmp170_;
			GString* _tmp171_;
			GString* _tmp172_;
			GString* _tmp173_;
#line 1275 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1275 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1275 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1275 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1275 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13027 "tracker-sparql-expression.c"
				} else {
#line 1275 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1275 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1275 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13035 "tracker-sparql-expression.c"
				}
			}
#line 1276 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_OPEN_PARENS, &_inner_error_);
#line 1276 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1276 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1276 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1276 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13048 "tracker-sparql-expression.c"
				} else {
#line 1276 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1276 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1276 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13056 "tracker-sparql-expression.c"
				}
			}
#line 1277 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp169_ = sql;
#line 1277 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp169_, "SparqlStringBefore (");
#line 1278 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp170_ = sql;
#line 1278 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_translate_expression_as_string (self, _tmp170_, &_inner_error_);
#line 1278 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1278 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1278 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1278 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13075 "tracker-sparql-expression.c"
				} else {
#line 1278 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1278 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1278 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13083 "tracker-sparql-expression.c"
				}
			}
#line 1279 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_COMMA, &_inner_error_);
#line 1279 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1279 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1279 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1279 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13096 "tracker-sparql-expression.c"
				} else {
#line 1279 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1279 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1279 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13104 "tracker-sparql-expression.c"
				}
			}
#line 1280 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp171_ = sql;
#line 1280 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp171_, ",");
#line 1281 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp172_ = sql;
#line 1281 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_translate_expression_as_string (self, _tmp172_, &_inner_error_);
#line 1281 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1281 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1281 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1281 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13123 "tracker-sparql-expression.c"
				} else {
#line 1281 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1281 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1281 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13131 "tracker-sparql-expression.c"
				}
			}
#line 1282 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp173_ = sql;
#line 1282 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp173_, ")");
#line 1283 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_CLOSE_PARENS, &_inner_error_);
#line 1283 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1283 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1283 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1283 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13148 "tracker-sparql-expression.c"
				} else {
#line 1283 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1283 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1283 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13156 "tracker-sparql-expression.c"
				}
			}
#line 1284 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = TRACKER_PROPERTY_TYPE_STRING;
#line 1284 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 13163 "tracker-sparql-expression.c"
		}
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_STRAFTER:
#line 13167 "tracker-sparql-expression.c"
		{
			GString* _tmp174_;
			GString* _tmp175_;
			GString* _tmp176_;
			GString* _tmp177_;
			GString* _tmp178_;
#line 1286 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1286 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1286 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1286 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1286 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13184 "tracker-sparql-expression.c"
				} else {
#line 1286 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1286 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1286 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13192 "tracker-sparql-expression.c"
				}
			}
#line 1287 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_OPEN_PARENS, &_inner_error_);
#line 1287 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1287 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1287 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1287 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13205 "tracker-sparql-expression.c"
				} else {
#line 1287 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1287 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1287 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13213 "tracker-sparql-expression.c"
				}
			}
#line 1288 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp174_ = sql;
#line 1288 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp174_, "SparqlStringAfter (");
#line 1289 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp175_ = sql;
#line 1289 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_translate_expression_as_string (self, _tmp175_, &_inner_error_);
#line 1289 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1289 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1289 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1289 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13232 "tracker-sparql-expression.c"
				} else {
#line 1289 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1289 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1289 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13240 "tracker-sparql-expression.c"
				}
			}
#line 1290 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_COMMA, &_inner_error_);
#line 1290 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1290 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1290 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1290 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13253 "tracker-sparql-expression.c"
				} else {
#line 1290 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1290 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1290 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13261 "tracker-sparql-expression.c"
				}
			}
#line 1291 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp176_ = sql;
#line 1291 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp176_, ",");
#line 1292 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp177_ = sql;
#line 1292 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_translate_expression_as_string (self, _tmp177_, &_inner_error_);
#line 1292 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1292 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1292 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1292 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13280 "tracker-sparql-expression.c"
				} else {
#line 1292 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1292 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1292 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13288 "tracker-sparql-expression.c"
				}
			}
#line 1293 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp178_ = sql;
#line 1293 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp178_, ")");
#line 1294 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_CLOSE_PARENS, &_inner_error_);
#line 1294 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1294 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1294 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1294 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13305 "tracker-sparql-expression.c"
				} else {
#line 1294 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1294 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1294 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13313 "tracker-sparql-expression.c"
				}
			}
#line 1295 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = TRACKER_PROPERTY_TYPE_STRING;
#line 1295 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 13320 "tracker-sparql-expression.c"
		}
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_REGEX:
#line 13324 "tracker-sparql-expression.c"
		{
			GString* _tmp179_;
			TrackerSparqlQuery* _tmp180_;
#line 1297 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp179_ = sql;
#line 1297 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_translate_regex (self, _tmp179_, &_inner_error_);
#line 1297 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1297 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1297 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1297 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13340 "tracker-sparql-expression.c"
				} else {
#line 1297 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1297 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1297 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13348 "tracker-sparql-expression.c"
				}
			}
#line 1298 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp180_ = self->priv->query;
#line 1298 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_query_set_no_cache (_tmp180_, TRUE);
#line 1299 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = TRACKER_PROPERTY_TYPE_BOOLEAN;
#line 1299 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 13359 "tracker-sparql-expression.c"
		}
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_EXISTS:
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_NOT:
#line 13365 "tracker-sparql-expression.c"
		{
			GString* _tmp181_;
#line 1302 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp181_ = sql;
#line 1302 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_translate_exists (self, _tmp181_, &_inner_error_);
#line 1302 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1302 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1302 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1302 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13380 "tracker-sparql-expression.c"
				} else {
#line 1302 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1302 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1302 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13388 "tracker-sparql-expression.c"
				}
			}
#line 1303 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = TRACKER_PROPERTY_TYPE_BOOLEAN;
#line 1303 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 13395 "tracker-sparql-expression.c"
		}
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_COUNT:
#line 13399 "tracker-sparql-expression.c"
		{
			GString* _tmp182_;
			GString* _tmp183_;
			GString* _tmp184_;
#line 1305 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1305 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1305 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1305 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1305 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13414 "tracker-sparql-expression.c"
				} else {
#line 1305 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1305 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1305 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13422 "tracker-sparql-expression.c"
				}
			}
#line 1306 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp182_ = sql;
#line 1306 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp182_, "COUNT(");
#line 1307 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp183_ = sql;
#line 1307 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_translate_aggregate_expression (self, _tmp183_, &_inner_error_);
#line 1307 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1307 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1307 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1307 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13441 "tracker-sparql-expression.c"
				} else {
#line 1307 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1307 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1307 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13449 "tracker-sparql-expression.c"
				}
			}
#line 1308 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp184_ = sql;
#line 1308 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp184_, ")");
#line 1309 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = TRACKER_PROPERTY_TYPE_INTEGER;
#line 1309 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 13460 "tracker-sparql-expression.c"
		}
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_SUM:
#line 13464 "tracker-sparql-expression.c"
		{
			GString* _tmp185_;
			TrackerPropertyType _tmp186_;
			GString* _tmp187_;
			TrackerPropertyType _tmp188_;
			GString* _tmp189_;
#line 1311 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1311 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1311 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1311 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1311 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13481 "tracker-sparql-expression.c"
				} else {
#line 1311 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1311 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1311 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13489 "tracker-sparql-expression.c"
				}
			}
#line 1312 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp185_ = sql;
#line 1312 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp185_, "SUM(");
#line 1313 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp187_ = sql;
#line 1313 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp188_ = tracker_sparql_expression_translate_aggregate_expression (self, _tmp187_, &_inner_error_);
#line 1313 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp186_ = _tmp188_;
#line 1313 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1313 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1313 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1313 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13510 "tracker-sparql-expression.c"
				} else {
#line 1313 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1313 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1313 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13518 "tracker-sparql-expression.c"
				}
			}
#line 1313 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			type = _tmp186_;
#line 1314 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp189_ = sql;
#line 1314 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp189_, ")");
#line 1315 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = type;
#line 1315 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 13531 "tracker-sparql-expression.c"
		}
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_AVG:
#line 13535 "tracker-sparql-expression.c"
		{
			GString* _tmp190_;
			TrackerPropertyType _tmp191_;
			GString* _tmp192_;
			TrackerPropertyType _tmp193_;
			GString* _tmp194_;
#line 1317 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1317 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1317 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1317 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1317 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13552 "tracker-sparql-expression.c"
				} else {
#line 1317 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1317 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1317 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13560 "tracker-sparql-expression.c"
				}
			}
#line 1318 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp190_ = sql;
#line 1318 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp190_, "AVG(");
#line 1319 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp192_ = sql;
#line 1319 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp193_ = tracker_sparql_expression_translate_aggregate_expression (self, _tmp192_, &_inner_error_);
#line 1319 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp191_ = _tmp193_;
#line 1319 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1319 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1319 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1319 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13581 "tracker-sparql-expression.c"
				} else {
#line 1319 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1319 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1319 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13589 "tracker-sparql-expression.c"
				}
			}
#line 1319 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			type = _tmp191_;
#line 1320 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp194_ = sql;
#line 1320 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp194_, ")");
#line 1321 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = type;
#line 1321 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 13602 "tracker-sparql-expression.c"
		}
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_MIN:
#line 13606 "tracker-sparql-expression.c"
		{
			GString* _tmp195_;
			TrackerPropertyType _tmp196_;
			GString* _tmp197_;
			TrackerPropertyType _tmp198_;
			GString* _tmp199_;
#line 1323 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1323 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1323 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1323 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1323 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13623 "tracker-sparql-expression.c"
				} else {
#line 1323 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1323 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1323 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13631 "tracker-sparql-expression.c"
				}
			}
#line 1324 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp195_ = sql;
#line 1324 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp195_, "MIN(");
#line 1325 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp197_ = sql;
#line 1325 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp198_ = tracker_sparql_expression_translate_aggregate_expression (self, _tmp197_, &_inner_error_);
#line 1325 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp196_ = _tmp198_;
#line 1325 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1325 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1325 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1325 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13652 "tracker-sparql-expression.c"
				} else {
#line 1325 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1325 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1325 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13660 "tracker-sparql-expression.c"
				}
			}
#line 1325 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			type = _tmp196_;
#line 1326 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp199_ = sql;
#line 1326 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp199_, ")");
#line 1327 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = type;
#line 1327 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 13673 "tracker-sparql-expression.c"
		}
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_MAX:
#line 13677 "tracker-sparql-expression.c"
		{
			GString* _tmp200_;
			TrackerPropertyType _tmp201_;
			GString* _tmp202_;
			TrackerPropertyType _tmp203_;
			GString* _tmp204_;
#line 1329 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1329 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1329 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1329 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1329 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13694 "tracker-sparql-expression.c"
				} else {
#line 1329 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1329 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1329 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13702 "tracker-sparql-expression.c"
				}
			}
#line 1330 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp200_ = sql;
#line 1330 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp200_, "MAX(");
#line 1331 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp202_ = sql;
#line 1331 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp203_ = tracker_sparql_expression_translate_aggregate_expression (self, _tmp202_, &_inner_error_);
#line 1331 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp201_ = _tmp203_;
#line 1331 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1331 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1331 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1331 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13723 "tracker-sparql-expression.c"
				} else {
#line 1331 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1331 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1331 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13731 "tracker-sparql-expression.c"
				}
			}
#line 1331 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			type = _tmp201_;
#line 1332 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp204_ = sql;
#line 1332 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp204_, ")");
#line 1333 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = type;
#line 1333 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 13744 "tracker-sparql-expression.c"
		}
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_ABS:
#line 13748 "tracker-sparql-expression.c"
		{
			GString* _tmp205_;
			TrackerPropertyType _tmp206_;
			GString* _tmp207_;
			TrackerPropertyType _tmp208_;
			GString* _tmp209_;
#line 1335 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1335 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1335 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1335 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1335 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13765 "tracker-sparql-expression.c"
				} else {
#line 1335 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1335 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1335 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13773 "tracker-sparql-expression.c"
				}
			}
#line 1336 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp205_ = sql;
#line 1336 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp205_, "ABS(");
#line 1337 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp207_ = sql;
#line 1337 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp208_ = tracker_sparql_expression_translate_aggregate_expression (self, _tmp207_, &_inner_error_);
#line 1337 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp206_ = _tmp208_;
#line 1337 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1337 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1337 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1337 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13794 "tracker-sparql-expression.c"
				} else {
#line 1337 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1337 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1337 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13802 "tracker-sparql-expression.c"
				}
			}
#line 1337 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			type = _tmp206_;
#line 1338 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp209_ = sql;
#line 1338 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp209_, ")");
#line 1339 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = type;
#line 1339 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 13815 "tracker-sparql-expression.c"
		}
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_ROUND:
#line 13819 "tracker-sparql-expression.c"
		{
			GString* _tmp210_;
			TrackerPropertyType _tmp211_;
			GString* _tmp212_;
			TrackerPropertyType _tmp213_;
			GString* _tmp214_;
#line 1341 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1341 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1341 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1341 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1341 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13836 "tracker-sparql-expression.c"
				} else {
#line 1341 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1341 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1341 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13844 "tracker-sparql-expression.c"
				}
			}
#line 1342 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp210_ = sql;
#line 1342 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp210_, "ROUND(");
#line 1343 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp212_ = sql;
#line 1343 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp213_ = tracker_sparql_expression_translate_aggregate_expression (self, _tmp212_, &_inner_error_);
#line 1343 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp211_ = _tmp213_;
#line 1343 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1343 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1343 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1343 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13865 "tracker-sparql-expression.c"
				} else {
#line 1343 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1343 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1343 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13873 "tracker-sparql-expression.c"
				}
			}
#line 1343 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			type = _tmp211_;
#line 1344 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp214_ = sql;
#line 1344 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp214_, ")");
#line 1345 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = type;
#line 1345 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 13886 "tracker-sparql-expression.c"
		}
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_CEIL:
#line 13890 "tracker-sparql-expression.c"
		{
			GString* _tmp215_;
			TrackerPropertyType _tmp216_;
			GString* _tmp217_;
			TrackerPropertyType _tmp218_;
			GString* _tmp219_;
#line 1347 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1347 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1347 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1347 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1347 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13907 "tracker-sparql-expression.c"
				} else {
#line 1347 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1347 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1347 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13915 "tracker-sparql-expression.c"
				}
			}
#line 1348 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp215_ = sql;
#line 1348 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp215_, "SparqlCeil(");
#line 1349 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp217_ = sql;
#line 1349 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp218_ = tracker_sparql_expression_translate_aggregate_expression (self, _tmp217_, &_inner_error_);
#line 1349 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp216_ = _tmp218_;
#line 1349 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1349 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1349 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1349 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13936 "tracker-sparql-expression.c"
				} else {
#line 1349 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1349 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1349 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13944 "tracker-sparql-expression.c"
				}
			}
#line 1349 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			type = _tmp216_;
#line 1350 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp219_ = sql;
#line 1350 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp219_, ")");
#line 1351 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = type;
#line 1351 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 13957 "tracker-sparql-expression.c"
		}
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_FLOOR:
#line 13961 "tracker-sparql-expression.c"
		{
			GString* _tmp220_;
			TrackerPropertyType _tmp221_;
			GString* _tmp222_;
			TrackerPropertyType _tmp223_;
			GString* _tmp224_;
#line 1353 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1353 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1353 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1353 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1353 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13978 "tracker-sparql-expression.c"
				} else {
#line 1353 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1353 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1353 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13986 "tracker-sparql-expression.c"
				}
			}
#line 1354 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp220_ = sql;
#line 1354 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp220_, "SparqlFloor(");
#line 1355 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp222_ = sql;
#line 1355 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp223_ = tracker_sparql_expression_translate_aggregate_expression (self, _tmp222_, &_inner_error_);
#line 1355 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp221_ = _tmp223_;
#line 1355 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1355 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1355 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1355 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14007 "tracker-sparql-expression.c"
				} else {
#line 1355 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1355 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1355 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14015 "tracker-sparql-expression.c"
				}
			}
#line 1355 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			type = _tmp221_;
#line 1356 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp224_ = sql;
#line 1356 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp224_, ")");
#line 1357 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = type;
#line 1357 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 14028 "tracker-sparql-expression.c"
		}
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_RAND:
#line 14032 "tracker-sparql-expression.c"
		{
			GString* _tmp225_;
#line 1359 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1359 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1359 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1359 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1359 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14045 "tracker-sparql-expression.c"
				} else {
#line 1359 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1359 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1359 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14053 "tracker-sparql-expression.c"
				}
			}
#line 1360 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_OPEN_PARENS, &_inner_error_);
#line 1360 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1360 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1360 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1360 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14066 "tracker-sparql-expression.c"
				} else {
#line 1360 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1360 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1360 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14074 "tracker-sparql-expression.c"
				}
			}
#line 1361 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_CLOSE_PARENS, &_inner_error_);
#line 1361 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1361 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1361 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1361 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14087 "tracker-sparql-expression.c"
				} else {
#line 1361 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1361 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1361 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14095 "tracker-sparql-expression.c"
				}
			}
#line 1362 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp225_ = sql;
#line 1362 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp225_, "SparqlRand()");
#line 1363 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = TRACKER_PROPERTY_TYPE_DOUBLE;
#line 1363 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 14106 "tracker-sparql-expression.c"
		}
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_NOW:
#line 14110 "tracker-sparql-expression.c"
		{
			GString* _tmp226_;
#line 1365 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1365 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1365 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1365 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1365 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14123 "tracker-sparql-expression.c"
				} else {
#line 1365 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1365 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1365 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14131 "tracker-sparql-expression.c"
				}
			}
#line 1366 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_OPEN_PARENS, &_inner_error_);
#line 1366 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1366 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1366 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1366 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14144 "tracker-sparql-expression.c"
				} else {
#line 1366 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1366 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1366 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14152 "tracker-sparql-expression.c"
				}
			}
#line 1367 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_CLOSE_PARENS, &_inner_error_);
#line 1367 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1367 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1367 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1367 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14165 "tracker-sparql-expression.c"
				} else {
#line 1367 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1367 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1367 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14173 "tracker-sparql-expression.c"
				}
			}
#line 1368 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp226_ = sql;
#line 1368 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp226_, "strftime('%s', 'now')");
#line 1369 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = TRACKER_PROPERTY_TYPE_DATETIME;
#line 1369 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 14184 "tracker-sparql-expression.c"
		}
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_SECONDS:
#line 14188 "tracker-sparql-expression.c"
		{
			TrackerPropertyType _result_;
			GString* _tmp227_;
			TrackerPropertyType _tmp228_;
#line 1371 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1371 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1371 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1371 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1371 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14203 "tracker-sparql-expression.c"
				} else {
#line 1371 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1371 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1371 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14211 "tracker-sparql-expression.c"
				}
			}
#line 1372 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_OPEN_PARENS, &_inner_error_);
#line 1372 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1372 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1372 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1372 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14224 "tracker-sparql-expression.c"
				} else {
#line 1372 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1372 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1372 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14232 "tracker-sparql-expression.c"
				}
			}
#line 1373 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp227_ = sql;
#line 1373 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp228_ = tracker_sparql_expression_translate_function (self, _tmp227_, TRACKER_SPARQL_EXPRESSION_FN_NS "seconds-from-dateTime", &_inner_error_);
#line 1373 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_result_ = _tmp228_;
#line 1373 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1373 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1373 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1373 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14249 "tracker-sparql-expression.c"
				} else {
#line 1373 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1373 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1373 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14257 "tracker-sparql-expression.c"
				}
			}
#line 1374 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_CLOSE_PARENS, &_inner_error_);
#line 1374 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1374 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1374 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1374 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14270 "tracker-sparql-expression.c"
				} else {
#line 1374 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1374 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1374 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14278 "tracker-sparql-expression.c"
				}
			}
#line 1375 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = _result_;
#line 1375 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 14285 "tracker-sparql-expression.c"
		}
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_MINUTES:
#line 14289 "tracker-sparql-expression.c"
		{
			TrackerPropertyType _result_;
			GString* _tmp229_;
			TrackerPropertyType _tmp230_;
#line 1377 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1377 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1377 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1377 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1377 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14304 "tracker-sparql-expression.c"
				} else {
#line 1377 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1377 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1377 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14312 "tracker-sparql-expression.c"
				}
			}
#line 1378 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_OPEN_PARENS, &_inner_error_);
#line 1378 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1378 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1378 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1378 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14325 "tracker-sparql-expression.c"
				} else {
#line 1378 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1378 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1378 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14333 "tracker-sparql-expression.c"
				}
			}
#line 1379 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp229_ = sql;
#line 1379 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp230_ = tracker_sparql_expression_translate_function (self, _tmp229_, TRACKER_SPARQL_EXPRESSION_FN_NS "minutes-from-dateTime", &_inner_error_);
#line 1379 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_result_ = _tmp230_;
#line 1379 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1379 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1379 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1379 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14350 "tracker-sparql-expression.c"
				} else {
#line 1379 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1379 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1379 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14358 "tracker-sparql-expression.c"
				}
			}
#line 1380 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_CLOSE_PARENS, &_inner_error_);
#line 1380 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1380 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1380 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1380 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14371 "tracker-sparql-expression.c"
				} else {
#line 1380 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1380 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1380 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14379 "tracker-sparql-expression.c"
				}
			}
#line 1381 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = _result_;
#line 1381 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 14386 "tracker-sparql-expression.c"
		}
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_HOURS:
#line 14390 "tracker-sparql-expression.c"
		{
			TrackerPropertyType _result_;
			GString* _tmp231_;
			TrackerPropertyType _tmp232_;
#line 1383 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1383 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1383 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1383 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1383 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14405 "tracker-sparql-expression.c"
				} else {
#line 1383 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1383 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1383 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14413 "tracker-sparql-expression.c"
				}
			}
#line 1384 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_OPEN_PARENS, &_inner_error_);
#line 1384 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1384 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1384 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1384 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14426 "tracker-sparql-expression.c"
				} else {
#line 1384 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1384 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1384 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14434 "tracker-sparql-expression.c"
				}
			}
#line 1385 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp231_ = sql;
#line 1385 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp232_ = tracker_sparql_expression_translate_function (self, _tmp231_, TRACKER_SPARQL_EXPRESSION_FN_NS "hours-from-dateTime", &_inner_error_);
#line 1385 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_result_ = _tmp232_;
#line 1385 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1385 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1385 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1385 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14451 "tracker-sparql-expression.c"
				} else {
#line 1385 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1385 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1385 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14459 "tracker-sparql-expression.c"
				}
			}
#line 1386 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_CLOSE_PARENS, &_inner_error_);
#line 1386 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1386 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1386 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1386 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14472 "tracker-sparql-expression.c"
				} else {
#line 1386 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1386 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1386 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14480 "tracker-sparql-expression.c"
				}
			}
#line 1387 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = _result_;
#line 1387 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 14487 "tracker-sparql-expression.c"
		}
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_DAY:
#line 14491 "tracker-sparql-expression.c"
		{
			TrackerPropertyType _result_;
			GString* _tmp233_;
			TrackerPropertyType _tmp234_;
#line 1389 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1389 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1389 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1389 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1389 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14506 "tracker-sparql-expression.c"
				} else {
#line 1389 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1389 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1389 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14514 "tracker-sparql-expression.c"
				}
			}
#line 1390 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_OPEN_PARENS, &_inner_error_);
#line 1390 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1390 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1390 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1390 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14527 "tracker-sparql-expression.c"
				} else {
#line 1390 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1390 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1390 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14535 "tracker-sparql-expression.c"
				}
			}
#line 1391 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp233_ = sql;
#line 1391 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp234_ = tracker_sparql_expression_translate_function (self, _tmp233_, TRACKER_SPARQL_EXPRESSION_FN_NS "day-from-dateTime", &_inner_error_);
#line 1391 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_result_ = _tmp234_;
#line 1391 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1391 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1391 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1391 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14552 "tracker-sparql-expression.c"
				} else {
#line 1391 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1391 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1391 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14560 "tracker-sparql-expression.c"
				}
			}
#line 1392 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_CLOSE_PARENS, &_inner_error_);
#line 1392 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1392 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1392 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1392 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14573 "tracker-sparql-expression.c"
				} else {
#line 1392 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1392 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1392 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14581 "tracker-sparql-expression.c"
				}
			}
#line 1393 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = _result_;
#line 1393 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 14588 "tracker-sparql-expression.c"
		}
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_MONTH:
#line 14592 "tracker-sparql-expression.c"
		{
			TrackerPropertyType _result_;
			GString* _tmp235_;
			TrackerPropertyType _tmp236_;
#line 1395 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1395 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1395 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1395 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1395 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14607 "tracker-sparql-expression.c"
				} else {
#line 1395 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1395 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1395 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14615 "tracker-sparql-expression.c"
				}
			}
#line 1396 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_OPEN_PARENS, &_inner_error_);
#line 1396 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1396 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1396 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1396 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14628 "tracker-sparql-expression.c"
				} else {
#line 1396 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1396 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1396 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14636 "tracker-sparql-expression.c"
				}
			}
#line 1397 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp235_ = sql;
#line 1397 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp236_ = tracker_sparql_expression_translate_function (self, _tmp235_, TRACKER_SPARQL_EXPRESSION_FN_NS "month-from-dateTime", &_inner_error_);
#line 1397 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_result_ = _tmp236_;
#line 1397 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1397 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1397 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1397 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14653 "tracker-sparql-expression.c"
				} else {
#line 1397 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1397 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1397 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14661 "tracker-sparql-expression.c"
				}
			}
#line 1398 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_CLOSE_PARENS, &_inner_error_);
#line 1398 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1398 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1398 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1398 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14674 "tracker-sparql-expression.c"
				} else {
#line 1398 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1398 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1398 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14682 "tracker-sparql-expression.c"
				}
			}
#line 1399 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = _result_;
#line 1399 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 14689 "tracker-sparql-expression.c"
		}
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_YEAR:
#line 14693 "tracker-sparql-expression.c"
		{
			TrackerPropertyType _result_;
			GString* _tmp237_;
			TrackerPropertyType _tmp238_;
#line 1401 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1401 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1401 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1401 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1401 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14708 "tracker-sparql-expression.c"
				} else {
#line 1401 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1401 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1401 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14716 "tracker-sparql-expression.c"
				}
			}
#line 1402 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_OPEN_PARENS, &_inner_error_);
#line 1402 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1402 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1402 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1402 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14729 "tracker-sparql-expression.c"
				} else {
#line 1402 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1402 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1402 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14737 "tracker-sparql-expression.c"
				}
			}
#line 1403 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp237_ = sql;
#line 1403 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp238_ = tracker_sparql_expression_translate_function (self, _tmp237_, TRACKER_SPARQL_EXPRESSION_FN_NS "year-from-dateTime", &_inner_error_);
#line 1403 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_result_ = _tmp238_;
#line 1403 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1403 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1403 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1403 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14754 "tracker-sparql-expression.c"
				} else {
#line 1403 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1403 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1403 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14762 "tracker-sparql-expression.c"
				}
			}
#line 1404 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_CLOSE_PARENS, &_inner_error_);
#line 1404 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1404 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1404 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1404 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14775 "tracker-sparql-expression.c"
				} else {
#line 1404 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1404 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1404 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14783 "tracker-sparql-expression.c"
				}
			}
#line 1405 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = _result_;
#line 1405 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 14790 "tracker-sparql-expression.c"
		}
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_MD5:
#line 14794 "tracker-sparql-expression.c"
		{
			GString* _tmp239_;
			TrackerPropertyType _tmp240_;
			GString* _tmp241_;
			TrackerPropertyType _tmp242_;
			GString* _tmp243_;
#line 1407 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1407 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1407 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1407 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1407 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14811 "tracker-sparql-expression.c"
				} else {
#line 1407 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1407 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1407 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14819 "tracker-sparql-expression.c"
				}
			}
#line 1408 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp239_ = sql;
#line 1408 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp239_, "SparqlChecksum(");
#line 1409 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp241_ = sql;
#line 1409 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp242_ = tracker_sparql_expression_translate_aggregate_expression (self, _tmp241_, &_inner_error_);
#line 1409 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp240_ = _tmp242_;
#line 1409 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1409 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1409 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1409 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14840 "tracker-sparql-expression.c"
				} else {
#line 1409 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1409 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1409 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14848 "tracker-sparql-expression.c"
				}
			}
#line 1409 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			type = _tmp240_;
#line 1410 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp243_ = sql;
#line 1410 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp243_, ", \"md5\")");
#line 1411 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = type;
#line 1411 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 14861 "tracker-sparql-expression.c"
		}
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_SHA1:
#line 14865 "tracker-sparql-expression.c"
		{
			GString* _tmp244_;
			TrackerPropertyType _tmp245_;
			GString* _tmp246_;
			TrackerPropertyType _tmp247_;
			GString* _tmp248_;
#line 1413 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1413 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1413 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1413 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1413 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14882 "tracker-sparql-expression.c"
				} else {
#line 1413 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1413 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1413 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14890 "tracker-sparql-expression.c"
				}
			}
#line 1414 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp244_ = sql;
#line 1414 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp244_, "SparqlChecksum(");
#line 1415 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp246_ = sql;
#line 1415 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp247_ = tracker_sparql_expression_translate_aggregate_expression (self, _tmp246_, &_inner_error_);
#line 1415 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp245_ = _tmp247_;
#line 1415 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1415 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1415 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1415 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14911 "tracker-sparql-expression.c"
				} else {
#line 1415 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1415 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1415 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14919 "tracker-sparql-expression.c"
				}
			}
#line 1415 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			type = _tmp245_;
#line 1416 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp248_ = sql;
#line 1416 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp248_, ", \"sha1\")");
#line 1417 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = type;
#line 1417 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 14932 "tracker-sparql-expression.c"
		}
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_SHA256:
#line 14936 "tracker-sparql-expression.c"
		{
			GString* _tmp249_;
			TrackerPropertyType _tmp250_;
			GString* _tmp251_;
			TrackerPropertyType _tmp252_;
			GString* _tmp253_;
#line 1419 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1419 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1419 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1419 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1419 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14953 "tracker-sparql-expression.c"
				} else {
#line 1419 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1419 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1419 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14961 "tracker-sparql-expression.c"
				}
			}
#line 1420 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp249_ = sql;
#line 1420 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp249_, "SparqlChecksum(");
#line 1421 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp251_ = sql;
#line 1421 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp252_ = tracker_sparql_expression_translate_aggregate_expression (self, _tmp251_, &_inner_error_);
#line 1421 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp250_ = _tmp252_;
#line 1421 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1421 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1421 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1421 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14982 "tracker-sparql-expression.c"
				} else {
#line 1421 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1421 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1421 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14990 "tracker-sparql-expression.c"
				}
			}
#line 1421 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			type = _tmp250_;
#line 1422 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp253_ = sql;
#line 1422 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp253_, ", \"sha256\")");
#line 1423 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = type;
#line 1423 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 15003 "tracker-sparql-expression.c"
		}
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_SHA512:
#line 15007 "tracker-sparql-expression.c"
		{
			GString* _tmp254_;
			TrackerPropertyType _tmp255_;
			GString* _tmp256_;
			TrackerPropertyType _tmp257_;
			GString* _tmp258_;
#line 1425 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1425 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1425 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1425 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1425 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15024 "tracker-sparql-expression.c"
				} else {
#line 1425 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1425 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1425 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15032 "tracker-sparql-expression.c"
				}
			}
#line 1426 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp254_ = sql;
#line 1426 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp254_, "SparqlChecksum(");
#line 1427 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp256_ = sql;
#line 1427 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp257_ = tracker_sparql_expression_translate_aggregate_expression (self, _tmp256_, &_inner_error_);
#line 1427 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp255_ = _tmp257_;
#line 1427 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1427 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1427 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1427 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15053 "tracker-sparql-expression.c"
				} else {
#line 1427 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1427 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1427 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15061 "tracker-sparql-expression.c"
				}
			}
#line 1427 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			type = _tmp255_;
#line 1428 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp258_ = sql;
#line 1428 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp258_, ", \"sha512\")");
#line 1429 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = type;
#line 1429 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 15074 "tracker-sparql-expression.c"
		}
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_GROUP_CONCAT:
#line 15078 "tracker-sparql-expression.c"
		{
			GString* _tmp259_;
			GString* _tmp260_;
			GString* _tmp261_;
			gchar* _tmp262_;
			gchar* _tmp263_;
			GString* _tmp264_;
			gchar* _tmp265_;
			gchar* _tmp266_;
			GString* _tmp267_;
#line 1431 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1431 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1431 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1431 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1431 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15099 "tracker-sparql-expression.c"
				} else {
#line 1431 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1431 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1431 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15107 "tracker-sparql-expression.c"
				}
			}
#line 1432 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp259_ = sql;
#line 1432 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp259_, "GROUP_CONCAT(");
#line 1433 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_OPEN_PARENS, &_inner_error_);
#line 1433 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1433 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1433 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1433 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15124 "tracker-sparql-expression.c"
				} else {
#line 1433 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1433 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1433 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15132 "tracker-sparql-expression.c"
				}
			}
#line 1434 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp260_ = sql;
#line 1434 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_translate_expression_as_string (self, _tmp260_, &_inner_error_);
#line 1434 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1434 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1434 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1434 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15147 "tracker-sparql-expression.c"
				} else {
#line 1434 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1434 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1434 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15155 "tracker-sparql-expression.c"
				}
			}
#line 1435 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp261_ = sql;
#line 1435 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp261_, ", ");
#line 1436 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_COMMA, &_inner_error_);
#line 1436 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1436 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1436 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1436 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15172 "tracker-sparql-expression.c"
				} else {
#line 1436 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1436 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1436 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15180 "tracker-sparql-expression.c"
				}
			}
#line 1437 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp263_ = tracker_sparql_expression_parse_string_literal (self, NULL, &_inner_error_);
#line 1437 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp262_ = _tmp263_;
#line 1437 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1437 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1437 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1437 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15195 "tracker-sparql-expression.c"
				} else {
#line 1437 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1437 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1437 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15203 "tracker-sparql-expression.c"
				}
			}
#line 1437 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp264_ = sql;
#line 1437 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp265_ = tracker_sparql_expression_escape_sql_string_literal (self, _tmp262_);
#line 1437 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp266_ = _tmp265_;
#line 1437 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp264_, _tmp266_);
#line 1437 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (_tmp266_);
#line 1438 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp267_ = sql;
#line 1438 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp267_, ")");
#line 1439 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_CLOSE_PARENS, &_inner_error_);
#line 1439 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1439 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1439 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1439 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_free0 (_tmp262_);
#line 1439 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15232 "tracker-sparql-expression.c"
				} else {
#line 1439 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_free0 (_tmp262_);
#line 1439 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1439 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1439 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15242 "tracker-sparql-expression.c"
				}
			}
#line 1440 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = TRACKER_PROPERTY_TYPE_STRING;
#line 1440 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (_tmp262_);
#line 1440 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 15251 "tracker-sparql-expression.c"
		}
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_PN_PREFIX:
#line 15255 "tracker-sparql-expression.c"
		{
			gchar* ns;
			gchar* _tmp268_;
			gchar* uri;
			TrackerSparqlQuery* _tmp269_;
			const gchar* _tmp270_;
			gchar* _tmp271_;
			gchar* _tmp272_;
			gchar* _tmp273_;
			gchar* _tmp274_;
			gchar* _tmp275_;
			gchar* _tmp276_;
			TrackerPropertyType _tmp277_;
			GString* _tmp278_;
			const gchar* _tmp279_;
			TrackerPropertyType _tmp280_;
#line 1442 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1442 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1442 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1442 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1442 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15282 "tracker-sparql-expression.c"
				} else {
#line 1442 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1442 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1442 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15290 "tracker-sparql-expression.c"
				}
			}
#line 1443 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp268_ = tracker_sparql_expression_get_last_string (self, 0);
#line 1443 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			ns = _tmp268_;
#line 1444 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_COLON, &_inner_error_);
#line 1444 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1444 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1444 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1444 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_free0 (ns);
#line 1444 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15309 "tracker-sparql-expression.c"
				} else {
#line 1444 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_free0 (ns);
#line 1444 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1444 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1444 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15319 "tracker-sparql-expression.c"
				}
			}
#line 1445 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp269_ = self->priv->query;
#line 1445 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp270_ = ns;
#line 1445 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp271_ = tracker_sparql_expression_get_last_string (self, 0);
#line 1445 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp272_ = _tmp271_;
#line 1445 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp273_ = string_substring (_tmp272_, (glong) 1, (glong) -1);
#line 1445 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp274_ = _tmp273_;
#line 1445 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp275_ = tracker_sparql_query_resolve_prefixed_name (_tmp269_, _tmp270_, _tmp274_, &_inner_error_);
#line 1445 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp276_ = _tmp275_;
#line 1445 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (_tmp274_);
#line 1445 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (_tmp272_);
#line 1445 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			uri = _tmp276_;
#line 1445 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1445 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1445 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1445 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_free0 (ns);
#line 1445 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15354 "tracker-sparql-expression.c"
				} else {
#line 1445 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_free0 (ns);
#line 1445 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1445 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1445 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15364 "tracker-sparql-expression.c"
				}
			}
#line 1446 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp278_ = sql;
#line 1446 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp279_ = uri;
#line 1446 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp280_ = tracker_sparql_expression_translate_uri_expression (self, _tmp278_, _tmp279_, &_inner_error_);
#line 1446 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp277_ = _tmp280_;
#line 1446 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1446 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1446 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1446 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_free0 (uri);
#line 1446 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_free0 (ns);
#line 1446 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15387 "tracker-sparql-expression.c"
				} else {
#line 1446 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_free0 (uri);
#line 1446 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_free0 (ns);
#line 1446 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1446 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1446 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15399 "tracker-sparql-expression.c"
				}
			}
#line 1446 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = _tmp277_;
#line 1446 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (uri);
#line 1446 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (ns);
#line 1446 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 15410 "tracker-sparql-expression.c"
		}
#line 1048 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_COLON:
#line 15414 "tracker-sparql-expression.c"
		{
			gchar* uri;
			TrackerSparqlQuery* _tmp281_;
			gchar* _tmp282_;
			gchar* _tmp283_;
			gchar* _tmp284_;
			gchar* _tmp285_;
			gchar* _tmp286_;
			gchar* _tmp287_;
			TrackerPropertyType _tmp288_;
			GString* _tmp289_;
			const gchar* _tmp290_;
			TrackerPropertyType _tmp291_;
#line 1448 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1448 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1448 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1448 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1448 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15438 "tracker-sparql-expression.c"
				} else {
#line 1448 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1448 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1448 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15446 "tracker-sparql-expression.c"
				}
			}
#line 1449 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp281_ = self->priv->query;
#line 1449 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp282_ = tracker_sparql_expression_get_last_string (self, 0);
#line 1449 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp283_ = _tmp282_;
#line 1449 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp284_ = string_substring (_tmp283_, (glong) 1, (glong) -1);
#line 1449 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp285_ = _tmp284_;
#line 1449 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp286_ = tracker_sparql_query_resolve_prefixed_name (_tmp281_, "", _tmp285_, &_inner_error_);
#line 1449 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp287_ = _tmp286_;
#line 1449 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (_tmp285_);
#line 1449 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (_tmp283_);
#line 1449 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			uri = _tmp287_;
#line 1449 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1449 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1449 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1449 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15477 "tracker-sparql-expression.c"
				} else {
#line 1449 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1449 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1449 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15485 "tracker-sparql-expression.c"
				}
			}
#line 1450 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp289_ = sql;
#line 1450 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp290_ = uri;
#line 1450 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp291_ = tracker_sparql_expression_translate_uri_expression (self, _tmp289_, _tmp290_, &_inner_error_);
#line 1450 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp288_ = _tmp291_;
#line 1450 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1450 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1450 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1450 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_free0 (uri);
#line 1450 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15506 "tracker-sparql-expression.c"
				} else {
#line 1450 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_free0 (uri);
#line 1450 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1450 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1450 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15516 "tracker-sparql-expression.c"
				}
			}
#line 1450 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = _tmp288_;
#line 1450 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (uri);
#line 1450 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 15525 "tracker-sparql-expression.c"
		}
		default:
		{
			GError* _tmp292_;
#line 1452 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp292_ = tracker_sparql_expression_get_error (self, "expected primary expression");
#line 1452 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_inner_error_ = _tmp292_;
#line 1452 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1452 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 1452 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 15540 "tracker-sparql-expression.c"
			} else {
#line 1452 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1452 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 1452 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 15548 "tracker-sparql-expression.c"
			}
		}
	}
}


static TrackerPropertyType tracker_sparql_expression_translate_unary_expression (TrackerSparqlExpression* self, GString* sql, GError** error) {
	TrackerPropertyType result = 0;
	gboolean _tmp0_;
	gboolean _tmp1_;
	TrackerPropertyType _tmp19_;
	GString* _tmp20_;
	TrackerPropertyType _tmp21_;
	GError * _inner_error_ = NULL;
#line 1456 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 1456 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (sql != NULL, 0);
#line 1457 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp1_ = tracker_sparql_expression_accept (self, TRACKER_SPARQL_TOKEN_TYPE_OP_NEG, &_inner_error_);
#line 1457 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = _tmp1_;
#line 1457 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1457 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1457 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 1457 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 15579 "tracker-sparql-expression.c"
		} else {
#line 1457 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1457 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 1457 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 15587 "tracker-sparql-expression.c"
		}
	}
#line 1457 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (_tmp0_) {
#line 15592 "tracker-sparql-expression.c"
		GString* _tmp2_;
		TrackerPropertyType optype;
		GString* _tmp3_;
		TrackerPropertyType _tmp4_;
		GString* _tmp5_;
		TrackerPropertyType _tmp6_;
#line 1458 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp2_ = sql;
#line 1458 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		g_string_append (_tmp2_, "NOT (");
#line 1459 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp3_ = sql;
#line 1459 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp4_ = tracker_sparql_expression_translate_primary_expression (self, _tmp3_, &_inner_error_);
#line 1459 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		optype = _tmp4_;
#line 1459 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1459 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1459 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 1459 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 15617 "tracker-sparql-expression.c"
			} else {
#line 1459 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1459 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 1459 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 15625 "tracker-sparql-expression.c"
			}
		}
#line 1460 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp5_ = sql;
#line 1460 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		g_string_append (_tmp5_, ")");
#line 1461 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp6_ = optype;
#line 1461 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp6_ != TRACKER_PROPERTY_TYPE_BOOLEAN) {
#line 15636 "tracker-sparql-expression.c"
			GError* _tmp7_;
#line 1462 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp7_ = tracker_sparql_expression_get_error (self, "expected boolean expression");
#line 1462 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_inner_error_ = _tmp7_;
#line 1462 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1462 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 1462 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 15648 "tracker-sparql-expression.c"
			} else {
#line 1462 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1462 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 1462 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 15656 "tracker-sparql-expression.c"
			}
		}
#line 1464 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		result = TRACKER_PROPERTY_TYPE_BOOLEAN;
#line 1464 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		return result;
#line 15663 "tracker-sparql-expression.c"
	} else {
		gboolean _tmp8_;
		gboolean _tmp9_;
#line 1465 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp9_ = tracker_sparql_expression_accept (self, TRACKER_SPARQL_TOKEN_TYPE_PLUS, &_inner_error_);
#line 1465 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp8_ = _tmp9_;
#line 1465 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1465 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1465 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 1465 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 15679 "tracker-sparql-expression.c"
			} else {
#line 1465 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1465 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 1465 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 15687 "tracker-sparql-expression.c"
			}
		}
#line 1465 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp8_) {
#line 15692 "tracker-sparql-expression.c"
			TrackerPropertyType _tmp10_;
			GString* _tmp11_;
			TrackerPropertyType _tmp12_;
#line 1466 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp11_ = sql;
#line 1466 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp12_ = tracker_sparql_expression_translate_primary_expression (self, _tmp11_, &_inner_error_);
#line 1466 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp10_ = _tmp12_;
#line 1466 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1466 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1466 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1466 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15710 "tracker-sparql-expression.c"
				} else {
#line 1466 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1466 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1466 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15718 "tracker-sparql-expression.c"
				}
			}
#line 1466 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = _tmp10_;
#line 1466 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 15725 "tracker-sparql-expression.c"
		} else {
			gboolean _tmp13_;
			gboolean _tmp14_;
#line 1467 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp14_ = tracker_sparql_expression_accept (self, TRACKER_SPARQL_TOKEN_TYPE_MINUS, &_inner_error_);
#line 1467 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp13_ = _tmp14_;
#line 1467 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1467 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1467 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1467 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15741 "tracker-sparql-expression.c"
				} else {
#line 1467 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1467 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1467 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15749 "tracker-sparql-expression.c"
				}
			}
#line 1467 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_tmp13_) {
#line 15754 "tracker-sparql-expression.c"
				GString* _tmp15_;
				TrackerPropertyType optype;
				GString* _tmp16_;
				TrackerPropertyType _tmp17_;
				GString* _tmp18_;
#line 1468 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp15_ = sql;
#line 1468 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_string_append (_tmp15_, "-(");
#line 1469 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp16_ = sql;
#line 1469 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp17_ = tracker_sparql_expression_translate_primary_expression (self, _tmp16_, &_inner_error_);
#line 1469 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				optype = _tmp17_;
#line 1469 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1469 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1469 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_propagate_error (error, _inner_error_);
#line 1469 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return 0;
#line 15778 "tracker-sparql-expression.c"
					} else {
#line 1469 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1469 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_clear_error (&_inner_error_);
#line 1469 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return 0;
#line 15786 "tracker-sparql-expression.c"
					}
				}
#line 1470 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp18_ = sql;
#line 1470 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_string_append (_tmp18_, ")");
#line 1471 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				result = optype;
#line 1471 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return result;
#line 15797 "tracker-sparql-expression.c"
			}
		}
	}
#line 1473 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp20_ = sql;
#line 1473 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp21_ = tracker_sparql_expression_translate_primary_expression (self, _tmp20_, &_inner_error_);
#line 1473 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp19_ = _tmp21_;
#line 1473 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1473 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1473 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 1473 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 15815 "tracker-sparql-expression.c"
		} else {
#line 1473 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1473 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 1473 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 15823 "tracker-sparql-expression.c"
		}
	}
#line 1473 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	result = _tmp19_;
#line 1473 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	return result;
#line 15830 "tracker-sparql-expression.c"
}


static TrackerPropertyType tracker_sparql_expression_translate_multiplicative_expression (TrackerSparqlExpression* self, GString* sql, GError** error) {
	TrackerPropertyType result = 0;
	glong begin;
	GString* _tmp0_;
	gssize _tmp1_;
	TrackerPropertyType optype;
	GString* _tmp2_;
	TrackerPropertyType _tmp3_;
	GError * _inner_error_ = NULL;
#line 1476 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 1476 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (sql != NULL, 0);
#line 1477 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = sql;
#line 1477 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp1_ = _tmp0_->len;
#line 1477 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	begin = (glong) _tmp1_;
#line 1478 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp2_ = sql;
#line 1478 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp3_ = tracker_sparql_expression_translate_unary_expression (self, _tmp2_, &_inner_error_);
#line 1478 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	optype = _tmp3_;
#line 1478 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1478 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1478 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 1478 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 15867 "tracker-sparql-expression.c"
		} else {
#line 1478 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1478 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 1478 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 15875 "tracker-sparql-expression.c"
		}
	}
#line 1479 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	while (TRUE) {
#line 15880 "tracker-sparql-expression.c"
		gboolean _tmp4_;
		gboolean _tmp5_;
#line 1480 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp5_ = tracker_sparql_expression_accept (self, TRACKER_SPARQL_TOKEN_TYPE_STAR, &_inner_error_);
#line 1480 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp4_ = _tmp5_;
#line 1480 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1480 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1480 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 1480 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 15895 "tracker-sparql-expression.c"
			} else {
#line 1480 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1480 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 1480 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 15903 "tracker-sparql-expression.c"
			}
		}
#line 1480 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp4_) {
#line 15908 "tracker-sparql-expression.c"
			TrackerPropertyType _tmp6_;
			gboolean _tmp7_;
			GString* _tmp9_;
			glong _tmp10_;
			GString* _tmp11_;
			TrackerPropertyType _tmp12_;
			GString* _tmp13_;
			TrackerPropertyType _tmp14_;
			gboolean _tmp15_;
			GString* _tmp17_;
#line 1481 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp6_ = optype;
#line 1481 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp7_ = tracker_sparql_expression_maybe_numeric (self, _tmp6_);
#line 1481 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (!_tmp7_) {
#line 15925 "tracker-sparql-expression.c"
				GError* _tmp8_;
#line 1482 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp8_ = tracker_sparql_expression_get_error (self, "expected numeric operand");
#line 1482 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_inner_error_ = _tmp8_;
#line 1482 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1482 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1482 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15937 "tracker-sparql-expression.c"
				} else {
#line 1482 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1482 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1482 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15945 "tracker-sparql-expression.c"
				}
			}
#line 1484 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp9_ = sql;
#line 1484 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp10_ = begin;
#line 1484 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_insert (_tmp9_, (gssize) _tmp10_, "(");
#line 1485 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp11_ = sql;
#line 1485 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp11_, " * ");
#line 1486 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp13_ = sql;
#line 1486 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp14_ = tracker_sparql_expression_translate_unary_expression (self, _tmp13_, &_inner_error_);
#line 1486 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp12_ = _tmp14_;
#line 1486 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1486 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1486 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1486 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15972 "tracker-sparql-expression.c"
				} else {
#line 1486 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1486 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1486 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15980 "tracker-sparql-expression.c"
				}
			}
#line 1486 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp15_ = tracker_sparql_expression_maybe_numeric (self, _tmp12_);
#line 1486 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (!_tmp15_) {
#line 15987 "tracker-sparql-expression.c"
				GError* _tmp16_;
#line 1487 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp16_ = tracker_sparql_expression_get_error (self, "expected numeric operand");
#line 1487 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_inner_error_ = _tmp16_;
#line 1487 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1487 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1487 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15999 "tracker-sparql-expression.c"
				} else {
#line 1487 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1487 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1487 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 16007 "tracker-sparql-expression.c"
				}
			}
#line 1489 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp17_ = sql;
#line 1489 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp17_, ")");
#line 16014 "tracker-sparql-expression.c"
		} else {
			gboolean _tmp18_;
			gboolean _tmp19_;
#line 1490 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp19_ = tracker_sparql_expression_accept (self, TRACKER_SPARQL_TOKEN_TYPE_DIV, &_inner_error_);
#line 1490 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp18_ = _tmp19_;
#line 1490 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1490 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1490 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1490 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 16030 "tracker-sparql-expression.c"
				} else {
#line 1490 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1490 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1490 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 16038 "tracker-sparql-expression.c"
				}
			}
#line 1490 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_tmp18_) {
#line 16043 "tracker-sparql-expression.c"
				TrackerPropertyType _tmp20_;
				gboolean _tmp21_;
				GString* _tmp23_;
				glong _tmp24_;
				GString* _tmp25_;
				TrackerPropertyType _tmp26_;
				GString* _tmp27_;
				TrackerPropertyType _tmp28_;
				gboolean _tmp29_;
				GString* _tmp31_;
#line 1491 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp20_ = optype;
#line 1491 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp21_ = tracker_sparql_expression_maybe_numeric (self, _tmp20_);
#line 1491 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (!_tmp21_) {
#line 16060 "tracker-sparql-expression.c"
					GError* _tmp22_;
#line 1492 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp22_ = tracker_sparql_expression_get_error (self, "expected numeric operand");
#line 1492 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_inner_error_ = _tmp22_;
#line 1492 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1492 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_propagate_error (error, _inner_error_);
#line 1492 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return 0;
#line 16072 "tracker-sparql-expression.c"
					} else {
#line 1492 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1492 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_clear_error (&_inner_error_);
#line 1492 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return 0;
#line 16080 "tracker-sparql-expression.c"
					}
				}
#line 1494 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp23_ = sql;
#line 1494 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp24_ = begin;
#line 1494 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_string_insert (_tmp23_, (gssize) _tmp24_, "(");
#line 1495 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp25_ = sql;
#line 1495 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_string_append (_tmp25_, " / ");
#line 1496 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp27_ = sql;
#line 1496 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp28_ = tracker_sparql_expression_translate_unary_expression (self, _tmp27_, &_inner_error_);
#line 1496 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp26_ = _tmp28_;
#line 1496 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1496 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1496 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_propagate_error (error, _inner_error_);
#line 1496 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return 0;
#line 16107 "tracker-sparql-expression.c"
					} else {
#line 1496 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1496 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_clear_error (&_inner_error_);
#line 1496 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return 0;
#line 16115 "tracker-sparql-expression.c"
					}
				}
#line 1496 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp29_ = tracker_sparql_expression_maybe_numeric (self, _tmp26_);
#line 1496 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (!_tmp29_) {
#line 16122 "tracker-sparql-expression.c"
					GError* _tmp30_;
#line 1497 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp30_ = tracker_sparql_expression_get_error (self, "expected numeric operand");
#line 1497 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_inner_error_ = _tmp30_;
#line 1497 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1497 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_propagate_error (error, _inner_error_);
#line 1497 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return 0;
#line 16134 "tracker-sparql-expression.c"
					} else {
#line 1497 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1497 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_clear_error (&_inner_error_);
#line 1497 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return 0;
#line 16142 "tracker-sparql-expression.c"
					}
				}
#line 1499 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp31_ = sql;
#line 1499 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_string_append (_tmp31_, ")");
#line 16149 "tracker-sparql-expression.c"
			} else {
#line 1501 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				break;
#line 16153 "tracker-sparql-expression.c"
			}
		}
	}
#line 1504 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	result = optype;
#line 1504 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	return result;
#line 16161 "tracker-sparql-expression.c"
}


static TrackerPropertyType tracker_sparql_expression_translate_additive_expression (TrackerSparqlExpression* self, GString* sql, GError** error) {
	TrackerPropertyType result = 0;
	glong begin;
	GString* _tmp0_;
	gssize _tmp1_;
	TrackerPropertyType optype;
	GString* _tmp2_;
	TrackerPropertyType _tmp3_;
	GError * _inner_error_ = NULL;
#line 1507 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 1507 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (sql != NULL, 0);
#line 1508 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = sql;
#line 1508 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp1_ = _tmp0_->len;
#line 1508 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	begin = (glong) _tmp1_;
#line 1509 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp2_ = sql;
#line 1509 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp3_ = tracker_sparql_expression_translate_multiplicative_expression (self, _tmp2_, &_inner_error_);
#line 1509 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	optype = _tmp3_;
#line 1509 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1509 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1509 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 1509 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 16198 "tracker-sparql-expression.c"
		} else {
#line 1509 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1509 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 1509 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 16206 "tracker-sparql-expression.c"
		}
	}
#line 1510 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	while (TRUE) {
#line 16211 "tracker-sparql-expression.c"
		gboolean _tmp4_;
		gboolean _tmp5_;
#line 1511 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp5_ = tracker_sparql_expression_accept (self, TRACKER_SPARQL_TOKEN_TYPE_PLUS, &_inner_error_);
#line 1511 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp4_ = _tmp5_;
#line 1511 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1511 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1511 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 1511 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 16226 "tracker-sparql-expression.c"
			} else {
#line 1511 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1511 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 1511 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 16234 "tracker-sparql-expression.c"
			}
		}
#line 1511 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp4_) {
#line 16239 "tracker-sparql-expression.c"
			TrackerPropertyType _tmp6_;
			gboolean _tmp7_;
			GString* _tmp9_;
			glong _tmp10_;
			GString* _tmp11_;
			TrackerPropertyType _tmp12_;
			GString* _tmp13_;
			TrackerPropertyType _tmp14_;
			gboolean _tmp15_;
			GString* _tmp17_;
#line 1512 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp6_ = optype;
#line 1512 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp7_ = tracker_sparql_expression_maybe_numeric (self, _tmp6_);
#line 1512 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (!_tmp7_) {
#line 16256 "tracker-sparql-expression.c"
				GError* _tmp8_;
#line 1513 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp8_ = tracker_sparql_expression_get_error (self, "expected numeric operand");
#line 1513 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_inner_error_ = _tmp8_;
#line 1513 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1513 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1513 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 16268 "tracker-sparql-expression.c"
				} else {
#line 1513 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1513 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1513 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 16276 "tracker-sparql-expression.c"
				}
			}
#line 1515 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp9_ = sql;
#line 1515 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp10_ = begin;
#line 1515 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_insert (_tmp9_, (gssize) _tmp10_, "(");
#line 1516 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp11_ = sql;
#line 1516 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp11_, " + ");
#line 1517 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp13_ = sql;
#line 1517 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp14_ = tracker_sparql_expression_translate_multiplicative_expression (self, _tmp13_, &_inner_error_);
#line 1517 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp12_ = _tmp14_;
#line 1517 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1517 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1517 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1517 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 16303 "tracker-sparql-expression.c"
				} else {
#line 1517 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1517 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1517 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 16311 "tracker-sparql-expression.c"
				}
			}
#line 1517 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp15_ = tracker_sparql_expression_maybe_numeric (self, _tmp12_);
#line 1517 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (!_tmp15_) {
#line 16318 "tracker-sparql-expression.c"
				GError* _tmp16_;
#line 1518 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp16_ = tracker_sparql_expression_get_error (self, "expected numeric operand");
#line 1518 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_inner_error_ = _tmp16_;
#line 1518 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1518 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1518 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 16330 "tracker-sparql-expression.c"
				} else {
#line 1518 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1518 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1518 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 16338 "tracker-sparql-expression.c"
				}
			}
#line 1520 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp17_ = sql;
#line 1520 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp17_, ")");
#line 16345 "tracker-sparql-expression.c"
		} else {
			gboolean _tmp18_;
			gboolean _tmp19_;
#line 1521 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp19_ = tracker_sparql_expression_accept (self, TRACKER_SPARQL_TOKEN_TYPE_MINUS, &_inner_error_);
#line 1521 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp18_ = _tmp19_;
#line 1521 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1521 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1521 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1521 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 16361 "tracker-sparql-expression.c"
				} else {
#line 1521 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1521 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1521 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 16369 "tracker-sparql-expression.c"
				}
			}
#line 1521 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_tmp18_) {
#line 16374 "tracker-sparql-expression.c"
				TrackerPropertyType _tmp20_;
				gboolean _tmp21_;
				GString* _tmp23_;
				glong _tmp24_;
				GString* _tmp25_;
				TrackerPropertyType _tmp26_;
				GString* _tmp27_;
				TrackerPropertyType _tmp28_;
				gboolean _tmp29_;
				GString* _tmp31_;
#line 1522 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp20_ = optype;
#line 1522 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp21_ = tracker_sparql_expression_maybe_numeric (self, _tmp20_);
#line 1522 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (!_tmp21_) {
#line 16391 "tracker-sparql-expression.c"
					GError* _tmp22_;
#line 1523 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp22_ = tracker_sparql_expression_get_error (self, "expected numeric operand");
#line 1523 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_inner_error_ = _tmp22_;
#line 1523 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1523 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_propagate_error (error, _inner_error_);
#line 1523 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return 0;
#line 16403 "tracker-sparql-expression.c"
					} else {
#line 1523 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1523 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_clear_error (&_inner_error_);
#line 1523 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return 0;
#line 16411 "tracker-sparql-expression.c"
					}
				}
#line 1525 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp23_ = sql;
#line 1525 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp24_ = begin;
#line 1525 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_string_insert (_tmp23_, (gssize) _tmp24_, "(");
#line 1526 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp25_ = sql;
#line 1526 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_string_append (_tmp25_, " - ");
#line 1527 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp27_ = sql;
#line 1527 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp28_ = tracker_sparql_expression_translate_multiplicative_expression (self, _tmp27_, &_inner_error_);
#line 1527 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp26_ = _tmp28_;
#line 1527 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1527 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1527 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_propagate_error (error, _inner_error_);
#line 1527 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return 0;
#line 16438 "tracker-sparql-expression.c"
					} else {
#line 1527 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1527 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_clear_error (&_inner_error_);
#line 1527 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return 0;
#line 16446 "tracker-sparql-expression.c"
					}
				}
#line 1527 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp29_ = tracker_sparql_expression_maybe_numeric (self, _tmp26_);
#line 1527 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (!_tmp29_) {
#line 16453 "tracker-sparql-expression.c"
					GError* _tmp30_;
#line 1528 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp30_ = tracker_sparql_expression_get_error (self, "expected numeric operand");
#line 1528 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_inner_error_ = _tmp30_;
#line 1528 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1528 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_propagate_error (error, _inner_error_);
#line 1528 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return 0;
#line 16465 "tracker-sparql-expression.c"
					} else {
#line 1528 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1528 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_clear_error (&_inner_error_);
#line 1528 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return 0;
#line 16473 "tracker-sparql-expression.c"
					}
				}
#line 1530 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp31_ = sql;
#line 1530 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_string_append (_tmp31_, ")");
#line 16480 "tracker-sparql-expression.c"
			} else {
#line 1532 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				break;
#line 16484 "tracker-sparql-expression.c"
			}
		}
	}
#line 1535 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	result = optype;
#line 1535 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	return result;
#line 16492 "tracker-sparql-expression.c"
}


static TrackerPropertyType tracker_sparql_expression_translate_numeric_expression (TrackerSparqlExpression* self, GString* sql, GError** error) {
	TrackerPropertyType result = 0;
	TrackerPropertyType _tmp0_;
	GString* _tmp1_;
	TrackerPropertyType _tmp2_;
	GError * _inner_error_ = NULL;
#line 1538 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 1538 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (sql != NULL, 0);
#line 1539 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp1_ = sql;
#line 1539 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp2_ = tracker_sparql_expression_translate_additive_expression (self, _tmp1_, &_inner_error_);
#line 1539 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = _tmp2_;
#line 1539 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1539 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1539 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 1539 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 16520 "tracker-sparql-expression.c"
		} else {
#line 1539 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1539 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 1539 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 16528 "tracker-sparql-expression.c"
		}
	}
#line 1539 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	result = _tmp0_;
#line 1539 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	return result;
#line 16535 "tracker-sparql-expression.c"
}


static TrackerPropertyType tracker_sparql_expression_process_relational_expression (TrackerSparqlExpression* self, GString* sql, glong begin, guint n_bindings, TrackerPropertyType op1type, const gchar* operator, GError** error) {
	TrackerPropertyType result = 0;
	GString* _tmp0_;
	glong _tmp1_;
	GString* _tmp2_;
	const gchar* _tmp3_;
	TrackerPropertyType op2type;
	GString* _tmp4_;
	TrackerPropertyType _tmp5_;
	GString* _tmp6_;
	gboolean _tmp7_ = FALSE;
	gboolean _tmp8_ = FALSE;
	TrackerPropertyType _tmp9_;
	GError * _inner_error_ = NULL;
#line 1542 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 1542 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (sql != NULL, 0);
#line 1542 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (operator != NULL, 0);
#line 1543 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = sql;
#line 1543 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp1_ = begin;
#line 1543 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_string_insert (_tmp0_, (gssize) _tmp1_, "(");
#line 1544 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp2_ = sql;
#line 1544 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp3_ = operator;
#line 1544 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_string_append (_tmp2_, _tmp3_);
#line 1545 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp4_ = sql;
#line 1545 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp5_ = tracker_sparql_expression_translate_numeric_expression (self, _tmp4_, &_inner_error_);
#line 1545 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	op2type = _tmp5_;
#line 1545 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1545 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1545 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 1545 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 16585 "tracker-sparql-expression.c"
		} else {
#line 1545 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1545 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 1545 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 16593 "tracker-sparql-expression.c"
		}
	}
#line 1546 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp6_ = sql;
#line 1546 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_string_append (_tmp6_, ")");
#line 1547 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp9_ = op1type;
#line 1547 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (_tmp9_ == TRACKER_PROPERTY_TYPE_DATETIME) {
#line 1547 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp8_ = op2type == TRACKER_PROPERTY_TYPE_STRING;
#line 16606 "tracker-sparql-expression.c"
	} else {
#line 1547 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp8_ = FALSE;
#line 16610 "tracker-sparql-expression.c"
	}
#line 1547 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (_tmp8_) {
#line 1547 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp7_ = TRUE;
#line 16616 "tracker-sparql-expression.c"
	} else {
		gboolean _tmp10_ = FALSE;
		TrackerPropertyType _tmp11_;
#line 1548 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp11_ = op1type;
#line 1548 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp11_ == TRACKER_PROPERTY_TYPE_STRING) {
#line 1548 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp10_ = op2type == TRACKER_PROPERTY_TYPE_DATETIME;
#line 16626 "tracker-sparql-expression.c"
		} else {
#line 1548 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp10_ = FALSE;
#line 16630 "tracker-sparql-expression.c"
		}
#line 1548 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp7_ = _tmp10_;
#line 16634 "tracker-sparql-expression.c"
	}
#line 1547 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (_tmp7_) {
#line 16638 "tracker-sparql-expression.c"
		TrackerSparqlQuery* _tmp12_;
		GList* _tmp13_;
		guint _tmp14_;
		guint _tmp15_;
#line 1550 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp12_ = self->priv->query;
#line 1550 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp13_ = _tmp12_->bindings;
#line 1550 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp14_ = g_list_length (_tmp13_);
#line 1550 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp15_ = n_bindings;
#line 1550 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp14_ == (_tmp15_ + 1)) {
#line 16653 "tracker-sparql-expression.c"
			TrackerSparqlQuery* _tmp16_;
			GList* _tmp17_;
			GList* _tmp18_;
			gconstpointer _tmp19_;
#line 1552 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp16_ = self->priv->query;
#line 1552 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp17_ = _tmp16_->bindings;
#line 1552 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp18_ = g_list_last (_tmp17_);
#line 1552 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp19_ = _tmp18_->data;
#line 1552 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			((TrackerSparqlDataBinding*) ((TrackerSparqlLiteralBinding*) _tmp19_))->data_type = TRACKER_PROPERTY_TYPE_DATETIME;
#line 16668 "tracker-sparql-expression.c"
		}
	} else {
		gboolean _tmp20_ = FALSE;
		gboolean _tmp21_ = FALSE;
		TrackerPropertyType _tmp22_;
#line 1554 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp22_ = op1type;
#line 1554 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp22_ == TRACKER_PROPERTY_TYPE_DATE) {
#line 1554 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp21_ = op2type == TRACKER_PROPERTY_TYPE_STRING;
#line 16680 "tracker-sparql-expression.c"
		} else {
#line 1554 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp21_ = FALSE;
#line 16684 "tracker-sparql-expression.c"
		}
#line 1554 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp21_) {
#line 1554 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp20_ = TRUE;
#line 16690 "tracker-sparql-expression.c"
		} else {
			gboolean _tmp23_ = FALSE;
			TrackerPropertyType _tmp24_;
#line 1555 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp24_ = op1type;
#line 1555 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_tmp24_ == TRACKER_PROPERTY_TYPE_STRING) {
#line 1555 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp23_ = op2type == TRACKER_PROPERTY_TYPE_DATE;
#line 16700 "tracker-sparql-expression.c"
			} else {
#line 1555 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp23_ = FALSE;
#line 16704 "tracker-sparql-expression.c"
			}
#line 1555 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp20_ = _tmp23_;
#line 16708 "tracker-sparql-expression.c"
		}
#line 1554 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp20_) {
#line 16712 "tracker-sparql-expression.c"
			TrackerSparqlQuery* _tmp25_;
			GList* _tmp26_;
			guint _tmp27_;
			guint _tmp28_;
#line 1557 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp25_ = self->priv->query;
#line 1557 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp26_ = _tmp25_->bindings;
#line 1557 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp27_ = g_list_length (_tmp26_);
#line 1557 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp28_ = n_bindings;
#line 1557 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_tmp27_ == (_tmp28_ + 1)) {
#line 16727 "tracker-sparql-expression.c"
				TrackerSparqlQuery* _tmp29_;
				GList* _tmp30_;
				GList* _tmp31_;
				gconstpointer _tmp32_;
#line 1559 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp29_ = self->priv->query;
#line 1559 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp30_ = _tmp29_->bindings;
#line 1559 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp31_ = g_list_last (_tmp30_);
#line 1559 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp32_ = _tmp31_->data;
#line 1559 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				((TrackerSparqlDataBinding*) ((TrackerSparqlLiteralBinding*) _tmp32_))->data_type = TRACKER_PROPERTY_TYPE_DATE;
#line 16742 "tracker-sparql-expression.c"
			}
		}
	}
#line 1562 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	result = TRACKER_PROPERTY_TYPE_BOOLEAN;
#line 1562 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	return result;
#line 16750 "tracker-sparql-expression.c"
}


static TrackerPropertyType tracker_sparql_expression_translate_in (TrackerSparqlExpression* self, GString* sql, gboolean not, GError** error) {
	TrackerPropertyType result = 0;
	gint in_variable_count;
	gboolean _tmp0_;
	GString* _tmp2_;
	gboolean _tmp3_;
	gboolean _tmp4_;
	GString* _tmp18_;
	GError * _inner_error_ = NULL;
#line 1565 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 1565 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (sql != NULL, 0);
#line 1567 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	in_variable_count = 0;
#line 1569 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = not;
#line 1569 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (_tmp0_) {
#line 16773 "tracker-sparql-expression.c"
		GString* _tmp1_;
#line 1570 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp1_ = sql;
#line 1570 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		g_string_append (_tmp1_, " NOT");
#line 16779 "tracker-sparql-expression.c"
	}
#line 1573 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_OPEN_PARENS, &_inner_error_);
#line 1573 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1573 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1573 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 1573 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 16791 "tracker-sparql-expression.c"
		} else {
#line 1573 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1573 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 1573 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 16799 "tracker-sparql-expression.c"
		}
	}
#line 1574 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp2_ = sql;
#line 1574 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_string_append (_tmp2_, " IN (");
#line 1575 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp4_ = tracker_sparql_expression_accept (self, TRACKER_SPARQL_TOKEN_TYPE_CLOSE_PARENS, &_inner_error_);
#line 1575 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp3_ = _tmp4_;
#line 1575 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1575 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1575 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 1575 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 16818 "tracker-sparql-expression.c"
		} else {
#line 1575 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1575 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 1575 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 16826 "tracker-sparql-expression.c"
		}
	}
#line 1575 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (!_tmp3_) {
#line 16831 "tracker-sparql-expression.c"
		gint _tmp5_;
		GString* _tmp6_;
#line 1576 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp5_ = in_variable_count;
#line 1576 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		in_variable_count = _tmp5_ + 1;
#line 1577 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp6_ = sql;
#line 1577 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		tracker_sparql_expression_translate_expression (self, _tmp6_, &_inner_error_);
#line 1577 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1577 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1577 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 1577 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 16850 "tracker-sparql-expression.c"
			} else {
#line 1577 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1577 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 1577 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 16858 "tracker-sparql-expression.c"
			}
		}
#line 1578 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		while (TRUE) {
#line 16863 "tracker-sparql-expression.c"
			gboolean _tmp7_;
			gboolean _tmp8_;
			GString* _tmp9_;
			gint _tmp10_;
			gboolean _tmp11_ = FALSE;
			gint _tmp12_;
			GString* _tmp17_;
#line 1578 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp8_ = tracker_sparql_expression_accept (self, TRACKER_SPARQL_TOKEN_TYPE_COMMA, &_inner_error_);
#line 1578 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp7_ = _tmp8_;
#line 1578 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1578 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1578 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1578 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 16883 "tracker-sparql-expression.c"
				} else {
#line 1578 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1578 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1578 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 16891 "tracker-sparql-expression.c"
				}
			}
#line 1578 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (!_tmp7_) {
#line 1578 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				break;
#line 16898 "tracker-sparql-expression.c"
			}
#line 1579 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp9_ = sql;
#line 1579 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp9_, ", ");
#line 1581 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp10_ = in_variable_count;
#line 1581 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			in_variable_count = _tmp10_ + 1;
#line 1583 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp12_ = in_variable_count;
#line 1583 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_tmp12_ > TRACKER_SPARQL_EXPRESSION_MAX_VARIABLES_FOR_IN) {
#line 16912 "tracker-sparql-expression.c"
				TrackerSparqlQuery* _tmp13_;
				gboolean _tmp14_;
				gboolean _tmp15_;
#line 1583 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp13_ = self->priv->query;
#line 1583 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp14_ = tracker_sparql_query_get_no_cache (_tmp13_);
#line 1583 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp15_ = _tmp14_;
#line 1583 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp11_ = !_tmp15_;
#line 16924 "tracker-sparql-expression.c"
			} else {
#line 1583 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp11_ = FALSE;
#line 16928 "tracker-sparql-expression.c"
			}
#line 1583 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_tmp11_) {
#line 16932 "tracker-sparql-expression.c"
				TrackerSparqlQuery* _tmp16_;
#line 1584 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp16_ = self->priv->query;
#line 1584 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				tracker_sparql_query_set_no_cache (_tmp16_, TRUE);
#line 16938 "tracker-sparql-expression.c"
			}
#line 1587 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp17_ = sql;
#line 1587 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_translate_expression (self, _tmp17_, &_inner_error_);
#line 1587 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1587 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1587 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1587 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 16952 "tracker-sparql-expression.c"
				} else {
#line 1587 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1587 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1587 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 16960 "tracker-sparql-expression.c"
				}
			}
		}
#line 1589 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_CLOSE_PARENS, &_inner_error_);
#line 1589 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1589 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1589 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 1589 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 16974 "tracker-sparql-expression.c"
			} else {
#line 1589 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1589 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 1589 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 16982 "tracker-sparql-expression.c"
			}
		}
	}
#line 1591 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp18_ = sql;
#line 1591 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_string_append (_tmp18_, ")");
#line 1593 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	result = TRACKER_PROPERTY_TYPE_BOOLEAN;
#line 1593 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	return result;
#line 16994 "tracker-sparql-expression.c"
}


static TrackerPropertyType tracker_sparql_expression_translate_relational_expression (TrackerSparqlExpression* self, GString* sql, GError** error) {
	TrackerPropertyType result = 0;
	glong begin;
	GString* _tmp0_;
	gssize _tmp1_;
	guint n_bindings;
	TrackerSparqlQuery* _tmp2_;
	GList* _tmp3_;
	guint _tmp4_;
	TrackerPropertyType optype;
	GString* _tmp5_;
	TrackerPropertyType _tmp6_;
	gboolean _tmp7_;
	gboolean _tmp8_;
	GError * _inner_error_ = NULL;
#line 1596 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 1596 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (sql != NULL, 0);
#line 1597 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = sql;
#line 1597 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp1_ = _tmp0_->len;
#line 1597 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	begin = (glong) _tmp1_;
#line 1599 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp2_ = self->priv->query;
#line 1599 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp3_ = _tmp2_->bindings;
#line 1599 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp4_ = g_list_length (_tmp3_);
#line 1599 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	n_bindings = _tmp4_;
#line 1600 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp5_ = sql;
#line 1600 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp6_ = tracker_sparql_expression_translate_numeric_expression (self, _tmp5_, &_inner_error_);
#line 1600 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	optype = _tmp6_;
#line 1600 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1600 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1600 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 1600 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 17045 "tracker-sparql-expression.c"
		} else {
#line 1600 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1600 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 1600 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 17053 "tracker-sparql-expression.c"
		}
	}
#line 1601 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp8_ = tracker_sparql_expression_accept (self, TRACKER_SPARQL_TOKEN_TYPE_OP_GE, &_inner_error_);
#line 1601 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp7_ = _tmp8_;
#line 1601 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1601 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1601 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 1601 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 17068 "tracker-sparql-expression.c"
		} else {
#line 1601 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1601 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 1601 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 17076 "tracker-sparql-expression.c"
		}
	}
#line 1601 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (_tmp7_) {
#line 17081 "tracker-sparql-expression.c"
		TrackerPropertyType _tmp9_;
		GString* _tmp10_;
		glong _tmp11_;
		guint _tmp12_;
		TrackerPropertyType _tmp13_;
		TrackerPropertyType _tmp14_;
#line 1602 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp10_ = sql;
#line 1602 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp11_ = begin;
#line 1602 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp12_ = n_bindings;
#line 1602 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp13_ = optype;
#line 1602 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp14_ = tracker_sparql_expression_process_relational_expression (self, _tmp10_, _tmp11_, _tmp12_, _tmp13_, " >= ", &_inner_error_);
#line 1602 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp9_ = _tmp14_;
#line 1602 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1602 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1602 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 1602 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 17108 "tracker-sparql-expression.c"
			} else {
#line 1602 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1602 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 1602 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 17116 "tracker-sparql-expression.c"
			}
		}
#line 1602 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		result = _tmp9_;
#line 1602 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		return result;
#line 17123 "tracker-sparql-expression.c"
	} else {
		gboolean _tmp15_;
		gboolean _tmp16_;
#line 1603 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp16_ = tracker_sparql_expression_accept (self, TRACKER_SPARQL_TOKEN_TYPE_OP_EQ, &_inner_error_);
#line 1603 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp15_ = _tmp16_;
#line 1603 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1603 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1603 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 1603 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 17139 "tracker-sparql-expression.c"
			} else {
#line 1603 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1603 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 1603 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 17147 "tracker-sparql-expression.c"
			}
		}
#line 1603 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp15_) {
#line 17152 "tracker-sparql-expression.c"
			TrackerPropertyType _tmp17_;
			GString* _tmp18_;
			glong _tmp19_;
			guint _tmp20_;
			TrackerPropertyType _tmp21_;
			TrackerPropertyType _tmp22_;
#line 1604 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp18_ = sql;
#line 1604 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp19_ = begin;
#line 1604 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp20_ = n_bindings;
#line 1604 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp21_ = optype;
#line 1604 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp22_ = tracker_sparql_expression_process_relational_expression (self, _tmp18_, _tmp19_, _tmp20_, _tmp21_, " = ", &_inner_error_);
#line 1604 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp17_ = _tmp22_;
#line 1604 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1604 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1604 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1604 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 17179 "tracker-sparql-expression.c"
				} else {
#line 1604 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1604 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1604 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 17187 "tracker-sparql-expression.c"
				}
			}
#line 1604 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = _tmp17_;
#line 1604 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 17194 "tracker-sparql-expression.c"
		} else {
			gboolean _tmp23_;
			gboolean _tmp24_;
#line 1605 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp24_ = tracker_sparql_expression_accept (self, TRACKER_SPARQL_TOKEN_TYPE_OP_NE, &_inner_error_);
#line 1605 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp23_ = _tmp24_;
#line 1605 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1605 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1605 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1605 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 17210 "tracker-sparql-expression.c"
				} else {
#line 1605 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1605 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1605 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 17218 "tracker-sparql-expression.c"
				}
			}
#line 1605 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_tmp23_) {
#line 17223 "tracker-sparql-expression.c"
				TrackerPropertyType _tmp25_;
				GString* _tmp26_;
				glong _tmp27_;
				guint _tmp28_;
				TrackerPropertyType _tmp29_;
				TrackerPropertyType _tmp30_;
#line 1606 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp26_ = sql;
#line 1606 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp27_ = begin;
#line 1606 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp28_ = n_bindings;
#line 1606 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp29_ = optype;
#line 1606 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp30_ = tracker_sparql_expression_process_relational_expression (self, _tmp26_, _tmp27_, _tmp28_, _tmp29_, " <> ", &_inner_error_);
#line 1606 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp25_ = _tmp30_;
#line 1606 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1606 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1606 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_propagate_error (error, _inner_error_);
#line 1606 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return 0;
#line 17250 "tracker-sparql-expression.c"
					} else {
#line 1606 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1606 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_clear_error (&_inner_error_);
#line 1606 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return 0;
#line 17258 "tracker-sparql-expression.c"
					}
				}
#line 1606 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				result = _tmp25_;
#line 1606 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return result;
#line 17265 "tracker-sparql-expression.c"
			} else {
				gboolean _tmp31_;
				gboolean _tmp32_;
#line 1607 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp32_ = tracker_sparql_expression_accept (self, TRACKER_SPARQL_TOKEN_TYPE_OP_LT, &_inner_error_);
#line 1607 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp31_ = _tmp32_;
#line 1607 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1607 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1607 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_propagate_error (error, _inner_error_);
#line 1607 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return 0;
#line 17281 "tracker-sparql-expression.c"
					} else {
#line 1607 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1607 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_clear_error (&_inner_error_);
#line 1607 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return 0;
#line 17289 "tracker-sparql-expression.c"
					}
				}
#line 1607 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_tmp31_) {
#line 17294 "tracker-sparql-expression.c"
					TrackerPropertyType _tmp33_;
					GString* _tmp34_;
					glong _tmp35_;
					guint _tmp36_;
					TrackerPropertyType _tmp37_;
					TrackerPropertyType _tmp38_;
#line 1608 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp34_ = sql;
#line 1608 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp35_ = begin;
#line 1608 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp36_ = n_bindings;
#line 1608 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp37_ = optype;
#line 1608 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp38_ = tracker_sparql_expression_process_relational_expression (self, _tmp34_, _tmp35_, _tmp36_, _tmp37_, " < ", &_inner_error_);
#line 1608 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp33_ = _tmp38_;
#line 1608 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1608 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1608 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							g_propagate_error (error, _inner_error_);
#line 1608 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							return 0;
#line 17321 "tracker-sparql-expression.c"
						} else {
#line 1608 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1608 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							g_clear_error (&_inner_error_);
#line 1608 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							return 0;
#line 17329 "tracker-sparql-expression.c"
						}
					}
#line 1608 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					result = _tmp33_;
#line 1608 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return result;
#line 17336 "tracker-sparql-expression.c"
				} else {
					gboolean _tmp39_;
					gboolean _tmp40_;
#line 1609 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp40_ = tracker_sparql_expression_accept (self, TRACKER_SPARQL_TOKEN_TYPE_OP_LE, &_inner_error_);
#line 1609 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp39_ = _tmp40_;
#line 1609 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1609 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1609 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							g_propagate_error (error, _inner_error_);
#line 1609 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							return 0;
#line 17352 "tracker-sparql-expression.c"
						} else {
#line 1609 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1609 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							g_clear_error (&_inner_error_);
#line 1609 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							return 0;
#line 17360 "tracker-sparql-expression.c"
						}
					}
#line 1609 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					if (_tmp39_) {
#line 17365 "tracker-sparql-expression.c"
						TrackerPropertyType _tmp41_;
						GString* _tmp42_;
						glong _tmp43_;
						guint _tmp44_;
						TrackerPropertyType _tmp45_;
						TrackerPropertyType _tmp46_;
#line 1610 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp42_ = sql;
#line 1610 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp43_ = begin;
#line 1610 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp44_ = n_bindings;
#line 1610 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp45_ = optype;
#line 1610 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp46_ = tracker_sparql_expression_process_relational_expression (self, _tmp42_, _tmp43_, _tmp44_, _tmp45_, " <= ", &_inner_error_);
#line 1610 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp41_ = _tmp46_;
#line 1610 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1610 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1610 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								g_propagate_error (error, _inner_error_);
#line 1610 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								return 0;
#line 17392 "tracker-sparql-expression.c"
							} else {
#line 1610 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1610 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								g_clear_error (&_inner_error_);
#line 1610 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								return 0;
#line 17400 "tracker-sparql-expression.c"
							}
						}
#line 1610 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						result = _tmp41_;
#line 1610 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return result;
#line 17407 "tracker-sparql-expression.c"
					} else {
						gboolean _tmp47_;
						gboolean _tmp48_;
#line 1611 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp48_ = tracker_sparql_expression_accept (self, TRACKER_SPARQL_TOKEN_TYPE_OP_GT, &_inner_error_);
#line 1611 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp47_ = _tmp48_;
#line 1611 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1611 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1611 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								g_propagate_error (error, _inner_error_);
#line 1611 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								return 0;
#line 17423 "tracker-sparql-expression.c"
							} else {
#line 1611 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1611 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								g_clear_error (&_inner_error_);
#line 1611 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								return 0;
#line 17431 "tracker-sparql-expression.c"
							}
						}
#line 1611 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						if (_tmp47_) {
#line 17436 "tracker-sparql-expression.c"
							TrackerPropertyType _tmp49_;
							GString* _tmp50_;
							glong _tmp51_;
							guint _tmp52_;
							TrackerPropertyType _tmp53_;
							TrackerPropertyType _tmp54_;
#line 1612 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp50_ = sql;
#line 1612 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp51_ = begin;
#line 1612 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp52_ = n_bindings;
#line 1612 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp53_ = optype;
#line 1612 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp54_ = tracker_sparql_expression_process_relational_expression (self, _tmp50_, _tmp51_, _tmp52_, _tmp53_, " > ", &_inner_error_);
#line 1612 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp49_ = _tmp54_;
#line 1612 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1612 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1612 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
									g_propagate_error (error, _inner_error_);
#line 1612 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
									return 0;
#line 17463 "tracker-sparql-expression.c"
								} else {
#line 1612 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
									g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1612 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
									g_clear_error (&_inner_error_);
#line 1612 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
									return 0;
#line 17471 "tracker-sparql-expression.c"
								}
							}
#line 1612 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							result = _tmp49_;
#line 1612 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							return result;
#line 17478 "tracker-sparql-expression.c"
						} else {
							gboolean _tmp55_;
							gboolean _tmp56_;
#line 1613 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp56_ = tracker_sparql_expression_accept (self, TRACKER_SPARQL_TOKEN_TYPE_OP_IN, &_inner_error_);
#line 1613 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp55_ = _tmp56_;
#line 1613 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1613 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1613 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
									g_propagate_error (error, _inner_error_);
#line 1613 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
									return 0;
#line 17494 "tracker-sparql-expression.c"
								} else {
#line 1613 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
									g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1613 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
									g_clear_error (&_inner_error_);
#line 1613 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
									return 0;
#line 17502 "tracker-sparql-expression.c"
								}
							}
#line 1613 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							if (_tmp55_) {
#line 17507 "tracker-sparql-expression.c"
								TrackerPropertyType _tmp57_;
								GString* _tmp58_;
								TrackerPropertyType _tmp59_;
#line 1614 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								_tmp58_ = sql;
#line 1614 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								_tmp59_ = tracker_sparql_expression_translate_in (self, _tmp58_, FALSE, &_inner_error_);
#line 1614 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								_tmp57_ = _tmp59_;
#line 1614 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1614 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
									if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1614 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
										g_propagate_error (error, _inner_error_);
#line 1614 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
										return 0;
#line 17525 "tracker-sparql-expression.c"
									} else {
#line 1614 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
										g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1614 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
										g_clear_error (&_inner_error_);
#line 1614 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
										return 0;
#line 17533 "tracker-sparql-expression.c"
									}
								}
#line 1614 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								result = _tmp57_;
#line 1614 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								return result;
#line 17540 "tracker-sparql-expression.c"
							} else {
								gboolean _tmp60_;
								gboolean _tmp61_;
#line 1615 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								_tmp61_ = tracker_sparql_expression_accept (self, TRACKER_SPARQL_TOKEN_TYPE_NOT, &_inner_error_);
#line 1615 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								_tmp60_ = _tmp61_;
#line 1615 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1615 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
									if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1615 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
										g_propagate_error (error, _inner_error_);
#line 1615 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
										return 0;
#line 17556 "tracker-sparql-expression.c"
									} else {
#line 1615 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
										g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1615 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
										g_clear_error (&_inner_error_);
#line 1615 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
										return 0;
#line 17564 "tracker-sparql-expression.c"
									}
								}
#line 1615 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								if (_tmp60_) {
#line 17569 "tracker-sparql-expression.c"
									TrackerPropertyType _tmp62_;
									GString* _tmp63_;
									TrackerPropertyType _tmp64_;
#line 1616 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
									tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_OP_IN, &_inner_error_);
#line 1616 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
									if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1616 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
										if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1616 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											g_propagate_error (error, _inner_error_);
#line 1616 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											return 0;
#line 17583 "tracker-sparql-expression.c"
										} else {
#line 1616 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1616 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											g_clear_error (&_inner_error_);
#line 1616 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											return 0;
#line 17591 "tracker-sparql-expression.c"
										}
									}
#line 1617 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
									_tmp63_ = sql;
#line 1617 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
									_tmp64_ = tracker_sparql_expression_translate_in (self, _tmp63_, TRUE, &_inner_error_);
#line 1617 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
									_tmp62_ = _tmp64_;
#line 1617 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
									if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1617 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
										if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1617 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											g_propagate_error (error, _inner_error_);
#line 1617 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											return 0;
#line 17608 "tracker-sparql-expression.c"
										} else {
#line 1617 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1617 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											g_clear_error (&_inner_error_);
#line 1617 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											return 0;
#line 17616 "tracker-sparql-expression.c"
										}
									}
#line 1617 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
									result = _tmp62_;
#line 1617 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
									return result;
#line 17623 "tracker-sparql-expression.c"
								}
							}
						}
					}
				}
			}
		}
	}
#line 1619 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	result = optype;
#line 1619 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	return result;
#line 17636 "tracker-sparql-expression.c"
}


static TrackerPropertyType tracker_sparql_expression_translate_value_logical (TrackerSparqlExpression* self, GString* sql, GError** error) {
	TrackerPropertyType result = 0;
	TrackerPropertyType _tmp0_;
	GString* _tmp1_;
	TrackerPropertyType _tmp2_;
	GError * _inner_error_ = NULL;
#line 1622 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 1622 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (sql != NULL, 0);
#line 1623 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp1_ = sql;
#line 1623 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp2_ = tracker_sparql_expression_translate_relational_expression (self, _tmp1_, &_inner_error_);
#line 1623 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = _tmp2_;
#line 1623 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1623 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1623 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 1623 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 17664 "tracker-sparql-expression.c"
		} else {
#line 1623 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1623 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 1623 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 17672 "tracker-sparql-expression.c"
		}
	}
#line 1623 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	result = _tmp0_;
#line 1623 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	return result;
#line 17679 "tracker-sparql-expression.c"
}


static TrackerPropertyType tracker_sparql_expression_translate_conditional_and_expression (TrackerSparqlExpression* self, GString* sql, GError** error) {
	TrackerPropertyType result = 0;
	glong begin;
	GString* _tmp0_;
	gssize _tmp1_;
	TrackerPropertyType optype;
	GString* _tmp2_;
	TrackerPropertyType _tmp3_;
	GError * _inner_error_ = NULL;
#line 1626 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 1626 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (sql != NULL, 0);
#line 1627 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = sql;
#line 1627 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp1_ = _tmp0_->len;
#line 1627 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	begin = (glong) _tmp1_;
#line 1628 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp2_ = sql;
#line 1628 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp3_ = tracker_sparql_expression_translate_value_logical (self, _tmp2_, &_inner_error_);
#line 1628 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	optype = _tmp3_;
#line 1628 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1628 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1628 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 1628 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 17716 "tracker-sparql-expression.c"
		} else {
#line 1628 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1628 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 1628 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 17724 "tracker-sparql-expression.c"
		}
	}
#line 1629 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	while (TRUE) {
#line 17729 "tracker-sparql-expression.c"
		gboolean _tmp4_;
		gboolean _tmp5_;
		TrackerPropertyType _tmp6_;
		GString* _tmp8_;
		glong _tmp9_;
		GString* _tmp10_;
		TrackerPropertyType _tmp11_;
		GString* _tmp12_;
		TrackerPropertyType _tmp13_;
		GString* _tmp14_;
		TrackerPropertyType _tmp15_;
#line 1629 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp5_ = tracker_sparql_expression_accept (self, TRACKER_SPARQL_TOKEN_TYPE_OP_AND, &_inner_error_);
#line 1629 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp4_ = _tmp5_;
#line 1629 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1629 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1629 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 1629 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 17753 "tracker-sparql-expression.c"
			} else {
#line 1629 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1629 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 1629 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 17761 "tracker-sparql-expression.c"
			}
		}
#line 1629 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (!_tmp4_) {
#line 1629 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			break;
#line 17768 "tracker-sparql-expression.c"
		}
#line 1630 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp6_ = optype;
#line 1630 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp6_ != TRACKER_PROPERTY_TYPE_BOOLEAN) {
#line 17774 "tracker-sparql-expression.c"
			GError* _tmp7_;
#line 1631 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp7_ = tracker_sparql_expression_get_error (self, "expected boolean expression");
#line 1631 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_inner_error_ = _tmp7_;
#line 1631 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1631 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 1631 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 17786 "tracker-sparql-expression.c"
			} else {
#line 1631 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1631 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 1631 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 17794 "tracker-sparql-expression.c"
			}
		}
#line 1633 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp8_ = sql;
#line 1633 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp9_ = begin;
#line 1633 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		g_string_insert (_tmp8_, (gssize) _tmp9_, "(");
#line 1634 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp10_ = sql;
#line 1634 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		g_string_append (_tmp10_, " AND ");
#line 1635 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp12_ = sql;
#line 1635 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp13_ = tracker_sparql_expression_translate_value_logical (self, _tmp12_, &_inner_error_);
#line 1635 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp11_ = _tmp13_;
#line 1635 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1635 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1635 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 1635 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 17821 "tracker-sparql-expression.c"
			} else {
#line 1635 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1635 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 1635 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 17829 "tracker-sparql-expression.c"
			}
		}
#line 1635 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		optype = _tmp11_;
#line 1636 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp14_ = sql;
#line 1636 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		g_string_append (_tmp14_, ")");
#line 1637 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp15_ = optype;
#line 1637 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp15_ != TRACKER_PROPERTY_TYPE_BOOLEAN) {
#line 17842 "tracker-sparql-expression.c"
			GError* _tmp16_;
#line 1638 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp16_ = tracker_sparql_expression_get_error (self, "expected boolean expression");
#line 1638 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_inner_error_ = _tmp16_;
#line 1638 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1638 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 1638 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 17854 "tracker-sparql-expression.c"
			} else {
#line 1638 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1638 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 1638 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 17862 "tracker-sparql-expression.c"
			}
		}
	}
#line 1641 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	result = optype;
#line 1641 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	return result;
#line 17870 "tracker-sparql-expression.c"
}


static TrackerPropertyType tracker_sparql_expression_translate_conditional_or_expression (TrackerSparqlExpression* self, GString* sql, GError** error) {
	TrackerPropertyType result = 0;
	glong begin;
	GString* _tmp0_;
	gssize _tmp1_;
	TrackerPropertyType optype;
	GString* _tmp2_;
	TrackerPropertyType _tmp3_;
	GError * _inner_error_ = NULL;
#line 1644 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 1644 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (sql != NULL, 0);
#line 1645 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = sql;
#line 1645 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp1_ = _tmp0_->len;
#line 1645 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	begin = (glong) _tmp1_;
#line 1646 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp2_ = sql;
#line 1646 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp3_ = tracker_sparql_expression_translate_conditional_and_expression (self, _tmp2_, &_inner_error_);
#line 1646 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	optype = _tmp3_;
#line 1646 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1646 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1646 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 1646 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 17907 "tracker-sparql-expression.c"
		} else {
#line 1646 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1646 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 1646 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 17915 "tracker-sparql-expression.c"
		}
	}
#line 1647 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	while (TRUE) {
#line 17920 "tracker-sparql-expression.c"
		gboolean _tmp4_;
		gboolean _tmp5_;
		TrackerPropertyType _tmp6_;
		GString* _tmp8_;
		glong _tmp9_;
		GString* _tmp10_;
		TrackerPropertyType _tmp11_;
		GString* _tmp12_;
		TrackerPropertyType _tmp13_;
		GString* _tmp14_;
		TrackerPropertyType _tmp15_;
#line 1647 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp5_ = tracker_sparql_expression_accept (self, TRACKER_SPARQL_TOKEN_TYPE_OP_OR, &_inner_error_);
#line 1647 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp4_ = _tmp5_;
#line 1647 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1647 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1647 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 1647 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 17944 "tracker-sparql-expression.c"
			} else {
#line 1647 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1647 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 1647 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 17952 "tracker-sparql-expression.c"
			}
		}
#line 1647 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (!_tmp4_) {
#line 1647 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			break;
#line 17959 "tracker-sparql-expression.c"
		}
#line 1648 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp6_ = optype;
#line 1648 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp6_ != TRACKER_PROPERTY_TYPE_BOOLEAN) {
#line 17965 "tracker-sparql-expression.c"
			GError* _tmp7_;
#line 1649 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp7_ = tracker_sparql_expression_get_error (self, "expected boolean expression");
#line 1649 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_inner_error_ = _tmp7_;
#line 1649 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1649 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 1649 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 17977 "tracker-sparql-expression.c"
			} else {
#line 1649 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1649 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 1649 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 17985 "tracker-sparql-expression.c"
			}
		}
#line 1651 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp8_ = sql;
#line 1651 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp9_ = begin;
#line 1651 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		g_string_insert (_tmp8_, (gssize) _tmp9_, "(");
#line 1652 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp10_ = sql;
#line 1652 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		g_string_append (_tmp10_, " OR ");
#line 1653 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp12_ = sql;
#line 1653 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp13_ = tracker_sparql_expression_translate_conditional_and_expression (self, _tmp12_, &_inner_error_);
#line 1653 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp11_ = _tmp13_;
#line 1653 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1653 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1653 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 1653 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 18012 "tracker-sparql-expression.c"
			} else {
#line 1653 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1653 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 1653 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 18020 "tracker-sparql-expression.c"
			}
		}
#line 1653 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		optype = _tmp11_;
#line 1654 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp14_ = sql;
#line 1654 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		g_string_append (_tmp14_, ")");
#line 1655 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp15_ = optype;
#line 1655 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp15_ != TRACKER_PROPERTY_TYPE_BOOLEAN) {
#line 18033 "tracker-sparql-expression.c"
			GError* _tmp16_;
#line 1656 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp16_ = tracker_sparql_expression_get_error (self, "expected boolean expression");
#line 1656 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_inner_error_ = _tmp16_;
#line 1656 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1656 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 1656 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 18045 "tracker-sparql-expression.c"
			} else {
#line 1656 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1656 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 1656 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 18053 "tracker-sparql-expression.c"
			}
		}
	}
#line 1659 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	result = optype;
#line 1659 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	return result;
#line 18061 "tracker-sparql-expression.c"
}


TrackerPropertyType tracker_sparql_expression_translate_expression (TrackerSparqlExpression* self, GString* sql, GError** error) {
	TrackerPropertyType result = 0;
	TrackerPropertyType _tmp0_;
	GString* _tmp1_;
	TrackerPropertyType _tmp2_;
	GError * _inner_error_ = NULL;
#line 1662 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 1662 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (sql != NULL, 0);
#line 1663 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp1_ = sql;
#line 1663 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp2_ = tracker_sparql_expression_translate_conditional_or_expression (self, _tmp1_, &_inner_error_);
#line 1663 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = _tmp2_;
#line 1663 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1663 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1663 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 1663 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 18089 "tracker-sparql-expression.c"
		} else {
#line 1663 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1663 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 1663 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 18097 "tracker-sparql-expression.c"
		}
	}
#line 1663 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	result = _tmp0_;
#line 1663 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	return result;
#line 18104 "tracker-sparql-expression.c"
}


static TrackerPropertyType tracker_sparql_expression_translate_bracketted_expression (TrackerSparqlExpression* self, GString* sql, GError** error) {
	TrackerPropertyType result = 0;
	TrackerSparqlTokenType _tmp0_;
	TrackerPropertyType optype;
	GString* _tmp9_;
	TrackerPropertyType _tmp10_;
	GError * _inner_error_ = NULL;
#line 1666 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 1666 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (sql != NULL, 0);
#line 1667 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_OPEN_PARENS, &_inner_error_);
#line 1667 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1667 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1667 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 1667 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 18129 "tracker-sparql-expression.c"
		} else {
#line 1667 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1667 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 1667 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 18137 "tracker-sparql-expression.c"
		}
	}
#line 1669 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = tracker_sparql_expression_current (self);
#line 1669 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (_tmp0_ == TRACKER_SPARQL_TOKEN_TYPE_SELECT) {
#line 18144 "tracker-sparql-expression.c"
		GString* _tmp1_;
		TrackerSparqlSelectContext* select_context;
		TrackerSparqlPattern* _tmp2_;
		TrackerSparqlPattern* _tmp3_;
		GString* _tmp4_;
		TrackerSparqlSelectContext* _tmp5_;
		GString* _tmp6_;
		TrackerSparqlSelectContext* _tmp7_;
		TrackerPropertyType _tmp8_;
#line 1672 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp1_ = sql;
#line 1672 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		g_string_append (_tmp1_, "(");
#line 1673 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp2_ = tracker_sparql_expression_get_pattern (self);
#line 1673 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp3_ = _tmp2_;
#line 1673 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp4_ = sql;
#line 1673 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp5_ = tracker_sparql_pattern_translate_select (_tmp3_, _tmp4_, TRUE, TRUE, &_inner_error_);
#line 1673 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		select_context = _tmp5_;
#line 1673 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1673 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1673 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 1673 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 18176 "tracker-sparql-expression.c"
			} else {
#line 1673 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1673 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 1673 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 18184 "tracker-sparql-expression.c"
			}
		}
#line 1674 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp6_ = sql;
#line 1674 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		g_string_append (_tmp6_, ")");
#line 1676 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_CLOSE_PARENS, &_inner_error_);
#line 1676 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1676 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1676 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 1676 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tracker_sparql_context_unref0 (select_context);
#line 1676 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 18203 "tracker-sparql-expression.c"
			} else {
#line 1676 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tracker_sparql_context_unref0 (select_context);
#line 1676 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1676 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 1676 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 18213 "tracker-sparql-expression.c"
			}
		}
#line 1677 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp7_ = select_context;
#line 1677 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp8_ = _tmp7_->type;
#line 1677 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		result = _tmp8_;
#line 1677 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tracker_sparql_context_unref0 (select_context);
#line 1677 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		return result;
#line 18226 "tracker-sparql-expression.c"
	}
#line 1680 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp9_ = sql;
#line 1680 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp10_ = tracker_sparql_expression_translate_expression (self, _tmp9_, &_inner_error_);
#line 1680 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	optype = _tmp10_;
#line 1680 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1680 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1680 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 1680 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 18242 "tracker-sparql-expression.c"
		} else {
#line 1680 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1680 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 1680 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 18250 "tracker-sparql-expression.c"
		}
	}
#line 1681 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_CLOSE_PARENS, &_inner_error_);
#line 1681 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1681 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1681 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 1681 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 18263 "tracker-sparql-expression.c"
		} else {
#line 1681 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1681 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 1681 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 18271 "tracker-sparql-expression.c"
		}
	}
#line 1682 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	result = optype;
#line 1682 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	return result;
#line 18278 "tracker-sparql-expression.c"
}


static TrackerPropertyType tracker_sparql_expression_translate_aggregate_expression (TrackerSparqlExpression* self, GString* sql, GError** error) {
	TrackerPropertyType result = 0;
	gboolean _tmp0_;
	gboolean _tmp1_;
	gboolean is_var;
	TrackerSparqlTokenType _tmp3_;
	TrackerPropertyType optype;
	GString* _tmp4_;
	TrackerPropertyType _tmp5_;
	gboolean _tmp6_;
	GError * _inner_error_ = NULL;
#line 1685 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 1685 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (sql != NULL, 0);
#line 1686 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_OPEN_PARENS, &_inner_error_);
#line 1686 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1686 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1686 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 1686 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 18307 "tracker-sparql-expression.c"
		} else {
#line 1686 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1686 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 1686 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 18315 "tracker-sparql-expression.c"
		}
	}
#line 1687 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp1_ = tracker_sparql_expression_accept (self, TRACKER_SPARQL_TOKEN_TYPE_DISTINCT, &_inner_error_);
#line 1687 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = _tmp1_;
#line 1687 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1687 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1687 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 1687 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 18330 "tracker-sparql-expression.c"
		} else {
#line 1687 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1687 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 1687 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 18338 "tracker-sparql-expression.c"
		}
	}
#line 1687 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (_tmp0_) {
#line 18343 "tracker-sparql-expression.c"
		GString* _tmp2_;
#line 1688 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp2_ = sql;
#line 1688 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		g_string_append (_tmp2_, "DISTINCT ");
#line 18349 "tracker-sparql-expression.c"
	}
#line 1691 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp3_ = tracker_sparql_expression_current (self);
#line 1691 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	is_var = _tmp3_ == TRACKER_SPARQL_TOKEN_TYPE_VAR;
#line 1692 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp4_ = sql;
#line 1692 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp5_ = tracker_sparql_expression_translate_expression (self, _tmp4_, &_inner_error_);
#line 1692 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	optype = _tmp5_;
#line 1692 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1692 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1692 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 1692 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 18369 "tracker-sparql-expression.c"
		} else {
#line 1692 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1692 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 1692 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 18377 "tracker-sparql-expression.c"
		}
	}
#line 1694 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp6_ = is_var;
#line 1694 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (_tmp6_) {
#line 18384 "tracker-sparql-expression.c"
		TrackerSparqlVariable* variable;
		TrackerSparqlContext* _tmp7_;
		TrackerSparqlContext* _tmp8_;
		gchar* _tmp9_;
		gchar* _tmp10_;
		gchar* _tmp11_;
		gchar* _tmp12_;
		TrackerSparqlVariable* _tmp13_;
		TrackerSparqlVariable* _tmp14_;
		TrackerSparqlVariable* _tmp15_;
		TrackerSparqlVariable* _tmp16_;
		TrackerSparqlVariableBinding* _tmp17_;
#line 1695 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp7_ = tracker_sparql_expression_get_context (self);
#line 1695 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp8_ = _tmp7_;
#line 1695 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp9_ = tracker_sparql_expression_get_last_string (self, 0);
#line 1695 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp10_ = _tmp9_;
#line 1695 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp11_ = string_substring (_tmp10_, (glong) 1, (glong) -1);
#line 1695 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp12_ = _tmp11_;
#line 1695 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp13_ = tracker_sparql_context_get_variable (_tmp8_, _tmp12_);
#line 1695 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp14_ = _g_object_ref0 (_tmp13_);
#line 1695 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp15_ = _tmp14_;
#line 1695 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_g_free0 (_tmp12_);
#line 1695 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_g_free0 (_tmp10_);
#line 1695 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		variable = _tmp15_;
#line 1696 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp16_ = variable;
#line 1696 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp17_ = _tmp16_->binding;
#line 1696 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp17_ == NULL) {
#line 18427 "tracker-sparql-expression.c"
			TrackerSparqlVariable* _tmp18_;
			const gchar* _tmp19_;
			const gchar* _tmp20_;
			gchar* _tmp21_;
			gchar* _tmp22_;
			GError* _tmp23_;
			GError* _tmp24_;
#line 1697 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp18_ = variable;
#line 1697 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp19_ = tracker_sparql_variable_get_name (_tmp18_);
#line 1697 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp20_ = _tmp19_;
#line 1697 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp21_ = g_strdup_printf ("use of undefined variable `%s'", _tmp20_);
#line 1697 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp22_ = _tmp21_;
#line 1697 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp23_ = tracker_sparql_expression_get_error (self, _tmp22_);
#line 1697 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp24_ = _tmp23_;
#line 1697 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (_tmp22_);
#line 1697 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_inner_error_ = _tmp24_;
#line 1697 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1697 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 1697 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_object_unref0 (variable);
#line 1697 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 18461 "tracker-sparql-expression.c"
			} else {
#line 1697 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_object_unref0 (variable);
#line 1697 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1697 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 1697 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 18471 "tracker-sparql-expression.c"
			}
		}
#line 1694 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_g_object_unref0 (variable);
#line 18476 "tracker-sparql-expression.c"
	}
#line 1701 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	tracker_sparql_expression_expect (self, TRACKER_SPARQL_TOKEN_TYPE_CLOSE_PARENS, &_inner_error_);
#line 1701 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1701 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1701 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 1701 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 18488 "tracker-sparql-expression.c"
		} else {
#line 1701 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1701 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 1701 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 18496 "tracker-sparql-expression.c"
		}
	}
#line 1702 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	result = optype;
#line 1702 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	return result;
#line 18503 "tracker-sparql-expression.c"
}


TrackerPropertyType tracker_sparql_expression_translate_constraint (TrackerSparqlExpression* self, GString* sql, GError** error) {
	TrackerPropertyType result = 0;
	TrackerSparqlTokenType _tmp0_;
	GError * _inner_error_ = NULL;
#line 1705 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 1705 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (sql != NULL, 0);
#line 1706 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = tracker_sparql_expression_current (self);
#line 1706 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	switch (_tmp0_) {
#line 1706 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_STR:
#line 1706 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_LANG:
#line 1706 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_LANGMATCHES:
#line 1706 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_DATATYPE:
#line 1706 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_BOUND:
#line 1706 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_IF:
#line 1706 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_SAMETERM:
#line 1706 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_ISIRI:
#line 1706 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_ISURI:
#line 1706 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_ISBLANK:
#line 1706 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_ISLITERAL:
#line 1706 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_REGEX:
#line 1706 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_EXISTS:
#line 1706 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_NOT:
#line 18547 "tracker-sparql-expression.c"
		{
			TrackerPropertyType _tmp1_;
			GString* _tmp2_;
			TrackerPropertyType _tmp3_;
#line 1721 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp2_ = sql;
#line 1721 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp3_ = tracker_sparql_expression_translate_primary_expression (self, _tmp2_, &_inner_error_);
#line 1721 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp1_ = _tmp3_;
#line 1721 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1721 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1721 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1721 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 18566 "tracker-sparql-expression.c"
				} else {
#line 1721 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1721 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1721 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 18574 "tracker-sparql-expression.c"
				}
			}
#line 1721 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = _tmp1_;
#line 1721 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 18581 "tracker-sparql-expression.c"
		}
		default:
		{
			TrackerPropertyType _tmp4_;
			GString* _tmp5_;
			TrackerPropertyType _tmp6_;
#line 1723 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp5_ = sql;
#line 1723 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp6_ = tracker_sparql_expression_translate_bracketted_expression (self, _tmp5_, &_inner_error_);
#line 1723 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp4_ = _tmp6_;
#line 1723 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1723 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1723 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1723 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 18602 "tracker-sparql-expression.c"
				} else {
#line 1723 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1723 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1723 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 18610 "tracker-sparql-expression.c"
				}
			}
#line 1723 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = _tmp4_;
#line 1723 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 18617 "tracker-sparql-expression.c"
		}
	}
}


static TrackerSparqlContext* tracker_sparql_expression_get_context (TrackerSparqlExpression* self) {
	TrackerSparqlContext* result;
	TrackerSparqlQuery* _tmp0_;
	TrackerSparqlContext* _tmp1_;
#line 42 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 42 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = self->priv->query;
#line 42 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp1_ = _tmp0_->context;
#line 42 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	result = _tmp1_;
#line 42 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	return result;
#line 18637 "tracker-sparql-expression.c"
}


static TrackerSparqlPattern* tracker_sparql_expression_get_pattern (TrackerSparqlExpression* self) {
	TrackerSparqlPattern* result;
	TrackerSparqlQuery* _tmp0_;
	TrackerSparqlPattern* _tmp1_;
#line 46 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 46 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = self->priv->query;
#line 46 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp1_ = _tmp0_->pattern;
#line 46 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	result = _tmp1_;
#line 46 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	return result;
#line 18655 "tracker-sparql-expression.c"
}


static void tracker_sparql_expression_class_init (TrackerSparqlExpressionClass * klass) {
#line 20 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	tracker_sparql_expression_parent_class = g_type_class_peek_parent (klass);
#line 20 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_type_class_add_private (klass, sizeof (TrackerSparqlExpressionPrivate));
#line 20 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_tracker_sparql_expression_get_property;
#line 20 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	G_OBJECT_CLASS (klass)->finalize = tracker_sparql_expression_finalize;
#line 18668 "tracker-sparql-expression.c"
}


static void tracker_sparql_expression_instance_init (TrackerSparqlExpression * self) {
#line 20 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	self->priv = TRACKER_SPARQL_EXPRESSION_GET_PRIVATE (self);
#line 18675 "tracker-sparql-expression.c"
}


static void tracker_sparql_expression_finalize (GObject * obj) {
	TrackerSparqlExpression * self;
#line 20 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, TRACKER_SPARQL_TYPE_EXPRESSION, TrackerSparqlExpression);
#line 35 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_g_free0 (self->priv->fts_sql);
#line 20 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	G_OBJECT_CLASS (tracker_sparql_expression_parent_class)->finalize (obj);
#line 18687 "tracker-sparql-expression.c"
}


GType tracker_sparql_expression_get_type (void) {
	static volatile gsize tracker_sparql_expression_type_id__volatile = 0;
	if (g_once_init_enter (&tracker_sparql_expression_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (TrackerSparqlExpressionClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) tracker_sparql_expression_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (TrackerSparqlExpression), 0, (GInstanceInitFunc) tracker_sparql_expression_instance_init, NULL };
		GType tracker_sparql_expression_type_id;
		tracker_sparql_expression_type_id = g_type_register_static (G_TYPE_OBJECT, "TrackerSparqlExpression", &g_define_type_info, 0);
		g_once_init_leave (&tracker_sparql_expression_type_id__volatile, tracker_sparql_expression_type_id);
	}
	return tracker_sparql_expression_type_id__volatile;
}


static void _vala_tracker_sparql_expression_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	TrackerSparqlExpression * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, TRACKER_SPARQL_TYPE_EXPRESSION, TrackerSparqlExpression);
#line 20 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	switch (property_id) {
#line 18708 "tracker-sparql-expression.c"
		default:
#line 20 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 20 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		break;
#line 18714 "tracker-sparql-expression.c"
	}
}


static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func) {
	if ((array != NULL) && (destroy_func != NULL)) {
		int i;
		for (i = 0; i < array_length; i = i + 1) {
			if (((gpointer*) array)[i] != NULL) {
				destroy_func (((gpointer*) array)[i]);
			}
		}
	}
}


static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func) {
	_vala_array_destroy (array, array_length, destroy_func);
	g_free (array);
}


static gint _vala_array_length (gpointer array) {
	int length;
	length = 0;
	if (array) {
		while (((gpointer*) array)[length]) {
			length++;
		}
	}
	return length;
}



