/* tracker-sparql-expression.c generated by valac 0.38.1, 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-data/tracker-data-manager.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;
enum  {
	TRACKER_SPARQL_EXPRESSION_DUMMY_PROPERTY,
	TRACKER_SPARQL_EXPRESSION_LAST_PROPERTY
};
static GParamSpec* tracker_sparql_expression_properties[TRACKER_SPARQL_EXPRESSION_LAST_PROPERTY];

#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 _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
typedef struct _TrackerSparqlQueryPrivate TrackerSparqlQueryPrivate;

#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_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_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;

#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;

#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;
typedef struct _TrackerSparqlVariablePrivate TrackerSparqlVariablePrivate;

#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_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;
typedef struct _TrackerSparqlLiteralBindingPrivate TrackerSparqlLiteralBindingPrivate;

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

struct _TrackerSparqlExpressionClass {
	GObjectClass parent_class;
};

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

typedef enum  {
	TRACKER_SPARQL_EXPRESSION_TIME_FORMAT_TYPE_SECONDS,
	TRACKER_SPARQL_EXPRESSION_TIME_FORMAT_TYPE_MINUTES,
	TRACKER_SPARQL_EXPRESSION_TIME_FORMAT_TYPE_HOURS
} TrackerSparqlExpressionTimeFormatType;

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

struct _TrackerSparqlQueryClass {
	GObjectClass parent_class;
};

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 need_binding_expression;
};

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;
};


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))
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);
GType tracker_sparql_pattern_get_type (void) G_GNUC_CONST;
GType tracker_sparql_data_binding_get_type (void) G_GNUC_CONST;
GType tracker_sparql_literal_binding_get_type (void) G_GNUC_CONST;
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 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);
static TrackerSparqlContext* tracker_sparql_expression_get_context (TrackerSparqlExpression* self);
TrackerSparqlVariable* tracker_sparql_context_get_variable (TrackerSparqlContext* self, const gchar* name);
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;
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);
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;
}


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


TrackerSparqlExpression* tracker_sparql_expression_construct (GType object_type, TrackerSparqlQuery* query) {
	TrackerSparqlExpression * self = NULL;
	TrackerSparqlQuery* _tmp0_;
	TrackerSparqlQuery* _tmp1_;
	TrackerDataManager* _tmp2_;
	TrackerDataManager* _tmp3_;
#line 39 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (query != NULL, NULL);
#line 39 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	self = (TrackerSparqlExpression*) g_object_new (object_type, NULL);
#line 40 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = query;
#line 40 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	self->priv->query = _tmp0_;
#line 41 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp1_ = query;
#line 41 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp2_ = _tmp1_->manager;
#line 41 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp3_ = _g_object_ref0 (_tmp2_);
#line 41 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_g_object_unref0 (self->priv->manager);
#line 41 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	self->priv->manager = _tmp3_;
#line 39 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	return self;
#line 598 "tracker-sparql-expression.c"
}


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


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


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


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


static inline gboolean tracker_sparql_expression_accept (TrackerSparqlExpression* self, TrackerSparqlTokenType type, GError** error) {
	gboolean result = FALSE;
	gboolean _tmp0_ = FALSE;
	TrackerSparqlQuery* _tmp1_;
	TrackerSparqlTokenType _tmp2_;
	gboolean _tmp3_;
	GError * _inner_error_ = NULL;
#line 64 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 65 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp1_ = self->priv->query;
#line 65 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp2_ = type;
#line 65 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp3_ = tracker_sparql_query_accept (_tmp1_, _tmp2_, &_inner_error_);
#line 65 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = _tmp3_;
#line 65 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 65 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 710 "tracker-sparql-expression.c"
			gboolean _tmp4_ = FALSE;
#line 65 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 65 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return _tmp4_;
#line 716 "tracker-sparql-expression.c"
		} else {
			gboolean _tmp5_ = FALSE;
#line 65 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 65 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 65 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return _tmp5_;
#line 725 "tracker-sparql-expression.c"
		}
	}
#line 65 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	result = _tmp0_;
#line 65 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	return result;
#line 732 "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 68 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 68 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (msg != NULL, NULL);
#line 69 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = self->priv->query;
#line 69 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp1_ = msg;
#line 69 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp2_ = tracker_sparql_query_get_error (_tmp0_, _tmp1_);
#line 69 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	result = _tmp2_;
#line 69 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	return result;
#line 755 "tracker-sparql-expression.c"
}


static gboolean tracker_sparql_expression_expect (TrackerSparqlExpression* self, TrackerSparqlTokenType type, GError** error) {
	gboolean result = FALSE;
	gboolean _tmp0_ = FALSE;
	TrackerSparqlQuery* _tmp1_;
	TrackerSparqlTokenType _tmp2_;
	gboolean _tmp3_;
	GError * _inner_error_ = NULL;
#line 72 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 73 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp1_ = self->priv->query;
#line 73 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp2_ = type;
#line 73 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp3_ = tracker_sparql_query_expect (_tmp1_, _tmp2_, &_inner_error_);
#line 73 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = _tmp3_;
#line 73 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 73 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 780 "tracker-sparql-expression.c"
			gboolean _tmp4_ = FALSE;
#line 73 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 73 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return _tmp4_;
#line 786 "tracker-sparql-expression.c"
		} else {
			gboolean _tmp5_ = FALSE;
#line 73 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 73 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 73 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return _tmp5_;
#line 795 "tracker-sparql-expression.c"
		}
	}
#line 73 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	result = _tmp0_;
#line 73 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	return result;
#line 802 "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 76 "/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"
	_tmp0_ = self->priv->query;
#line 77 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp1_ = strip;
#line 77 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp2_ = tracker_sparql_query_get_last_string (_tmp0_, _tmp1_);
#line 77 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	result = _tmp2_;
#line 77 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	return result;
#line 823 "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 1086 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
	_tmp0_ = separator;
#line 1086 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
	if (_tmp0_ == NULL) {
#line 1087 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		separator = "";
#line 840 "tracker-sparql-expression.c"
	}
#line 1089 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
	_tmp3_ = str_array;
#line 1089 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
	_tmp3__length1 = str_array_length1;
#line 1089 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
	if (_tmp3_ != NULL) {
#line 1089 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		_tmp2_ = TRUE;
#line 850 "tracker-sparql-expression.c"
	} else {
		gchar** _tmp4_;
		gint _tmp4__length1;
#line 1089 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		_tmp4_ = str_array;
#line 1089 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		_tmp4__length1 = str_array_length1;
#line 1089 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		_tmp2_ = _tmp4__length1 > 0;
#line 860 "tracker-sparql-expression.c"
	}
#line 1089 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
	if (_tmp2_) {
#line 1089 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		_tmp1_ = TRUE;
#line 866 "tracker-sparql-expression.c"
	} else {
		gboolean _tmp5_ = FALSE;
		gchar** _tmp6_;
		gint _tmp6__length1;
#line 1089 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		_tmp6_ = str_array;
#line 1089 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		_tmp6__length1 = str_array_length1;
#line 1089 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		if (_tmp6__length1 == -1) {
#line 877 "tracker-sparql-expression.c"
			gchar** _tmp7_;
			gint _tmp7__length1;
			const gchar* _tmp8_;
#line 1089 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
			_tmp7_ = str_array;
#line 1089 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
			_tmp7__length1 = str_array_length1;
#line 1089 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
			_tmp8_ = _tmp7_[0];
#line 1089 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
			_tmp5_ = _tmp8_ != NULL;
#line 889 "tracker-sparql-expression.c"
		} else {
#line 1089 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
			_tmp5_ = FALSE;
#line 893 "tracker-sparql-expression.c"
		}
#line 1089 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		_tmp1_ = _tmp5_;
#line 897 "tracker-sparql-expression.c"
	}
#line 1089 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
	if (_tmp1_) {
#line 901 "tracker-sparql-expression.c"
		gint i = 0;
		gsize len = 0UL;
		gint _tmp31_;
		gint _tmp33_;
		gint _tmp34_;
		gsize _tmp35_;
		const gchar* _tmp36_;
		gint _tmp37_;
		gint _tmp38_;
		gint _tmp39_;
		const gchar* res = NULL;
		gsize _tmp40_;
		void* _tmp41_;
		void* ptr = NULL;
		const gchar* _tmp42_;
		gchar** _tmp43_;
		gint _tmp43__length1;
		const gchar* _tmp44_;
		void* _tmp45_;
		const gchar* _tmp62_;
#line 1091 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		len = (gsize) 1;
#line 924 "tracker-sparql-expression.c"
		{
			gboolean _tmp9_ = FALSE;
#line 1092 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
			i = 0;
#line 1092 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
			_tmp9_ = TRUE;
#line 1092 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
			while (TRUE) {
#line 933 "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 1092 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
				if (!_tmp9_) {
#line 946 "tracker-sparql-expression.c"
					gint _tmp10_;
#line 1092 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
					_tmp10_ = i;
#line 1092 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
					i = _tmp10_ + 1;
#line 952 "tracker-sparql-expression.c"
				}
#line 1092 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
				_tmp9_ = FALSE;
#line 1092 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
				_tmp13_ = str_array;
#line 1092 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
				_tmp13__length1 = str_array_length1;
#line 1092 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
				if (_tmp13__length1 != -1) {
#line 962 "tracker-sparql-expression.c"
					gint _tmp14_;
					gchar** _tmp15_;
					gint _tmp15__length1;
#line 1092 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
					_tmp14_ = i;
#line 1092 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
					_tmp15_ = str_array;
#line 1092 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
					_tmp15__length1 = str_array_length1;
#line 1092 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
					_tmp12_ = _tmp14_ < _tmp15__length1;
#line 974 "tracker-sparql-expression.c"
				} else {
#line 1092 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
					_tmp12_ = FALSE;
#line 978 "tracker-sparql-expression.c"
				}
#line 1092 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
				if (_tmp12_) {
#line 1092 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
					_tmp11_ = TRUE;
#line 984 "tracker-sparql-expression.c"
				} else {
					gboolean _tmp16_ = FALSE;
					gchar** _tmp17_;
					gint _tmp17__length1;
#line 1092 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
					_tmp17_ = str_array;
#line 1092 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
					_tmp17__length1 = str_array_length1;
#line 1092 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
					if (_tmp17__length1 == -1) {
#line 995 "tracker-sparql-expression.c"
						gchar** _tmp18_;
						gint _tmp18__length1;
						gint _tmp19_;
						const gchar* _tmp20_;
#line 1092 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
						_tmp18_ = str_array;
#line 1092 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
						_tmp18__length1 = str_array_length1;
#line 1092 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
						_tmp19_ = i;
#line 1092 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
						_tmp20_ = _tmp18_[_tmp19_];
#line 1092 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
						_tmp16_ = _tmp20_ != NULL;
#line 1010 "tracker-sparql-expression.c"
					} else {
#line 1092 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
						_tmp16_ = FALSE;
#line 1014 "tracker-sparql-expression.c"
					}
#line 1092 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
					_tmp11_ = _tmp16_;
#line 1018 "tracker-sparql-expression.c"
				}
#line 1092 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
				if (!_tmp11_) {
#line 1092 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
					break;
#line 1024 "tracker-sparql-expression.c"
				}
#line 1093 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
				_tmp22_ = str_array;
#line 1093 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
				_tmp22__length1 = str_array_length1;
#line 1093 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
				_tmp23_ = i;
#line 1093 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
				_tmp24_ = _tmp22_[_tmp23_];
#line 1093 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
				if (_tmp24_ != NULL) {
#line 1036 "tracker-sparql-expression.c"
					gchar** _tmp25_;
					gint _tmp25__length1;
					gint _tmp26_;
					const gchar* _tmp27_;
					gint _tmp28_;
					gint _tmp29_;
#line 1093 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
					_tmp25_ = str_array;
#line 1093 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
					_tmp25__length1 = str_array_length1;
#line 1093 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
					_tmp26_ = i;
#line 1093 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
					_tmp27_ = _tmp25_[_tmp26_];
#line 1093 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
					_tmp28_ = strlen ((const gchar*) _tmp27_);
#line 1093 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
					_tmp29_ = _tmp28_;
#line 1093 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
					_tmp21_ = _tmp29_;
#line 1057 "tracker-sparql-expression.c"
				} else {
#line 1093 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
					_tmp21_ = 0;
#line 1061 "tracker-sparql-expression.c"
				}
#line 1093 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
				_tmp30_ = len;
#line 1093 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
				len = _tmp30_ + _tmp21_;
#line 1067 "tracker-sparql-expression.c"
			}
		}
#line 1095 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		_tmp31_ = i;
#line 1095 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		if (_tmp31_ == 0) {
#line 1074 "tracker-sparql-expression.c"
			gchar* _tmp32_;
#line 1096 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
			_tmp32_ = g_strdup ("");
#line 1096 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
			result = _tmp32_;
#line 1096 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
			return result;
#line 1082 "tracker-sparql-expression.c"
		}
#line 1098 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		_tmp33_ = i;
#line 1098 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		str_array_length1 = _tmp33_;
#line 1098 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		_tmp34_ = str_array_length1;
#line 1099 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		_tmp35_ = len;
#line 1099 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		_tmp36_ = separator;
#line 1099 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		_tmp37_ = strlen ((const gchar*) _tmp36_);
#line 1099 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		_tmp38_ = _tmp37_;
#line 1099 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		_tmp39_ = i;
#line 1099 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		len = _tmp35_ + (_tmp38_ * (_tmp39_ - 1));
#line 1101 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		_tmp40_ = len;
#line 1101 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		_tmp41_ = g_malloc (_tmp40_);
#line 1101 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		res = _tmp41_;
#line 1102 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		_tmp42_ = res;
#line 1102 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		_tmp43_ = str_array;
#line 1102 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		_tmp43__length1 = str_array_length1;
#line 1102 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		_tmp44_ = _tmp43_[0];
#line 1102 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		_tmp45_ = g_stpcpy ((void*) _tmp42_, (const gchar*) _tmp44_);
#line 1102 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		ptr = _tmp45_;
#line 1120 "tracker-sparql-expression.c"
		{
			gboolean _tmp46_ = FALSE;
#line 1103 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
			i = 1;
#line 1103 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
			_tmp46_ = TRUE;
#line 1103 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
			while (TRUE) {
#line 1129 "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 1103 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
				if (!_tmp46_) {
#line 1145 "tracker-sparql-expression.c"
					gint _tmp47_;
#line 1103 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
					_tmp47_ = i;
#line 1103 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
					i = _tmp47_ + 1;
#line 1151 "tracker-sparql-expression.c"
				}
#line 1103 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
				_tmp46_ = FALSE;
#line 1103 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
				_tmp48_ = i;
#line 1103 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
				_tmp49_ = str_array;
#line 1103 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
				_tmp49__length1 = str_array_length1;
#line 1103 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
				if (!(_tmp48_ < _tmp49__length1)) {
#line 1103 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
					break;
#line 1165 "tracker-sparql-expression.c"
				}
#line 1104 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
				_tmp50_ = ptr;
#line 1104 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
				_tmp51_ = separator;
#line 1104 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
				_tmp52_ = g_stpcpy (_tmp50_, (const gchar*) _tmp51_);
#line 1104 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
				ptr = _tmp52_;
#line 1105 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
				_tmp54_ = str_array;
#line 1105 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
				_tmp54__length1 = str_array_length1;
#line 1105 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
				_tmp55_ = i;
#line 1105 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
				_tmp56_ = _tmp54_[_tmp55_];
#line 1105 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
				if (_tmp56_ != NULL) {
#line 1185 "tracker-sparql-expression.c"
					gchar** _tmp57_;
					gint _tmp57__length1;
					gint _tmp58_;
					const gchar* _tmp59_;
#line 1105 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
					_tmp57_ = str_array;
#line 1105 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
					_tmp57__length1 = str_array_length1;
#line 1105 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
					_tmp58_ = i;
#line 1105 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
					_tmp59_ = _tmp57_[_tmp58_];
#line 1105 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
					_tmp53_ = (const gchar*) _tmp59_;
#line 1200 "tracker-sparql-expression.c"
				} else {
#line 1105 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
					_tmp53_ = "";
#line 1204 "tracker-sparql-expression.c"
				}
#line 1105 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
				_tmp60_ = ptr;
#line 1105 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
				_tmp61_ = g_stpcpy (_tmp60_, _tmp53_);
#line 1105 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
				ptr = _tmp61_;
#line 1212 "tracker-sparql-expression.c"
			}
		}
#line 1108 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		_tmp62_ = res;
#line 1108 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		res = NULL;
#line 1108 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		result = (gchar*) _tmp62_;
#line 1108 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		return result;
#line 1223 "tracker-sparql-expression.c"
	} else {
		gchar* _tmp63_;
#line 1110 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		_tmp63_ = g_strdup ("");
#line 1110 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		result = _tmp63_;
#line 1110 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		return result;
#line 1232 "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 80 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 80 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (literal != NULL, NULL);
#line 81 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = literal;
#line 81 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp2_ = _tmp1_ = g_strsplit (_tmp0_, "'", 0);
#line 81 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp3_ = _tmp2_;
#line 81 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp3__length1 = _vala_array_length (_tmp1_);
#line 81 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp4_ = _vala_g_strjoinv ("''", _tmp3_, _vala_array_length (_tmp1_));
#line 81 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp5_ = _tmp4_;
#line 81 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp6_ = g_strdup_printf ("'%s'", _tmp5_);
#line 81 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp7_ = _tmp6_;
#line 81 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_g_free0 (_tmp5_);
#line 81 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp3_ = (_vala_array_free (_tmp3_, _tmp3__length1, (GDestroyNotify) g_free), NULL);
#line 81 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	result = _tmp7_;
#line 81 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	return result;
#line 1276 "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 84 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 85 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp4_ = type;
#line 85 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (_tmp4_ == TRACKER_PROPERTY_TYPE_INTEGER) {
#line 85 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp3_ = TRUE;
#line 1295 "tracker-sparql-expression.c"
	} else {
		TrackerPropertyType _tmp5_;
#line 85 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp5_ = type;
#line 85 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp3_ = _tmp5_ == TRACKER_PROPERTY_TYPE_DOUBLE;
#line 1302 "tracker-sparql-expression.c"
	}
#line 85 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (_tmp3_) {
#line 85 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp2_ = TRUE;
#line 1308 "tracker-sparql-expression.c"
	} else {
		TrackerPropertyType _tmp6_;
#line 85 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp6_ = type;
#line 85 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp2_ = _tmp6_ == TRACKER_PROPERTY_TYPE_DATE;
#line 1315 "tracker-sparql-expression.c"
	}
#line 85 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (_tmp2_) {
#line 85 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp1_ = TRUE;
#line 1321 "tracker-sparql-expression.c"
	} else {
		TrackerPropertyType _tmp7_;
#line 85 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp7_ = type;
#line 85 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp1_ = _tmp7_ == TRACKER_PROPERTY_TYPE_DATETIME;
#line 1328 "tracker-sparql-expression.c"
	}
#line 85 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (_tmp1_) {
#line 85 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp0_ = TRUE;
#line 1334 "tracker-sparql-expression.c"
	} else {
		TrackerPropertyType _tmp8_;
#line 85 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp8_ = type;
#line 85 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp0_ = _tmp8_ == TRACKER_PROPERTY_TYPE_UNKNOWN;
#line 1341 "tracker-sparql-expression.c"
	}
#line 85 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	result = _tmp0_;
#line 85 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	return result;
#line 1347 "tracker-sparql-expression.c"
}


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


static void tracker_sparql_expression_skip_bracketted_expression (TrackerSparqlExpression* self, GError** error) {
	GError * _inner_error_ = NULL;
#line 92 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_if_fail (self != NULL);
#line 93 "/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 93 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 93 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 93 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 93 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 1379 "tracker-sparql-expression.c"
		} else {
#line 93 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 93 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 93 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 1387 "tracker-sparql-expression.c"
		}
	}
#line 94 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	while (TRUE) {
#line 1392 "tracker-sparql-expression.c"
		TrackerSparqlTokenType _tmp0_;
#line 95 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp0_ = tracker_sparql_expression_current (self);
#line 95 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		switch (_tmp0_) {
#line 95 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			case TRACKER_SPARQL_TOKEN_TYPE_OPEN_PARENS:
#line 1400 "tracker-sparql-expression.c"
			{
#line 98 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				tracker_sparql_expression_skip_bracketted_expression (self, &_inner_error_);
#line 98 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 98 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 98 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_propagate_error (error, _inner_error_);
#line 98 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return;
#line 1412 "tracker-sparql-expression.c"
					} else {
#line 98 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 98 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_clear_error (&_inner_error_);
#line 98 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return;
#line 1420 "tracker-sparql-expression.c"
					}
				}
#line 99 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				continue;
#line 1425 "tracker-sparql-expression.c"
			}
#line 95 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			case TRACKER_SPARQL_TOKEN_TYPE_CLOSE_PARENS:
#line 95 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			case TRACKER_SPARQL_TOKEN_TYPE_EOF:
#line 1431 "tracker-sparql-expression.c"
			{
#line 102 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				break;
#line 1435 "tracker-sparql-expression.c"
			}
			default:
			{
#line 104 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				tracker_sparql_expression_next (self, &_inner_error_);
#line 104 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 104 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 104 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_propagate_error (error, _inner_error_);
#line 104 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return;
#line 1449 "tracker-sparql-expression.c"
					} else {
#line 104 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 104 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_clear_error (&_inner_error_);
#line 104 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return;
#line 1457 "tracker-sparql-expression.c"
					}
				}
#line 105 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				continue;
#line 1462 "tracker-sparql-expression.c"
			}
		}
#line 107 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		break;
#line 1467 "tracker-sparql-expression.c"
	}
#line 109 "/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 109 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 109 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 109 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 109 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 1479 "tracker-sparql-expression.c"
		} else {
#line 109 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 109 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 109 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 1487 "tracker-sparql-expression.c"
		}
	}
}


void tracker_sparql_expression_skip_select_variables (TrackerSparqlExpression* self, GError** error) {
	GError * _inner_error_ = NULL;
#line 112 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_if_fail (self != NULL);
#line 113 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	while (TRUE) {
#line 1499 "tracker-sparql-expression.c"
		TrackerSparqlTokenType _tmp0_;
#line 114 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp0_ = tracker_sparql_expression_current (self);
#line 114 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		switch (_tmp0_) {
#line 114 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			case TRACKER_SPARQL_TOKEN_TYPE_OPEN_PARENS:
#line 1507 "tracker-sparql-expression.c"
			{
#line 116 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				tracker_sparql_expression_skip_bracketted_expression (self, &_inner_error_);
#line 116 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 116 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 116 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_propagate_error (error, _inner_error_);
#line 116 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return;
#line 1519 "tracker-sparql-expression.c"
					} else {
#line 116 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 116 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_clear_error (&_inner_error_);
#line 116 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return;
#line 1527 "tracker-sparql-expression.c"
					}
				}
#line 117 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				continue;
#line 1532 "tracker-sparql-expression.c"
			}
#line 114 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			case TRACKER_SPARQL_TOKEN_TYPE_FROM:
#line 114 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			case TRACKER_SPARQL_TOKEN_TYPE_WHERE:
#line 114 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			case TRACKER_SPARQL_TOKEN_TYPE_OPEN_BRACE:
#line 114 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			case TRACKER_SPARQL_TOKEN_TYPE_GROUP:
#line 114 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			case TRACKER_SPARQL_TOKEN_TYPE_ORDER:
#line 114 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			case TRACKER_SPARQL_TOKEN_TYPE_LIMIT:
#line 114 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			case TRACKER_SPARQL_TOKEN_TYPE_OFFSET:
#line 114 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			case TRACKER_SPARQL_TOKEN_TYPE_EOF:
#line 1550 "tracker-sparql-expression.c"
			{
#line 126 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				break;
#line 1554 "tracker-sparql-expression.c"
			}
			default:
			{
#line 128 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				tracker_sparql_expression_next (self, &_inner_error_);
#line 128 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 128 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 128 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_propagate_error (error, _inner_error_);
#line 128 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return;
#line 1568 "tracker-sparql-expression.c"
					} else {
#line 128 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 128 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_clear_error (&_inner_error_);
#line 128 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return;
#line 1576 "tracker-sparql-expression.c"
					}
				}
#line 129 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				continue;
#line 1581 "tracker-sparql-expression.c"
			}
		}
#line 131 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		break;
#line 1586 "tracker-sparql-expression.c"
	}
}


static glong string_strnlen (gchar* str, glong maxlen) {
	glong result = 0L;
	gchar* end = NULL;
	gchar* _tmp0_;
	glong _tmp1_;
	gchar* _tmp2_;
	gchar* _tmp3_;
#line 1330 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
	_tmp0_ = str;
#line 1330 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
	_tmp1_ = maxlen;
#line 1330 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
	_tmp2_ = memchr (_tmp0_, 0, (gsize) _tmp1_);
#line 1330 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
	end = _tmp2_;
#line 1331 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
	_tmp3_ = end;
#line 1331 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
	if (_tmp3_ == NULL) {
#line 1610 "tracker-sparql-expression.c"
		glong _tmp4_;
#line 1332 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		_tmp4_ = maxlen;
#line 1332 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		result = _tmp4_;
#line 1332 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		return result;
#line 1618 "tracker-sparql-expression.c"
	} else {
		gchar* _tmp5_;
		gchar* _tmp6_;
#line 1334 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		_tmp5_ = end;
#line 1334 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		_tmp6_ = str;
#line 1334 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		result = (glong) (_tmp5_ - _tmp6_);
#line 1334 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		return result;
#line 1630 "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 1341 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, NULL);
#line 1343 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
	_tmp1_ = offset;
#line 1343 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
	if (_tmp1_ >= ((glong) 0)) {
#line 1654 "tracker-sparql-expression.c"
		glong _tmp2_;
#line 1343 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		_tmp2_ = len;
#line 1343 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		_tmp0_ = _tmp2_ >= ((glong) 0);
#line 1660 "tracker-sparql-expression.c"
	} else {
#line 1343 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		_tmp0_ = FALSE;
#line 1664 "tracker-sparql-expression.c"
	}
#line 1343 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
	if (_tmp0_) {
#line 1668 "tracker-sparql-expression.c"
		glong _tmp3_;
		glong _tmp4_;
		glong _tmp5_;
#line 1345 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		_tmp3_ = offset;
#line 1345 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		_tmp4_ = len;
#line 1345 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		_tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_);
#line 1345 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		string_length = _tmp5_;
#line 1680 "tracker-sparql-expression.c"
	} else {
		gint _tmp6_;
		gint _tmp7_;
#line 1347 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		_tmp6_ = strlen (self);
#line 1347 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		_tmp7_ = _tmp6_;
#line 1347 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		string_length = (glong) _tmp7_;
#line 1690 "tracker-sparql-expression.c"
	}
#line 1350 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
	_tmp8_ = offset;
#line 1350 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
	if (_tmp8_ < ((glong) 0)) {
#line 1696 "tracker-sparql-expression.c"
		glong _tmp9_;
		glong _tmp10_;
		glong _tmp11_;
#line 1351 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		_tmp9_ = string_length;
#line 1351 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		_tmp10_ = offset;
#line 1351 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		offset = _tmp9_ + _tmp10_;
#line 1352 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		_tmp11_ = offset;
#line 1352 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL);
#line 1710 "tracker-sparql-expression.c"
	} else {
		glong _tmp12_;
		glong _tmp13_;
#line 1354 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		_tmp12_ = offset;
#line 1354 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		_tmp13_ = string_length;
#line 1354 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL);
#line 1720 "tracker-sparql-expression.c"
	}
#line 1356 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
	_tmp14_ = len;
#line 1356 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
	if (_tmp14_ < ((glong) 0)) {
#line 1726 "tracker-sparql-expression.c"
		glong _tmp15_;
		glong _tmp16_;
#line 1357 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		_tmp15_ = string_length;
#line 1357 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		_tmp16_ = offset;
#line 1357 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
		len = _tmp15_ - _tmp16_;
#line 1735 "tracker-sparql-expression.c"
	}
#line 1359 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
	_tmp17_ = offset;
#line 1359 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
	_tmp18_ = len;
#line 1359 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
	_tmp19_ = string_length;
#line 1359 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
	g_return_val_if_fail ((_tmp17_ + _tmp18_) <= _tmp19_, NULL);
#line 1360 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
	_tmp20_ = offset;
#line 1360 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
	_tmp21_ = len;
#line 1360 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
	_tmp22_ = g_strndup (((gchar*) self) + _tmp20_, (gsize) _tmp21_);
#line 1360 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
	result = _tmp22_;
#line 1360 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
	return result;
#line 1755 "tracker-sparql-expression.c"
}


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


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


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


static void _vala_array_add4 (gchar** * array, int* length, int* size, gchar* value) {
#line 229 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if ((*length) == (*size)) {
#line 229 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 229 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		*array = g_renew (gchar*, *array, (*size) + 1);
#line 1817 "tracker-sparql-expression.c"
	}
#line 229 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	(*array)[(*length)++] = value;
#line 229 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	(*array)[*length] = NULL;
#line 1823 "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 = NULL;
	gboolean expect_close_parens = FALSE;
	gboolean as_handled = FALSE;
	glong begin = 0L;
	GString* _tmp0_;
	gssize _tmp1_;
	TrackerPropertyType type = 0;
	TrackerSparqlTokenType _tmp2_;
	gboolean _tmp42_;
	gboolean _tmp46_ = FALSE;
	gboolean _tmp47_;
	TrackerSparqlPattern* _tmp75_;
	TrackerSparqlPattern* _tmp76_;
	TrackerSparqlVariable* _tmp77_;
	gboolean _tmp110_;
	TrackerSparqlVariable* _tmp111_;
	GError * _inner_error_ = NULL;
#line 135 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 135 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (sql != NULL, 0);
#line 136 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	variable = NULL;
#line 137 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	expect_close_parens = FALSE;
#line 138 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	as_handled = FALSE;
#line 140 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = sql;
#line 140 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp1_ = _tmp0_->len;
#line 140 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	begin = (glong) _tmp1_;
#line 141 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	type = TRACKER_PROPERTY_TYPE_UNKNOWN;
#line 142 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp2_ = tracker_sparql_expression_current (self);
#line 142 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (_tmp2_ == TRACKER_SPARQL_TOKEN_TYPE_VAR) {
#line 1868 "tracker-sparql-expression.c"
		TrackerPropertyType _tmp3_ = 0;
		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 143 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp4_ = sql;
#line 143 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp5_ = tracker_sparql_expression_translate_expression (self, _tmp4_, &_inner_error_);
#line 143 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp3_ = _tmp5_;
#line 143 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 143 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 143 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 143 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_object_unref0 (variable);
#line 143 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 1898 "tracker-sparql-expression.c"
			} else {
#line 143 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_object_unref0 (variable);
#line 143 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 143 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 143 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 1908 "tracker-sparql-expression.c"
			}
		}
#line 143 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		type = _tmp3_;
#line 145 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp6_ = tracker_sparql_expression_get_context (self);
#line 145 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp7_ = _tmp6_;
#line 145 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp8_ = tracker_sparql_expression_get_last_string (self, 0);
#line 145 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp9_ = _tmp8_;
#line 145 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp10_ = string_substring (_tmp9_, (glong) 1, (glong) -1);
#line 145 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp11_ = _tmp10_;
#line 145 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp12_ = tracker_sparql_context_get_variable (_tmp7_, _tmp11_);
#line 145 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp13_ = _g_object_ref0 (_tmp12_);
#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"
		variable = _tmp13_;
#line 145 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_g_free0 (_tmp11_);
#line 145 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_g_free0 (_tmp9_);
#line 147 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp14_ = variable;
#line 147 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp15_ = _tmp14_->binding;
#line 147 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp15_ == NULL) {
#line 1943 "tracker-sparql-expression.c"
			TrackerSparqlVariable* _tmp16_;
			const gchar* _tmp17_;
			const gchar* _tmp18_;
			gchar* _tmp19_;
			gchar* _tmp20_;
			GError* _tmp21_;
			GError* _tmp22_;
#line 148 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp16_ = variable;
#line 148 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp17_ = tracker_sparql_variable_get_name (_tmp16_);
#line 148 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp18_ = _tmp17_;
#line 148 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp19_ = g_strdup_printf ("use of undefined variable `%s'", _tmp18_);
#line 148 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp20_ = _tmp19_;
#line 148 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp21_ = tracker_sparql_expression_get_error (self, _tmp20_);
#line 148 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp22_ = _tmp21_;
#line 148 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (_tmp20_);
#line 148 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_inner_error_ = _tmp22_;
#line 148 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 148 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 148 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_object_unref0 (variable);
#line 148 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 1977 "tracker-sparql-expression.c"
			} else {
#line 148 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_object_unref0 (variable);
#line 148 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 148 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 148 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 1987 "tracker-sparql-expression.c"
			}
		}
	} else {
		gboolean _tmp23_ = FALSE;
		gboolean _tmp24_;
#line 150 "/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 150 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp23_ = _tmp24_;
#line 150 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 150 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 150 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 150 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_object_unref0 (variable);
#line 150 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 2007 "tracker-sparql-expression.c"
			} else {
#line 150 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_object_unref0 (variable);
#line 150 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 150 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 150 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 2017 "tracker-sparql-expression.c"
			}
		}
#line 150 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp23_) {
#line 2022 "tracker-sparql-expression.c"
			TrackerSparqlTokenType _tmp25_;
#line 151 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp25_ = tracker_sparql_expression_current (self);
#line 151 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_tmp25_ == TRACKER_SPARQL_TOKEN_TYPE_SELECT) {
#line 2028 "tracker-sparql-expression.c"
				GString* _tmp26_;
				TrackerSparqlSelectContext* select_context = NULL;
				TrackerSparqlPattern* _tmp27_;
				TrackerSparqlPattern* _tmp28_;
				GString* _tmp29_;
				TrackerSparqlSelectContext* _tmp30_;
				GString* _tmp31_;
				TrackerSparqlSelectContext* _tmp32_;
				TrackerPropertyType _tmp33_;
#line 154 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp26_ = sql;
#line 154 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_string_append (_tmp26_, "(");
#line 155 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp27_ = tracker_sparql_expression_get_pattern (self);
#line 155 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp28_ = _tmp27_;
#line 155 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp29_ = sql;
#line 155 "/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 155 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				select_context = _tmp30_;
#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"
						_g_object_unref0 (variable);
#line 155 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return 0;
#line 2062 "tracker-sparql-expression.c"
					} else {
#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 2072 "tracker-sparql-expression.c"
					}
				}
#line 156 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp31_ = sql;
#line 156 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_string_append (_tmp31_, ")");
#line 158 "/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 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"
						_tracker_sparql_context_unref0 (select_context);
#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 2093 "tracker-sparql-expression.c"
					} else {
#line 158 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tracker_sparql_context_unref0 (select_context);
#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 2105 "tracker-sparql-expression.c"
					}
				}
#line 159 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp32_ = select_context;
#line 159 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp33_ = _tmp32_->type;
#line 159 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				type = _tmp33_;
#line 151 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tracker_sparql_context_unref0 (select_context);
#line 2116 "tracker-sparql-expression.c"
			} else {
				TrackerPropertyType _tmp34_ = 0;
				GString* _tmp35_;
				TrackerPropertyType _tmp36_;
				gboolean _tmp37_ = FALSE;
				gboolean _tmp38_;
#line 161 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp35_ = sql;
#line 161 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp36_ = tracker_sparql_expression_translate_expression (self, _tmp35_, &_inner_error_);
#line 161 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp34_ = _tmp36_;
#line 161 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 161 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 161 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_propagate_error (error, _inner_error_);
#line 161 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_g_object_unref0 (variable);
#line 161 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return 0;
#line 2139 "tracker-sparql-expression.c"
					} else {
#line 161 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_g_object_unref0 (variable);
#line 161 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 161 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_clear_error (&_inner_error_);
#line 161 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return 0;
#line 2149 "tracker-sparql-expression.c"
					}
				}
#line 161 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				type = _tmp34_;
#line 162 "/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 162 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp37_ = _tmp38_;
#line 162 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 162 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 162 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_propagate_error (error, _inner_error_);
#line 162 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_g_object_unref0 (variable);
#line 162 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return 0;
#line 2168 "tracker-sparql-expression.c"
					} else {
#line 162 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_g_object_unref0 (variable);
#line 162 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 162 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_clear_error (&_inner_error_);
#line 162 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return 0;
#line 2178 "tracker-sparql-expression.c"
					}
				}
#line 162 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_tmp37_) {
#line 2183 "tracker-sparql-expression.c"
				} else {
#line 168 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					expect_close_parens = TRUE;
#line 2187 "tracker-sparql-expression.c"
				}
			}
		} else {
			TrackerPropertyType _tmp39_ = 0;
			GString* _tmp40_;
			TrackerPropertyType _tmp41_;
#line 174 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp40_ = sql;
#line 174 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp41_ = tracker_sparql_expression_translate_expression (self, _tmp40_, &_inner_error_);
#line 174 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp39_ = _tmp41_;
#line 174 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 174 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 174 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 174 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_object_unref0 (variable);
#line 174 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 2210 "tracker-sparql-expression.c"
				} else {
#line 174 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_object_unref0 (variable);
#line 174 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 174 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 174 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 2220 "tracker-sparql-expression.c"
				}
			}
#line 174 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			type = _tmp39_;
#line 2225 "tracker-sparql-expression.c"
		}
	}
#line 177 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp42_ = subquery;
#line 177 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (!_tmp42_) {
#line 2232 "tracker-sparql-expression.c"
		GString* _tmp43_;
		TrackerPropertyType _tmp44_;
		glong _tmp45_;
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp43_ = sql;
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp44_ = type;
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp45_ = begin;
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		tracker_sparql_expression_convert_expression_to_string (_tmp43_, _tmp44_, _tmp45_);
#line 2244 "tracker-sparql-expression.c"
	}
#line 181 "/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 181 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp46_ = _tmp47_;
#line 181 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 181 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 181 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 181 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_object_unref0 (variable);
#line 181 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 2260 "tracker-sparql-expression.c"
		} else {
#line 181 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_object_unref0 (variable);
#line 181 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 181 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 181 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 2270 "tracker-sparql-expression.c"
		}
	}
#line 181 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (_tmp46_) {
#line 2275 "tracker-sparql-expression.c"
		TrackerSparqlContext* _tmp48_;
		TrackerSparqlContext* _tmp49_;
		gchar* _tmp50_;
		gchar* _tmp51_;
		gchar* _tmp52_;
		gchar* _tmp53_;
		TrackerSparqlVariable* _tmp54_;
		TrackerSparqlVariable* _tmp55_;
		GString* _tmp56_;
		TrackerSparqlVariable* _tmp57_;
		const gchar* _tmp58_;
		const gchar* _tmp59_;
		gboolean _tmp60_;
#line 183 "/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 183 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 183 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 183 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 183 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_object_unref0 (variable);
#line 183 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 2301 "tracker-sparql-expression.c"
			} else {
#line 183 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_object_unref0 (variable);
#line 183 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 183 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 183 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 2311 "tracker-sparql-expression.c"
			}
		}
#line 184 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp48_ = tracker_sparql_expression_get_context (self);
#line 184 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp49_ = _tmp48_;
#line 184 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp50_ = tracker_sparql_expression_get_last_string (self, 0);
#line 184 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp51_ = _tmp50_;
#line 184 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp52_ = string_substring (_tmp51_, (glong) 1, (glong) -1);
#line 184 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp53_ = _tmp52_;
#line 184 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp54_ = tracker_sparql_context_get_variable (_tmp49_, _tmp53_);
#line 184 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp55_ = _g_object_ref0 (_tmp54_);
#line 184 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_g_object_unref0 (variable);
#line 184 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		variable = _tmp55_;
#line 184 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_g_free0 (_tmp53_);
#line 184 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_g_free0 (_tmp51_);
#line 185 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp56_ = sql;
#line 185 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp57_ = variable;
#line 185 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp58_ = tracker_sparql_variable_get_sql_expression (_tmp57_);
#line 185 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp59_ = _tmp58_;
#line 185 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		g_string_append_printf (_tmp56_, " AS %s", _tmp59_);
#line 186 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		as_handled = TRUE;
#line 188 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp60_ = subquery;
#line 188 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp60_) {
#line 2354 "tracker-sparql-expression.c"
			TrackerSparqlVariableBinding* binding = NULL;
			TrackerSparqlVariableBinding* _tmp61_;
			TrackerSparqlVariableBinding* _tmp62_;
			TrackerPropertyType _tmp63_;
			TrackerSparqlVariableBinding* _tmp64_;
			TrackerSparqlVariable* _tmp65_;
			TrackerSparqlVariableBinding* _tmp66_;
			TrackerSparqlVariable* _tmp67_;
			const gchar* _tmp68_;
			const gchar* _tmp69_;
			TrackerSparqlPattern* _tmp70_;
			TrackerSparqlPattern* _tmp71_;
			GString* _tmp72_;
			GString* _tmp73_;
			TrackerSparqlVariableBinding* _tmp74_;
#line 189 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp61_ = tracker_sparql_variable_binding_new ();
#line 189 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			binding = _tmp61_;
#line 190 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp62_ = binding;
#line 190 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp63_ = type;
#line 190 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			((TrackerSparqlDataBinding*) _tmp62_)->data_type = _tmp63_;
#line 191 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp64_ = binding;
#line 191 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp65_ = variable;
#line 191 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp64_->variable = _tmp65_;
#line 192 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp66_ = binding;
#line 192 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp67_ = variable;
#line 192 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp68_ = tracker_sparql_variable_get_sql_expression (_tmp67_);
#line 192 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp69_ = _tmp68_;
#line 192 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_data_binding_set_sql_expression ((TrackerSparqlDataBinding*) _tmp66_, _tmp69_);
#line 193 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp70_ = tracker_sparql_expression_get_pattern (self);
#line 193 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp71_ = _tmp70_;
#line 193 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp72_ = g_string_new ("");
#line 193 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp73_ = _tmp72_;
#line 193 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp74_ = binding;
#line 193 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_pattern_add_variable_binding (_tmp71_, _tmp73_, _tmp74_, TRACKER_SPARQL_VARIABLE_STATE_BOUND);
#line 193 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_string_free0 (_tmp73_);
#line 188 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_object_unref0 (binding);
#line 2412 "tracker-sparql-expression.c"
		}
	}
#line 197 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp75_ = tracker_sparql_expression_get_pattern (self);
#line 197 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp76_ = _tmp75_;
#line 197 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp77_ = _tmp76_->fts_subject;
#line 197 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (_tmp77_ != NULL) {
#line 2423 "tracker-sparql-expression.c"
		TrackerSparqlVariable* _tmp78_;
		const gchar* _tmp86_;
#line 198 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp78_ = variable;
#line 198 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp78_ == NULL) {
#line 2430 "tracker-sparql-expression.c"
			TrackerSparqlContext* _tmp79_;
			TrackerSparqlContext* _tmp80_;
			gint _tmp81_;
			gchar* _tmp82_;
			gchar* _tmp83_;
			TrackerSparqlVariable* _tmp84_;
			TrackerSparqlVariable* _tmp85_;
#line 201 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp79_ = tracker_sparql_expression_get_context (self);
#line 201 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp80_ = _tmp79_;
#line 201 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp81_ = variable_index;
#line 201 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp82_ = g_strdup_printf ("var%d", _tmp81_ + 1);
#line 201 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp83_ = _tmp82_;
#line 201 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp84_ = tracker_sparql_context_get_variable (_tmp80_, _tmp83_);
#line 201 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp85_ = _g_object_ref0 (_tmp84_);
#line 201 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_object_unref0 (variable);
#line 201 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			variable = _tmp85_;
#line 201 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (_tmp83_);
#line 2458 "tracker-sparql-expression.c"
		}
#line 204 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp86_ = self->priv->fts_sql;
#line 204 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp86_ == NULL) {
#line 2464 "tracker-sparql-expression.c"
			TrackerSparqlPattern* _tmp87_;
			TrackerSparqlPattern* _tmp88_;
			TrackerSparqlPattern* _tmp89_;
			TrackerSparqlPattern* _tmp90_;
			gchar** _tmp91_;
			gint _tmp91__length1;
			TrackerSparqlVariable* _tmp92_;
			const gchar* _tmp93_;
			const gchar* _tmp94_;
			gchar* _tmp95_;
			gboolean _tmp96_;
#line 205 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp87_ = tracker_sparql_expression_get_pattern (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_ = tracker_sparql_expression_get_pattern (self);
#line 205 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp90_ = _tmp89_;
#line 205 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp91_ = _tmp90_->fts_variables;
#line 205 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp91__length1 = _tmp90_->fts_variables_length1;
#line 205 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp92_ = variable;
#line 205 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp93_ = tracker_sparql_variable_get_sql_expression (_tmp92_);
#line 205 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp94_ = _tmp93_;
#line 205 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp95_ = g_strdup (_tmp94_);
#line 205 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_vala_array_add1 (&_tmp88_->fts_variables, &_tmp88_->fts_variables_length1, &_tmp88_->_fts_variables_size_, _tmp95_);
#line 207 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp96_ = as_handled;
#line 207 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_tmp96_ == FALSE) {
#line 2502 "tracker-sparql-expression.c"
				GString* _tmp97_;
				TrackerSparqlVariable* _tmp98_;
				const gchar* _tmp99_;
				const gchar* _tmp100_;
#line 208 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp97_ = sql;
#line 208 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp98_ = variable;
#line 208 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp99_ = tracker_sparql_variable_get_sql_expression (_tmp98_);
#line 208 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp100_ = _tmp99_;
#line 208 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_string_append_printf (_tmp97_, " AS %s", _tmp100_);
#line 2517 "tracker-sparql-expression.c"
			}
		} else {
			TrackerSparqlPattern* _tmp101_;
			TrackerSparqlPattern* _tmp102_;
			TrackerSparqlPattern* _tmp103_;
			TrackerSparqlPattern* _tmp104_;
			gchar** _tmp105_;
			gint _tmp105__length1;
			const gchar* _tmp106_;
			gchar* _tmp107_;
			TrackerSparqlPattern* _tmp108_;
			TrackerSparqlPattern* _tmp109_;
#line 211 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp101_ = tracker_sparql_expression_get_pattern (self);
#line 211 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp102_ = _tmp101_;
#line 211 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp103_ = tracker_sparql_expression_get_pattern (self);
#line 211 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp104_ = _tmp103_;
#line 211 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp105_ = _tmp104_->fts_variables;
#line 211 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp105__length1 = _tmp104_->fts_variables_length1;
#line 211 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp106_ = self->priv->fts_sql;
#line 211 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp107_ = g_strdup (_tmp106_);
#line 211 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_vala_array_add2 (&_tmp102_->fts_variables, &_tmp102_->fts_variables_length1, &_tmp102_->_fts_variables_size_, _tmp107_);
#line 212 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp108_ = tracker_sparql_expression_get_pattern (self);
#line 212 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp109_ = _tmp108_;
#line 212 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp109_->queries_fts_data = TRUE;
#line 2554 "tracker-sparql-expression.c"
		}
	}
#line 216 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp110_ = expect_close_parens;
#line 216 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (_tmp110_) {
#line 217 "/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 217 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 217 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 217 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 217 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_object_unref0 (variable);
#line 217 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 2573 "tracker-sparql-expression.c"
			} else {
#line 217 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_object_unref0 (variable);
#line 217 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 217 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 217 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 2583 "tracker-sparql-expression.c"
			}
		}
	}
#line 220 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp111_ = variable;
#line 220 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (_tmp111_ != NULL) {
#line 2591 "tracker-sparql-expression.c"
		gint state = 0;
		TrackerSparqlContext* _tmp112_;
		TrackerSparqlContext* _tmp113_;
		GHashTable* _tmp114_;
		TrackerSparqlVariable* _tmp115_;
		gconstpointer _tmp116_;
		gint _tmp117_;
		TrackerSparqlContext* _tmp118_;
		TrackerSparqlContext* _tmp119_;
		GHashTable* _tmp120_;
		TrackerSparqlVariable* _tmp121_;
		TrackerSparqlVariable* _tmp122_;
		gint _tmp123_;
		TrackerSparqlContext* _tmp124_;
		TrackerSparqlContext* _tmp125_;
		TrackerSparqlContext* _tmp126_;
		TrackerSparqlContext* _tmp127_;
		gchar** _tmp128_;
		gint _tmp128__length1;
		TrackerSparqlVariable* _tmp129_;
		const gchar* _tmp130_;
		const gchar* _tmp131_;
		gchar* _tmp132_;
#line 221 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp112_ = tracker_sparql_expression_get_context (self);
#line 221 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp113_ = _tmp112_;
#line 221 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp114_ = _tmp113_->var_set;
#line 221 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp115_ = variable;
#line 221 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp116_ = g_hash_table_lookup (_tmp114_, _tmp115_);
#line 221 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		state = (gint) ((gintptr) _tmp116_);
#line 222 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp117_ = state;
#line 222 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp117_ == 0) {
#line 223 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			state = (gint) TRACKER_SPARQL_VARIABLE_STATE_BOUND;
#line 2633 "tracker-sparql-expression.c"
		}
#line 225 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp118_ = tracker_sparql_expression_get_context (self);
#line 225 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp119_ = _tmp118_;
#line 225 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp120_ = _tmp119_->select_var_set;
#line 225 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp121_ = variable;
#line 225 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp122_ = _g_object_ref0 (_tmp121_);
#line 225 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp123_ = state;
#line 225 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		g_hash_table_insert (_tmp120_, _tmp122_, (gpointer) ((gintptr) _tmp123_));
#line 227 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp124_ = tracker_sparql_expression_get_context (self);
#line 227 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp125_ = _tmp124_;
#line 227 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp126_ = tracker_sparql_expression_get_context (self);
#line 227 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp127_ = _tmp126_;
#line 227 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp128_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp127_, TRACKER_SPARQL_TYPE_SELECT_CONTEXT, TrackerSparqlSelectContext)->variable_names;
#line 227 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp128__length1 = G_TYPE_CHECK_INSTANCE_CAST (_tmp127_, TRACKER_SPARQL_TYPE_SELECT_CONTEXT, TrackerSparqlSelectContext)->variable_names_length1;
#line 227 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp129_ = variable;
#line 227 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp130_ = tracker_sparql_variable_get_name (_tmp129_);
#line 227 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp131_ = _tmp130_;
#line 227 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp132_ = g_strdup (_tmp131_);
#line 227 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_vala_array_add3 (&G_TYPE_CHECK_INSTANCE_CAST (_tmp125_, TRACKER_SPARQL_TYPE_SELECT_CONTEXT, TrackerSparqlSelectContext)->variable_names, &G_TYPE_CHECK_INSTANCE_CAST (_tmp125_, TRACKER_SPARQL_TYPE_SELECT_CONTEXT, TrackerSparqlSelectContext)->variable_names_length1, &G_TYPE_CHECK_INSTANCE_CAST (_tmp125_, TRACKER_SPARQL_TYPE_SELECT_CONTEXT, TrackerSparqlSelectContext)->_variable_names_size_, _tmp132_);
#line 2671 "tracker-sparql-expression.c"
	} else {
		TrackerSparqlContext* _tmp133_;
		TrackerSparqlContext* _tmp134_;
		TrackerSparqlContext* _tmp135_;
		TrackerSparqlContext* _tmp136_;
		gchar** _tmp137_;
		gint _tmp137__length1;
		gint _tmp138_;
		gchar* _tmp139_;
#line 229 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp133_ = tracker_sparql_expression_get_context (self);
#line 229 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp134_ = _tmp133_;
#line 229 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp135_ = tracker_sparql_expression_get_context (self);
#line 229 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp136_ = _tmp135_;
#line 229 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp137_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp136_, TRACKER_SPARQL_TYPE_SELECT_CONTEXT, TrackerSparqlSelectContext)->variable_names;
#line 229 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp137__length1 = G_TYPE_CHECK_INSTANCE_CAST (_tmp136_, TRACKER_SPARQL_TYPE_SELECT_CONTEXT, TrackerSparqlSelectContext)->variable_names_length1;
#line 229 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp138_ = variable_index;
#line 229 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp139_ = g_strdup_printf ("var%d", _tmp138_ + 1);
#line 229 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_vala_array_add4 (&G_TYPE_CHECK_INSTANCE_CAST (_tmp134_, TRACKER_SPARQL_TYPE_SELECT_CONTEXT, TrackerSparqlSelectContext)->variable_names, &G_TYPE_CHECK_INSTANCE_CAST (_tmp134_, TRACKER_SPARQL_TYPE_SELECT_CONTEXT, TrackerSparqlSelectContext)->variable_names_length1, &G_TYPE_CHECK_INSTANCE_CAST (_tmp134_, TRACKER_SPARQL_TYPE_SELECT_CONTEXT, TrackerSparqlSelectContext)->_variable_names_size_, _tmp139_);
#line 2699 "tracker-sparql-expression.c"
	}
#line 232 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_g_free0 (self->priv->fts_sql);
#line 232 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	self->priv->fts_sql = NULL;
#line 234 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	result = type;
#line 234 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_g_object_unref0 (variable);
#line 234 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	return result;
#line 2711 "tracker-sparql-expression.c"
}


static void tracker_sparql_expression_translate_expression_as_order_condition (TrackerSparqlExpression* self, GString* sql, GError** error) {
	glong begin = 0L;
	GString* _tmp0_;
	gssize _tmp1_;
	TrackerPropertyType _tmp2_ = 0;
	GString* _tmp3_;
	TrackerPropertyType _tmp4_;
	GError * _inner_error_ = NULL;
#line 237 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_if_fail (self != NULL);
#line 237 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_if_fail (sql != NULL);
#line 238 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = sql;
#line 238 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp1_ = _tmp0_->len;
#line 238 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	begin = (glong) _tmp1_;
#line 239 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp3_ = sql;
#line 239 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp4_ = tracker_sparql_expression_translate_expression (self, _tmp3_, &_inner_error_);
#line 239 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp2_ = _tmp4_;
#line 239 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 239 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 239 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 239 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 2747 "tracker-sparql-expression.c"
		} else {
#line 239 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 239 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 239 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 2755 "tracker-sparql-expression.c"
		}
	}
#line 239 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (_tmp2_ == TRACKER_PROPERTY_TYPE_RESOURCE) {
#line 2760 "tracker-sparql-expression.c"
		GString* _tmp5_;
		GString* _tmp6_;
#line 241 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp5_ = sql;
#line 241 "/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 242 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp6_ = sql;
#line 242 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		g_string_append (_tmp6_, ")");
#line 2771 "tracker-sparql-expression.c"
	}
}


void tracker_sparql_expression_translate_order_condition (TrackerSparqlExpression* self, GString* sql, GError** error) {
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_;
	GError * _inner_error_ = NULL;
#line 246 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_if_fail (self != NULL);
#line 246 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_if_fail (sql != NULL);
#line 247 "/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 247 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = _tmp1_;
#line 247 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 247 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 247 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 247 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 2796 "tracker-sparql-expression.c"
		} else {
#line 247 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 247 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 247 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 2804 "tracker-sparql-expression.c"
		}
	}
#line 247 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (_tmp0_) {
#line 2809 "tracker-sparql-expression.c"
		GString* _tmp2_;
		GString* _tmp3_;
#line 248 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp2_ = sql;
#line 248 "/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 248 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 248 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 248 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 248 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return;
#line 2824 "tracker-sparql-expression.c"
			} else {
#line 248 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 248 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 248 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return;
#line 2832 "tracker-sparql-expression.c"
			}
		}
#line 249 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp3_ = sql;
#line 249 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		g_string_append (_tmp3_, " ASC");
#line 2839 "tracker-sparql-expression.c"
	} else {
		gboolean _tmp4_ = FALSE;
		gboolean _tmp5_;
#line 250 "/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 250 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp4_ = _tmp5_;
#line 250 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 250 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 250 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 250 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return;
#line 2855 "tracker-sparql-expression.c"
			} else {
#line 250 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 250 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 250 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return;
#line 2863 "tracker-sparql-expression.c"
			}
		}
#line 250 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp4_) {
#line 2868 "tracker-sparql-expression.c"
			GString* _tmp6_;
			GString* _tmp7_;
#line 251 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp6_ = sql;
#line 251 "/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 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 2883 "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 2891 "tracker-sparql-expression.c"
				}
			}
#line 252 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp7_ = sql;
#line 252 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp7_, " DESC");
#line 2898 "tracker-sparql-expression.c"
		} else {
			GString* _tmp8_;
#line 254 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp8_ = sql;
#line 254 "/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 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 2913 "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 2921 "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 258 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_if_fail (self != NULL);
#line 258 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_if_fail (sql != NULL);
#line 259 "/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 259 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 259 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 259 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 259 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 2948 "tracker-sparql-expression.c"
		} else {
#line 259 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 259 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 259 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 2956 "tracker-sparql-expression.c"
		}
	}
#line 260 "/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 260 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 260 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 260 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 260 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 2969 "tracker-sparql-expression.c"
		} else {
#line 260 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 260 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 260 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 2977 "tracker-sparql-expression.c"
		}
	}
#line 261 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = sql;
#line 261 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_string_append (_tmp0_, "(");
#line 262 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp1_ = sql;
#line 262 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	tracker_sparql_expression_translate_expression (self, _tmp1_, &_inner_error_);
#line 262 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 262 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 262 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 262 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 2996 "tracker-sparql-expression.c"
		} else {
#line 262 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 262 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 262 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 3004 "tracker-sparql-expression.c"
		}
	}
#line 263 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp2_ = sql;
#line 263 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_string_append (_tmp2_, " IS NOT NULL)");
#line 264 "/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 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 3021 "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 3029 "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 = 0;
	GString* _tmp3_;
	TrackerPropertyType _tmp4_;
	GString* _tmp5_;
	GString* _tmp6_;
	GString* _tmp7_;
	GError * _inner_error_ = NULL;
#line 267 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 267 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (sql != NULL, 0);
#line 268 "/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 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 0;
#line 3061 "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 0;
#line 3069 "tracker-sparql-expression.c"
		}
	}
#line 269 "/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 269 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 269 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 269 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 269 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 3082 "tracker-sparql-expression.c"
		} else {
#line 269 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 269 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 269 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 3090 "tracker-sparql-expression.c"
		}
	}
#line 272 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = sql;
#line 272 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_string_append (_tmp0_, "(CASE ");
#line 273 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp1_ = sql;
#line 273 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	tracker_sparql_expression_translate_expression (self, _tmp1_, &_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 3109 "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 3117 "tracker-sparql-expression.c"
		}
	}
#line 276 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp2_ = sql;
#line 276 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_string_append (_tmp2_, " WHEN 1 THEN ");
#line 277 "/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 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 3134 "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 3142 "tracker-sparql-expression.c"
		}
	}
#line 278 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp3_ = sql;
#line 278 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp4_ = tracker_sparql_expression_translate_expression (self, _tmp3_, &_inner_error_);
#line 278 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	type = _tmp4_;
#line 278 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 278 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 278 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 278 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 3159 "tracker-sparql-expression.c"
		} else {
#line 278 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 278 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 278 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 3167 "tracker-sparql-expression.c"
		}
	}
#line 281 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp5_ = sql;
#line 281 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_string_append (_tmp5_, " WHEN 0 THEN ");
#line 282 "/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 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 3184 "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 3192 "tracker-sparql-expression.c"
		}
	}
#line 283 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp6_ = sql;
#line 283 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	tracker_sparql_expression_translate_expression (self, _tmp6_, &_inner_error_);
#line 283 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 283 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 283 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 283 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 3207 "tracker-sparql-expression.c"
		} else {
#line 283 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 283 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 283 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 3215 "tracker-sparql-expression.c"
		}
	}
#line 285 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp7_ = sql;
#line 285 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_string_append (_tmp7_, " ELSE NULL END)");
#line 287 "/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 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 3232 "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 3240 "tracker-sparql-expression.c"
		}
	}
#line 289 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	result = type;
#line 289 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	return result;
#line 3247 "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_ = NULL;
	gchar* _tmp4_;
	GString* _tmp5_;
	gchar* _tmp6_;
	gchar* _tmp7_;
	GString* _tmp8_;
	gboolean _tmp9_ = FALSE;
	gboolean _tmp10_;
	GString* _tmp17_;
	GError * _inner_error_ = NULL;
#line 292 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_if_fail (self != NULL);
#line 292 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_if_fail (sql != NULL);
#line 293 "/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 293 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 293 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 293 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 293 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 3279 "tracker-sparql-expression.c"
		} else {
#line 293 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 293 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 293 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 3287 "tracker-sparql-expression.c"
		}
	}
#line 294 "/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 294 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 294 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 294 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 294 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 3300 "tracker-sparql-expression.c"
		} else {
#line 294 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 294 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 294 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 3308 "tracker-sparql-expression.c"
		}
	}
#line 295 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = sql;
#line 295 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_string_append (_tmp0_, "SparqlRegex(");
#line 296 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp1_ = sql;
#line 296 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	tracker_sparql_expression_translate_expression_as_string (self, _tmp1_, &_inner_error_);
#line 296 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 296 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 296 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 296 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 3327 "tracker-sparql-expression.c"
		} else {
#line 296 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 296 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 296 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 3335 "tracker-sparql-expression.c"
		}
	}
#line 297 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp2_ = sql;
#line 297 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_string_append (_tmp2_, ", ");
#line 298 "/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 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 3352 "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 3360 "tracker-sparql-expression.c"
		}
	}
#line 302 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp4_ = tracker_sparql_expression_parse_string_literal (self, NULL, &_inner_error_);
#line 302 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp3_ = _tmp4_;
#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 3375 "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 3383 "tracker-sparql-expression.c"
		}
	}
#line 302 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp5_ = sql;
#line 302 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp6_ = tracker_sparql_expression_escape_sql_string_literal (self, _tmp3_);
#line 302 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp7_ = _tmp6_;
#line 302 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_string_append (_tmp5_, _tmp7_);
#line 302 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_g_free0 (_tmp7_);
#line 303 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp8_ = sql;
#line 303 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_string_append (_tmp8_, ", ");
#line 304 "/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 304 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp9_ = _tmp10_;
#line 304 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 304 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 304 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 304 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (_tmp3_);
#line 304 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 3414 "tracker-sparql-expression.c"
		} else {
#line 304 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (_tmp3_);
#line 304 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 304 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 304 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 3424 "tracker-sparql-expression.c"
		}
	}
#line 304 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (_tmp9_) {
#line 3429 "tracker-sparql-expression.c"
		gchar* _tmp11_ = NULL;
		gchar* _tmp12_;
		GString* _tmp13_;
		gchar* _tmp14_;
		gchar* _tmp15_;
#line 307 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp12_ = tracker_sparql_expression_parse_string_literal (self, NULL, &_inner_error_);
#line 307 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp11_ = _tmp12_;
#line 307 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 307 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 307 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 307 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_free0 (_tmp3_);
#line 307 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return;
#line 3449 "tracker-sparql-expression.c"
			} else {
#line 307 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_free0 (_tmp3_);
#line 307 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 307 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 307 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return;
#line 3459 "tracker-sparql-expression.c"
			}
		}
#line 307 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp13_ = sql;
#line 307 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp14_ = tracker_sparql_expression_escape_sql_string_literal (self, _tmp11_);
#line 307 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp15_ = _tmp14_;
#line 307 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		g_string_append (_tmp13_, _tmp15_);
#line 307 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_g_free0 (_tmp15_);
#line 304 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_g_free0 (_tmp11_);
#line 3474 "tracker-sparql-expression.c"
	} else {
		GString* _tmp16_;
#line 309 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp16_ = sql;
#line 309 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		g_string_append (_tmp16_, "''");
#line 3481 "tracker-sparql-expression.c"
	}
#line 311 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp17_ = sql;
#line 311 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_string_append (_tmp17_, ")");
#line 312 "/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 312 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 312 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 312 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 312 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (_tmp3_);
#line 312 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 3499 "tracker-sparql-expression.c"
		} else {
#line 312 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (_tmp3_);
#line 312 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 312 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 312 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 3509 "tracker-sparql-expression.c"
		}
	}
#line 292 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_g_free0 (_tmp3_);
#line 3514 "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 315 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_if_fail (self != NULL);
#line 315 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_if_fail (sql != NULL);
#line 316 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = sql;
#line 316 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_string_append (_tmp0_, "(");
#line 317 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp1_ = tracker_sparql_expression_get_pattern (self);
#line 317 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp2_ = _tmp1_;
#line 317 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp3_ = sql;
#line 317 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	tracker_sparql_pattern_translate_exists (_tmp2_, _tmp3_, &_inner_error_);
#line 317 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 317 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 317 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 317 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 3549 "tracker-sparql-expression.c"
		} else {
#line 317 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 317 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 317 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 3557 "tracker-sparql-expression.c"
		}
	}
#line 318 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp4_ = sql;
#line 318 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_string_append (_tmp4_, ")");
#line 3564 "tracker-sparql-expression.c"
}


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


static void tracker_sparql_expression_convert_expression_to_string (GString* sql, TrackerPropertyType type, glong begin) {
	TrackerPropertyType _tmp0_;
#line 327 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_if_fail (sql != NULL);
#line 328 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = type;
#line 328 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	switch (_tmp0_) {
#line 328 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_PROPERTY_TYPE_STRING:
#line 328 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_PROPERTY_TYPE_INTEGER:
#line 3614 "tracker-sparql-expression.c"
		{
#line 334 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			break;
#line 3618 "tracker-sparql-expression.c"
		}
#line 328 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_PROPERTY_TYPE_RESOURCE:
#line 3622 "tracker-sparql-expression.c"
		{
			GString* _tmp1_;
			glong _tmp2_;
			GString* _tmp3_;
#line 337 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp1_ = sql;
#line 337 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp2_ = begin;
#line 337 "/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 338 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp3_ = sql;
#line 338 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp3_, ")");
#line 339 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			break;
#line 3639 "tracker-sparql-expression.c"
		}
#line 328 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_PROPERTY_TYPE_BOOLEAN:
#line 3643 "tracker-sparql-expression.c"
		{
			GString* _tmp4_;
			glong _tmp5_;
			GString* _tmp6_;
#line 342 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp4_ = sql;
#line 342 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp5_ = begin;
#line 342 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_insert (_tmp4_, (gssize) _tmp5_, "CASE ");
#line 343 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp6_ = sql;
#line 343 "/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 344 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			break;
#line 3660 "tracker-sparql-expression.c"
		}
#line 328 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_PROPERTY_TYPE_DATE:
#line 3664 "tracker-sparql-expression.c"
		{
			GString* _tmp7_;
			glong _tmp8_;
			GString* _tmp9_;
#line 347 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp7_ = sql;
#line 347 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp8_ = begin;
#line 347 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_insert (_tmp7_, (gssize) _tmp8_, "strftime (\"%Y-%m-%d\", ");
#line 348 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp9_ = sql;
#line 348 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp9_, ", \"unixepoch\")");
#line 349 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			break;
#line 3681 "tracker-sparql-expression.c"
		}
#line 328 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_PROPERTY_TYPE_DATETIME:
#line 3685 "tracker-sparql-expression.c"
		{
			GString* _tmp10_;
			glong _tmp11_;
			GString* _tmp12_;
#line 352 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp10_ = sql;
#line 352 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp11_ = begin;
#line 352 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_insert (_tmp10_, (gssize) _tmp11_, "SparqlFormatTime (");
#line 353 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp12_ = sql;
#line 353 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp12_, ")");
#line 354 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			break;
#line 3702 "tracker-sparql-expression.c"
		}
		default:
		{
			GString* _tmp13_;
			glong _tmp14_;
			GString* _tmp15_;
#line 357 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp13_ = sql;
#line 357 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp14_ = begin;
#line 357 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_insert (_tmp13_, (gssize) _tmp14_, "CAST (");
#line 358 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp15_ = sql;
#line 358 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp15_, " AS TEXT)");
#line 359 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			break;
#line 3721 "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 363 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_if_fail (self != NULL);
#line 363 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_if_fail (sql != NULL);
#line 364 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = tracker_sparql_expression_current (self);
#line 364 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	switch (_tmp0_) {
#line 364 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_IRI_REF:
#line 364 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_PN_PREFIX:
#line 364 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_COLON:
#line 3744 "tracker-sparql-expression.c"
		{
			TrackerSparqlLiteralBinding* binding = NULL;
			TrackerSparqlLiteralBinding* _tmp1_;
			gboolean is_var = FALSE;
			gchar* _tmp2_ = NULL;
			TrackerSparqlPattern* _tmp3_;
			TrackerSparqlPattern* _tmp4_;
			gboolean _tmp5_ = FALSE;
			gchar* _tmp6_;
			TrackerSparqlLiteralBinding* _tmp7_;
			gchar* _tmp8_;
			gboolean _tmp9_ = FALSE;
			gboolean _tmp10_;
#line 369 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp1_ = tracker_sparql_literal_binding_new ();
#line 369 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			binding = _tmp1_;
#line 371 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp3_ = tracker_sparql_expression_get_pattern (self);
#line 371 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp4_ = _tmp3_;
#line 371 "/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 371 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			is_var = _tmp5_;
#line 371 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp2_ = _tmp6_;
#line 371 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 371 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 371 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 371 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_object_unref0 (binding);
#line 371 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return;
#line 3782 "tracker-sparql-expression.c"
				} else {
#line 371 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_object_unref0 (binding);
#line 371 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 371 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 371 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return;
#line 3792 "tracker-sparql-expression.c"
				}
			}
#line 371 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp7_ = binding;
#line 371 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp8_ = _tmp2_;
#line 371 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp2_ = NULL;
#line 371 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (_tmp7_->literal);
#line 371 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp7_->literal = _tmp8_;
#line 372 "/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 372 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp9_ = _tmp10_;
#line 372 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 372 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 372 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 372 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_free0 (_tmp2_);
#line 372 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_object_unref0 (binding);
#line 372 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return;
#line 3821 "tracker-sparql-expression.c"
				} else {
#line 372 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_free0 (_tmp2_);
#line 372 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_object_unref0 (binding);
#line 372 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 372 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 372 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return;
#line 3833 "tracker-sparql-expression.c"
				}
			}
#line 372 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_tmp9_) {
#line 3838 "tracker-sparql-expression.c"
				glong begin = 0L;
				GString* _tmp11_;
				gssize _tmp12_;
				TrackerPropertyType type = 0;
				GString* _tmp13_;
				TrackerSparqlLiteralBinding* _tmp14_;
				const gchar* _tmp15_;
				TrackerPropertyType _tmp16_;
				GString* _tmp17_;
				TrackerPropertyType _tmp18_;
				glong _tmp19_;
#line 374 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp11_ = sql;
#line 374 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp12_ = _tmp11_->len;
#line 374 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				begin = (glong) _tmp12_;
#line 375 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp13_ = sql;
#line 375 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp14_ = binding;
#line 375 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp15_ = _tmp14_->literal;
#line 375 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp16_ = tracker_sparql_expression_translate_function (self, _tmp13_, _tmp15_, &_inner_error_);
#line 375 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				type = _tmp16_;
#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_free0 (_tmp2_);
#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 3878 "tracker-sparql-expression.c"
					} else {
#line 375 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_g_free0 (_tmp2_);
#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 3890 "tracker-sparql-expression.c"
					}
				}
#line 376 "/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 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 3907 "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 3919 "tracker-sparql-expression.c"
					}
				}
#line 377 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp17_ = sql;
#line 377 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp18_ = type;
#line 377 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp19_ = begin;
#line 377 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				tracker_sparql_expression_convert_expression_to_string (_tmp17_, _tmp18_, _tmp19_);
#line 3930 "tracker-sparql-expression.c"
			} else {
				GString* _tmp20_;
				TrackerSparqlQuery* _tmp21_;
				TrackerSparqlLiteralBinding* _tmp22_;
				TrackerSparqlLiteralBinding* _tmp23_;
#line 379 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp20_ = sql;
#line 379 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_string_append (_tmp20_, "?");
#line 380 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp21_ = self->priv->query;
#line 380 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp22_ = binding;
#line 380 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp23_ = _g_object_ref0 (_tmp22_);
#line 380 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp21_->bindings = g_list_append (_tmp21_->bindings, _tmp23_);
#line 3948 "tracker-sparql-expression.c"
			}
#line 382 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (_tmp2_);
#line 382 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_object_unref0 (binding);
#line 382 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			break;
#line 3956 "tracker-sparql-expression.c"
		}
		default:
		{
			glong begin = 0L;
			GString* _tmp24_;
			gssize _tmp25_;
			TrackerPropertyType type = 0;
			GString* _tmp26_;
			TrackerPropertyType _tmp27_;
			GString* _tmp28_;
			TrackerPropertyType _tmp29_;
			glong _tmp30_;
#line 384 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp24_ = sql;
#line 384 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp25_ = _tmp24_->len;
#line 384 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			begin = (glong) _tmp25_;
#line 385 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp26_ = sql;
#line 385 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp27_ = tracker_sparql_expression_translate_expression (self, _tmp26_, &_inner_error_);
#line 385 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			type = _tmp27_;
#line 385 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 385 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 385 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 385 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return;
#line 3989 "tracker-sparql-expression.c"
				} else {
#line 385 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 385 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 385 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return;
#line 3997 "tracker-sparql-expression.c"
				}
			}
#line 386 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp28_ = sql;
#line 386 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp29_ = type;
#line 386 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp30_ = begin;
#line 386 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_convert_expression_to_string (_tmp28_, _tmp29_, _tmp30_);
#line 387 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			break;
#line 4010 "tracker-sparql-expression.c"
		}
	}
}


static void tracker_sparql_expression_translate_str (TrackerSparqlExpression* self, GString* sql, GError** error) {
	GString* _tmp0_;
	GError * _inner_error_ = NULL;
#line 391 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_if_fail (self != NULL);
#line 391 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_if_fail (sql != NULL);
#line 392 "/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 392 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 392 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 392 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 392 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 4033 "tracker-sparql-expression.c"
		} else {
#line 392 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 392 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 392 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 4041 "tracker-sparql-expression.c"
		}
	}
#line 393 "/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 393 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 393 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 393 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 393 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 4054 "tracker-sparql-expression.c"
		} else {
#line 393 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 393 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 393 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 4062 "tracker-sparql-expression.c"
		}
	}
#line 395 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = sql;
#line 395 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	tracker_sparql_expression_translate_expression_as_string (self, _tmp0_, &_inner_error_);
#line 395 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 395 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 395 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 395 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 4077 "tracker-sparql-expression.c"
		} else {
#line 395 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 395 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 395 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 4085 "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_CLOSE_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 4098 "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 4106 "tracker-sparql-expression.c"
		}
	}
}


static void tracker_sparql_expression_translate_isuri (TrackerSparqlExpression* self, GString* sql, GError** error) {
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_;
	GString* _tmp2_;
	TrackerSparqlLiteralBinding* new_binding = NULL;
	TrackerSparqlLiteralBinding* _tmp3_;
	TrackerSparqlLiteralBinding* _tmp4_;
	TrackerSparqlTokenType _tmp5_;
	TrackerSparqlQuery* _tmp17_;
	TrackerSparqlLiteralBinding* _tmp18_;
	TrackerSparqlLiteralBinding* _tmp19_;
	GError * _inner_error_ = NULL;
#line 400 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_if_fail (self != NULL);
#line 400 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_if_fail (sql != NULL);
#line 401 "/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 401 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = _tmp1_;
#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"
		}
	}
#line 401 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (!_tmp0_) {
#line 402 "/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 402 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 402 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 402 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 402 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return;
#line 4163 "tracker-sparql-expression.c"
			} else {
#line 402 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 402 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 402 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return;
#line 4171 "tracker-sparql-expression.c"
			}
		}
	}
#line 405 "/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 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 4185 "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 4193 "tracker-sparql-expression.c"
		}
	}
#line 407 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp2_ = sql;
#line 407 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_string_append (_tmp2_, "?");
#line 408 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp3_ = tracker_sparql_literal_binding_new ();
#line 408 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	new_binding = _tmp3_;
#line 409 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp4_ = new_binding;
#line 409 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	((TrackerSparqlDataBinding*) _tmp4_)->data_type = TRACKER_PROPERTY_TYPE_INTEGER;
#line 411 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp5_ = tracker_sparql_expression_current (self);
#line 411 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (_tmp5_ == TRACKER_SPARQL_TOKEN_TYPE_IRI_REF) {
#line 4212 "tracker-sparql-expression.c"
		TrackerSparqlLiteralBinding* _tmp6_;
		gchar* _tmp7_;
#line 412 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp6_ = new_binding;
#line 412 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp7_ = g_strdup ("1");
#line 412 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_g_free0 (_tmp6_->literal);
#line 412 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp6_->literal = _tmp7_;
#line 413 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		tracker_sparql_expression_next (self, &_inner_error_);
#line 413 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 413 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 413 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 413 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_object_unref0 (new_binding);
#line 413 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return;
#line 4235 "tracker-sparql-expression.c"
			} else {
#line 413 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_object_unref0 (new_binding);
#line 413 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 413 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 413 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return;
#line 4245 "tracker-sparql-expression.c"
			}
		}
	} else {
		TrackerPropertyType _tmp8_ = 0;
		GString* _tmp9_;
		GString* _tmp10_;
		TrackerPropertyType _tmp11_;
		TrackerPropertyType _tmp12_;
#line 414 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp9_ = g_string_new ("");
#line 414 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp10_ = _tmp9_;
#line 414 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp11_ = tracker_sparql_expression_translate_expression (self, _tmp10_, &_inner_error_);
#line 414 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp12_ = _tmp11_;
#line 414 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_g_string_free0 (_tmp10_);
#line 414 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp8_ = _tmp12_;
#line 414 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 414 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 414 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 414 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_object_unref0 (new_binding);
#line 414 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return;
#line 4276 "tracker-sparql-expression.c"
			} else {
#line 414 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_object_unref0 (new_binding);
#line 414 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 414 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 414 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return;
#line 4286 "tracker-sparql-expression.c"
			}
		}
#line 414 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp8_ == TRACKER_PROPERTY_TYPE_RESOURCE) {
#line 4291 "tracker-sparql-expression.c"
			TrackerSparqlLiteralBinding* _tmp13_;
			gchar* _tmp14_;
#line 415 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp13_ = new_binding;
#line 415 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp14_ = g_strdup ("1");
#line 415 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (_tmp13_->literal);
#line 415 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp13_->literal = _tmp14_;
#line 4302 "tracker-sparql-expression.c"
		} else {
			TrackerSparqlLiteralBinding* _tmp15_;
			gchar* _tmp16_;
#line 417 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp15_ = new_binding;
#line 417 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp16_ = g_strdup ("0");
#line 417 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (_tmp15_->literal);
#line 417 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp15_->literal = _tmp16_;
#line 4314 "tracker-sparql-expression.c"
		}
	}
#line 420 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp17_ = self->priv->query;
#line 420 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp18_ = new_binding;
#line 420 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp19_ = _g_object_ref0 (_tmp18_);
#line 420 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp17_->bindings = g_list_append (_tmp17_->bindings, _tmp19_);
#line 422 "/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 422 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 422 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 422 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 422 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_object_unref0 (new_binding);
#line 422 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 4337 "tracker-sparql-expression.c"
		} else {
#line 422 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_object_unref0 (new_binding);
#line 422 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 422 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 422 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 4347 "tracker-sparql-expression.c"
		}
	}
#line 400 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_g_object_unref0 (new_binding);
#line 4352 "tracker-sparql-expression.c"
}


static void tracker_sparql_expression_translate_datatype (TrackerSparqlExpression* self, GString* sql, GError** error) {
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_;
	GError * _inner_error_ = NULL;
#line 425 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_if_fail (self != NULL);
#line 425 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_if_fail (sql != NULL);
#line 426 "/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 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"
			return;
#line 4374 "tracker-sparql-expression.c"
		} else {
#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 4382 "tracker-sparql-expression.c"
		}
	}
#line 427 "/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 427 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 427 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 427 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 427 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 4395 "tracker-sparql-expression.c"
		} else {
#line 427 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 427 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 427 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 4403 "tracker-sparql-expression.c"
		}
	}
#line 429 "/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 429 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = _tmp1_;
#line 429 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 429 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 429 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 429 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 4418 "tracker-sparql-expression.c"
		} else {
#line 429 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 429 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 429 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 4426 "tracker-sparql-expression.c"
		}
	}
#line 429 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (_tmp0_) {
#line 4431 "tracker-sparql-expression.c"
		gchar* variable_name = NULL;
		gchar* _tmp2_;
		gchar* _tmp3_;
		gchar* _tmp4_;
		gchar* _tmp5_;
		TrackerSparqlVariable* variable = NULL;
		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 = NULL;
		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 430 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp2_ = tracker_sparql_expression_get_last_string (self, 0);
#line 430 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp3_ = _tmp2_;
#line 430 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp4_ = string_substring (_tmp3_, (glong) 1, (glong) -1);
#line 430 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp5_ = _tmp4_;
#line 430 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_g_free0 (_tmp3_);
#line 430 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		variable_name = _tmp5_;
#line 431 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp6_ = tracker_sparql_expression_get_context (self);
#line 431 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp7_ = _tmp6_;
#line 431 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp8_ = variable_name;
#line 431 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp9_ = tracker_sparql_context_get_variable (_tmp7_, _tmp8_);
#line 431 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp10_ = _g_object_ref0 (_tmp9_);
#line 431 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		variable = _tmp10_;
#line 433 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp11_ = variable;
#line 433 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp12_ = _tmp11_->binding;
#line 433 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp12_ == NULL) {
#line 4492 "tracker-sparql-expression.c"
			TrackerSparqlVariable* _tmp13_;
			const gchar* _tmp14_;
			const gchar* _tmp15_;
			gchar* _tmp16_;
			gchar* _tmp17_;
			GError* _tmp18_;
			GError* _tmp19_;
#line 434 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp13_ = variable;
#line 434 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp14_ = tracker_sparql_variable_get_name (_tmp13_);
#line 434 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp15_ = _tmp14_;
#line 434 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp16_ = g_strdup_printf ("`%s' is not a valid variable", _tmp15_);
#line 434 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp17_ = _tmp16_;
#line 434 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp18_ = tracker_sparql_expression_get_error (self, _tmp17_);
#line 434 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp19_ = _tmp18_;
#line 434 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (_tmp17_);
#line 434 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_inner_error_ = _tmp19_;
#line 434 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 434 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 434 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_object_unref0 (variable);
#line 434 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_free0 (variable_name);
#line 434 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return;
#line 4528 "tracker-sparql-expression.c"
			} else {
#line 434 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_object_unref0 (variable);
#line 434 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_free0 (variable_name);
#line 434 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 434 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 434 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return;
#line 4540 "tracker-sparql-expression.c"
			}
		}
#line 437 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp21_ = variable;
#line 437 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp22_ = _tmp21_->binding;
#line 437 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp23_ = ((TrackerSparqlDataBinding*) _tmp22_)->data_type;
#line 437 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp23_ == TRACKER_PROPERTY_TYPE_RESOURCE) {
#line 437 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp20_ = TRUE;
#line 4553 "tracker-sparql-expression.c"
		} else {
			TrackerSparqlVariable* _tmp24_;
			TrackerSparqlVariableBinding* _tmp25_;
			TrackerClass* _tmp26_;
#line 437 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp24_ = variable;
#line 437 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp25_ = _tmp24_->binding;
#line 437 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp26_ = _tmp25_->type;
#line 437 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp20_ = _tmp26_ == NULL;
#line 4566 "tracker-sparql-expression.c"
		}
#line 437 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp20_) {
#line 4570 "tracker-sparql-expression.c"
			GError* _tmp27_;
#line 438 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp27_ = tracker_sparql_expression_get_error (self, "Invalid FILTER");
#line 438 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_inner_error_ = _tmp27_;
#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 4586 "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 4598 "tracker-sparql-expression.c"
			}
		}
#line 441 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp28_ = sql;
#line 441 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		g_string_append (_tmp28_, "(SELECT ID FROM Resource WHERE Uri = ?)");
#line 443 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp29_ = tracker_sparql_literal_binding_new ();
#line 443 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		new_binding = _tmp29_;
#line 444 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp30_ = new_binding;
#line 444 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp31_ = variable;
#line 444 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp32_ = _tmp31_->binding;
#line 444 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp33_ = _tmp32_->type;
#line 444 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp34_ = tracker_class_get_uri (_tmp33_);
#line 444 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp35_ = _tmp34_;
#line 444 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp36_ = g_strdup (_tmp35_);
#line 444 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_g_free0 (_tmp30_->literal);
#line 444 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp30_->literal = _tmp36_;
#line 445 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp37_ = self->priv->query;
#line 445 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp38_ = new_binding;
#line 445 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp39_ = _g_object_ref0 (_tmp38_);
#line 445 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp37_->bindings = g_list_append (_tmp37_->bindings, _tmp39_);
#line 429 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_g_object_unref0 (new_binding);
#line 429 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_g_object_unref0 (variable);
#line 429 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_g_free0 (variable_name);
#line 4641 "tracker-sparql-expression.c"
	} else {
		GError* _tmp40_;
#line 448 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp40_ = tracker_sparql_expression_get_error (self, "Invalid FILTER");
#line 448 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_inner_error_ = _tmp40_;
#line 448 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 448 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 448 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 4654 "tracker-sparql-expression.c"
		} else {
#line 448 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 448 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 448 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 4662 "tracker-sparql-expression.c"
		}
	}
#line 451 "/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 451 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 451 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 451 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 451 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 4675 "tracker-sparql-expression.c"
		} else {
#line 451 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 451 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 451 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 4683 "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_ = FALSE;
	gboolean _tmp3_;
	GString* _tmp19_;
	GError * _inner_error_ = NULL;
#line 454 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_if_fail (self != NULL);
#line 454 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_if_fail (sql != NULL);
#line 454 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_if_fail (format != NULL);
#line 455 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = sql;
#line 455 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp1_ = format;
#line 455 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_string_append_printf (_tmp0_, "strftime (\"%s\", ", _tmp1_);
#line 457 "/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 457 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp2_ = _tmp3_;
#line 457 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 457 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 457 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 457 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 4720 "tracker-sparql-expression.c"
		} else {
#line 457 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 457 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 457 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 4728 "tracker-sparql-expression.c"
		}
	}
#line 457 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (_tmp2_) {
#line 4733 "tracker-sparql-expression.c"
		gchar* variable_name = NULL;
		gchar* _tmp4_;
		gchar* _tmp5_;
		gchar* _tmp6_;
		gchar* _tmp7_;
		TrackerSparqlVariable* variable = NULL;
		TrackerSparqlContext* _tmp8_;
		TrackerSparqlContext* _tmp9_;
		const gchar* _tmp10_;
		TrackerSparqlVariable* _tmp11_;
		TrackerSparqlVariable* _tmp12_;
		GString* _tmp13_;
		TrackerSparqlVariable* _tmp14_;
		gchar* _tmp15_;
		gchar* _tmp16_;
		GString* _tmp17_;
#line 458 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp4_ = tracker_sparql_expression_get_last_string (self, 0);
#line 458 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp5_ = _tmp4_;
#line 458 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp6_ = string_substring (_tmp5_, (glong) 1, (glong) -1);
#line 458 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp7_ = _tmp6_;
#line 458 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_g_free0 (_tmp5_);
#line 458 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		variable_name = _tmp7_;
#line 459 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp8_ = tracker_sparql_expression_get_context (self);
#line 459 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp9_ = _tmp8_;
#line 459 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp10_ = variable_name;
#line 459 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp11_ = tracker_sparql_context_get_variable (_tmp9_, _tmp10_);
#line 459 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp12_ = _g_object_ref0 (_tmp11_);
#line 459 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		variable = _tmp12_;
#line 460 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp13_ = sql;
#line 460 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp14_ = variable;
#line 460 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp15_ = tracker_sparql_variable_get_extra_sql_expression (_tmp14_, "localDate");
#line 460 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp16_ = _tmp15_;
#line 460 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		g_string_append (_tmp13_, _tmp16_);
#line 460 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_g_free0 (_tmp16_);
#line 461 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp17_ = sql;
#line 461 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		g_string_append (_tmp17_, " * 24 * 3600");
#line 457 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_g_object_unref0 (variable);
#line 457 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_g_free0 (variable_name);
#line 4794 "tracker-sparql-expression.c"
	} else {
		GString* _tmp18_;
#line 463 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp18_ = sql;
#line 463 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		tracker_sparql_expression_translate_primary_expression (self, _tmp18_, &_inner_error_);
#line 463 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 463 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 463 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 463 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return;
#line 4809 "tracker-sparql-expression.c"
			} else {
#line 463 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 463 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 463 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return;
#line 4817 "tracker-sparql-expression.c"
			}
		}
	}
#line 466 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp19_ = sql;
#line 466 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_string_append (_tmp19_, ", \"unixepoch\")");
#line 4825 "tracker-sparql-expression.c"
}


static void tracker_sparql_expression_translate_time (TrackerSparqlExpression* self, GString* sql, TrackerSparqlExpressionTimeFormatType type, GError** error) {
	GString* _tmp0_;
	gboolean _tmp1_ = FALSE;
	gboolean _tmp2_;
	TrackerSparqlExpressionTimeFormatType _tmp17_;
	GString* _tmp21_;
	GError * _inner_error_ = NULL;
#line 469 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_if_fail (self != NULL);
#line 469 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_if_fail (sql != NULL);
#line 470 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = sql;
#line 470 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_string_append (_tmp0_, "(");
#line 471 "/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 471 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp1_ = _tmp2_;
#line 471 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 471 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 471 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 471 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 4856 "tracker-sparql-expression.c"
		} else {
#line 471 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 471 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 471 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return;
#line 4864 "tracker-sparql-expression.c"
		}
	}
#line 471 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (_tmp1_) {
#line 4869 "tracker-sparql-expression.c"
		gchar* variable_name = NULL;
		gchar* _tmp3_;
		gchar* _tmp4_;
		gchar* _tmp5_;
		gchar* _tmp6_;
		TrackerSparqlVariable* variable = NULL;
		TrackerSparqlContext* _tmp7_;
		TrackerSparqlContext* _tmp8_;
		const gchar* _tmp9_;
		TrackerSparqlVariable* _tmp10_;
		TrackerSparqlVariable* _tmp11_;
		GString* _tmp12_;
		TrackerSparqlVariable* _tmp13_;
		gchar* _tmp14_;
		gchar* _tmp15_;
#line 472 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp3_ = tracker_sparql_expression_get_last_string (self, 0);
#line 472 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp4_ = _tmp3_;
#line 472 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp5_ = string_substring (_tmp4_, (glong) 1, (glong) -1);
#line 472 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp6_ = _tmp5_;
#line 472 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_g_free0 (_tmp4_);
#line 472 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		variable_name = _tmp6_;
#line 473 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp7_ = tracker_sparql_expression_get_context (self);
#line 473 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp8_ = _tmp7_;
#line 473 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp9_ = variable_name;
#line 473 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp10_ = tracker_sparql_context_get_variable (_tmp8_, _tmp9_);
#line 473 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp11_ = _g_object_ref0 (_tmp10_);
#line 473 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		variable = _tmp11_;
#line 474 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp12_ = sql;
#line 474 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp13_ = variable;
#line 474 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp14_ = tracker_sparql_variable_get_extra_sql_expression (_tmp13_, "localTime");
#line 474 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp15_ = _tmp14_;
#line 474 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		g_string_append (_tmp12_, _tmp15_);
#line 474 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_g_free0 (_tmp15_);
#line 471 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_g_object_unref0 (variable);
#line 471 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_g_free0 (variable_name);
#line 4925 "tracker-sparql-expression.c"
	} else {
		GString* _tmp16_;
#line 476 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp16_ = sql;
#line 476 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		tracker_sparql_expression_translate_primary_expression (self, _tmp16_, &_inner_error_);
#line 476 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 476 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 476 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 476 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return;
#line 4940 "tracker-sparql-expression.c"
			} else {
#line 476 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 476 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 476 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return;
#line 4948 "tracker-sparql-expression.c"
			}
		}
	}
#line 479 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp17_ = type;
#line 479 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	switch (_tmp17_) {
#line 479 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_EXPRESSION_TIME_FORMAT_TYPE_SECONDS:
#line 4958 "tracker-sparql-expression.c"
		{
			GString* _tmp18_;
#line 481 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp18_ = sql;
#line 481 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp18_, "% 60");
#line 482 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			break;
#line 4967 "tracker-sparql-expression.c"
		}
#line 479 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_EXPRESSION_TIME_FORMAT_TYPE_MINUTES:
#line 4971 "tracker-sparql-expression.c"
		{
			GString* _tmp19_;
#line 484 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp19_ = sql;
#line 484 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp19_, " / 60 % 60");
#line 485 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			break;
#line 4980 "tracker-sparql-expression.c"
		}
#line 479 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_EXPRESSION_TIME_FORMAT_TYPE_HOURS:
#line 4984 "tracker-sparql-expression.c"
		{
			GString* _tmp20_;
#line 487 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp20_ = sql;
#line 487 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp20_, " / 3600 % 24");
#line 488 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			break;
#line 4993 "tracker-sparql-expression.c"
		}
		default:
#line 479 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		break;
#line 4998 "tracker-sparql-expression.c"
	}
#line 490 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp21_ = sql;
#line 490 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_string_append (_tmp21_, ")");
#line 5004 "tracker-sparql-expression.c"
}


static gchar* g_unichar_to_string (gunichar self) {
	gchar* result = NULL;
	gchar* str = NULL;
	gchar* _tmp0_;
	const gchar* _tmp1_;
#line 957 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
	_tmp0_ = g_new0 (gchar, 7);
#line 957 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
	str = (gchar*) _tmp0_;
#line 958 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
	_tmp1_ = str;
#line 958 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
	g_unichar_to_utf8 (self, _tmp1_);
#line 959 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
	result = str;
#line 959 "/usr/share/vala-0.38/vapi/glib-2.0.vapi"
	return result;
#line 5025 "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 493 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 493 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (sql != NULL, 0);
#line 493 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (uri != NULL, 0);
#line 494 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = uri;
#line 494 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (g_strcmp0 (_tmp0_, TRACKER_SPARQL_EXPRESSION_XSD_NS "string") == 0) {
#line 5043 "tracker-sparql-expression.c"
		GString* _tmp1_;
#line 496 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp1_ = sql;
#line 496 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		tracker_sparql_expression_translate_expression_as_string (self, _tmp1_, &_inner_error_);
#line 496 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 496 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 496 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 496 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 5057 "tracker-sparql-expression.c"
			} else {
#line 496 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 496 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 496 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 5065 "tracker-sparql-expression.c"
			}
		}
#line 498 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		result = TRACKER_PROPERTY_TYPE_STRING;
#line 498 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		return result;
#line 5072 "tracker-sparql-expression.c"
	} else {
		const gchar* _tmp2_;
#line 499 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp2_ = uri;
#line 499 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (g_strcmp0 (_tmp2_, TRACKER_SPARQL_EXPRESSION_XSD_NS "integer") == 0) {
#line 5079 "tracker-sparql-expression.c"
			GString* _tmp3_;
			GString* _tmp4_;
			GString* _tmp5_;
#line 501 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp3_ = sql;
#line 501 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp3_, "CAST (");
#line 502 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp4_ = sql;
#line 502 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_translate_expression_as_string (self, _tmp4_, &_inner_error_);
#line 502 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 502 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 502 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 502 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 5099 "tracker-sparql-expression.c"
				} else {
#line 502 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 502 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 502 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 5107 "tracker-sparql-expression.c"
				}
			}
#line 503 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp5_ = sql;
#line 503 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp5_, " AS INTEGER)");
#line 505 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = TRACKER_PROPERTY_TYPE_INTEGER;
#line 505 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 5118 "tracker-sparql-expression.c"
		} else {
			const gchar* _tmp6_;
#line 506 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp6_ = uri;
#line 506 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (g_strcmp0 (_tmp6_, TRACKER_SPARQL_EXPRESSION_XSD_NS "double") == 0) {
#line 5125 "tracker-sparql-expression.c"
				GString* _tmp7_;
				GString* _tmp8_;
				GString* _tmp9_;
#line 508 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp7_ = sql;
#line 508 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_string_append (_tmp7_, "CAST (");
#line 509 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp8_ = sql;
#line 509 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				tracker_sparql_expression_translate_expression_as_string (self, _tmp8_, &_inner_error_);
#line 509 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 509 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 509 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_propagate_error (error, _inner_error_);
#line 509 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return 0;
#line 5145 "tracker-sparql-expression.c"
					} else {
#line 509 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 509 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_clear_error (&_inner_error_);
#line 509 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return 0;
#line 5153 "tracker-sparql-expression.c"
					}
				}
#line 510 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp9_ = sql;
#line 510 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_string_append (_tmp9_, " AS REAL)");
#line 512 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				result = TRACKER_PROPERTY_TYPE_DOUBLE;
#line 512 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return result;
#line 5164 "tracker-sparql-expression.c"
			} else {
				const gchar* _tmp10_;
#line 513 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp10_ = uri;
#line 513 "/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 5171 "tracker-sparql-expression.c"
					GString* _tmp11_;
					GString* _tmp12_;
					GString* _tmp13_;
#line 515 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp11_ = sql;
#line 515 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_string_append (_tmp11_, "SparqlCaseFold (");
#line 516 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp12_ = sql;
#line 516 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					tracker_sparql_expression_translate_expression_as_string (self, _tmp12_, &_inner_error_);
#line 516 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 516 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 516 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							g_propagate_error (error, _inner_error_);
#line 516 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							return 0;
#line 5191 "tracker-sparql-expression.c"
						} else {
#line 516 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 516 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							g_clear_error (&_inner_error_);
#line 516 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							return 0;
#line 5199 "tracker-sparql-expression.c"
						}
					}
#line 517 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp13_ = sql;
#line 517 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_string_append (_tmp13_, ")");
#line 518 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					result = TRACKER_PROPERTY_TYPE_STRING;
#line 518 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return result;
#line 5210 "tracker-sparql-expression.c"
				} else {
					const gchar* _tmp14_;
#line 519 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp14_ = uri;
#line 519 "/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 5217 "tracker-sparql-expression.c"
						GString* _tmp15_;
						GString* _tmp16_;
						GString* _tmp17_;
#line 521 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp15_ = sql;
#line 521 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_string_append (_tmp15_, "lower (");
#line 522 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp16_ = sql;
#line 522 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						tracker_sparql_expression_translate_expression_as_string (self, _tmp16_, &_inner_error_);
#line 522 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 522 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 522 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								g_propagate_error (error, _inner_error_);
#line 522 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								return 0;
#line 5237 "tracker-sparql-expression.c"
							} else {
#line 522 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 522 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								g_clear_error (&_inner_error_);
#line 522 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								return 0;
#line 5245 "tracker-sparql-expression.c"
							}
						}
#line 523 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp17_ = sql;
#line 523 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_string_append (_tmp17_, ")");
#line 524 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						result = TRACKER_PROPERTY_TYPE_STRING;
#line 524 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return result;
#line 5256 "tracker-sparql-expression.c"
					} else {
						const gchar* _tmp18_;
#line 525 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp18_ = uri;
#line 525 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						if (g_strcmp0 (_tmp18_, TRACKER_SPARQL_EXPRESSION_TRACKER_NS "title-order") == 0) {
#line 5263 "tracker-sparql-expression.c"
							GString* _tmp19_;
							GString* _tmp20_;
#line 526 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp19_ = sql;
#line 526 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							tracker_sparql_expression_translate_expression_as_string (self, _tmp19_, &_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 5278 "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 5286 "tracker-sparql-expression.c"
								}
							}
#line 527 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp20_ = sql;
#line 527 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							g_string_append_printf (_tmp20_, " COLLATE %s", TRACKER_TITLE_COLLATION_NAME);
#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 5297 "tracker-sparql-expression.c"
						} else {
							const gchar* _tmp21_;
#line 529 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp21_ = uri;
#line 529 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							if (g_strcmp0 (_tmp21_, TRACKER_SPARQL_EXPRESSION_FN_NS "lower-case") == 0) {
#line 5304 "tracker-sparql-expression.c"
								GString* _tmp22_;
								GString* _tmp23_;
								GString* _tmp24_;
#line 531 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								_tmp22_ = sql;
#line 531 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								g_string_append (_tmp22_, "SparqlLowerCase (");
#line 532 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								_tmp23_ = sql;
#line 532 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								tracker_sparql_expression_translate_expression_as_string (self, _tmp23_, &_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 5324 "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 5332 "tracker-sparql-expression.c"
									}
								}
#line 533 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								_tmp24_ = sql;
#line 533 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								g_string_append (_tmp24_, ")");
#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 5343 "tracker-sparql-expression.c"
							} else {
								const gchar* _tmp25_;
#line 535 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								_tmp25_ = uri;
#line 535 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								if (g_strcmp0 (_tmp25_, TRACKER_SPARQL_EXPRESSION_FN_NS "upper-case") == 0) {
#line 5350 "tracker-sparql-expression.c"
									GString* _tmp26_;
									GString* _tmp27_;
									GString* _tmp28_;
#line 536 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
									_tmp26_ = sql;
#line 536 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
									g_string_append (_tmp26_, "SparqlUpperCase (");
#line 537 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
									_tmp27_ = sql;
#line 537 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
									tracker_sparql_expression_translate_expression_as_string (self, _tmp27_, &_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 5370 "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 5378 "tracker-sparql-expression.c"
										}
									}
#line 538 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
									_tmp28_ = sql;
#line 538 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
									g_string_append (_tmp28_, ")");
#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 5389 "tracker-sparql-expression.c"
								} else {
									const gchar* _tmp29_;
#line 540 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
									_tmp29_ = uri;
#line 540 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
									if (g_strcmp0 (_tmp29_, TRACKER_SPARQL_EXPRESSION_TRACKER_NS "normalize") == 0) {
#line 5396 "tracker-sparql-expression.c"
										GString* _tmp30_;
										GString* _tmp31_;
										GString* _tmp32_;
										GString* _tmp33_;
										GString* _tmp34_;
#line 542 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
										_tmp30_ = sql;
#line 542 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
										g_string_append (_tmp30_, "SparqlNormalize (");
#line 543 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
										_tmp31_ = sql;
#line 543 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
										tracker_sparql_expression_translate_expression_as_string (self, _tmp31_, &_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 5418 "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 5426 "tracker-sparql-expression.c"
											}
										}
#line 544 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
										_tmp32_ = sql;
#line 544 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
										g_string_append (_tmp32_, ", ");
#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 5443 "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 5451 "tracker-sparql-expression.c"
											}
										}
#line 546 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
										_tmp33_ = sql;
#line 546 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
										tracker_sparql_expression_translate_expression_as_string (self, _tmp33_, &_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 5466 "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 5474 "tracker-sparql-expression.c"
											}
										}
#line 547 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
										_tmp34_ = sql;
#line 547 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
										g_string_append (_tmp34_, ")");
#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 5485 "tracker-sparql-expression.c"
									} else {
										const gchar* _tmp35_;
#line 549 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
										_tmp35_ = uri;
#line 549 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
										if (g_strcmp0 (_tmp35_, TRACKER_SPARQL_EXPRESSION_TRACKER_NS "unaccent") == 0) {
#line 5492 "tracker-sparql-expression.c"
											GString* _tmp36_;
											GString* _tmp37_;
											GString* _tmp38_;
#line 551 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											_tmp36_ = sql;
#line 551 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											g_string_append (_tmp36_, "SparqlUnaccent (");
#line 552 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											_tmp37_ = sql;
#line 552 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											tracker_sparql_expression_translate_expression_as_string (self, _tmp37_, &_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 5512 "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 5520 "tracker-sparql-expression.c"
												}
											}
#line 553 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											_tmp38_ = sql;
#line 553 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											g_string_append (_tmp38_, ")");
#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 5531 "tracker-sparql-expression.c"
										} else {
											const gchar* _tmp39_;
#line 555 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											_tmp39_ = uri;
#line 555 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											if (g_strcmp0 (_tmp39_, TRACKER_SPARQL_EXPRESSION_FN_NS "contains") == 0) {
#line 5538 "tracker-sparql-expression.c"
												GString* _tmp40_;
												GString* _tmp41_;
												GString* _tmp42_;
												GString* _tmp43_;
												TrackerSparqlLiteralBinding* binding = NULL;
												TrackerSparqlLiteralBinding* _tmp44_;
												gchar* _tmp45_ = NULL;
												gchar* _tmp46_;
												TrackerSparqlLiteralBinding* _tmp47_;
												gchar* _tmp48_;
												TrackerSparqlQuery* _tmp49_;
												TrackerSparqlLiteralBinding* _tmp50_;
												TrackerSparqlLiteralBinding* _tmp51_;
												GString* _tmp52_;
#line 557 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												_tmp40_ = sql;
#line 557 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												g_string_append (_tmp40_, "(");
#line 558 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												_tmp41_ = sql;
#line 558 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												tracker_sparql_expression_translate_expression_as_string (self, _tmp41_, &_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 5569 "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 5577 "tracker-sparql-expression.c"
													}
												}
#line 559 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												_tmp42_ = sql;
#line 559 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												g_string_append (_tmp42_, " 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 5594 "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 5602 "tracker-sparql-expression.c"
													}
												}
#line 562 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												_tmp43_ = sql;
#line 562 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												g_string_append (_tmp43_, "?");
#line 563 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												_tmp44_ = tracker_sparql_literal_binding_new ();
#line 563 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												binding = _tmp44_;
#line 564 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												_tmp46_ = tracker_sparql_expression_parse_string_literal (self, NULL, &_inner_error_);
#line 564 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												_tmp45_ = _tmp46_;
#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 5627 "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 5637 "tracker-sparql-expression.c"
													}
												}
#line 564 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												_tmp47_ = binding;
#line 564 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												_tmp48_ = g_strdup_printf ("*%s*", _tmp45_);
#line 564 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												_g_free0 (_tmp47_->literal);
#line 564 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												_tmp47_->literal = _tmp48_;
#line 565 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												_tmp49_ = self->priv->query;
#line 565 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												_tmp50_ = binding;
#line 565 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												_tmp51_ = _g_object_ref0 (_tmp50_);
#line 565 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												_tmp49_->bindings = g_list_append (_tmp49_->bindings, _tmp51_);
#line 567 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												_tmp52_ = sql;
#line 567 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												g_string_append (_tmp52_, ")");
#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 (_tmp45_);
#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 5668 "tracker-sparql-expression.c"
											} else {
												const gchar* _tmp53_;
#line 570 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												_tmp53_ = uri;
#line 570 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
												if (g_strcmp0 (_tmp53_, TRACKER_SPARQL_EXPRESSION_FN_NS "starts-with") == 0) {
#line 5675 "tracker-sparql-expression.c"
													GString* _tmp54_;
													GString* _tmp55_;
													gchar* prefix = NULL;
													gchar* _tmp56_;
													GString* _tmp57_;
													TrackerSparqlLiteralBinding* binding = NULL;
													TrackerSparqlLiteralBinding* _tmp58_;
													TrackerSparqlLiteralBinding* _tmp59_;
													const gchar* _tmp60_;
													gchar* _tmp61_;
													TrackerSparqlQuery* _tmp62_;
													TrackerSparqlLiteralBinding* _tmp63_;
													TrackerSparqlLiteralBinding* _tmp64_;
													GString* _tmp65_;
													GString* _tmp66_;
													TrackerSparqlLiteralBinding* _tmp67_;
													TrackerSparqlLiteralBinding* _tmp68_;
													const gchar* _tmp69_;
													gchar* _tmp70_;
													gchar* _tmp71_;
													gchar* _tmp72_;
													TrackerSparqlQuery* _tmp73_;
													TrackerSparqlLiteralBinding* _tmp74_;
													TrackerSparqlLiteralBinding* _tmp75_;
#line 574 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													_tmp54_ = sql;
#line 574 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													tracker_sparql_expression_translate_expression_as_string (self, _tmp54_, &_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 5712 "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 5720 "tracker-sparql-expression.c"
														}
													}
#line 575 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													_tmp55_ = sql;
#line 575 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													g_string_append (_tmp55_, " 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 5737 "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 5745 "tracker-sparql-expression.c"
														}
													}
#line 578 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													_tmp56_ = 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 = _tmp56_;
#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 5760 "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 5768 "tracker-sparql-expression.c"
														}
													}
#line 580 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													_tmp57_ = sql;
#line 580 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													g_string_append (_tmp57_, "?");
#line 581 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													_tmp58_ = tracker_sparql_literal_binding_new ();
#line 581 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													binding = _tmp58_;
#line 582 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													_tmp59_ = binding;
#line 582 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													_tmp60_ = prefix;
#line 582 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													_tmp61_ = g_strdup (_tmp60_);
#line 582 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													_g_free0 (_tmp59_->literal);
#line 582 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													_tmp59_->literal = _tmp61_;
#line 583 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													_tmp62_ = self->priv->query;
#line 583 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													_tmp63_ = binding;
#line 583 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													_tmp64_ = _g_object_ref0 (_tmp63_);
#line 583 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													_tmp62_->bindings = g_list_append (_tmp62_->bindings, _tmp64_);
#line 585 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													_tmp65_ = sql;
#line 585 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													g_string_append (_tmp65_, " AND ");
#line 587 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													_tmp66_ = sql;
#line 587 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													g_string_append (_tmp66_, "?");
#line 588 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													_tmp67_ = 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 = _tmp67_;
#line 589 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													_tmp68_ = binding;
#line 589 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													_tmp69_ = prefix;
#line 589 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													_tmp70_ = g_unichar_to_string (TRACKER_COLLATION_LAST_CHAR);
#line 589 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													_tmp71_ = _tmp70_;
#line 589 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													_tmp72_ = g_strconcat (_tmp69_, _tmp71_, NULL);
#line 589 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													_g_free0 (_tmp68_->literal);
#line 589 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													_tmp68_->literal = _tmp72_;
#line 589 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													_g_free0 (_tmp71_);
#line 590 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													_tmp73_ = self->priv->query;
#line 590 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													_tmp74_ = binding;
#line 590 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													_tmp75_ = _g_object_ref0 (_tmp74_);
#line 590 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													_tmp73_->bindings = g_list_append (_tmp73_->bindings, _tmp75_);
#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 5843 "tracker-sparql-expression.c"
												} else {
													const gchar* _tmp76_;
#line 593 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													_tmp76_ = uri;
#line 593 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
													if (g_strcmp0 (_tmp76_, TRACKER_SPARQL_EXPRESSION_FN_NS "ends-with") == 0) {
#line 5850 "tracker-sparql-expression.c"
														GString* _tmp77_;
														GString* _tmp78_;
														GString* _tmp79_;
														GString* _tmp80_;
														TrackerSparqlLiteralBinding* binding = NULL;
														TrackerSparqlLiteralBinding* _tmp81_;
														gchar* _tmp82_ = NULL;
														gchar* _tmp83_;
														TrackerSparqlLiteralBinding* _tmp84_;
														gchar* _tmp85_;
														TrackerSparqlQuery* _tmp86_;
														TrackerSparqlLiteralBinding* _tmp87_;
														TrackerSparqlLiteralBinding* _tmp88_;
														GString* _tmp89_;
#line 595 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														_tmp77_ = sql;
#line 595 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														g_string_append (_tmp77_, "(");
#line 596 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														_tmp78_ = sql;
#line 596 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														tracker_sparql_expression_translate_expression_as_string (self, _tmp78_, &_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 5881 "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 5889 "tracker-sparql-expression.c"
															}
														}
#line 597 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														_tmp79_ = sql;
#line 597 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														g_string_append (_tmp79_, " 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 5906 "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 5914 "tracker-sparql-expression.c"
															}
														}
#line 600 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														_tmp80_ = sql;
#line 600 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														g_string_append (_tmp80_, "?");
#line 601 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														_tmp81_ = tracker_sparql_literal_binding_new ();
#line 601 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														binding = _tmp81_;
#line 602 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														_tmp83_ = tracker_sparql_expression_parse_string_literal (self, NULL, &_inner_error_);
#line 602 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														_tmp82_ = _tmp83_;
#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 5939 "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 5949 "tracker-sparql-expression.c"
															}
														}
#line 602 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														_tmp84_ = binding;
#line 602 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														_tmp85_ = g_strdup_printf ("*%s", _tmp82_);
#line 602 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														_g_free0 (_tmp84_->literal);
#line 602 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														_tmp84_->literal = _tmp85_;
#line 603 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														_tmp86_ = self->priv->query;
#line 603 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														_tmp87_ = binding;
#line 603 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														_tmp88_ = _g_object_ref0 (_tmp87_);
#line 603 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														_tmp86_->bindings = g_list_append (_tmp86_->bindings, _tmp88_);
#line 605 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														_tmp89_ = sql;
#line 605 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														g_string_append (_tmp89_, ")");
#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 (_tmp82_);
#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 5980 "tracker-sparql-expression.c"
													} else {
														const gchar* _tmp90_;
#line 608 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														_tmp90_ = uri;
#line 608 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
														if (g_strcmp0 (_tmp90_, TRACKER_SPARQL_EXPRESSION_FN_NS "substring") == 0) {
#line 5987 "tracker-sparql-expression.c"
															GString* _tmp91_;
															GString* _tmp92_;
															GString* _tmp93_;
															GString* _tmp94_;
															gboolean _tmp95_ = FALSE;
															gboolean _tmp96_;
															GString* _tmp99_;
#line 609 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
															_tmp91_ = sql;
#line 609 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
															g_string_append (_tmp91_, "substr(");
#line 610 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
															_tmp92_ = sql;
#line 610 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
															tracker_sparql_expression_translate_expression_as_string (self, _tmp92_, &_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 6011 "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 6019 "tracker-sparql-expression.c"
																}
															}
#line 612 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
															_tmp93_ = sql;
#line 612 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
															g_string_append (_tmp93_, ", ");
#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 6036 "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 6044 "tracker-sparql-expression.c"
																}
															}
#line 614 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
															_tmp94_ = sql;
#line 614 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
															tracker_sparql_expression_translate_expression_as_string (self, _tmp94_, &_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 6059 "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 6067 "tracker-sparql-expression.c"
																}
															}
#line 616 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
															_tmp96_ = 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"
															_tmp95_ = _tmp96_;
#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 6082 "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 6090 "tracker-sparql-expression.c"
																}
															}
#line 616 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
															if (_tmp95_) {
#line 6095 "tracker-sparql-expression.c"
																GString* _tmp97_;
																GString* _tmp98_;
#line 617 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																_tmp97_ = sql;
#line 617 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																g_string_append (_tmp97_, ", ");
#line 618 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																_tmp98_ = sql;
#line 618 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																tracker_sparql_expression_translate_expression_as_string (self, _tmp98_, &_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 6114 "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 6122 "tracker-sparql-expression.c"
																	}
																}
															}
#line 621 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
															_tmp99_ = sql;
#line 621 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
															g_string_append (_tmp99_, ")");
#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 6134 "tracker-sparql-expression.c"
														} else {
															const gchar* _tmp100_;
#line 624 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
															_tmp100_ = uri;
#line 624 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
															if (g_strcmp0 (_tmp100_, TRACKER_SPARQL_EXPRESSION_FN_NS "concat") == 0) {
#line 6141 "tracker-sparql-expression.c"
																GString* _tmp101_;
																GString* _tmp102_;
																GString* _tmp103_;
#line 625 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																_tmp101_ = sql;
#line 625 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																tracker_sparql_expression_translate_expression_as_string (self, _tmp101_, &_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 6157 "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 6165 "tracker-sparql-expression.c"
																	}
																}
#line 626 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																_tmp102_ = sql;
#line 626 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																g_string_append (_tmp102_, "||");
#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 6182 "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 6190 "tracker-sparql-expression.c"
																	}
																}
#line 628 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																_tmp103_ = sql;
#line 628 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																tracker_sparql_expression_translate_expression_as_string (self, _tmp103_, &_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 6205 "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 6213 "tracker-sparql-expression.c"
																	}
																}
#line 629 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																while (TRUE) {
#line 6218 "tracker-sparql-expression.c"
																	gboolean _tmp104_ = FALSE;
																	gboolean _tmp105_;
																	GString* _tmp106_;
																	GString* _tmp107_;
#line 629 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	_tmp105_ = 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"
																	_tmp104_ = _tmp105_;
#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 6235 "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 6243 "tracker-sparql-expression.c"
																		}
																	}
#line 629 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	if (!_tmp104_) {
#line 629 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		break;
#line 6250 "tracker-sparql-expression.c"
																	}
#line 630 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	_tmp106_ = sql;
#line 630 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	g_string_append (_tmp106_, "||");
#line 631 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	_tmp107_ = sql;
#line 631 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	tracker_sparql_expression_translate_expression_as_string (self, _tmp107_, &_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 6268 "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 6276 "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 6284 "tracker-sparql-expression.c"
															} else {
																const gchar* _tmp108_;
#line 635 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																_tmp108_ = uri;
#line 635 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																if (g_strcmp0 (_tmp108_, TRACKER_SPARQL_EXPRESSION_FN_NS "string-join") == 0) {
#line 6291 "tracker-sparql-expression.c"
																	GString* _tmp109_;
																	GString* _tmp110_;
																	GString* _tmp111_;
																	GString* _tmp112_;
																	GString* _tmp117_;
																	GString* _tmp118_;
																	GString* _tmp119_;
#line 636 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	_tmp109_ = sql;
#line 636 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	g_string_append (_tmp109_, "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 6313 "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 6321 "tracker-sparql-expression.c"
																		}
																	}
#line 639 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	_tmp110_ = sql;
#line 639 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	tracker_sparql_expression_translate_expression_as_string (self, _tmp110_, &_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 6336 "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 6344 "tracker-sparql-expression.c"
																		}
																	}
#line 640 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	_tmp111_ = sql;
#line 640 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	g_string_append (_tmp111_, ", ");
#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 6361 "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 6369 "tracker-sparql-expression.c"
																		}
																	}
#line 642 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	_tmp112_ = sql;
#line 642 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	tracker_sparql_expression_translate_expression_as_string (self, _tmp112_, &_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 6384 "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 6392 "tracker-sparql-expression.c"
																		}
																	}
#line 643 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	while (TRUE) {
#line 6397 "tracker-sparql-expression.c"
																		gboolean _tmp113_ = FALSE;
																		gboolean _tmp114_;
																		GString* _tmp115_;
																		GString* _tmp116_;
#line 643 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		_tmp114_ = 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"
																		_tmp113_ = _tmp114_;
#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 6414 "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 6422 "tracker-sparql-expression.c"
																			}
																		}
#line 643 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		if (!_tmp113_) {
#line 643 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																			break;
#line 6429 "tracker-sparql-expression.c"
																		}
#line 644 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		_tmp115_ = sql;
#line 644 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		g_string_append (_tmp115_, ", ");
#line 645 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		_tmp116_ = sql;
#line 645 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		tracker_sparql_expression_translate_expression_as_string (self, _tmp116_, &_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 6447 "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 6455 "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 6469 "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 6477 "tracker-sparql-expression.c"
																		}
																	}
#line 649 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	_tmp117_ = sql;
#line 649 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	g_string_append (_tmp117_, ",");
#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 6494 "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 6502 "tracker-sparql-expression.c"
																		}
																	}
#line 651 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	_tmp118_ = sql;
#line 651 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	tracker_sparql_expression_translate_expression (self, _tmp118_, &_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 6517 "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 6525 "tracker-sparql-expression.c"
																		}
																	}
#line 652 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	_tmp119_ = sql;
#line 652 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	g_string_append (_tmp119_, ")");
#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 6536 "tracker-sparql-expression.c"
																} else {
																	const gchar* _tmp120_;
#line 655 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	_tmp120_ = uri;
#line 655 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																	if (g_strcmp0 (_tmp120_, TRACKER_SPARQL_EXPRESSION_FN_NS "year-from-dateTime") == 0) {
#line 6543 "tracker-sparql-expression.c"
																		GString* _tmp121_;
#line 656 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		_tmp121_ = sql;
#line 656 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		tracker_sparql_expression_translate_date (self, _tmp121_, "%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 6557 "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 6565 "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 6572 "tracker-sparql-expression.c"
																	} else {
																		const gchar* _tmp122_;
#line 658 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		_tmp122_ = uri;
#line 658 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																		if (g_strcmp0 (_tmp122_, TRACKER_SPARQL_EXPRESSION_FN_NS "month-from-dateTime") == 0) {
#line 6579 "tracker-sparql-expression.c"
																			GString* _tmp123_;
#line 659 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																			_tmp123_ = sql;
#line 659 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																			tracker_sparql_expression_translate_date (self, _tmp123_, "%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 6593 "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 6601 "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 6608 "tracker-sparql-expression.c"
																		} else {
																			const gchar* _tmp124_;
#line 661 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																			_tmp124_ = uri;
#line 661 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																			if (g_strcmp0 (_tmp124_, TRACKER_SPARQL_EXPRESSION_FN_NS "day-from-dateTime") == 0) {
#line 6615 "tracker-sparql-expression.c"
																				GString* _tmp125_;
#line 662 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																				_tmp125_ = sql;
#line 662 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																				tracker_sparql_expression_translate_date (self, _tmp125_, "%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 6629 "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 6637 "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 6644 "tracker-sparql-expression.c"
																			} else {
																				const gchar* _tmp126_;
#line 664 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																				_tmp126_ = uri;
#line 664 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																				if (g_strcmp0 (_tmp126_, TRACKER_SPARQL_EXPRESSION_FN_NS "hours-from-dateTime") == 0) {
#line 6651 "tracker-sparql-expression.c"
																					GString* _tmp127_;
#line 665 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																					_tmp127_ = sql;
#line 665 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																					tracker_sparql_expression_translate_time (self, _tmp127_, 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 6665 "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 6673 "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 6680 "tracker-sparql-expression.c"
																				} else {
																					const gchar* _tmp128_;
#line 667 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																					_tmp128_ = uri;
#line 667 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																					if (g_strcmp0 (_tmp128_, TRACKER_SPARQL_EXPRESSION_FN_NS "minutes-from-dateTime") == 0) {
#line 6687 "tracker-sparql-expression.c"
																						GString* _tmp129_;
#line 668 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																						_tmp129_ = sql;
#line 668 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																						tracker_sparql_expression_translate_time (self, _tmp129_, 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 6701 "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 6709 "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 6716 "tracker-sparql-expression.c"
																					} else {
																						const gchar* _tmp130_;
#line 670 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																						_tmp130_ = uri;
#line 670 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																						if (g_strcmp0 (_tmp130_, TRACKER_SPARQL_EXPRESSION_FN_NS "seconds-from-dateTime") == 0) {
#line 6723 "tracker-sparql-expression.c"
																							GString* _tmp131_;
#line 671 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							_tmp131_ = sql;
#line 671 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							tracker_sparql_expression_translate_time (self, _tmp131_, 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 6737 "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 6745 "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 6752 "tracker-sparql-expression.c"
																						} else {
																							const gchar* _tmp132_;
#line 673 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							_tmp132_ = uri;
#line 673 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																							if (g_strcmp0 (_tmp132_, TRACKER_SPARQL_EXPRESSION_FN_NS "timezone-from-dateTime") == 0) {
#line 6759 "tracker-sparql-expression.c"
																								gchar* variable_name = NULL;
																								gchar* _tmp133_;
																								gchar* _tmp134_;
																								gchar* _tmp135_;
																								gchar* _tmp136_;
																								TrackerSparqlVariable* variable = NULL;
																								TrackerSparqlContext* _tmp137_;
																								TrackerSparqlContext* _tmp138_;
																								const gchar* _tmp139_;
																								TrackerSparqlVariable* _tmp140_;
																								TrackerSparqlVariable* _tmp141_;
																								GString* _tmp142_;
																								GString* _tmp143_;
																								TrackerSparqlVariable* _tmp144_;
																								gchar* _tmp145_;
																								gchar* _tmp146_;
																								GString* _tmp147_;
																								GString* _tmp148_;
																								TrackerSparqlVariable* _tmp149_;
																								gchar* _tmp150_;
																								gchar* _tmp151_;
																								GString* _tmp152_;
																								GString* _tmp153_;
																								GString* _tmp154_;
																								TrackerSparqlVariable* _tmp155_;
																								const gchar* _tmp156_;
																								const gchar* _tmp157_;
																								GString* _tmp158_;
																								GString* _tmp159_;
#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 6799 "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 6807 "tracker-sparql-expression.c"
																									}
																								}
#line 675 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								_tmp133_ = tracker_sparql_expression_get_last_string (self, 0);
#line 675 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								_tmp134_ = _tmp133_;
#line 675 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								_tmp135_ = string_substring (_tmp134_, (glong) 1, (glong) -1);
#line 675 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								_tmp136_ = _tmp135_;
#line 675 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								_g_free0 (_tmp134_);
#line 675 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								variable_name = _tmp136_;
#line 676 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								_tmp137_ = tracker_sparql_expression_get_context (self);
#line 676 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								_tmp138_ = _tmp137_;
#line 676 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								_tmp139_ = variable_name;
#line 676 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								_tmp140_ = tracker_sparql_context_get_variable (_tmp138_, _tmp139_);
#line 676 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								_tmp141_ = _g_object_ref0 (_tmp140_);
#line 676 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								variable = _tmp141_;
#line 678 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								_tmp142_ = sql;
#line 678 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								g_string_append (_tmp142_, "(");
#line 679 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								_tmp143_ = sql;
#line 679 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								_tmp144_ = variable;
#line 679 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								_tmp145_ = tracker_sparql_variable_get_extra_sql_expression (_tmp144_, "localDate");
#line 679 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								_tmp146_ = _tmp145_;
#line 679 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								g_string_append (_tmp143_, _tmp146_);
#line 679 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								_g_free0 (_tmp146_);
#line 680 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								_tmp147_ = sql;
#line 680 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								g_string_append (_tmp147_, " * 24 * 3600 + ");
#line 681 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								_tmp148_ = sql;
#line 681 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								_tmp149_ = variable;
#line 681 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								_tmp150_ = tracker_sparql_variable_get_extra_sql_expression (_tmp149_, "localTime");
#line 681 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								_tmp151_ = _tmp150_;
#line 681 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								g_string_append (_tmp148_, _tmp151_);
#line 681 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								_g_free0 (_tmp151_);
#line 682 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								_tmp152_ = sql;
#line 682 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								g_string_append (_tmp152_, "- ");
#line 683 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								_tmp153_ = sql;
#line 683 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								g_string_append (_tmp153_, "CAST (");
#line 684 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								_tmp154_ = sql;
#line 684 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								_tmp155_ = variable;
#line 684 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								_tmp156_ = tracker_sparql_variable_get_sql_expression (_tmp155_);
#line 684 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								_tmp157_ = _tmp156_;
#line 684 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								g_string_append (_tmp154_, _tmp157_);
#line 685 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								_tmp158_ = sql;
#line 685 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								g_string_append (_tmp158_, " AS INTEGER)");
#line 686 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								_tmp159_ = sql;
#line 686 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								g_string_append (_tmp159_, ")");
#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 6900 "tracker-sparql-expression.c"
																							} else {
																								const gchar* _tmp160_;
#line 689 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								_tmp160_ = uri;
#line 689 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																								if (g_strcmp0 (_tmp160_, TRACKER_SPARQL_EXPRESSION_FN_NS "replace") == 0) {
#line 6907 "tracker-sparql-expression.c"
																									GString* _tmp161_;
																									GString* _tmp162_;
																									GString* _tmp163_;
																									GString* _tmp164_;
																									GString* _tmp165_;
																									GString* _tmp166_;
																									gboolean _tmp167_ = FALSE;
																									gboolean _tmp168_;
																									GString* _tmp175_;
#line 690 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																									_tmp161_ = sql;
#line 690 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																									g_string_append (_tmp161_, "SparqlReplace(");
#line 691 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																									_tmp162_ = sql;
#line 691 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																									tracker_sparql_expression_translate_expression_as_string (self, _tmp162_, &_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 6933 "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 6941 "tracker-sparql-expression.c"
																										}
																									}
#line 692 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																									_tmp163_ = sql;
#line 692 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																									g_string_append (_tmp163_, ", ");
#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 6958 "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 6966 "tracker-sparql-expression.c"
																										}
																									}
#line 695 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																									_tmp164_ = sql;
#line 695 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																									tracker_sparql_expression_translate_expression_as_string (self, _tmp164_, &_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 6981 "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 6989 "tracker-sparql-expression.c"
																										}
																									}
#line 696 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																									_tmp165_ = sql;
#line 696 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																									g_string_append (_tmp165_, ", ");
#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 7006 "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 7014 "tracker-sparql-expression.c"
																										}
																									}
#line 699 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																									_tmp166_ = sql;
#line 699 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																									tracker_sparql_expression_translate_expression_as_string (self, _tmp166_, &_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 7029 "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 7037 "tracker-sparql-expression.c"
																										}
																									}
#line 701 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																									_tmp168_ = 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"
																									_tmp167_ = _tmp168_;
#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 7052 "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 7060 "tracker-sparql-expression.c"
																										}
																									}
#line 701 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																									if (_tmp167_) {
#line 7065 "tracker-sparql-expression.c"
																										GString* _tmp169_;
																										gchar* _tmp170_ = NULL;
																										gchar* _tmp171_;
																										GString* _tmp172_;
																										gchar* _tmp173_;
																										gchar* _tmp174_;
#line 702 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										_tmp169_ = sql;
#line 702 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										g_string_append (_tmp169_, ", ");
#line 703 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										_tmp171_ = tracker_sparql_expression_parse_string_literal (self, NULL, &_inner_error_);
#line 703 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										_tmp170_ = _tmp171_;
#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 7088 "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 7096 "tracker-sparql-expression.c"
																											}
																										}
#line 703 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										_tmp172_ = sql;
#line 703 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										_tmp173_ = tracker_sparql_expression_escape_sql_string_literal (self, _tmp170_);
#line 703 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										_tmp174_ = _tmp173_;
#line 703 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										g_string_append (_tmp172_, _tmp174_);
#line 703 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										_g_free0 (_tmp174_);
#line 701 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										_g_free0 (_tmp170_);
#line 7111 "tracker-sparql-expression.c"
																									}
#line 705 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																									_tmp175_ = sql;
#line 705 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																									g_string_append (_tmp175_, ")");
#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 7121 "tracker-sparql-expression.c"
																								} else {
																									const gchar* _tmp176_;
#line 707 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																									_tmp176_ = uri;
#line 707 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																									if (g_strcmp0 (_tmp176_, TRACKER_SPARQL_EXPRESSION_FTS_NS "rank") == 0) {
#line 7128 "tracker-sparql-expression.c"
																										gboolean is_var = FALSE;
																										gchar* v = NULL;
																										TrackerSparqlPattern* _tmp177_;
																										TrackerSparqlPattern* _tmp178_;
																										gboolean _tmp179_ = FALSE;
																										gchar* _tmp180_;
																										GString* _tmp181_;
																										const gchar* _tmp182_;
#line 709 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										_tmp177_ = tracker_sparql_expression_get_pattern (self);
#line 709 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										_tmp178_ = _tmp177_;
#line 709 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										_tmp180_ = tracker_sparql_pattern_parse_var_or_term (_tmp178_, NULL, &_tmp179_, &_inner_error_);
#line 709 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										is_var = _tmp179_;
#line 709 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										v = _tmp180_;
#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 7155 "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 7163 "tracker-sparql-expression.c"
																											}
																										}
#line 710 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										_tmp181_ = sql;
#line 710 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										_tmp182_ = v;
#line 710 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										g_string_append_printf (_tmp181_, "\"%s_u_rank\"", _tmp182_);
#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 7178 "tracker-sparql-expression.c"
																									} else {
																										const gchar* _tmp183_;
#line 713 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										_tmp183_ = uri;
#line 713 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																										if (g_strcmp0 (_tmp183_, TRACKER_SPARQL_EXPRESSION_FTS_NS "offsets") == 0) {
#line 7185 "tracker-sparql-expression.c"
																											gboolean is_var = FALSE;
																											gchar* v = NULL;
																											TrackerSparqlPattern* _tmp184_;
																											TrackerSparqlPattern* _tmp185_;
																											gboolean _tmp186_ = FALSE;
																											gchar* _tmp187_;
																											TrackerSparqlVariable* variable = NULL;
																											TrackerSparqlContext* _tmp188_;
																											TrackerSparqlContext* _tmp189_;
																											const gchar* _tmp190_;
																											TrackerSparqlVariable* _tmp191_;
																											TrackerSparqlVariable* _tmp192_;
																											GString* _tmp193_;
																											TrackerSparqlVariable* _tmp194_;
																											const gchar* _tmp195_;
																											const gchar* _tmp196_;
																											gchar* _tmp197_;
#line 715 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											_tmp184_ = tracker_sparql_expression_get_pattern (self);
#line 715 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											_tmp185_ = _tmp184_;
#line 715 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											_tmp187_ = tracker_sparql_pattern_parse_var_or_term (_tmp185_, NULL, &_tmp186_, &_inner_error_);
#line 715 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											is_var = _tmp186_;
#line 715 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											v = _tmp187_;
#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 7221 "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 7229 "tracker-sparql-expression.c"
																												}
																											}
#line 716 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											_tmp188_ = tracker_sparql_expression_get_context (self);
#line 716 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											_tmp189_ = _tmp188_;
#line 716 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											_tmp190_ = v;
#line 716 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											_tmp191_ = tracker_sparql_context_get_variable (_tmp189_, _tmp190_);
#line 716 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											_tmp192_ = _g_object_ref0 (_tmp191_);
#line 716 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											variable = _tmp192_;
#line 718 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											_tmp193_ = sql;
#line 718 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											_tmp194_ = variable;
#line 718 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											_tmp195_ = tracker_sparql_variable_get_sql_expression (_tmp194_);
#line 718 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											_tmp196_ = _tmp195_;
#line 718 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											g_string_append (_tmp193_, _tmp196_);
#line 719 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											_tmp197_ = 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 = _tmp197_;
#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 7268 "tracker-sparql-expression.c"
																										} else {
																											const gchar* _tmp198_;
#line 721 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											_tmp198_ = uri;
#line 721 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																											if (g_strcmp0 (_tmp198_, TRACKER_SPARQL_EXPRESSION_FTS_NS "snippet") == 0) {
#line 7275 "tracker-sparql-expression.c"
																												gboolean is_var = FALSE;
																												gchar* v = NULL;
																												TrackerSparqlPattern* _tmp199_;
																												TrackerSparqlPattern* _tmp200_;
																												gboolean _tmp201_ = FALSE;
																												gchar* _tmp202_;
																												TrackerSparqlVariable* variable = NULL;
																												TrackerSparqlContext* _tmp203_;
																												TrackerSparqlContext* _tmp204_;
																												const gchar* _tmp205_;
																												TrackerSparqlVariable* _tmp206_;
																												TrackerSparqlVariable* _tmp207_;
																												GString* fts = NULL;
																												GString* _tmp208_;
																												GString* _tmp209_;
																												GString* _tmp210_;
																												gboolean _tmp211_ = FALSE;
																												gboolean _tmp212_;
																												gboolean _tmp218_ = FALSE;
																												gboolean _tmp219_;
																												gboolean _tmp223_ = FALSE;
																												gboolean _tmp224_;
																												GString* _tmp228_;
																												GString* _tmp229_;
																												const gchar* _tmp230_;
																												gchar* _tmp231_;
																												GString* _tmp232_;
																												TrackerSparqlVariable* _tmp233_;
																												const gchar* _tmp234_;
																												const gchar* _tmp235_;
#line 724 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												_tmp199_ = tracker_sparql_expression_get_pattern (self);
#line 724 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												_tmp200_ = _tmp199_;
#line 724 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												_tmp202_ = tracker_sparql_pattern_parse_var_or_term (_tmp200_, NULL, &_tmp201_, &_inner_error_);
#line 724 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												is_var = _tmp201_;
#line 724 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												v = _tmp202_;
#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 7324 "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 7332 "tracker-sparql-expression.c"
																													}
																												}
#line 725 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												_tmp203_ = tracker_sparql_expression_get_context (self);
#line 725 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												_tmp204_ = _tmp203_;
#line 725 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												_tmp205_ = v;
#line 725 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												_tmp206_ = tracker_sparql_context_get_variable (_tmp204_, _tmp205_);
#line 725 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												_tmp207_ = _g_object_ref0 (_tmp206_);
#line 725 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												variable = _tmp207_;
#line 726 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												_tmp208_ = g_string_new ("");
#line 726 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												fts = _tmp208_;
#line 728 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												_tmp209_ = fts;
#line 728 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												g_string_append_printf (_tmp209_, "snippet(\"fts5\"");
#line 731 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												_tmp210_ = fts;
#line 731 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												g_string_append (_tmp210_, ", -1");
#line 734 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												_tmp212_ = 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"
																												_tmp211_ = _tmp212_;
#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 7377 "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 7391 "tracker-sparql-expression.c"
																													}
																												}
#line 734 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												if (_tmp211_) {
#line 7396 "tracker-sparql-expression.c"
																													GString* _tmp213_;
																													GString* _tmp214_;
																													GString* _tmp215_;
																													GString* _tmp216_;
#line 735 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													_tmp213_ = fts;
#line 735 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													g_string_append (_tmp213_, ", ");
#line 736 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													_tmp214_ = fts;
#line 736 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													tracker_sparql_expression_translate_expression_as_string (self, _tmp214_, &_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 7423 "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 7437 "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 7456 "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 7470 "tracker-sparql-expression.c"
																														}
																													}
#line 740 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													_tmp215_ = fts;
#line 740 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													g_string_append (_tmp215_, ", ");
#line 741 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													_tmp216_ = fts;
#line 741 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													tracker_sparql_expression_translate_expression_as_string (self, _tmp216_, &_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 7495 "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 7509 "tracker-sparql-expression.c"
																														}
																													}
																												} else {
																													GString* _tmp217_;
#line 743 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													_tmp217_ = fts;
#line 743 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													g_string_append (_tmp217_, ",'',''");
#line 7518 "tracker-sparql-expression.c"
																												}
#line 747 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												_tmp219_ = 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"
																												_tmp218_ = _tmp219_;
#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 7538 "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 7552 "tracker-sparql-expression.c"
																													}
																												}
#line 747 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												if (_tmp218_) {
#line 7557 "tracker-sparql-expression.c"
																													GString* _tmp220_;
																													GString* _tmp221_;
#line 748 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													_tmp220_ = fts;
#line 748 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													g_string_append (_tmp220_, ", ");
#line 749 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													_tmp221_ = fts;
#line 749 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													tracker_sparql_expression_translate_expression_as_string (self, _tmp221_, &_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 7582 "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 7596 "tracker-sparql-expression.c"
																														}
																													}
																												} else {
																													GString* _tmp222_;
#line 751 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													_tmp222_ = fts;
#line 751 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													g_string_append (_tmp222_, ", '...'");
#line 7605 "tracker-sparql-expression.c"
																												}
#line 755 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												_tmp224_ = 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"
																												_tmp223_ = _tmp224_;
#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 7625 "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 7639 "tracker-sparql-expression.c"
																													}
																												}
#line 755 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												if (_tmp223_) {
#line 7644 "tracker-sparql-expression.c"
																													GString* _tmp225_;
																													GString* _tmp226_;
#line 756 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													_tmp225_ = fts;
#line 756 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													g_string_append (_tmp225_, ", ");
#line 757 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													_tmp226_ = fts;
#line 757 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													tracker_sparql_expression_translate_expression_as_string (self, _tmp226_, &_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 7669 "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 7683 "tracker-sparql-expression.c"
																														}
																													}
																												} else {
																													GString* _tmp227_;
#line 759 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													_tmp227_ = fts;
#line 759 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													g_string_append (_tmp227_, ", 5");
#line 7692 "tracker-sparql-expression.c"
																												}
#line 762 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												_tmp228_ = fts;
#line 762 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												g_string_append (_tmp228_, ")");
#line 764 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												_tmp229_ = fts;
#line 764 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												_tmp230_ = _tmp229_->str;
#line 764 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												_tmp231_ = g_strdup (_tmp230_);
#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 = _tmp231_;
#line 765 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												_tmp232_ = sql;
#line 765 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												_tmp233_ = variable;
#line 765 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												_tmp234_ = tracker_sparql_variable_get_sql_expression (_tmp233_);
#line 765 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												_tmp235_ = _tmp234_;
#line 765 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												g_string_append (_tmp232_, _tmp235_);
#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 7728 "tracker-sparql-expression.c"
																											} else {
																												const gchar* _tmp236_;
#line 767 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												_tmp236_ = uri;
#line 767 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																												if (g_strcmp0 (_tmp236_, TRACKER_SPARQL_EXPRESSION_TRACKER_NS "id") == 0) {
#line 7735 "tracker-sparql-expression.c"
																													TrackerPropertyType type = 0;
																													GString* _tmp237_;
																													TrackerPropertyType _tmp238_;
																													TrackerPropertyType _tmp239_;
#line 768 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													_tmp237_ = sql;
#line 768 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													_tmp238_ = tracker_sparql_expression_translate_expression (self, _tmp237_, &_inner_error_);
#line 768 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													type = _tmp238_;
#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 7754 "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 7762 "tracker-sparql-expression.c"
																														}
																													}
#line 769 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													_tmp239_ = type;
#line 769 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													if (_tmp239_ != TRACKER_PROPERTY_TYPE_RESOURCE) {
#line 7769 "tracker-sparql-expression.c"
																														GError* _tmp240_;
#line 770 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														_tmp240_ = tracker_sparql_expression_get_error (self, "expected resource");
#line 770 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														_inner_error_ = _tmp240_;
#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 7781 "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 7789 "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 7796 "tracker-sparql-expression.c"
																												} else {
																													const gchar* _tmp241_;
#line 774 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													_tmp241_ = uri;
#line 774 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																													if (g_strcmp0 (_tmp241_, TRACKER_SPARQL_EXPRESSION_TRACKER_NS "uri") == 0) {
#line 7803 "tracker-sparql-expression.c"
																														TrackerPropertyType type = 0;
																														GString* _tmp242_;
																														TrackerPropertyType _tmp243_;
																														TrackerPropertyType _tmp244_;
#line 775 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														_tmp242_ = sql;
#line 775 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														_tmp243_ = tracker_sparql_expression_translate_expression (self, _tmp242_, &_inner_error_);
#line 775 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														type = _tmp243_;
#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 7822 "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 7830 "tracker-sparql-expression.c"
																															}
																														}
#line 776 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														_tmp244_ = type;
#line 776 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														if (_tmp244_ != TRACKER_PROPERTY_TYPE_INTEGER) {
#line 7837 "tracker-sparql-expression.c"
																															GError* _tmp245_;
#line 777 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															_tmp245_ = 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_ = _tmp245_;
#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 7849 "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 7857 "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 7864 "tracker-sparql-expression.c"
																													} else {
																														const gchar* _tmp246_;
#line 781 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														_tmp246_ = uri;
#line 781 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																														if (g_strcmp0 (_tmp246_, TRACKER_SPARQL_EXPRESSION_TRACKER_NS "cartesian-distance") == 0) {
#line 7871 "tracker-sparql-expression.c"
																															GString* _tmp247_;
																															GString* _tmp248_;
																															GString* _tmp249_;
																															GString* _tmp250_;
																															GString* _tmp251_;
																															GString* _tmp252_;
																															GString* _tmp253_;
																															GString* _tmp254_;
																															GString* _tmp255_;
#line 782 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															_tmp247_ = sql;
#line 782 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															g_string_append (_tmp247_, "SparqlCartesianDistance(");
#line 783 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															_tmp248_ = sql;
#line 783 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															tracker_sparql_expression_translate_expression (self, _tmp248_, &_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 7897 "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 7905 "tracker-sparql-expression.c"
																																}
																															}
#line 784 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															_tmp249_ = sql;
#line 784 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															g_string_append (_tmp249_, ", ");
#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 7922 "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 7930 "tracker-sparql-expression.c"
																																}
																															}
#line 786 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															_tmp250_ = sql;
#line 786 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															tracker_sparql_expression_translate_expression (self, _tmp250_, &_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 7945 "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 7953 "tracker-sparql-expression.c"
																																}
																															}
#line 787 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															_tmp251_ = sql;
#line 787 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															g_string_append (_tmp251_, ", ");
#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 7970 "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 7978 "tracker-sparql-expression.c"
																																}
																															}
#line 789 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															_tmp252_ = sql;
#line 789 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															tracker_sparql_expression_translate_expression (self, _tmp252_, &_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 7993 "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 8001 "tracker-sparql-expression.c"
																																}
																															}
#line 790 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															_tmp253_ = sql;
#line 790 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															g_string_append (_tmp253_, ", ");
#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 8018 "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 8026 "tracker-sparql-expression.c"
																																}
																															}
#line 792 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															_tmp254_ = sql;
#line 792 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															tracker_sparql_expression_translate_expression (self, _tmp254_, &_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 8041 "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 8049 "tracker-sparql-expression.c"
																																}
																															}
#line 793 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															_tmp255_ = sql;
#line 793 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															g_string_append (_tmp255_, ")");
#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 8060 "tracker-sparql-expression.c"
																														} else {
																															const gchar* _tmp256_;
#line 796 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															_tmp256_ = uri;
#line 796 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																															if (g_strcmp0 (_tmp256_, TRACKER_SPARQL_EXPRESSION_TRACKER_NS "haversine-distance") == 0) {
#line 8067 "tracker-sparql-expression.c"
																																GString* _tmp257_;
																																GString* _tmp258_;
																																GString* _tmp259_;
																																GString* _tmp260_;
																																GString* _tmp261_;
																																GString* _tmp262_;
																																GString* _tmp263_;
																																GString* _tmp264_;
																																GString* _tmp265_;
#line 797 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																_tmp257_ = sql;
#line 797 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																g_string_append (_tmp257_, "SparqlHaversineDistance(");
#line 798 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																_tmp258_ = sql;
#line 798 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																tracker_sparql_expression_translate_expression (self, _tmp258_, &_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 8093 "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 8101 "tracker-sparql-expression.c"
																																	}
																																}
#line 799 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																_tmp259_ = sql;
#line 799 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																g_string_append (_tmp259_, ", ");
#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 8118 "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 8126 "tracker-sparql-expression.c"
																																	}
																																}
#line 801 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																_tmp260_ = sql;
#line 801 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																tracker_sparql_expression_translate_expression (self, _tmp260_, &_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 8141 "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 8149 "tracker-sparql-expression.c"
																																	}
																																}
#line 802 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																_tmp261_ = sql;
#line 802 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																g_string_append (_tmp261_, ", ");
#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 8166 "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 8174 "tracker-sparql-expression.c"
																																	}
																																}
#line 804 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																_tmp262_ = sql;
#line 804 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																tracker_sparql_expression_translate_expression (self, _tmp262_, &_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 8189 "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 8197 "tracker-sparql-expression.c"
																																	}
																																}
#line 805 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																_tmp263_ = sql;
#line 805 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																g_string_append (_tmp263_, ", ");
#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 8214 "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 8222 "tracker-sparql-expression.c"
																																	}
																																}
#line 807 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																_tmp264_ = sql;
#line 807 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																tracker_sparql_expression_translate_expression (self, _tmp264_, &_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 8237 "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 8245 "tracker-sparql-expression.c"
																																	}
																																}
#line 808 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																_tmp265_ = sql;
#line 808 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																g_string_append (_tmp265_, ")");
#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 8256 "tracker-sparql-expression.c"
																															} else {
																																const gchar* _tmp266_;
#line 811 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																_tmp266_ = uri;
#line 811 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																if (g_strcmp0 (_tmp266_, TRACKER_SPARQL_EXPRESSION_TRACKER_NS "coalesce") == 0) {
#line 8263 "tracker-sparql-expression.c"
																																	GString* _tmp267_;
																																	GString* _tmp268_;
																																	GString* _tmp269_;
																																	GString* _tmp270_;
																																	GString* _tmp275_;
#line 812 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	_tmp267_ = sql;
#line 812 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	g_string_append (_tmp267_, "COALESCE(");
#line 813 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	_tmp268_ = sql;
#line 813 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	tracker_sparql_expression_translate_expression_as_string (self, _tmp268_, &_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 8285 "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 8293 "tracker-sparql-expression.c"
																																		}
																																	}
#line 814 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	_tmp269_ = sql;
#line 814 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	g_string_append (_tmp269_, ", ");
#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 8310 "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 8318 "tracker-sparql-expression.c"
																																		}
																																	}
#line 816 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	_tmp270_ = sql;
#line 816 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	tracker_sparql_expression_translate_expression_as_string (self, _tmp270_, &_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 8333 "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 8341 "tracker-sparql-expression.c"
																																		}
																																	}
#line 817 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	while (TRUE) {
#line 8346 "tracker-sparql-expression.c"
																																		gboolean _tmp271_ = FALSE;
																																		gboolean _tmp272_;
																																		GString* _tmp273_;
																																		GString* _tmp274_;
#line 817 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																		_tmp272_ = 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"
																																		_tmp271_ = _tmp272_;
#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 8363 "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 8371 "tracker-sparql-expression.c"
																																			}
																																		}
#line 817 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																		if (!_tmp271_) {
#line 817 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			break;
#line 8378 "tracker-sparql-expression.c"
																																		}
#line 818 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																		_tmp273_ = sql;
#line 818 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																		g_string_append (_tmp273_, ", ");
#line 819 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																		_tmp274_ = sql;
#line 819 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																		tracker_sparql_expression_translate_expression_as_string (self, _tmp274_, &_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 8396 "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 8404 "tracker-sparql-expression.c"
																																			}
																																		}
																																	}
#line 821 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	_tmp275_ = sql;
#line 821 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	g_string_append (_tmp275_, ")");
#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 8416 "tracker-sparql-expression.c"
																																} else {
																																	const gchar* _tmp276_;
#line 824 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	_tmp276_ = uri;
#line 824 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																	if (g_strcmp0 (_tmp276_, TRACKER_SPARQL_EXPRESSION_TRACKER_NS "uri-is-parent") == 0) {
#line 8423 "tracker-sparql-expression.c"
																																		GString* _tmp277_;
																																		GString* _tmp278_;
																																		GString* _tmp279_;
																																		GString* _tmp280_;
																																		GString* _tmp281_;
#line 825 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																		_tmp277_ = sql;
#line 825 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																		g_string_append (_tmp277_, "SparqlUriIsParent(");
#line 826 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																		_tmp278_ = sql;
#line 826 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																		tracker_sparql_expression_translate_expression_as_string (self, _tmp278_, &_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 8445 "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 8453 "tracker-sparql-expression.c"
																																			}
																																		}
#line 827 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																		_tmp279_ = sql;
#line 827 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																		g_string_append (_tmp279_, ", ");
#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 8470 "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 8478 "tracker-sparql-expression.c"
																																			}
																																		}
#line 830 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																		_tmp280_ = sql;
#line 830 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																		tracker_sparql_expression_translate_expression_as_string (self, _tmp280_, &_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 8493 "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 8501 "tracker-sparql-expression.c"
																																			}
																																		}
#line 831 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																		_tmp281_ = sql;
#line 831 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																		g_string_append (_tmp281_, ")");
#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 8512 "tracker-sparql-expression.c"
																																	} else {
																																		const gchar* _tmp282_;
#line 834 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																		_tmp282_ = uri;
#line 834 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																		if (g_strcmp0 (_tmp282_, TRACKER_SPARQL_EXPRESSION_TRACKER_NS "uri-is-descendant") == 0) {
#line 8519 "tracker-sparql-expression.c"
																																			GString* _tmp283_;
																																			GString* _tmp284_;
																																			GString* _tmp285_;
																																			GString* _tmp286_;
																																			GString* _tmp291_;
#line 835 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			_tmp283_ = sql;
#line 835 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			g_string_append (_tmp283_, "SparqlUriIsDescendant(");
#line 836 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			_tmp284_ = sql;
#line 836 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			tracker_sparql_expression_translate_expression_as_string (self, _tmp284_, &_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 8541 "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 8549 "tracker-sparql-expression.c"
																																				}
																																			}
#line 837 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			_tmp285_ = sql;
#line 837 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			g_string_append (_tmp285_, ", ");
#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 8566 "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 8574 "tracker-sparql-expression.c"
																																				}
																																			}
#line 840 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			_tmp286_ = sql;
#line 840 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			tracker_sparql_expression_translate_expression_as_string (self, _tmp286_, &_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 8589 "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 8597 "tracker-sparql-expression.c"
																																				}
																																			}
#line 841 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			while (TRUE) {
#line 8602 "tracker-sparql-expression.c"
																																				gboolean _tmp287_ = FALSE;
																																				gboolean _tmp288_;
																																				GString* _tmp289_;
																																				GString* _tmp290_;
#line 841 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_tmp288_ = 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"
																																				_tmp287_ = _tmp288_;
#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 8619 "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 8627 "tracker-sparql-expression.c"
																																					}
																																				}
#line 841 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				if (!_tmp287_) {
#line 841 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					break;
#line 8634 "tracker-sparql-expression.c"
																																				}
#line 842 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_tmp289_ = sql;
#line 842 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				g_string_append (_tmp289_, ", ");
#line 843 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_tmp290_ = sql;
#line 843 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				tracker_sparql_expression_translate_expression_as_string (self, _tmp290_, &_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 8652 "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 8660 "tracker-sparql-expression.c"
																																					}
																																				}
																																			}
#line 845 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			_tmp291_ = sql;
#line 845 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			g_string_append (_tmp291_, ")");
#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 8672 "tracker-sparql-expression.c"
																																		} else {
																																			const gchar* _tmp292_;
#line 848 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			_tmp292_ = uri;
#line 848 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																			if (g_strcmp0 (_tmp292_, TRACKER_SPARQL_EXPRESSION_TRACKER_NS "string-from-filename") == 0) {
#line 8679 "tracker-sparql-expression.c"
																																				GString* _tmp293_;
																																				GString* _tmp294_;
																																				GString* _tmp295_;
#line 849 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_tmp293_ = sql;
#line 849 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				g_string_append (_tmp293_, "SparqlStringFromFilename(");
#line 850 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_tmp294_ = sql;
#line 850 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				tracker_sparql_expression_translate_expression_as_string (self, _tmp294_, &_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 8699 "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 8707 "tracker-sparql-expression.c"
																																					}
																																				}
#line 851 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_tmp295_ = sql;
#line 851 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				g_string_append (_tmp295_, ")");
#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 8718 "tracker-sparql-expression.c"
																																			} else {
																																				TrackerOntologies* ontologies = NULL;
																																				TrackerDataManager* _tmp296_;
																																				TrackerOntologies* _tmp297_;
																																				TrackerOntologies* _tmp298_;
																																				TrackerProperty* prop = NULL;
																																				TrackerOntologies* _tmp299_;
																																				const gchar* _tmp300_;
																																				TrackerProperty* _tmp301_;
																																				TrackerProperty* _tmp302_;
																																				TrackerProperty* _tmp303_;
																																				GString* expr = NULL;
																																				GString* _tmp305_;
																																				GString* _tmp306_;
																																				gchar* value_separator = NULL;
																																				gchar* _tmp307_;
																																				gchar* graph_separator = NULL;
																																				gboolean _tmp308_ = FALSE;
																																				gboolean _tmp309_;
																																				TrackerProperty* _tmp318_;
																																				gboolean _tmp319_;
																																				gboolean _tmp320_;
#line 856 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_tmp296_ = self->priv->manager;
#line 856 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_tmp297_ = tracker_data_manager_get_ontologies (_tmp296_);
#line 856 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_tmp298_ = _g_object_ref0 (_tmp297_);
#line 856 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				ontologies = _tmp298_;
#line 857 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_tmp299_ = ontologies;
#line 857 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_tmp300_ = uri;
#line 857 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_tmp301_ = tracker_ontologies_get_property_by_uri (_tmp299_, _tmp300_);
#line 857 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_tmp302_ = _g_object_ref0 (_tmp301_);
#line 857 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				prop = _tmp302_;
#line 858 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_tmp303_ = prop;
#line 858 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				if (_tmp303_ == NULL) {
#line 8763 "tracker-sparql-expression.c"
																																					GError* _tmp304_;
#line 859 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp304_ = tracker_sparql_expression_get_error (self, "Unknown function");
#line 859 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_inner_error_ = _tmp304_;
#line 859 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 859 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						g_propagate_error (error, _inner_error_);
#line 859 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_g_object_unref0 (prop);
#line 859 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_g_object_unref0 (ontologies);
#line 859 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						return 0;
#line 8779 "tracker-sparql-expression.c"
																																					} else {
#line 859 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_g_object_unref0 (prop);
#line 859 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_g_object_unref0 (ontologies);
#line 859 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 859 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						g_clear_error (&_inner_error_);
#line 859 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						return 0;
#line 8791 "tracker-sparql-expression.c"
																																					}
																																				}
#line 862 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_tmp305_ = g_string_new ("");
#line 862 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				expr = _tmp305_;
#line 863 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_tmp306_ = expr;
#line 863 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				tracker_sparql_expression_translate_expression (self, _tmp306_, &_inner_error_);
#line 863 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 863 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 863 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						g_propagate_error (error, _inner_error_);
#line 863 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_g_string_free0 (expr);
#line 863 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_g_object_unref0 (prop);
#line 863 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_g_object_unref0 (ontologies);
#line 863 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						return 0;
#line 8816 "tracker-sparql-expression.c"
																																					} else {
#line 863 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_g_string_free0 (expr);
#line 863 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_g_object_unref0 (prop);
#line 863 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_g_object_unref0 (ontologies);
#line 863 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 863 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						g_clear_error (&_inner_error_);
#line 863 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						return 0;
#line 8830 "tracker-sparql-expression.c"
																																					}
																																				}
#line 865 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_tmp307_ = g_strdup (",");
#line 865 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				value_separator = _tmp307_;
#line 866 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				graph_separator = NULL;
#line 868 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_tmp309_ = tracker_sparql_expression_accept (self, TRACKER_SPARQL_TOKEN_TYPE_COMMA, &_inner_error_);
#line 868 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_tmp308_ = _tmp309_;
#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"
																																						_g_object_unref0 (ontologies);
#line 868 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						return 0;
#line 8861 "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_object_unref0 (ontologies);
#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 8879 "tracker-sparql-expression.c"
																																					}
																																				}
#line 868 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				if (_tmp308_) {
#line 8884 "tracker-sparql-expression.c"
																																					gchar* _tmp310_ = NULL;
																																					gchar* _tmp311_;
																																					gchar* _tmp312_;
																																					gboolean _tmp313_ = FALSE;
																																					gboolean _tmp314_;
#line 869 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp311_ = tracker_sparql_expression_parse_string_literal (self, NULL, &_inner_error_);
#line 869 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp310_ = _tmp311_;
#line 869 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 869 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 869 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																							g_propagate_error (error, _inner_error_);
#line 869 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																							_g_free0 (graph_separator);
#line 869 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																							_g_free0 (value_separator);
#line 869 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																							_g_string_free0 (expr);
#line 869 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																							_g_object_unref0 (prop);
#line 869 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																							_g_object_unref0 (ontologies);
#line 869 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																							return 0;
#line 8912 "tracker-sparql-expression.c"
																																						} else {
#line 869 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																							_g_free0 (graph_separator);
#line 869 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																							_g_free0 (value_separator);
#line 869 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																							_g_string_free0 (expr);
#line 869 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																							_g_object_unref0 (prop);
#line 869 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																							_g_object_unref0 (ontologies);
#line 869 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																							g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 869 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																							g_clear_error (&_inner_error_);
#line 869 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																							return 0;
#line 8930 "tracker-sparql-expression.c"
																																						}
																																					}
#line 869 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp312_ = _tmp310_;
#line 869 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp310_ = NULL;
#line 869 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_g_free0 (value_separator);
#line 869 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					value_separator = _tmp312_;
#line 871 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp314_ = tracker_sparql_expression_accept (self, TRACKER_SPARQL_TOKEN_TYPE_COMMA, &_inner_error_);
#line 871 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp313_ = _tmp314_;
#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 (_tmp310_);
#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_object_unref0 (ontologies);
#line 871 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																							return 0;
#line 8965 "tracker-sparql-expression.c"
																																						} else {
#line 871 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																							_g_free0 (_tmp310_);
#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_object_unref0 (ontologies);
#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 8985 "tracker-sparql-expression.c"
																																						}
																																					}
#line 871 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					if (_tmp313_) {
#line 8990 "tracker-sparql-expression.c"
																																						gchar* _tmp315_ = NULL;
																																						gchar* _tmp316_;
																																						gchar* _tmp317_;
#line 872 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_tmp316_ = tracker_sparql_expression_parse_string_literal (self, NULL, &_inner_error_);
#line 872 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_tmp315_ = _tmp316_;
#line 872 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 872 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																							if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 872 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																								g_propagate_error (error, _inner_error_);
#line 872 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																								_g_free0 (_tmp310_);
#line 872 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																								_g_free0 (graph_separator);
#line 872 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																								_g_free0 (value_separator);
#line 872 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																								_g_string_free0 (expr);
#line 872 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																								_g_object_unref0 (prop);
#line 872 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																								_g_object_unref0 (ontologies);
#line 872 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																								return 0;
#line 9018 "tracker-sparql-expression.c"
																																							} else {
#line 872 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																								_g_free0 (_tmp310_);
#line 872 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																								_g_free0 (graph_separator);
#line 872 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																								_g_free0 (value_separator);
#line 872 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																								_g_string_free0 (expr);
#line 872 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																								_g_object_unref0 (prop);
#line 872 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																								_g_object_unref0 (ontologies);
#line 872 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																								g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 872 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																								g_clear_error (&_inner_error_);
#line 872 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																								return 0;
#line 9038 "tracker-sparql-expression.c"
																																							}
																																						}
#line 872 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_tmp317_ = _tmp315_;
#line 872 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_tmp315_ = NULL;
#line 872 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_g_free0 (graph_separator);
#line 872 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						graph_separator = _tmp317_;
#line 871 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_g_free0 (_tmp315_);
#line 9051 "tracker-sparql-expression.c"
																																					}
#line 868 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_g_free0 (_tmp310_);
#line 9055 "tracker-sparql-expression.c"
																																				}
#line 876 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_tmp318_ = prop;
#line 876 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_tmp319_ = tracker_property_get_multiple_values (_tmp318_);
#line 876 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_tmp320_ = _tmp319_;
#line 876 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				if (_tmp320_) {
#line 9065 "tracker-sparql-expression.c"
																																					GString* _tmp321_;
																																					glong begin = 0L;
																																					GString* _tmp322_;
																																					gssize _tmp323_;
																																					GString* _tmp324_;
																																					TrackerProperty* _tmp325_;
																																					const gchar* _tmp326_;
																																					const gchar* _tmp327_;
																																					GString* _tmp328_;
																																					TrackerProperty* _tmp329_;
																																					TrackerPropertyType _tmp330_;
																																					TrackerPropertyType _tmp331_;
																																					glong _tmp332_;
																																					const gchar* _tmp333_;
																																					GString* _tmp341_;
																																					const gchar* _tmp342_;
																																					gchar* _tmp343_;
																																					gchar* _tmp344_;
																																					GString* _tmp345_;
																																					TrackerProperty* _tmp346_;
																																					const gchar* _tmp347_;
																																					const gchar* _tmp348_;
																																					GString* _tmp349_;
																																					const gchar* _tmp350_;
#line 878 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp321_ = sql;
#line 878 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					g_string_append (_tmp321_, "(SELECT GROUP_CONCAT(");
#line 879 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp322_ = sql;
#line 879 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp323_ = _tmp322_->len;
#line 879 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					begin = (glong) _tmp323_;
#line 880 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp324_ = sql;
#line 880 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp325_ = prop;
#line 880 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp326_ = tracker_property_get_name (_tmp325_);
#line 880 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp327_ = _tmp326_;
#line 880 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					g_string_append_printf (_tmp324_, "\"%s\"", _tmp327_);
#line 881 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp328_ = sql;
#line 881 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp329_ = prop;
#line 881 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp330_ = tracker_property_get_data_type (_tmp329_);
#line 881 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp331_ = _tmp330_;
#line 881 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp332_ = begin;
#line 881 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					tracker_sparql_expression_convert_expression_to_string (_tmp328_, _tmp331_, _tmp332_);
#line 882 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp333_ = graph_separator;
#line 882 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					if (_tmp333_ != NULL) {
#line 9126 "tracker-sparql-expression.c"
																																						GString* _tmp334_;
																																						const gchar* _tmp335_;
																																						gchar* _tmp336_;
																																						gchar* _tmp337_;
																																						TrackerProperty* _tmp338_;
																																						const gchar* _tmp339_;
																																						const gchar* _tmp340_;
#line 883 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_tmp334_ = sql;
#line 883 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_tmp335_ = graph_separator;
#line 883 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_tmp336_ = tracker_sparql_expression_escape_sql_string_literal (self, _tmp335_);
#line 883 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_tmp337_ = _tmp336_;
#line 883 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_tmp338_ = prop;
#line 883 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_tmp339_ = tracker_property_get_name (_tmp338_);
#line 883 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_tmp340_ = _tmp339_;
#line 883 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						g_string_append_printf (_tmp334_, " || %s || COALESCE((SELECT Uri FROM Resource WHERE ID = \"%s:graph\")," \
" '')", _tmp337_, _tmp340_);
#line 883 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_g_free0 (_tmp337_);
#line 9152 "tracker-sparql-expression.c"
																																					}
#line 885 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp341_ = sql;
#line 885 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp342_ = value_separator;
#line 885 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp343_ = tracker_sparql_expression_escape_sql_string_literal (self, _tmp342_);
#line 885 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp344_ = _tmp343_;
#line 885 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					g_string_append_printf (_tmp341_, ",%s)", _tmp344_);
#line 885 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_g_free0 (_tmp344_);
#line 886 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp345_ = sql;
#line 886 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp346_ = prop;
#line 886 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp347_ = tracker_property_get_table_name (_tmp346_);
#line 886 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp348_ = _tmp347_;
#line 886 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp349_ = expr;
#line 886 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp350_ = _tmp349_->str;
#line 886 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					g_string_append_printf (_tmp345_, " FROM \"%s\" WHERE ID = %s)", _tmp348_, _tmp350_);
#line 888 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					result = TRACKER_PROPERTY_TYPE_STRING;
#line 888 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_g_free0 (graph_separator);
#line 888 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_g_free0 (value_separator);
#line 888 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_g_string_free0 (expr);
#line 888 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_g_object_unref0 (prop);
#line 888 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_g_object_unref0 (ontologies);
#line 888 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					return result;
#line 9194 "tracker-sparql-expression.c"
																																				} else {
																																					const gchar* _tmp351_;
#line 891 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					_tmp351_ = graph_separator;
#line 891 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																					if (_tmp351_ == NULL) {
#line 9201 "tracker-sparql-expression.c"
																																						GString* _tmp352_;
																																						TrackerProperty* _tmp353_;
																																						const gchar* _tmp354_;
																																						const gchar* _tmp355_;
																																						TrackerProperty* _tmp356_;
																																						const gchar* _tmp357_;
																																						const gchar* _tmp358_;
																																						GString* _tmp359_;
																																						const gchar* _tmp360_;
																																						TrackerProperty* _tmp361_;
																																						TrackerPropertyType _tmp362_;
																																						TrackerPropertyType _tmp363_;
																																						TrackerProperty* _tmp365_;
																																						TrackerPropertyType _tmp366_;
																																						TrackerPropertyType _tmp367_;
#line 892 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_tmp352_ = sql;
#line 892 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_tmp353_ = prop;
#line 892 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_tmp354_ = tracker_property_get_name (_tmp353_);
#line 892 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_tmp355_ = _tmp354_;
#line 892 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_tmp356_ = prop;
#line 892 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_tmp357_ = tracker_property_get_table_name (_tmp356_);
#line 892 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_tmp358_ = _tmp357_;
#line 892 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_tmp359_ = expr;
#line 892 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_tmp360_ = _tmp359_->str;
#line 892 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						g_string_append_printf (_tmp352_, "(SELECT \"%s\" FROM \"%s\" WHERE ID = %s)", _tmp355_, _tmp358_, _tmp360_);
#line 894 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_tmp361_ = prop;
#line 894 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_tmp362_ = tracker_property_get_data_type (_tmp361_);
#line 894 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_tmp363_ = _tmp362_;
#line 894 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						if (_tmp363_ == TRACKER_PROPERTY_TYPE_STRING) {
#line 9245 "tracker-sparql-expression.c"
																																							GString* _tmp364_;
#line 895 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																							_tmp364_ = sql;
#line 895 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																							tracker_sparql_expression_append_collate (self, _tmp364_);
#line 9251 "tracker-sparql-expression.c"
																																						}
#line 898 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_tmp365_ = prop;
#line 898 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_tmp366_ = tracker_property_get_data_type (_tmp365_);
#line 898 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_tmp367_ = _tmp366_;
#line 898 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						result = _tmp367_;
#line 898 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_g_free0 (graph_separator);
#line 898 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_g_free0 (value_separator);
#line 898 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_g_string_free0 (expr);
#line 898 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_g_object_unref0 (prop);
#line 898 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_g_object_unref0 (ontologies);
#line 898 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						return result;
#line 9273 "tracker-sparql-expression.c"
																																					} else {
																																						GString* _tmp368_;
																																						glong begin = 0L;
																																						GString* _tmp369_;
																																						gssize _tmp370_;
																																						GString* _tmp371_;
																																						TrackerProperty* _tmp372_;
																																						const gchar* _tmp373_;
																																						const gchar* _tmp374_;
																																						GString* _tmp375_;
																																						TrackerProperty* _tmp376_;
																																						TrackerPropertyType _tmp377_;
																																						TrackerPropertyType _tmp378_;
																																						glong _tmp379_;
																																						GString* _tmp380_;
																																						const gchar* _tmp381_;
																																						gchar* _tmp382_;
																																						gchar* _tmp383_;
																																						TrackerProperty* _tmp384_;
																																						const gchar* _tmp385_;
																																						const gchar* _tmp386_;
																																						GString* _tmp387_;
																																						TrackerProperty* _tmp388_;
																																						const gchar* _tmp389_;
																																						const gchar* _tmp390_;
																																						GString* _tmp391_;
																																						const gchar* _tmp392_;
#line 900 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_tmp368_ = sql;
#line 900 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						g_string_append (_tmp368_, "(SELECT ");
#line 901 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_tmp369_ = sql;
#line 901 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_tmp370_ = _tmp369_->len;
#line 901 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						begin = (glong) _tmp370_;
#line 902 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_tmp371_ = sql;
#line 902 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_tmp372_ = prop;
#line 902 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_tmp373_ = tracker_property_get_name (_tmp372_);
#line 902 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_tmp374_ = _tmp373_;
#line 902 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						g_string_append_printf (_tmp371_, "\"%s\"", _tmp374_);
#line 903 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_tmp375_ = sql;
#line 903 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_tmp376_ = prop;
#line 903 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_tmp377_ = tracker_property_get_data_type (_tmp376_);
#line 903 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_tmp378_ = _tmp377_;
#line 903 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_tmp379_ = begin;
#line 903 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						tracker_sparql_expression_convert_expression_to_string (_tmp375_, _tmp378_, _tmp379_);
#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_ = graph_separator;
#line 904 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_tmp382_ = tracker_sparql_expression_escape_sql_string_literal (self, _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_ = prop;
#line 904 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_tmp385_ = tracker_property_get_name (_tmp384_);
#line 904 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_tmp386_ = _tmp385_;
#line 904 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						g_string_append_printf (_tmp380_, " || %s || COALESCE((SELECT Uri FROM Resource WHERE ID = \"%s:graph\")," \
" '')", _tmp383_, _tmp386_);
#line 904 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_g_free0 (_tmp383_);
#line 905 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_tmp387_ = sql;
#line 905 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_tmp388_ = prop;
#line 905 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_tmp389_ = tracker_property_get_table_name (_tmp388_);
#line 905 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_tmp390_ = _tmp389_;
#line 905 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_tmp391_ = expr;
#line 905 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_tmp392_ = _tmp391_->str;
#line 905 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						g_string_append_printf (_tmp387_, " FROM \"%s\" WHERE ID = %s)", _tmp390_, _tmp392_);
#line 907 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						result = TRACKER_PROPERTY_TYPE_STRING;
#line 907 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_g_free0 (graph_separator);
#line 907 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_g_free0 (value_separator);
#line 907 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_g_string_free0 (expr);
#line 907 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_g_object_unref0 (prop);
#line 907 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						_g_object_unref0 (ontologies);
#line 907 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																						return result;
#line 9379 "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 848 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
																																				_g_object_unref0 (ontologies);
#line 9392 "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_ = FALSE;
	gboolean _tmp1_;
	const gchar* _tmp25_;
	GError * _inner_error_ = NULL;
#line 913 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 917 "/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 917 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = _tmp1_;
#line 917 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 917 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 917 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#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"
			return 0;
#line 9455 "tracker-sparql-expression.c"
		} else {
#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"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 917 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 917 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 9465 "tracker-sparql-expression.c"
		}
	}
#line 917 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (_tmp0_) {
#line 9470 "tracker-sparql-expression.c"
		gchar* _tmp2_;
#line 918 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp2_ = tracker_sparql_expression_get_last_string (self, 1);
#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"
		type_iri = _tmp2_;
#line 9478 "tracker-sparql-expression.c"
	} else {
		gboolean _tmp3_ = FALSE;
		gboolean _tmp4_;
#line 919 "/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 919 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp3_ = _tmp4_;
#line 919 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 919 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 919 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 919 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_free0 (type_iri);
#line 919 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 9496 "tracker-sparql-expression.c"
			} else {
#line 919 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_free0 (type_iri);
#line 919 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 919 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 919 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 9506 "tracker-sparql-expression.c"
			}
		}
#line 919 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp3_) {
#line 9511 "tracker-sparql-expression.c"
			gchar* ns = NULL;
			gchar* _tmp5_;
			gchar* _tmp6_ = NULL;
			TrackerSparqlQuery* _tmp7_;
			const gchar* _tmp8_;
			gchar* _tmp9_;
			gchar* _tmp10_;
			gchar* _tmp11_;
			gchar* _tmp12_;
			gchar* _tmp13_;
			gchar* _tmp14_;
			gchar* _tmp15_;
#line 920 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp5_ = tracker_sparql_expression_get_last_string (self, 0);
#line 920 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			ns = _tmp5_;
#line 921 "/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 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 9542 "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 9554 "tracker-sparql-expression.c"
				}
			}
#line 922 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp7_ = self->priv->query;
#line 922 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp8_ = ns;
#line 922 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp9_ = tracker_sparql_expression_get_last_string (self, 0);
#line 922 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp10_ = _tmp9_;
#line 922 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp11_ = string_substring (_tmp10_, (glong) 1, (glong) -1);
#line 922 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp12_ = _tmp11_;
#line 922 "/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 922 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp14_ = _tmp13_;
#line 922 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (_tmp12_);
#line 922 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (_tmp10_);
#line 922 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp6_ = _tmp14_;
#line 922 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 922 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 922 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 922 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_free0 (ns);
#line 922 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_free0 (type_iri);
#line 922 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 9591 "tracker-sparql-expression.c"
				} else {
#line 922 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_free0 (ns);
#line 922 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_free0 (type_iri);
#line 922 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 922 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 922 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 9603 "tracker-sparql-expression.c"
				}
			}
#line 922 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp15_ = _tmp6_;
#line 922 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp6_ = NULL;
#line 922 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (type_iri);
#line 922 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			type_iri = _tmp15_;
#line 919 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (_tmp6_);
#line 919 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (ns);
#line 9618 "tracker-sparql-expression.c"
		} else {
			gchar* _tmp16_ = NULL;
			TrackerSparqlQuery* _tmp17_;
			gchar* _tmp18_;
			gchar* _tmp19_;
			gchar* _tmp20_;
			gchar* _tmp21_;
			gchar* _tmp22_;
			gchar* _tmp23_;
			gchar* _tmp24_;
#line 924 "/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 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 9641 "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 9651 "tracker-sparql-expression.c"
				}
			}
#line 925 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp17_ = self->priv->query;
#line 925 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp18_ = tracker_sparql_expression_get_last_string (self, 0);
#line 925 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp19_ = _tmp18_;
#line 925 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp20_ = string_substring (_tmp19_, (glong) 1, (glong) -1);
#line 925 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp21_ = _tmp20_;
#line 925 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp22_ = tracker_sparql_query_resolve_prefixed_name (_tmp17_, "", _tmp21_, &_inner_error_);
#line 925 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp23_ = _tmp22_;
#line 925 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (_tmp21_);
#line 925 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (_tmp19_);
#line 925 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp16_ = _tmp23_;
#line 925 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 925 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 925 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 925 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_free0 (type_iri);
#line 925 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 9684 "tracker-sparql-expression.c"
				} else {
#line 925 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_free0 (type_iri);
#line 925 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 925 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 925 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 9694 "tracker-sparql-expression.c"
				}
			}
#line 925 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp24_ = _tmp16_;
#line 925 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp16_ = NULL;
#line 925 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (type_iri);
#line 925 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			type_iri = _tmp24_;
#line 919 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (_tmp16_);
#line 9707 "tracker-sparql-expression.c"
		}
	}
#line 928 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp25_ = type_iri;
#line 928 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (g_strcmp0 (_tmp25_, TRACKER_SPARQL_EXPRESSION_XSD_NS "boolean") == 0) {
#line 929 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		type = TRACKER_PROPERTY_TYPE_BOOLEAN;
#line 9716 "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 930 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp38_ = type_iri;
#line 930 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (g_strcmp0 (_tmp38_, TRACKER_SPARQL_EXPRESSION_XSD_NS "integer") == 0) {
#line 930 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp37_ = TRUE;
#line 9737 "tracker-sparql-expression.c"
		} else {
			const gchar* _tmp39_;
#line 931 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp39_ = type_iri;
#line 931 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp37_ = g_strcmp0 (_tmp39_, TRACKER_SPARQL_EXPRESSION_XSD_NS "nonPositiveInteger") == 0;
#line 9744 "tracker-sparql-expression.c"
		}
#line 930 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp37_) {
#line 930 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp36_ = TRUE;
#line 9750 "tracker-sparql-expression.c"
		} else {
			const gchar* _tmp40_;
#line 932 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp40_ = type_iri;
#line 932 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp36_ = g_strcmp0 (_tmp40_, TRACKER_SPARQL_EXPRESSION_XSD_NS "negativeInteger") == 0;
#line 9757 "tracker-sparql-expression.c"
		}
#line 930 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp36_) {
#line 930 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp35_ = TRUE;
#line 9763 "tracker-sparql-expression.c"
		} else {
			const gchar* _tmp41_;
#line 933 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp41_ = type_iri;
#line 933 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp35_ = g_strcmp0 (_tmp41_, TRACKER_SPARQL_EXPRESSION_XSD_NS "long") == 0;
#line 9770 "tracker-sparql-expression.c"
		}
#line 930 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp35_) {
#line 930 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp34_ = TRUE;
#line 9776 "tracker-sparql-expression.c"
		} else {
			const gchar* _tmp42_;
#line 934 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp42_ = type_iri;
#line 934 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp34_ = g_strcmp0 (_tmp42_, TRACKER_SPARQL_EXPRESSION_XSD_NS "int") == 0;
#line 9783 "tracker-sparql-expression.c"
		}
#line 930 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp34_) {
#line 930 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp33_ = TRUE;
#line 9789 "tracker-sparql-expression.c"
		} else {
			const gchar* _tmp43_;
#line 935 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp43_ = type_iri;
#line 935 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp33_ = g_strcmp0 (_tmp43_, TRACKER_SPARQL_EXPRESSION_XSD_NS "short") == 0;
#line 9796 "tracker-sparql-expression.c"
		}
#line 930 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp33_) {
#line 930 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp32_ = TRUE;
#line 9802 "tracker-sparql-expression.c"
		} else {
			const gchar* _tmp44_;
#line 936 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp44_ = type_iri;
#line 936 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp32_ = g_strcmp0 (_tmp44_, TRACKER_SPARQL_EXPRESSION_XSD_NS "byte") == 0;
#line 9809 "tracker-sparql-expression.c"
		}
#line 930 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp32_) {
#line 930 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp31_ = TRUE;
#line 9815 "tracker-sparql-expression.c"
		} else {
			const gchar* _tmp45_;
#line 937 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp45_ = type_iri;
#line 937 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp31_ = g_strcmp0 (_tmp45_, TRACKER_SPARQL_EXPRESSION_XSD_NS "nonNegativeInteger") == 0;
#line 9822 "tracker-sparql-expression.c"
		}
#line 930 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp31_) {
#line 930 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp30_ = TRUE;
#line 9828 "tracker-sparql-expression.c"
		} else {
			const gchar* _tmp46_;
#line 938 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp46_ = type_iri;
#line 938 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp30_ = g_strcmp0 (_tmp46_, TRACKER_SPARQL_EXPRESSION_XSD_NS "unsignedLong") == 0;
#line 9835 "tracker-sparql-expression.c"
		}
#line 930 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp30_) {
#line 930 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp29_ = TRUE;
#line 9841 "tracker-sparql-expression.c"
		} else {
			const gchar* _tmp47_;
#line 939 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp47_ = type_iri;
#line 939 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp29_ = g_strcmp0 (_tmp47_, TRACKER_SPARQL_EXPRESSION_XSD_NS "unsignedInt") == 0;
#line 9848 "tracker-sparql-expression.c"
		}
#line 930 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp29_) {
#line 930 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp28_ = TRUE;
#line 9854 "tracker-sparql-expression.c"
		} else {
			const gchar* _tmp48_;
#line 940 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp48_ = type_iri;
#line 940 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp28_ = g_strcmp0 (_tmp48_, TRACKER_SPARQL_EXPRESSION_XSD_NS "unsignedShort") == 0;
#line 9861 "tracker-sparql-expression.c"
		}
#line 930 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp28_) {
#line 930 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp27_ = TRUE;
#line 9867 "tracker-sparql-expression.c"
		} else {
			const gchar* _tmp49_;
#line 941 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp49_ = type_iri;
#line 941 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp27_ = g_strcmp0 (_tmp49_, TRACKER_SPARQL_EXPRESSION_XSD_NS "unsignedByte") == 0;
#line 9874 "tracker-sparql-expression.c"
		}
#line 930 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp27_) {
#line 930 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp26_ = TRUE;
#line 9880 "tracker-sparql-expression.c"
		} else {
			const gchar* _tmp50_;
#line 942 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp50_ = type_iri;
#line 942 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp26_ = g_strcmp0 (_tmp50_, TRACKER_SPARQL_EXPRESSION_XSD_NS "positiveInteger") == 0;
#line 9887 "tracker-sparql-expression.c"
		}
#line 930 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp26_) {
#line 943 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			type = TRACKER_PROPERTY_TYPE_INTEGER;
#line 9893 "tracker-sparql-expression.c"
		} else {
			const gchar* _tmp51_;
#line 944 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp51_ = type_iri;
#line 944 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (g_strcmp0 (_tmp51_, TRACKER_SPARQL_EXPRESSION_XSD_NS "double") == 0) {
#line 945 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				type = TRACKER_PROPERTY_TYPE_DOUBLE;
#line 9902 "tracker-sparql-expression.c"
			} else {
				const gchar* _tmp52_;
#line 946 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp52_ = type_iri;
#line 946 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (g_strcmp0 (_tmp52_, TRACKER_SPARQL_EXPRESSION_XSD_NS "date") == 0) {
#line 947 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					type = TRACKER_PROPERTY_TYPE_DATE;
#line 9911 "tracker-sparql-expression.c"
				} else {
					const gchar* _tmp53_;
#line 948 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp53_ = type_iri;
#line 948 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					if (g_strcmp0 (_tmp53_, TRACKER_SPARQL_EXPRESSION_XSD_NS "dateTime") == 0) {
#line 949 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						type = TRACKER_PROPERTY_TYPE_DATETIME;
#line 9920 "tracker-sparql-expression.c"
					} else {
#line 951 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						type = TRACKER_PROPERTY_TYPE_STRING;
#line 9924 "tracker-sparql-expression.c"
					}
				}
			}
		}
	}
#line 954 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	result = type;
#line 954 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_g_free0 (type_iri);
#line 954 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	return result;
#line 9936 "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 957 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 958 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_vala_type = TRACKER_PROPERTY_TYPE_STRING;
#line 960 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	tracker_sparql_expression_next (self, &_inner_error_);
#line 960 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 960 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 960 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 960 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return NULL;
#line 9959 "tracker-sparql-expression.c"
		} else {
#line 960 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 960 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 960 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return NULL;
#line 9967 "tracker-sparql-expression.c"
		}
	}
#line 961 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = tracker_sparql_expression_last (self);
#line 961 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	switch (_tmp0_) {
#line 961 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_STRING_LITERAL1:
#line 961 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_STRING_LITERAL2:
#line 9978 "tracker-sparql-expression.c"
		{
			GString* sb = NULL;
			GString* _tmp1_;
			gchar* s = NULL;
			gchar* _tmp2_;
			const gchar* p = NULL;
			const gchar* _tmp3_;
			const gchar* end = NULL;
			const gchar* _tmp4_;
			const gchar* _tmp5_;
			gint _tmp6_;
			gint _tmp7_;
			gboolean _tmp50_ = FALSE;
			gboolean _tmp51_;
			GString* _tmp54_;
			const gchar* _tmp55_;
			gchar* _tmp56_;
#line 964 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp1_ = g_string_new ("");
#line 964 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			sb = _tmp1_;
#line 966 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp2_ = tracker_sparql_expression_get_last_string (self, 1);
#line 966 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			s = _tmp2_;
#line 967 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp3_ = s;
#line 967 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			p = _tmp3_;
#line 968 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp4_ = p;
#line 968 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp5_ = s;
#line 968 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp6_ = strlen (_tmp5_);
#line 968 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp7_ = _tmp6_;
#line 968 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			end = _tmp4_ + _tmp7_;
#line 969 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			while (TRUE) {
#line 10020 "tracker-sparql-expression.c"
				const gchar* _tmp8_;
				const gchar* _tmp9_;
				const gchar* q = NULL;
				const gchar* _tmp10_;
				const gchar* _tmp11_;
				const gchar* _tmp12_;
#line 969 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp8_ = p;
#line 969 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp9_ = end;
#line 969 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (!(((glong) _tmp8_) < ((glong) _tmp9_))) {
#line 969 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					break;
#line 10035 "tracker-sparql-expression.c"
				}
#line 970 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp10_ = p;
#line 970 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp11_ = strchr (_tmp10_, (gint) '\\');
#line 970 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				q = _tmp11_;
#line 971 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp12_ = q;
#line 971 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_tmp12_ == NULL) {
#line 10047 "tracker-sparql-expression.c"
					GString* _tmp13_;
					const gchar* _tmp14_;
					const gchar* _tmp15_;
					const gchar* _tmp16_;
					const gchar* _tmp17_;
#line 972 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp13_ = sb;
#line 972 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp14_ = p;
#line 972 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp15_ = end;
#line 972 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp16_ = p;
#line 972 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_string_append_len (_tmp13_, _tmp14_, (gssize) ((glong) (_tmp15_ - _tmp16_)));
#line 973 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp17_ = end;
#line 973 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					p = _tmp17_;
#line 10067 "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 975 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp18_ = sb;
#line 975 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp19_ = p;
#line 975 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp20_ = q;
#line 975 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp21_ = p;
#line 975 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_string_append_len (_tmp18_, _tmp19_, (gssize) ((glong) (_tmp20_ - _tmp21_)));
#line 976 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp22_ = q;
#line 976 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					p = _tmp22_ + 1;
#line 977 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp23_ = p;
#line 977 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp24_ = ((gchar*) _tmp23_)[0];
#line 977 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					switch (_tmp24_) {
#line 977 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						case '\'':
#line 977 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						case '"':
#line 977 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						case '\\':
#line 10103 "tracker-sparql-expression.c"
						{
							GString* _tmp25_;
							const gchar* _tmp26_;
							gchar _tmp27_;
#line 981 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp25_ = sb;
#line 981 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp26_ = p;
#line 981 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp27_ = ((gchar*) _tmp26_)[0];
#line 981 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							g_string_append_c (_tmp25_, _tmp27_);
#line 982 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							break;
#line 10118 "tracker-sparql-expression.c"
						}
#line 977 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						case 'b':
#line 10122 "tracker-sparql-expression.c"
						{
							GString* _tmp28_;
#line 984 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp28_ = sb;
#line 984 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							g_string_append_c (_tmp28_, '\b');
#line 985 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							break;
#line 10131 "tracker-sparql-expression.c"
						}
#line 977 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						case 'f':
#line 10135 "tracker-sparql-expression.c"
						{
							GString* _tmp29_;
#line 987 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp29_ = sb;
#line 987 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							g_string_append_c (_tmp29_, '\f');
#line 988 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							break;
#line 10144 "tracker-sparql-expression.c"
						}
#line 977 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						case 'n':
#line 10148 "tracker-sparql-expression.c"
						{
							GString* _tmp30_;
#line 990 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp30_ = sb;
#line 990 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							g_string_append_c (_tmp30_, '\n');
#line 991 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							break;
#line 10157 "tracker-sparql-expression.c"
						}
#line 977 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						case 'r':
#line 10161 "tracker-sparql-expression.c"
						{
							GString* _tmp31_;
#line 993 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp31_ = sb;
#line 993 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							g_string_append_c (_tmp31_, '\r');
#line 994 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							break;
#line 10170 "tracker-sparql-expression.c"
						}
#line 977 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						case 't':
#line 10174 "tracker-sparql-expression.c"
						{
							GString* _tmp32_;
#line 996 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp32_ = sb;
#line 996 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							g_string_append_c (_tmp32_, '\t');
#line 997 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							break;
#line 10183 "tracker-sparql-expression.c"
						}
#line 977 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						case 'u':
#line 10187 "tracker-sparql-expression.c"
						{
							gchar* ptr = NULL;
							const gchar* _tmp33_;
							gunichar c = 0U;
							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 999 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp33_ = p;
#line 999 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							ptr = ((gchar*) _tmp33_) + 1;
#line 1000 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp34_ = ptr;
#line 1000 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp35_ = _tmp34_[0];
#line 1000 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp36_ = g_ascii_xdigit_value (_tmp35_);
#line 1000 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp37_ = ptr;
#line 1000 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp38_ = _tmp37_[1];
#line 1000 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp39_ = g_ascii_xdigit_value (_tmp38_);
#line 1000 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp40_ = ptr;
#line 1000 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp41_ = _tmp40_[2];
#line 1000 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp42_ = g_ascii_xdigit_value (_tmp41_);
#line 1000 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp43_ = ptr;
#line 1000 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp44_ = _tmp43_[3];
#line 1000 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp45_ = g_ascii_xdigit_value (_tmp44_);
#line 1000 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							c = (((((((gunichar) _tmp36_) * 16) + _tmp39_) * 16) + _tmp42_) * 16) + _tmp45_;
#line 1001 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp46_ = sb;
#line 1001 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp47_ = c;
#line 1001 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							g_string_append_unichar (_tmp46_, _tmp47_);
#line 1002 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp48_ = p;
#line 1002 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							p = _tmp48_ + 4;
#line 1003 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							break;
#line 10249 "tracker-sparql-expression.c"
						}
						default:
#line 977 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						break;
#line 10254 "tracker-sparql-expression.c"
					}
#line 1005 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp49_ = p;
#line 1005 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					p = _tmp49_ + 1;
#line 10260 "tracker-sparql-expression.c"
				}
			}
#line 1009 "/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 1009 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp50_ = _tmp51_;
#line 1009 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1009 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1009 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1009 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_free0 (s);
#line 1009 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_string_free0 (sb);
#line 1009 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return NULL;
#line 10279 "tracker-sparql-expression.c"
				} else {
#line 1009 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_free0 (s);
#line 1009 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_string_free0 (sb);
#line 1009 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1009 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1009 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return NULL;
#line 10291 "tracker-sparql-expression.c"
				}
			}
#line 1009 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_tmp50_) {
#line 10296 "tracker-sparql-expression.c"
				TrackerPropertyType _tmp52_ = 0;
				TrackerPropertyType _tmp53_;
#line 1011 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp53_ = tracker_sparql_expression_parse_type_uri (self, &_inner_error_);
#line 1011 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp52_ = _tmp53_;
#line 1011 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1011 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1011 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_propagate_error (error, _inner_error_);
#line 1011 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_g_free0 (s);
#line 1011 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_g_string_free0 (sb);
#line 1011 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return NULL;
#line 10315 "tracker-sparql-expression.c"
					} else {
#line 1011 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_g_free0 (s);
#line 1011 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_g_string_free0 (sb);
#line 1011 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1011 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_clear_error (&_inner_error_);
#line 1011 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return NULL;
#line 10327 "tracker-sparql-expression.c"
					}
				}
#line 1011 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_vala_type = _tmp52_;
#line 10332 "tracker-sparql-expression.c"
			}
#line 1014 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp54_ = sb;
#line 1014 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp55_ = _tmp54_->str;
#line 1014 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp56_ = g_strdup (_tmp55_);
#line 1014 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = _tmp56_;
#line 1014 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (s);
#line 1014 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_string_free0 (sb);
#line 1014 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (type) {
#line 1014 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				*type = _vala_type;
#line 10350 "tracker-sparql-expression.c"
			}
#line 1014 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 10354 "tracker-sparql-expression.c"
		}
#line 961 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_STRING_LITERAL_LONG1:
#line 961 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_STRING_LITERAL_LONG2:
#line 10360 "tracker-sparql-expression.c"
		{
			gchar* _result_ = NULL;
			gchar* _tmp57_;
			gboolean _tmp58_ = FALSE;
			gboolean _tmp59_;
#line 1017 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp57_ = tracker_sparql_expression_get_last_string (self, 3);
#line 1017 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_result_ = _tmp57_;
#line 1019 "/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 1019 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp58_ = _tmp59_;
#line 1019 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1019 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1019 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1019 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_free0 (_result_);
#line 1019 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return NULL;
#line 10384 "tracker-sparql-expression.c"
				} else {
#line 1019 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_free0 (_result_);
#line 1019 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1019 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1019 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return NULL;
#line 10394 "tracker-sparql-expression.c"
				}
			}
#line 1019 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_tmp58_) {
#line 10399 "tracker-sparql-expression.c"
				TrackerPropertyType _tmp60_ = 0;
				TrackerPropertyType _tmp61_;
#line 1021 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp61_ = tracker_sparql_expression_parse_type_uri (self, &_inner_error_);
#line 1021 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp60_ = _tmp61_;
#line 1021 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1021 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1021 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_propagate_error (error, _inner_error_);
#line 1021 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_g_free0 (_result_);
#line 1021 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return NULL;
#line 10416 "tracker-sparql-expression.c"
					} else {
#line 1021 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_g_free0 (_result_);
#line 1021 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1021 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_clear_error (&_inner_error_);
#line 1021 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return NULL;
#line 10426 "tracker-sparql-expression.c"
					}
				}
#line 1021 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_vala_type = _tmp60_;
#line 10431 "tracker-sparql-expression.c"
			}
#line 1024 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = _result_;
#line 1024 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (type) {
#line 1024 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				*type = _vala_type;
#line 10439 "tracker-sparql-expression.c"
			}
#line 1024 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 10443 "tracker-sparql-expression.c"
		}
		default:
		{
			GError* _tmp62_;
#line 1026 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp62_ = tracker_sparql_expression_get_error (self, "expected string literal");
#line 1026 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_inner_error_ = _tmp62_;
#line 1026 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1026 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 1026 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return NULL;
#line 10458 "tracker-sparql-expression.c"
			} else {
#line 1026 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1026 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 1026 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return NULL;
#line 10466 "tracker-sparql-expression.c"
			}
		}
	}
#line 957 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (type) {
#line 957 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		*type = _vala_type;
#line 10474 "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_ = FALSE;
	gboolean _tmp1_;
	GError * _inner_error_ = NULL;
#line 1030 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 1030 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (sql != NULL, 0);
#line 1030 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (uri != NULL, 0);
#line 1031 "/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 1031 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = _tmp1_;
#line 1031 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1031 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1031 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 1031 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 10502 "tracker-sparql-expression.c"
		} else {
#line 1031 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1031 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 1031 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 10510 "tracker-sparql-expression.c"
		}
	}
#line 1031 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (_tmp0_) {
#line 10515 "tracker-sparql-expression.c"
		TrackerPropertyType _result_ = 0;
		GString* _tmp2_;
		const gchar* _tmp3_;
		TrackerPropertyType _tmp4_;
#line 1033 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp2_ = sql;
#line 1033 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp3_ = uri;
#line 1033 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp4_ = tracker_sparql_expression_translate_function (self, _tmp2_, _tmp3_, &_inner_error_);
#line 1033 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_result_ = _tmp4_;
#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 10536 "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 10544 "tracker-sparql-expression.c"
			}
		}
#line 1034 "/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 1034 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1034 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1034 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 1034 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 10557 "tracker-sparql-expression.c"
			} else {
#line 1034 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1034 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 1034 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 10565 "tracker-sparql-expression.c"
			}
		}
#line 1035 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		result = _result_;
#line 1035 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		return result;
#line 10572 "tracker-sparql-expression.c"
	} else {
		GString* _tmp5_;
		TrackerSparqlLiteralBinding* binding = NULL;
		TrackerSparqlLiteralBinding* _tmp6_;
		TrackerSparqlLiteralBinding* _tmp7_;
		const gchar* _tmp8_;
		gchar* _tmp9_;
		TrackerSparqlQuery* _tmp10_;
		TrackerSparqlLiteralBinding* _tmp11_;
		TrackerSparqlLiteralBinding* _tmp12_;
#line 1038 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp5_ = sql;
#line 1038 "/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 1039 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp6_ = tracker_sparql_literal_binding_new ();
#line 1039 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		binding = _tmp6_;
#line 1040 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp7_ = binding;
#line 1040 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp8_ = uri;
#line 1040 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp9_ = g_strdup (_tmp8_);
#line 1040 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_g_free0 (_tmp7_->literal);
#line 1040 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp7_->literal = _tmp9_;
#line 1041 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp10_ = self->priv->query;
#line 1041 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp11_ = binding;
#line 1041 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp12_ = _g_object_ref0 (_tmp11_);
#line 1041 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp10_->bindings = g_list_append (_tmp10_->bindings, _tmp12_);
#line 1042 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		result = TRACKER_PROPERTY_TYPE_RESOURCE;
#line 1042 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_g_object_unref0 (binding);
#line 1042 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		return result;
#line 10615 "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 1046 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 1046 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (sql != NULL, 0);
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = tracker_sparql_expression_current (self);
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	switch (_tmp0_) {
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_OPEN_PARENS:
#line 10635 "tracker-sparql-expression.c"
		{
			TrackerPropertyType _tmp1_ = 0;
			GString* _tmp2_;
			TrackerPropertyType _tmp3_;
#line 1051 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp2_ = sql;
#line 1051 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp3_ = tracker_sparql_expression_translate_bracketted_expression (self, _tmp2_, &_inner_error_);
#line 1051 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp1_ = _tmp3_;
#line 1051 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1051 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1051 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1051 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 10654 "tracker-sparql-expression.c"
				} else {
#line 1051 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1051 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1051 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 10662 "tracker-sparql-expression.c"
				}
			}
#line 1051 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = _tmp1_;
#line 1051 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 10669 "tracker-sparql-expression.c"
		}
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_IRI_REF:
#line 10673 "tracker-sparql-expression.c"
		{
			TrackerPropertyType _tmp4_ = 0;
			GString* _tmp5_;
			gchar* _tmp6_;
			gchar* _tmp7_;
			TrackerPropertyType _tmp8_;
			TrackerPropertyType _tmp9_;
#line 1053 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#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 10691 "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 10699 "tracker-sparql-expression.c"
				}
			}
#line 1054 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp5_ = sql;
#line 1054 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp6_ = tracker_sparql_expression_get_last_string (self, 1);
#line 1054 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp7_ = _tmp6_;
#line 1054 "/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 1054 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp9_ = _tmp8_;
#line 1054 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (_tmp7_);
#line 1054 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp4_ = _tmp9_;
#line 1054 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1054 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1054 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1054 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 10724 "tracker-sparql-expression.c"
				} else {
#line 1054 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1054 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1054 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 10732 "tracker-sparql-expression.c"
				}
			}
#line 1054 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = _tmp4_;
#line 1054 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 10739 "tracker-sparql-expression.c"
		}
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_DECIMAL:
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_DOUBLE:
#line 10745 "tracker-sparql-expression.c"
		{
			TrackerSparqlQuery* _tmp10_;
			gboolean _tmp11_;
			gboolean _tmp12_;
#line 1057 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1057 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1057 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1057 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1057 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 10760 "tracker-sparql-expression.c"
				} else {
#line 1057 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1057 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1057 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 10768 "tracker-sparql-expression.c"
				}
			}
#line 1059 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp10_ = self->priv->query;
#line 1059 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp11_ = tracker_sparql_query_get_no_cache (_tmp10_);
#line 1059 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp12_ = _tmp11_;
#line 1059 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_tmp12_) {
#line 10779 "tracker-sparql-expression.c"
				GString* _tmp13_;
				gchar* _tmp14_;
				gchar* _tmp15_;
#line 1060 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp13_ = sql;
#line 1060 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp14_ = tracker_sparql_expression_get_last_string (self, 0);
#line 1060 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp15_ = _tmp14_;
#line 1060 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_string_append (_tmp13_, _tmp15_);
#line 1060 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_free0 (_tmp15_);
#line 10793 "tracker-sparql-expression.c"
			} else {
				GString* _tmp16_;
				TrackerSparqlLiteralBinding* binding = NULL;
				TrackerSparqlLiteralBinding* _tmp17_;
				TrackerSparqlLiteralBinding* _tmp18_;
				gchar* _tmp19_;
				TrackerSparqlQuery* _tmp20_;
				TrackerSparqlLiteralBinding* _tmp21_;
				TrackerSparqlLiteralBinding* _tmp22_;
#line 1062 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp16_ = sql;
#line 1062 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_string_append (_tmp16_, "?");
#line 1064 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp17_ = tracker_sparql_literal_binding_new ();
#line 1064 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				binding = _tmp17_;
#line 1065 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp18_ = binding;
#line 1065 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp19_ = tracker_sparql_expression_get_last_string (self, 0);
#line 1065 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_free0 (_tmp18_->literal);
#line 1065 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp18_->literal = _tmp19_;
#line 1066 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp20_ = self->priv->query;
#line 1066 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp21_ = binding;
#line 1066 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp22_ = _g_object_ref0 (_tmp21_);
#line 1066 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp20_->bindings = g_list_append (_tmp20_->bindings, _tmp22_);
#line 1059 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_object_unref0 (binding);
#line 10829 "tracker-sparql-expression.c"
			}
#line 1069 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = TRACKER_PROPERTY_TYPE_DOUBLE;
#line 1069 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 10835 "tracker-sparql-expression.c"
		}
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_TRUE:
#line 10839 "tracker-sparql-expression.c"
		{
			TrackerSparqlQuery* _tmp23_;
			gboolean _tmp24_;
			gboolean _tmp25_;
#line 1071 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1071 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1071 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1071 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1071 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 10854 "tracker-sparql-expression.c"
				} else {
#line 1071 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1071 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1071 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 10862 "tracker-sparql-expression.c"
				}
			}
#line 1073 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp23_ = self->priv->query;
#line 1073 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp24_ = tracker_sparql_query_get_no_cache (_tmp23_);
#line 1073 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp25_ = _tmp24_;
#line 1073 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_tmp25_) {
#line 10873 "tracker-sparql-expression.c"
				GString* _tmp26_;
#line 1074 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp26_ = sql;
#line 1074 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_string_append (_tmp26_, "1");
#line 10879 "tracker-sparql-expression.c"
			} else {
				GString* _tmp27_;
				TrackerSparqlLiteralBinding* binding = NULL;
				TrackerSparqlLiteralBinding* _tmp28_;
				TrackerSparqlLiteralBinding* _tmp29_;
				gchar* _tmp30_;
				TrackerSparqlLiteralBinding* _tmp31_;
				TrackerSparqlQuery* _tmp32_;
				TrackerSparqlLiteralBinding* _tmp33_;
				TrackerSparqlLiteralBinding* _tmp34_;
#line 1076 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp27_ = sql;
#line 1076 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_string_append (_tmp27_, "?");
#line 1078 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp28_ = tracker_sparql_literal_binding_new ();
#line 1078 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				binding = _tmp28_;
#line 1079 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp29_ = binding;
#line 1079 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp30_ = g_strdup ("1");
#line 1079 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_free0 (_tmp29_->literal);
#line 1079 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp29_->literal = _tmp30_;
#line 1080 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp31_ = binding;
#line 1080 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				((TrackerSparqlDataBinding*) _tmp31_)->data_type = TRACKER_PROPERTY_TYPE_INTEGER;
#line 1081 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp32_ = self->priv->query;
#line 1081 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp33_ = binding;
#line 1081 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp34_ = _g_object_ref0 (_tmp33_);
#line 1081 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp32_->bindings = g_list_append (_tmp32_->bindings, _tmp34_);
#line 1073 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_object_unref0 (binding);
#line 10920 "tracker-sparql-expression.c"
			}
#line 1084 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = TRACKER_PROPERTY_TYPE_BOOLEAN;
#line 1084 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 10926 "tracker-sparql-expression.c"
		}
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_FALSE:
#line 10930 "tracker-sparql-expression.c"
		{
			TrackerSparqlQuery* _tmp35_;
			gboolean _tmp36_;
			gboolean _tmp37_;
#line 1086 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1086 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1086 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1086 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1086 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 10945 "tracker-sparql-expression.c"
				} else {
#line 1086 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1086 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1086 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 10953 "tracker-sparql-expression.c"
				}
			}
#line 1088 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp35_ = self->priv->query;
#line 1088 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp36_ = tracker_sparql_query_get_no_cache (_tmp35_);
#line 1088 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp37_ = _tmp36_;
#line 1088 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_tmp37_) {
#line 10964 "tracker-sparql-expression.c"
				GString* _tmp38_;
#line 1089 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp38_ = sql;
#line 1089 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_string_append (_tmp38_, "0");
#line 10970 "tracker-sparql-expression.c"
			} else {
				GString* _tmp39_;
				TrackerSparqlLiteralBinding* binding = NULL;
				TrackerSparqlLiteralBinding* _tmp40_;
				TrackerSparqlLiteralBinding* _tmp41_;
				gchar* _tmp42_;
				TrackerSparqlLiteralBinding* _tmp43_;
				TrackerSparqlQuery* _tmp44_;
				TrackerSparqlLiteralBinding* _tmp45_;
				TrackerSparqlLiteralBinding* _tmp46_;
#line 1091 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp39_ = sql;
#line 1091 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_string_append (_tmp39_, "?");
#line 1093 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp40_ = tracker_sparql_literal_binding_new ();
#line 1093 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				binding = _tmp40_;
#line 1094 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp41_ = binding;
#line 1094 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp42_ = g_strdup ("0");
#line 1094 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_free0 (_tmp41_->literal);
#line 1094 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp41_->literal = _tmp42_;
#line 1095 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp43_ = binding;
#line 1095 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				((TrackerSparqlDataBinding*) _tmp43_)->data_type = TRACKER_PROPERTY_TYPE_INTEGER;
#line 1096 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp44_ = self->priv->query;
#line 1096 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp45_ = binding;
#line 1096 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp46_ = _g_object_ref0 (_tmp45_);
#line 1096 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp44_->bindings = g_list_append (_tmp44_->bindings, _tmp46_);
#line 1088 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_object_unref0 (binding);
#line 11011 "tracker-sparql-expression.c"
			}
#line 1099 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = TRACKER_PROPERTY_TYPE_BOOLEAN;
#line 1099 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 11017 "tracker-sparql-expression.c"
		}
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_STRING_LITERAL1:
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_STRING_LITERAL2:
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_STRING_LITERAL_LONG1:
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_STRING_LITERAL_LONG2:
#line 11027 "tracker-sparql-expression.c"
		{
			gchar* literal = NULL;
			TrackerPropertyType _tmp47_ = 0;
			gchar* _tmp48_;
			TrackerPropertyType _tmp49_;
#line 1104 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp48_ = tracker_sparql_expression_parse_string_literal (self, &_tmp47_, &_inner_error_);
#line 1104 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			type = _tmp47_;
#line 1104 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			literal = _tmp48_;
#line 1104 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1104 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1104 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1104 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11047 "tracker-sparql-expression.c"
				} else {
#line 1104 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1104 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1104 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11055 "tracker-sparql-expression.c"
				}
			}
#line 1106 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp49_ = type;
#line 1106 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			switch (_tmp49_) {
#line 1106 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				case TRACKER_PROPERTY_TYPE_INTEGER:
#line 1106 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				case TRACKER_PROPERTY_TYPE_BOOLEAN:
#line 1106 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				case TRACKER_PROPERTY_TYPE_DOUBLE:
#line 1106 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				case TRACKER_PROPERTY_TYPE_DATE:
#line 1106 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				case TRACKER_PROPERTY_TYPE_DATETIME:
#line 11072 "tracker-sparql-expression.c"
				{
					TrackerSparqlQuery* _tmp50_;
					gboolean _tmp51_;
					gboolean _tmp52_;
#line 1112 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp50_ = self->priv->query;
#line 1112 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp51_ = tracker_sparql_query_get_no_cache (_tmp50_);
#line 1112 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp52_ = _tmp51_;
#line 1112 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					if (_tmp52_) {
#line 11085 "tracker-sparql-expression.c"
						GString* _tmp53_;
						const gchar* _tmp54_;
						gchar* _tmp55_;
						gchar* _tmp56_;
#line 1113 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp53_ = sql;
#line 1113 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp54_ = literal;
#line 1113 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp55_ = tracker_sparql_expression_escape_sql_string_literal (self, _tmp54_);
#line 1113 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp56_ = _tmp55_;
#line 1113 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_string_append (_tmp53_, _tmp56_);
#line 1113 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_g_free0 (_tmp56_);
#line 11102 "tracker-sparql-expression.c"
					} else {
						TrackerSparqlLiteralBinding* binding = NULL;
						TrackerSparqlLiteralBinding* _tmp57_;
						TrackerSparqlLiteralBinding* _tmp58_;
						const gchar* _tmp59_;
						gchar* _tmp60_;
						TrackerSparqlLiteralBinding* _tmp61_;
						TrackerPropertyType _tmp62_;
						TrackerSparqlQuery* _tmp63_;
						TrackerSparqlLiteralBinding* _tmp64_;
						TrackerSparqlLiteralBinding* _tmp65_;
						GString* _tmp66_;
#line 1115 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp57_ = tracker_sparql_literal_binding_new ();
#line 1115 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						binding = _tmp57_;
#line 1116 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp58_ = binding;
#line 1116 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp59_ = literal;
#line 1116 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp60_ = g_strdup (_tmp59_);
#line 1116 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_g_free0 (_tmp58_->literal);
#line 1116 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp58_->literal = _tmp60_;
#line 1117 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp61_ = binding;
#line 1117 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp62_ = type;
#line 1117 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						((TrackerSparqlDataBinding*) _tmp61_)->data_type = _tmp62_;
#line 1118 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp63_ = self->priv->query;
#line 1118 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp64_ = binding;
#line 1118 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp65_ = _g_object_ref0 (_tmp64_);
#line 1118 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp63_->bindings = g_list_append (_tmp63_->bindings, _tmp65_);
#line 1119 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp66_ = sql;
#line 1119 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_string_append (_tmp66_, "?");
#line 1112 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_g_object_unref0 (binding);
#line 11149 "tracker-sparql-expression.c"
					}
#line 1121 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					result = type;
#line 1121 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_free0 (literal);
#line 1121 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return result;
#line 11157 "tracker-sparql-expression.c"
				}
				default:
				{
					TrackerSparqlQuery* _tmp67_;
					gboolean _tmp68_;
					gboolean _tmp69_;
					GString* _tmp82_;
#line 1123 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp67_ = self->priv->query;
#line 1123 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp68_ = tracker_sparql_query_get_no_cache (_tmp67_);
#line 1123 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp69_ = _tmp68_;
#line 1123 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					if (_tmp69_) {
#line 11173 "tracker-sparql-expression.c"
						GString* _tmp70_;
						const gchar* _tmp71_;
						gchar* _tmp72_;
						gchar* _tmp73_;
#line 1124 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp70_ = sql;
#line 1124 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp71_ = literal;
#line 1124 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp72_ = tracker_sparql_expression_escape_sql_string_literal (self, _tmp71_);
#line 1124 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp73_ = _tmp72_;
#line 1124 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_string_append (_tmp70_, _tmp73_);
#line 1124 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_g_free0 (_tmp73_);
#line 11190 "tracker-sparql-expression.c"
					} else {
						TrackerSparqlLiteralBinding* binding = NULL;
						TrackerSparqlLiteralBinding* _tmp74_;
						TrackerSparqlLiteralBinding* _tmp75_;
						const gchar* _tmp76_;
						gchar* _tmp77_;
						TrackerSparqlQuery* _tmp78_;
						TrackerSparqlLiteralBinding* _tmp79_;
						TrackerSparqlLiteralBinding* _tmp80_;
						GString* _tmp81_;
#line 1126 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp74_ = tracker_sparql_literal_binding_new ();
#line 1126 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						binding = _tmp74_;
#line 1127 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp75_ = binding;
#line 1127 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp76_ = literal;
#line 1127 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp77_ = g_strdup (_tmp76_);
#line 1127 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_g_free0 (_tmp75_->literal);
#line 1127 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp75_->literal = _tmp77_;
#line 1128 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp78_ = self->priv->query;
#line 1128 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp79_ = binding;
#line 1128 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp80_ = _g_object_ref0 (_tmp79_);
#line 1128 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp78_->bindings = g_list_append (_tmp78_->bindings, _tmp80_);
#line 1129 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp81_ = sql;
#line 1129 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_string_append (_tmp81_, "?");
#line 1123 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_g_object_unref0 (binding);
#line 11229 "tracker-sparql-expression.c"
					}
#line 1131 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp82_ = sql;
#line 1131 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					tracker_sparql_expression_append_collate (self, _tmp82_);
#line 1132 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					result = TRACKER_PROPERTY_TYPE_STRING;
#line 1132 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_free0 (literal);
#line 1132 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return result;
#line 11241 "tracker-sparql-expression.c"
				}
			}
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (literal);
#line 11246 "tracker-sparql-expression.c"
		}
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_INTEGER:
#line 11250 "tracker-sparql-expression.c"
		{
			TrackerSparqlQuery* _tmp83_;
			gboolean _tmp84_;
			gboolean _tmp85_;
#line 1135 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1135 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1135 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1135 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1135 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11265 "tracker-sparql-expression.c"
				} else {
#line 1135 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1135 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1135 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11273 "tracker-sparql-expression.c"
				}
			}
#line 1137 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp83_ = self->priv->query;
#line 1137 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp84_ = tracker_sparql_query_get_no_cache (_tmp83_);
#line 1137 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp85_ = _tmp84_;
#line 1137 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_tmp85_) {
#line 11284 "tracker-sparql-expression.c"
				GString* _tmp86_;
				gchar* _tmp87_;
				gchar* _tmp88_;
#line 1138 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp86_ = sql;
#line 1138 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp87_ = tracker_sparql_expression_get_last_string (self, 0);
#line 1138 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp88_ = _tmp87_;
#line 1138 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_string_append (_tmp86_, _tmp88_);
#line 1138 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_free0 (_tmp88_);
#line 11298 "tracker-sparql-expression.c"
			} else {
				GString* _tmp89_;
				TrackerSparqlLiteralBinding* binding = NULL;
				TrackerSparqlLiteralBinding* _tmp90_;
				TrackerSparqlLiteralBinding* _tmp91_;
				gchar* _tmp92_;
				TrackerSparqlLiteralBinding* _tmp93_;
				TrackerSparqlQuery* _tmp94_;
				TrackerSparqlLiteralBinding* _tmp95_;
				TrackerSparqlLiteralBinding* _tmp96_;
#line 1140 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp89_ = sql;
#line 1140 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_string_append (_tmp89_, "?");
#line 1142 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp90_ = tracker_sparql_literal_binding_new ();
#line 1142 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				binding = _tmp90_;
#line 1143 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp91_ = binding;
#line 1143 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp92_ = tracker_sparql_expression_get_last_string (self, 0);
#line 1143 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_free0 (_tmp91_->literal);
#line 1143 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp91_->literal = _tmp92_;
#line 1144 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp93_ = binding;
#line 1144 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				((TrackerSparqlDataBinding*) _tmp93_)->data_type = TRACKER_PROPERTY_TYPE_INTEGER;
#line 1145 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp94_ = self->priv->query;
#line 1145 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp95_ = binding;
#line 1145 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp96_ = _g_object_ref0 (_tmp95_);
#line 1145 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp94_->bindings = g_list_append (_tmp94_->bindings, _tmp96_);
#line 1137 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_object_unref0 (binding);
#line 11339 "tracker-sparql-expression.c"
			}
#line 1148 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = TRACKER_PROPERTY_TYPE_INTEGER;
#line 1148 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 11345 "tracker-sparql-expression.c"
		}
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_VAR:
#line 11349 "tracker-sparql-expression.c"
		{
			gchar* variable_name = NULL;
			gchar* _tmp97_;
			gchar* _tmp98_;
			gchar* _tmp99_;
			gchar* _tmp100_;
			TrackerSparqlVariable* variable = NULL;
			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 1150 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1150 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1150 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1150 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1150 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11378 "tracker-sparql-expression.c"
				} else {
#line 1150 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1150 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1150 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11386 "tracker-sparql-expression.c"
				}
			}
#line 1151 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp97_ = tracker_sparql_expression_get_last_string (self, 0);
#line 1151 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp98_ = _tmp97_;
#line 1151 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp99_ = string_substring (_tmp98_, (glong) 1, (glong) -1);
#line 1151 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp100_ = _tmp99_;
#line 1151 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (_tmp98_);
#line 1151 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			variable_name = _tmp100_;
#line 1152 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp101_ = tracker_sparql_expression_get_context (self);
#line 1152 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp102_ = _tmp101_;
#line 1152 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp103_ = variable_name;
#line 1152 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp104_ = tracker_sparql_context_get_variable (_tmp102_, _tmp103_);
#line 1152 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp105_ = _g_object_ref0 (_tmp104_);
#line 1152 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			variable = _tmp105_;
#line 1154 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp107_ = tracker_sparql_expression_get_context (self);
#line 1154 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp108_ = _tmp107_;
#line 1154 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp109_ = _tmp108_->need_binding_expression;
#line 1154 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_tmp109_) {
#line 11421 "tracker-sparql-expression.c"
				TrackerSparqlVariable* _tmp110_;
				TrackerSparqlVariableBinding* _tmp111_;
#line 1154 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp110_ = variable;
#line 1154 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp111_ = _tmp110_->binding;
#line 1154 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp106_ = _tmp111_ != NULL;
#line 11430 "tracker-sparql-expression.c"
			} else {
#line 1154 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp106_ = FALSE;
#line 11434 "tracker-sparql-expression.c"
			}
#line 1154 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_tmp106_) {
#line 11438 "tracker-sparql-expression.c"
				GString* _tmp112_;
				TrackerSparqlVariable* _tmp113_;
				TrackerSparqlVariableBinding* _tmp114_;
				const gchar* _tmp115_;
				const gchar* _tmp116_;
#line 1155 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp112_ = sql;
#line 1155 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp113_ = variable;
#line 1155 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp114_ = _tmp113_->binding;
#line 1155 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp115_ = tracker_sparql_data_binding_get_sql_expression ((TrackerSparqlDataBinding*) _tmp114_);
#line 1155 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp116_ = _tmp115_;
#line 1155 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_string_append (_tmp112_, _tmp116_);
#line 11456 "tracker-sparql-expression.c"
			} else {
				GString* _tmp117_;
				TrackerSparqlVariable* _tmp118_;
				const gchar* _tmp119_;
				const gchar* _tmp120_;
#line 1157 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp117_ = sql;
#line 1157 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp118_ = variable;
#line 1157 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp119_ = tracker_sparql_variable_get_sql_expression (_tmp118_);
#line 1157 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp120_ = _tmp119_;
#line 1157 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_string_append (_tmp117_, _tmp120_);
#line 11472 "tracker-sparql-expression.c"
			}
#line 1160 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp121_ = variable;
#line 1160 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp122_ = _tmp121_->binding;
#line 1160 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_tmp122_ == NULL) {
#line 1161 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				result = TRACKER_PROPERTY_TYPE_UNKNOWN;
#line 1161 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_object_unref0 (variable);
#line 1161 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_free0 (variable_name);
#line 1161 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return result;
#line 11488 "tracker-sparql-expression.c"
			} else {
				TrackerSparqlVariable* _tmp123_;
				TrackerSparqlVariableBinding* _tmp124_;
				TrackerPropertyType _tmp125_;
				TrackerSparqlVariable* _tmp127_;
				TrackerSparqlVariableBinding* _tmp128_;
				TrackerPropertyType _tmp129_;
#line 1163 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp123_ = variable;
#line 1163 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp124_ = _tmp123_->binding;
#line 1163 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp125_ = ((TrackerSparqlDataBinding*) _tmp124_)->data_type;
#line 1163 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_tmp125_ == TRACKER_PROPERTY_TYPE_STRING) {
#line 11504 "tracker-sparql-expression.c"
					GString* _tmp126_;
#line 1164 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp126_ = sql;
#line 1164 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					tracker_sparql_expression_append_collate (self, _tmp126_);
#line 11510 "tracker-sparql-expression.c"
				}
#line 1166 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp127_ = variable;
#line 1166 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp128_ = _tmp127_->binding;
#line 1166 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp129_ = ((TrackerSparqlDataBinding*) _tmp128_)->data_type;
#line 1166 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				result = _tmp129_;
#line 1166 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_object_unref0 (variable);
#line 1166 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_free0 (variable_name);
#line 1166 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return result;
#line 11526 "tracker-sparql-expression.c"
			}
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_object_unref0 (variable);
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (variable_name);
#line 11532 "tracker-sparql-expression.c"
		}
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_STR:
#line 11536 "tracker-sparql-expression.c"
		{
			GString* _tmp130_;
#line 1169 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp130_ = sql;
#line 1169 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_translate_str (self, _tmp130_, &_inner_error_);
#line 1169 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1169 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1169 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1169 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11551 "tracker-sparql-expression.c"
				} else {
#line 1169 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1169 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1169 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11559 "tracker-sparql-expression.c"
				}
			}
#line 1170 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = TRACKER_PROPERTY_TYPE_STRING;
#line 1170 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 11566 "tracker-sparql-expression.c"
		}
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_LANG:
#line 11570 "tracker-sparql-expression.c"
		{
			GString* _tmp131_;
#line 1172 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1172 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1172 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1172 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1172 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11583 "tracker-sparql-expression.c"
				} else {
#line 1172 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1172 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1172 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11591 "tracker-sparql-expression.c"
				}
			}
#line 1173 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp131_ = sql;
#line 1173 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp131_, "''");
#line 1174 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = TRACKER_PROPERTY_TYPE_STRING;
#line 1174 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 11602 "tracker-sparql-expression.c"
		}
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_LANGMATCHES:
#line 11606 "tracker-sparql-expression.c"
		{
			GString* _tmp132_;
#line 1176 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1176 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1176 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1176 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1176 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11619 "tracker-sparql-expression.c"
				} else {
#line 1176 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1176 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1176 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11627 "tracker-sparql-expression.c"
				}
			}
#line 1177 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp132_ = sql;
#line 1177 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp132_, "0");
#line 1178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = TRACKER_PROPERTY_TYPE_BOOLEAN;
#line 1178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 11638 "tracker-sparql-expression.c"
		}
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_DATATYPE:
#line 11642 "tracker-sparql-expression.c"
		{
			GString* _tmp133_;
#line 1180 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp133_ = sql;
#line 1180 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_translate_datatype (self, _tmp133_, &_inner_error_);
#line 1180 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1180 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1180 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1180 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11657 "tracker-sparql-expression.c"
				} else {
#line 1180 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1180 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1180 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11665 "tracker-sparql-expression.c"
				}
			}
#line 1181 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = TRACKER_PROPERTY_TYPE_RESOURCE;
#line 1181 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 11672 "tracker-sparql-expression.c"
		}
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_BOUND:
#line 11676 "tracker-sparql-expression.c"
		{
			GString* _tmp134_;
#line 1183 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp134_ = sql;
#line 1183 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_translate_bound_call (self, _tmp134_, &_inner_error_);
#line 1183 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1183 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1183 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1183 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11691 "tracker-sparql-expression.c"
				} else {
#line 1183 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1183 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1183 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11699 "tracker-sparql-expression.c"
				}
			}
#line 1184 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = TRACKER_PROPERTY_TYPE_BOOLEAN;
#line 1184 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 11706 "tracker-sparql-expression.c"
		}
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_COALESCE:
#line 11710 "tracker-sparql-expression.c"
		{
			TrackerPropertyType _result_ = 0;
			GString* _tmp135_;
			TrackerPropertyType _tmp136_;
#line 1186 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_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 11725 "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 11733 "tracker-sparql-expression.c"
				}
			}
#line 1187 "/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 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 11746 "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 11754 "tracker-sparql-expression.c"
				}
			}
#line 1188 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp135_ = sql;
#line 1188 "/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 1188 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_result_ = _tmp136_;
#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 11771 "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 11779 "tracker-sparql-expression.c"
				}
			}
#line 1189 "/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 1189 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1189 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1189 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1189 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11792 "tracker-sparql-expression.c"
				} else {
#line 1189 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1189 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1189 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11800 "tracker-sparql-expression.c"
				}
			}
#line 1190 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = _result_;
#line 1190 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 11807 "tracker-sparql-expression.c"
		}
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_CONCAT:
#line 11811 "tracker-sparql-expression.c"
		{
			TrackerPropertyType _result_ = 0;
			GString* _tmp137_;
			TrackerPropertyType _tmp138_;
#line 1192 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_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 11826 "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 11834 "tracker-sparql-expression.c"
				}
			}
#line 1193 "/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 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 11847 "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 11855 "tracker-sparql-expression.c"
				}
			}
#line 1194 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp137_ = sql;
#line 1194 "/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 1194 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_result_ = _tmp138_;
#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 11872 "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 11880 "tracker-sparql-expression.c"
				}
			}
#line 1195 "/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 1195 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1195 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1195 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1195 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11893 "tracker-sparql-expression.c"
				} else {
#line 1195 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1195 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1195 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11901 "tracker-sparql-expression.c"
				}
			}
#line 1196 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = _result_;
#line 1196 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 11908 "tracker-sparql-expression.c"
		}
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_CONTAINS:
#line 11912 "tracker-sparql-expression.c"
		{
			TrackerPropertyType _result_ = 0;
			GString* _tmp139_;
			TrackerPropertyType _tmp140_;
#line 1198 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_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 11927 "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 11935 "tracker-sparql-expression.c"
				}
			}
#line 1199 "/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 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 11948 "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 11956 "tracker-sparql-expression.c"
				}
			}
#line 1200 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp139_ = sql;
#line 1200 "/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 1200 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_result_ = _tmp140_;
#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 11973 "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 11981 "tracker-sparql-expression.c"
				}
			}
#line 1201 "/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 1201 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1201 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1201 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1201 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 11994 "tracker-sparql-expression.c"
				} else {
#line 1201 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1201 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1201 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12002 "tracker-sparql-expression.c"
				}
			}
#line 1202 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = _result_;
#line 1202 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 12009 "tracker-sparql-expression.c"
		}
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_ENCODE_FOR_URI:
#line 12013 "tracker-sparql-expression.c"
		{
			GString* _tmp141_;
			GString* _tmp142_;
			GString* _tmp143_;
#line 1204 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_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 12028 "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 12036 "tracker-sparql-expression.c"
				}
			}
#line 1205 "/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 1205 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1205 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1205 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1205 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12049 "tracker-sparql-expression.c"
				} else {
#line 1205 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1205 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1205 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12057 "tracker-sparql-expression.c"
				}
			}
#line 1206 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp141_ = sql;
#line 1206 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp141_, "SparqlEncodeForUri (");
#line 1207 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp142_ = sql;
#line 1207 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_translate_expression_as_string (self, _tmp142_, &_inner_error_);
#line 1207 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1207 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1207 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1207 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12076 "tracker-sparql-expression.c"
				} else {
#line 1207 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1207 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1207 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12084 "tracker-sparql-expression.c"
				}
			}
#line 1208 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp143_ = sql;
#line 1208 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp143_, ")");
#line 1209 "/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 1209 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1209 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1209 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1209 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12101 "tracker-sparql-expression.c"
				} else {
#line 1209 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1209 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1209 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12109 "tracker-sparql-expression.c"
				}
			}
#line 1210 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = TRACKER_PROPERTY_TYPE_STRING;
#line 1210 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 12116 "tracker-sparql-expression.c"
		}
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_IF:
#line 12120 "tracker-sparql-expression.c"
		{
			TrackerPropertyType _tmp144_ = 0;
			GString* _tmp145_;
			TrackerPropertyType _tmp146_;
#line 1212 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp145_ = sql;
#line 1212 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp146_ = tracker_sparql_expression_translate_if_call (self, _tmp145_, &_inner_error_);
#line 1212 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp144_ = _tmp146_;
#line 1212 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1212 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1212 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1212 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12139 "tracker-sparql-expression.c"
				} else {
#line 1212 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1212 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1212 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12147 "tracker-sparql-expression.c"
				}
			}
#line 1212 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = _tmp144_;
#line 1212 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 12154 "tracker-sparql-expression.c"
		}
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_SAMETERM:
#line 12158 "tracker-sparql-expression.c"
		{
			GString* _tmp147_;
			GString* _tmp148_;
			GString* _tmp149_;
			GString* _tmp150_;
			GString* _tmp151_;
#line 1214 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_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 12175 "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 12183 "tracker-sparql-expression.c"
				}
			}
#line 1215 "/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 1215 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1215 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1215 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1215 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12196 "tracker-sparql-expression.c"
				} else {
#line 1215 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1215 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1215 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12204 "tracker-sparql-expression.c"
				}
			}
#line 1216 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp147_ = sql;
#line 1216 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp147_, "(");
#line 1217 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp148_ = sql;
#line 1217 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_translate_expression (self, _tmp148_, &_inner_error_);
#line 1217 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1217 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1217 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1217 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12223 "tracker-sparql-expression.c"
				} else {
#line 1217 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1217 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1217 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12231 "tracker-sparql-expression.c"
				}
			}
#line 1218 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp149_ = sql;
#line 1218 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp149_, " = ");
#line 1219 "/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 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 12248 "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 12256 "tracker-sparql-expression.c"
				}
			}
#line 1220 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp150_ = sql;
#line 1220 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_translate_expression (self, _tmp150_, &_inner_error_);
#line 1220 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1220 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1220 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1220 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12271 "tracker-sparql-expression.c"
				} else {
#line 1220 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1220 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1220 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12279 "tracker-sparql-expression.c"
				}
			}
#line 1221 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp151_ = sql;
#line 1221 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp151_, ")");
#line 1222 "/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 1222 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1222 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1222 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1222 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12296 "tracker-sparql-expression.c"
				} else {
#line 1222 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1222 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1222 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12304 "tracker-sparql-expression.c"
				}
			}
#line 1223 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = TRACKER_PROPERTY_TYPE_BOOLEAN;
#line 1223 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 12311 "tracker-sparql-expression.c"
		}
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_ISIRI:
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_ISURI:
#line 12317 "tracker-sparql-expression.c"
		{
			GString* _tmp152_;
#line 1226 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp152_ = sql;
#line 1226 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_translate_isuri (self, _tmp152_, &_inner_error_);
#line 1226 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1226 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1226 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1226 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12332 "tracker-sparql-expression.c"
				} else {
#line 1226 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1226 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1226 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12340 "tracker-sparql-expression.c"
				}
			}
#line 1227 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = TRACKER_PROPERTY_TYPE_BOOLEAN;
#line 1227 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 12347 "tracker-sparql-expression.c"
		}
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_ISBLANK:
#line 12351 "tracker-sparql-expression.c"
		{
			GString* _tmp153_;
#line 1229 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_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 12364 "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 12372 "tracker-sparql-expression.c"
				}
			}
#line 1230 "/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 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 12385 "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 12393 "tracker-sparql-expression.c"
				}
			}
#line 1231 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1231 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1231 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1231 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1231 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12406 "tracker-sparql-expression.c"
				} else {
#line 1231 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1231 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1231 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12414 "tracker-sparql-expression.c"
				}
			}
#line 1233 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp153_ = sql;
#line 1233 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp153_, "0");
#line 1234 "/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 1234 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1234 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1234 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1234 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12431 "tracker-sparql-expression.c"
				} else {
#line 1234 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1234 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1234 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12439 "tracker-sparql-expression.c"
				}
			}
#line 1235 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = TRACKER_PROPERTY_TYPE_BOOLEAN;
#line 1235 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 12446 "tracker-sparql-expression.c"
		}
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_ISLITERAL:
#line 12450 "tracker-sparql-expression.c"
		{
#line 1237 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1237 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1237 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1237 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1237 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12462 "tracker-sparql-expression.c"
				} else {
#line 1237 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1237 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1237 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12470 "tracker-sparql-expression.c"
				}
			}
#line 1238 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = TRACKER_PROPERTY_TYPE_BOOLEAN;
#line 1238 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 12477 "tracker-sparql-expression.c"
		}
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_LCASE:
#line 12481 "tracker-sparql-expression.c"
		{
			TrackerPropertyType _result_ = 0;
			GString* _tmp154_;
			TrackerPropertyType _tmp155_;
#line 1240 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_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 12496 "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 12504 "tracker-sparql-expression.c"
				}
			}
#line 1241 "/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 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 12517 "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 12525 "tracker-sparql-expression.c"
				}
			}
#line 1242 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp154_ = sql;
#line 1242 "/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 1242 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_result_ = _tmp155_;
#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 12542 "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 12550 "tracker-sparql-expression.c"
				}
			}
#line 1243 "/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 1243 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1243 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1243 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1243 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12563 "tracker-sparql-expression.c"
				} else {
#line 1243 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1243 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1243 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12571 "tracker-sparql-expression.c"
				}
			}
#line 1244 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = _result_;
#line 1244 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 12578 "tracker-sparql-expression.c"
		}
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_UCASE:
#line 12582 "tracker-sparql-expression.c"
		{
			TrackerPropertyType _result_ = 0;
			GString* _tmp156_;
			TrackerPropertyType _tmp157_;
#line 1246 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_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 12597 "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 12605 "tracker-sparql-expression.c"
				}
			}
#line 1247 "/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 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 12618 "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 12626 "tracker-sparql-expression.c"
				}
			}
#line 1248 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp156_ = sql;
#line 1248 "/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 1248 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_result_ = _tmp157_;
#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 12643 "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 12651 "tracker-sparql-expression.c"
				}
			}
#line 1249 "/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 1249 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1249 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1249 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1249 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12664 "tracker-sparql-expression.c"
				} else {
#line 1249 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1249 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1249 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12672 "tracker-sparql-expression.c"
				}
			}
#line 1250 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = _result_;
#line 1250 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 12679 "tracker-sparql-expression.c"
		}
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_STRLEN:
#line 12683 "tracker-sparql-expression.c"
		{
			GString* _tmp158_;
			TrackerPropertyType _tmp159_ = 0;
			GString* _tmp160_;
			TrackerPropertyType _tmp161_;
			GString* _tmp162_;
#line 1252 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1252 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1252 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1252 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1252 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12700 "tracker-sparql-expression.c"
				} else {
#line 1252 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1252 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1252 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12708 "tracker-sparql-expression.c"
				}
			}
#line 1253 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp158_ = sql;
#line 1253 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp158_, "LENGTH(");
#line 1254 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp160_ = sql;
#line 1254 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp161_ = tracker_sparql_expression_translate_aggregate_expression (self, _tmp160_, &_inner_error_);
#line 1254 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp159_ = _tmp161_;
#line 1254 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1254 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1254 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1254 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12729 "tracker-sparql-expression.c"
				} else {
#line 1254 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1254 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1254 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12737 "tracker-sparql-expression.c"
				}
			}
#line 1254 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			type = _tmp159_;
#line 1255 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp162_ = sql;
#line 1255 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp162_, ")");
#line 1256 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = TRACKER_PROPERTY_TYPE_INTEGER;
#line 1256 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 12750 "tracker-sparql-expression.c"
		}
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_STRSTARTS:
#line 12754 "tracker-sparql-expression.c"
		{
			TrackerPropertyType _result_ = 0;
			GString* _tmp163_;
			TrackerPropertyType _tmp164_;
#line 1258 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_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 12769 "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 12777 "tracker-sparql-expression.c"
				}
			}
#line 1259 "/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 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 12790 "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 12798 "tracker-sparql-expression.c"
				}
			}
#line 1260 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp163_ = sql;
#line 1260 "/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 1260 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_result_ = _tmp164_;
#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 12815 "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 12823 "tracker-sparql-expression.c"
				}
			}
#line 1261 "/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 1261 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1261 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1261 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1261 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12836 "tracker-sparql-expression.c"
				} else {
#line 1261 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1261 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1261 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12844 "tracker-sparql-expression.c"
				}
			}
#line 1262 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = _result_;
#line 1262 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 12851 "tracker-sparql-expression.c"
		}
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_STRENDS:
#line 12855 "tracker-sparql-expression.c"
		{
			TrackerPropertyType _result_ = 0;
			GString* _tmp165_;
			TrackerPropertyType _tmp166_;
#line 1264 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_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 12870 "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 12878 "tracker-sparql-expression.c"
				}
			}
#line 1265 "/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 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 12891 "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 12899 "tracker-sparql-expression.c"
				}
			}
#line 1266 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp165_ = sql;
#line 1266 "/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 1266 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_result_ = _tmp166_;
#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 12916 "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 12924 "tracker-sparql-expression.c"
				}
			}
#line 1267 "/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 1267 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1267 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1267 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1267 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12937 "tracker-sparql-expression.c"
				} else {
#line 1267 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1267 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1267 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 12945 "tracker-sparql-expression.c"
				}
			}
#line 1268 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = _result_;
#line 1268 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 12952 "tracker-sparql-expression.c"
		}
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_SUBSTR:
#line 12956 "tracker-sparql-expression.c"
		{
			TrackerPropertyType _result_ = 0;
			GString* _tmp167_;
			TrackerPropertyType _tmp168_;
#line 1270 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_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 12971 "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 12979 "tracker-sparql-expression.c"
				}
			}
#line 1271 "/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 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 12992 "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 13000 "tracker-sparql-expression.c"
				}
			}
#line 1272 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp167_ = sql;
#line 1272 "/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 1272 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_result_ = _tmp168_;
#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 13017 "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 13025 "tracker-sparql-expression.c"
				}
			}
#line 1273 "/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 1273 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1273 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1273 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1273 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13038 "tracker-sparql-expression.c"
				} else {
#line 1273 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1273 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1273 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13046 "tracker-sparql-expression.c"
				}
			}
#line 1274 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = _result_;
#line 1274 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 13053 "tracker-sparql-expression.c"
		}
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_STRBEFORE:
#line 13057 "tracker-sparql-expression.c"
		{
			GString* _tmp169_;
			GString* _tmp170_;
			GString* _tmp171_;
			GString* _tmp172_;
			GString* _tmp173_;
#line 1276 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_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 13074 "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 13082 "tracker-sparql-expression.c"
				}
			}
#line 1277 "/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 1277 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1277 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1277 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1277 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13095 "tracker-sparql-expression.c"
				} else {
#line 1277 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1277 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1277 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13103 "tracker-sparql-expression.c"
				}
			}
#line 1278 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp169_ = sql;
#line 1278 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp169_, "SparqlStringBefore (");
#line 1279 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp170_ = sql;
#line 1279 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_translate_expression_as_string (self, _tmp170_, &_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 13122 "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 13130 "tracker-sparql-expression.c"
				}
			}
#line 1280 "/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 1280 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1280 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1280 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1280 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13143 "tracker-sparql-expression.c"
				} else {
#line 1280 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1280 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1280 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13151 "tracker-sparql-expression.c"
				}
			}
#line 1281 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp171_ = sql;
#line 1281 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp171_, ",");
#line 1282 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp172_ = sql;
#line 1282 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_translate_expression_as_string (self, _tmp172_, &_inner_error_);
#line 1282 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1282 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1282 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1282 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13170 "tracker-sparql-expression.c"
				} else {
#line 1282 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1282 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1282 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13178 "tracker-sparql-expression.c"
				}
			}
#line 1283 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp173_ = sql;
#line 1283 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp173_, ")");
#line 1284 "/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 1284 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1284 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1284 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1284 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13195 "tracker-sparql-expression.c"
				} else {
#line 1284 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1284 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1284 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13203 "tracker-sparql-expression.c"
				}
			}
#line 1285 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = TRACKER_PROPERTY_TYPE_STRING;
#line 1285 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 13210 "tracker-sparql-expression.c"
		}
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_STRAFTER:
#line 13214 "tracker-sparql-expression.c"
		{
			GString* _tmp174_;
			GString* _tmp175_;
			GString* _tmp176_;
			GString* _tmp177_;
			GString* _tmp178_;
#line 1287 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_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 13231 "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 13239 "tracker-sparql-expression.c"
				}
			}
#line 1288 "/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 1288 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1288 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1288 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1288 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13252 "tracker-sparql-expression.c"
				} else {
#line 1288 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1288 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1288 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13260 "tracker-sparql-expression.c"
				}
			}
#line 1289 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp174_ = sql;
#line 1289 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp174_, "SparqlStringAfter (");
#line 1290 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp175_ = sql;
#line 1290 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_translate_expression_as_string (self, _tmp175_, &_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 13279 "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 13287 "tracker-sparql-expression.c"
				}
			}
#line 1291 "/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 1291 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1291 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1291 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1291 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13300 "tracker-sparql-expression.c"
				} else {
#line 1291 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1291 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1291 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13308 "tracker-sparql-expression.c"
				}
			}
#line 1292 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp176_ = sql;
#line 1292 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp176_, ",");
#line 1293 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp177_ = sql;
#line 1293 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_translate_expression_as_string (self, _tmp177_, &_inner_error_);
#line 1293 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1293 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1293 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1293 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13327 "tracker-sparql-expression.c"
				} else {
#line 1293 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1293 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1293 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13335 "tracker-sparql-expression.c"
				}
			}
#line 1294 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp178_ = sql;
#line 1294 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp178_, ")");
#line 1295 "/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 1295 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1295 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1295 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1295 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13352 "tracker-sparql-expression.c"
				} else {
#line 1295 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1295 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1295 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13360 "tracker-sparql-expression.c"
				}
			}
#line 1296 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = TRACKER_PROPERTY_TYPE_STRING;
#line 1296 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 13367 "tracker-sparql-expression.c"
		}
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_REGEX:
#line 13371 "tracker-sparql-expression.c"
		{
			GString* _tmp179_;
			TrackerSparqlQuery* _tmp180_;
#line 1298 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp179_ = sql;
#line 1298 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_translate_regex (self, _tmp179_, &_inner_error_);
#line 1298 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1298 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1298 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1298 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13387 "tracker-sparql-expression.c"
				} else {
#line 1298 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1298 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1298 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13395 "tracker-sparql-expression.c"
				}
			}
#line 1299 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp180_ = self->priv->query;
#line 1299 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_query_set_no_cache (_tmp180_, TRUE);
#line 1300 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = TRACKER_PROPERTY_TYPE_BOOLEAN;
#line 1300 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 13406 "tracker-sparql-expression.c"
		}
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_EXISTS:
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_NOT:
#line 13412 "tracker-sparql-expression.c"
		{
			GString* _tmp181_;
#line 1303 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp181_ = sql;
#line 1303 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_translate_exists (self, _tmp181_, &_inner_error_);
#line 1303 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1303 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1303 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1303 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13427 "tracker-sparql-expression.c"
				} else {
#line 1303 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1303 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1303 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13435 "tracker-sparql-expression.c"
				}
			}
#line 1304 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = TRACKER_PROPERTY_TYPE_BOOLEAN;
#line 1304 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 13442 "tracker-sparql-expression.c"
		}
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_COUNT:
#line 13446 "tracker-sparql-expression.c"
		{
			GString* _tmp182_;
			GString* _tmp183_;
			GString* _tmp184_;
#line 1306 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1306 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1306 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1306 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1306 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13461 "tracker-sparql-expression.c"
				} else {
#line 1306 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1306 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1306 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13469 "tracker-sparql-expression.c"
				}
			}
#line 1307 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp182_ = sql;
#line 1307 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp182_, "COUNT(");
#line 1308 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp183_ = sql;
#line 1308 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_translate_aggregate_expression (self, _tmp183_, &_inner_error_);
#line 1308 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1308 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1308 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1308 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13488 "tracker-sparql-expression.c"
				} else {
#line 1308 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1308 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1308 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13496 "tracker-sparql-expression.c"
				}
			}
#line 1309 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp184_ = sql;
#line 1309 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp184_, ")");
#line 1310 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = TRACKER_PROPERTY_TYPE_INTEGER;
#line 1310 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 13507 "tracker-sparql-expression.c"
		}
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_SUM:
#line 13511 "tracker-sparql-expression.c"
		{
			GString* _tmp185_;
			TrackerPropertyType _tmp186_ = 0;
			GString* _tmp187_;
			TrackerPropertyType _tmp188_;
			GString* _tmp189_;
#line 1312 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1312 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1312 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1312 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1312 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13528 "tracker-sparql-expression.c"
				} else {
#line 1312 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1312 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1312 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13536 "tracker-sparql-expression.c"
				}
			}
#line 1313 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp185_ = sql;
#line 1313 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp185_, "SUM(");
#line 1314 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp187_ = sql;
#line 1314 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp188_ = tracker_sparql_expression_translate_aggregate_expression (self, _tmp187_, &_inner_error_);
#line 1314 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp186_ = _tmp188_;
#line 1314 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1314 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1314 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1314 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13557 "tracker-sparql-expression.c"
				} else {
#line 1314 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1314 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1314 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13565 "tracker-sparql-expression.c"
				}
			}
#line 1314 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			type = _tmp186_;
#line 1315 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp189_ = sql;
#line 1315 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp189_, ")");
#line 1316 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = type;
#line 1316 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 13578 "tracker-sparql-expression.c"
		}
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_AVG:
#line 13582 "tracker-sparql-expression.c"
		{
			GString* _tmp190_;
			TrackerPropertyType _tmp191_ = 0;
			GString* _tmp192_;
			TrackerPropertyType _tmp193_;
			GString* _tmp194_;
#line 1318 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1318 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1318 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1318 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1318 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13599 "tracker-sparql-expression.c"
				} else {
#line 1318 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1318 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1318 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13607 "tracker-sparql-expression.c"
				}
			}
#line 1319 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp190_ = sql;
#line 1319 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp190_, "AVG(");
#line 1320 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp192_ = sql;
#line 1320 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp193_ = tracker_sparql_expression_translate_aggregate_expression (self, _tmp192_, &_inner_error_);
#line 1320 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp191_ = _tmp193_;
#line 1320 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1320 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1320 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1320 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13628 "tracker-sparql-expression.c"
				} else {
#line 1320 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1320 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1320 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13636 "tracker-sparql-expression.c"
				}
			}
#line 1320 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			type = _tmp191_;
#line 1321 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp194_ = sql;
#line 1321 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp194_, ")");
#line 1322 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = type;
#line 1322 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 13649 "tracker-sparql-expression.c"
		}
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_MIN:
#line 13653 "tracker-sparql-expression.c"
		{
			GString* _tmp195_;
			TrackerPropertyType _tmp196_ = 0;
			GString* _tmp197_;
			TrackerPropertyType _tmp198_;
			GString* _tmp199_;
#line 1324 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1324 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1324 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1324 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1324 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13670 "tracker-sparql-expression.c"
				} else {
#line 1324 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1324 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1324 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13678 "tracker-sparql-expression.c"
				}
			}
#line 1325 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp195_ = sql;
#line 1325 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp195_, "MIN(");
#line 1326 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp197_ = sql;
#line 1326 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp198_ = tracker_sparql_expression_translate_aggregate_expression (self, _tmp197_, &_inner_error_);
#line 1326 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp196_ = _tmp198_;
#line 1326 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1326 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1326 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1326 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13699 "tracker-sparql-expression.c"
				} else {
#line 1326 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1326 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1326 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13707 "tracker-sparql-expression.c"
				}
			}
#line 1326 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			type = _tmp196_;
#line 1327 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp199_ = sql;
#line 1327 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp199_, ")");
#line 1328 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = type;
#line 1328 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 13720 "tracker-sparql-expression.c"
		}
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_MAX:
#line 13724 "tracker-sparql-expression.c"
		{
			GString* _tmp200_;
			TrackerPropertyType _tmp201_ = 0;
			GString* _tmp202_;
			TrackerPropertyType _tmp203_;
			GString* _tmp204_;
#line 1330 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1330 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1330 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1330 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1330 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13741 "tracker-sparql-expression.c"
				} else {
#line 1330 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1330 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1330 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13749 "tracker-sparql-expression.c"
				}
			}
#line 1331 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp200_ = sql;
#line 1331 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp200_, "MAX(");
#line 1332 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp202_ = sql;
#line 1332 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp203_ = tracker_sparql_expression_translate_aggregate_expression (self, _tmp202_, &_inner_error_);
#line 1332 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp201_ = _tmp203_;
#line 1332 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1332 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1332 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1332 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13770 "tracker-sparql-expression.c"
				} else {
#line 1332 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1332 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1332 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13778 "tracker-sparql-expression.c"
				}
			}
#line 1332 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			type = _tmp201_;
#line 1333 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp204_ = sql;
#line 1333 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp204_, ")");
#line 1334 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = type;
#line 1334 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 13791 "tracker-sparql-expression.c"
		}
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_ABS:
#line 13795 "tracker-sparql-expression.c"
		{
			GString* _tmp205_;
			TrackerPropertyType _tmp206_ = 0;
			GString* _tmp207_;
			TrackerPropertyType _tmp208_;
			GString* _tmp209_;
#line 1336 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1336 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1336 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1336 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1336 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13812 "tracker-sparql-expression.c"
				} else {
#line 1336 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1336 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1336 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13820 "tracker-sparql-expression.c"
				}
			}
#line 1337 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp205_ = sql;
#line 1337 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp205_, "ABS(");
#line 1338 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp207_ = sql;
#line 1338 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp208_ = tracker_sparql_expression_translate_aggregate_expression (self, _tmp207_, &_inner_error_);
#line 1338 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp206_ = _tmp208_;
#line 1338 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1338 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1338 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1338 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13841 "tracker-sparql-expression.c"
				} else {
#line 1338 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1338 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1338 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13849 "tracker-sparql-expression.c"
				}
			}
#line 1338 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			type = _tmp206_;
#line 1339 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp209_ = sql;
#line 1339 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp209_, ")");
#line 1340 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = type;
#line 1340 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 13862 "tracker-sparql-expression.c"
		}
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_ROUND:
#line 13866 "tracker-sparql-expression.c"
		{
			GString* _tmp210_;
			TrackerPropertyType _tmp211_ = 0;
			GString* _tmp212_;
			TrackerPropertyType _tmp213_;
			GString* _tmp214_;
#line 1342 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1342 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1342 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1342 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1342 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13883 "tracker-sparql-expression.c"
				} else {
#line 1342 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1342 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1342 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13891 "tracker-sparql-expression.c"
				}
			}
#line 1343 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp210_ = sql;
#line 1343 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp210_, "ROUND(");
#line 1344 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp212_ = sql;
#line 1344 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp213_ = tracker_sparql_expression_translate_aggregate_expression (self, _tmp212_, &_inner_error_);
#line 1344 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp211_ = _tmp213_;
#line 1344 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1344 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1344 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1344 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13912 "tracker-sparql-expression.c"
				} else {
#line 1344 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1344 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1344 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13920 "tracker-sparql-expression.c"
				}
			}
#line 1344 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			type = _tmp211_;
#line 1345 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp214_ = sql;
#line 1345 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp214_, ")");
#line 1346 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = type;
#line 1346 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 13933 "tracker-sparql-expression.c"
		}
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_CEIL:
#line 13937 "tracker-sparql-expression.c"
		{
			GString* _tmp215_;
			TrackerPropertyType _tmp216_ = 0;
			GString* _tmp217_;
			TrackerPropertyType _tmp218_;
			GString* _tmp219_;
#line 1348 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1348 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1348 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1348 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1348 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13954 "tracker-sparql-expression.c"
				} else {
#line 1348 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1348 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1348 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13962 "tracker-sparql-expression.c"
				}
			}
#line 1349 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp215_ = sql;
#line 1349 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp215_, "SparqlCeil(");
#line 1350 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp217_ = sql;
#line 1350 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp218_ = tracker_sparql_expression_translate_aggregate_expression (self, _tmp217_, &_inner_error_);
#line 1350 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp216_ = _tmp218_;
#line 1350 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1350 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1350 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1350 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13983 "tracker-sparql-expression.c"
				} else {
#line 1350 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1350 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1350 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 13991 "tracker-sparql-expression.c"
				}
			}
#line 1350 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			type = _tmp216_;
#line 1351 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp219_ = sql;
#line 1351 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp219_, ")");
#line 1352 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = type;
#line 1352 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 14004 "tracker-sparql-expression.c"
		}
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_FLOOR:
#line 14008 "tracker-sparql-expression.c"
		{
			GString* _tmp220_;
			TrackerPropertyType _tmp221_ = 0;
			GString* _tmp222_;
			TrackerPropertyType _tmp223_;
			GString* _tmp224_;
#line 1354 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1354 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1354 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1354 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1354 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14025 "tracker-sparql-expression.c"
				} else {
#line 1354 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1354 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1354 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14033 "tracker-sparql-expression.c"
				}
			}
#line 1355 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp220_ = sql;
#line 1355 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp220_, "SparqlFloor(");
#line 1356 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp222_ = sql;
#line 1356 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp223_ = tracker_sparql_expression_translate_aggregate_expression (self, _tmp222_, &_inner_error_);
#line 1356 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp221_ = _tmp223_;
#line 1356 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1356 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1356 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1356 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14054 "tracker-sparql-expression.c"
				} else {
#line 1356 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1356 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1356 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14062 "tracker-sparql-expression.c"
				}
			}
#line 1356 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			type = _tmp221_;
#line 1357 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp224_ = sql;
#line 1357 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp224_, ")");
#line 1358 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = type;
#line 1358 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 14075 "tracker-sparql-expression.c"
		}
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_RAND:
#line 14079 "tracker-sparql-expression.c"
		{
			GString* _tmp225_;
#line 1360 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_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 14092 "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 14100 "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_OPEN_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 14113 "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 14121 "tracker-sparql-expression.c"
				}
			}
#line 1362 "/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 1362 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1362 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1362 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1362 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14134 "tracker-sparql-expression.c"
				} else {
#line 1362 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1362 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1362 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14142 "tracker-sparql-expression.c"
				}
			}
#line 1363 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp225_ = sql;
#line 1363 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp225_, "SparqlRand()");
#line 1364 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = TRACKER_PROPERTY_TYPE_DOUBLE;
#line 1364 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 14153 "tracker-sparql-expression.c"
		}
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_NOW:
#line 14157 "tracker-sparql-expression.c"
		{
			GString* _tmp226_;
#line 1366 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_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 14170 "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 14178 "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_OPEN_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 14191 "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 14199 "tracker-sparql-expression.c"
				}
			}
#line 1368 "/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 1368 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1368 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1368 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1368 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14212 "tracker-sparql-expression.c"
				} else {
#line 1368 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1368 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1368 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14220 "tracker-sparql-expression.c"
				}
			}
#line 1369 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp226_ = sql;
#line 1369 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp226_, "strftime('%s', 'now')");
#line 1370 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = TRACKER_PROPERTY_TYPE_DATETIME;
#line 1370 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 14231 "tracker-sparql-expression.c"
		}
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_SECONDS:
#line 14235 "tracker-sparql-expression.c"
		{
			TrackerPropertyType _result_ = 0;
			GString* _tmp227_;
			TrackerPropertyType _tmp228_;
#line 1372 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_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 14250 "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 14258 "tracker-sparql-expression.c"
				}
			}
#line 1373 "/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 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 14271 "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 14279 "tracker-sparql-expression.c"
				}
			}
#line 1374 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp227_ = sql;
#line 1374 "/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 1374 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_result_ = _tmp228_;
#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 14296 "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 14304 "tracker-sparql-expression.c"
				}
			}
#line 1375 "/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 1375 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1375 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1375 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1375 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14317 "tracker-sparql-expression.c"
				} else {
#line 1375 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1375 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1375 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14325 "tracker-sparql-expression.c"
				}
			}
#line 1376 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = _result_;
#line 1376 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 14332 "tracker-sparql-expression.c"
		}
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_MINUTES:
#line 14336 "tracker-sparql-expression.c"
		{
			TrackerPropertyType _result_ = 0;
			GString* _tmp229_;
			TrackerPropertyType _tmp230_;
#line 1378 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_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 14351 "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 14359 "tracker-sparql-expression.c"
				}
			}
#line 1379 "/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 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 14372 "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 14380 "tracker-sparql-expression.c"
				}
			}
#line 1380 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp229_ = sql;
#line 1380 "/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 1380 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_result_ = _tmp230_;
#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 14397 "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 14405 "tracker-sparql-expression.c"
				}
			}
#line 1381 "/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 1381 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1381 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1381 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1381 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14418 "tracker-sparql-expression.c"
				} else {
#line 1381 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1381 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1381 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14426 "tracker-sparql-expression.c"
				}
			}
#line 1382 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = _result_;
#line 1382 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 14433 "tracker-sparql-expression.c"
		}
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_HOURS:
#line 14437 "tracker-sparql-expression.c"
		{
			TrackerPropertyType _result_ = 0;
			GString* _tmp231_;
			TrackerPropertyType _tmp232_;
#line 1384 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_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 14452 "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 14460 "tracker-sparql-expression.c"
				}
			}
#line 1385 "/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 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 14473 "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 14481 "tracker-sparql-expression.c"
				}
			}
#line 1386 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp231_ = sql;
#line 1386 "/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 1386 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_result_ = _tmp232_;
#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 14498 "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 14506 "tracker-sparql-expression.c"
				}
			}
#line 1387 "/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 1387 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1387 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1387 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1387 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14519 "tracker-sparql-expression.c"
				} else {
#line 1387 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1387 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1387 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14527 "tracker-sparql-expression.c"
				}
			}
#line 1388 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = _result_;
#line 1388 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 14534 "tracker-sparql-expression.c"
		}
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_DAY:
#line 14538 "tracker-sparql-expression.c"
		{
			TrackerPropertyType _result_ = 0;
			GString* _tmp233_;
			TrackerPropertyType _tmp234_;
#line 1390 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_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 14553 "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 14561 "tracker-sparql-expression.c"
				}
			}
#line 1391 "/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 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 14574 "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 14582 "tracker-sparql-expression.c"
				}
			}
#line 1392 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp233_ = sql;
#line 1392 "/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 1392 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_result_ = _tmp234_;
#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 14599 "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 14607 "tracker-sparql-expression.c"
				}
			}
#line 1393 "/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 1393 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1393 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1393 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1393 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14620 "tracker-sparql-expression.c"
				} else {
#line 1393 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1393 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1393 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14628 "tracker-sparql-expression.c"
				}
			}
#line 1394 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = _result_;
#line 1394 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 14635 "tracker-sparql-expression.c"
		}
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_MONTH:
#line 14639 "tracker-sparql-expression.c"
		{
			TrackerPropertyType _result_ = 0;
			GString* _tmp235_;
			TrackerPropertyType _tmp236_;
#line 1396 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_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 14654 "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 14662 "tracker-sparql-expression.c"
				}
			}
#line 1397 "/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 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 14675 "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 14683 "tracker-sparql-expression.c"
				}
			}
#line 1398 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp235_ = sql;
#line 1398 "/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 1398 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_result_ = _tmp236_;
#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 14700 "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 14708 "tracker-sparql-expression.c"
				}
			}
#line 1399 "/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 1399 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1399 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1399 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1399 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14721 "tracker-sparql-expression.c"
				} else {
#line 1399 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1399 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1399 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14729 "tracker-sparql-expression.c"
				}
			}
#line 1400 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = _result_;
#line 1400 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 14736 "tracker-sparql-expression.c"
		}
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_YEAR:
#line 14740 "tracker-sparql-expression.c"
		{
			TrackerPropertyType _result_ = 0;
			GString* _tmp237_;
			TrackerPropertyType _tmp238_;
#line 1402 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_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 14755 "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 14763 "tracker-sparql-expression.c"
				}
			}
#line 1403 "/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 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 14776 "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 14784 "tracker-sparql-expression.c"
				}
			}
#line 1404 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp237_ = sql;
#line 1404 "/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 1404 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_result_ = _tmp238_;
#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 14801 "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 14809 "tracker-sparql-expression.c"
				}
			}
#line 1405 "/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 1405 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1405 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1405 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1405 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14822 "tracker-sparql-expression.c"
				} else {
#line 1405 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1405 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1405 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14830 "tracker-sparql-expression.c"
				}
			}
#line 1406 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = _result_;
#line 1406 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 14837 "tracker-sparql-expression.c"
		}
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_MD5:
#line 14841 "tracker-sparql-expression.c"
		{
			GString* _tmp239_;
			TrackerPropertyType _tmp240_ = 0;
			GString* _tmp241_;
			TrackerPropertyType _tmp242_;
			GString* _tmp243_;
#line 1408 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1408 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1408 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1408 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1408 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14858 "tracker-sparql-expression.c"
				} else {
#line 1408 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1408 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1408 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14866 "tracker-sparql-expression.c"
				}
			}
#line 1409 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp239_ = sql;
#line 1409 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp239_, "SparqlChecksum(");
#line 1410 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp241_ = sql;
#line 1410 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp242_ = tracker_sparql_expression_translate_aggregate_expression (self, _tmp241_, &_inner_error_);
#line 1410 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp240_ = _tmp242_;
#line 1410 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1410 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1410 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1410 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14887 "tracker-sparql-expression.c"
				} else {
#line 1410 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1410 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1410 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14895 "tracker-sparql-expression.c"
				}
			}
#line 1410 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			type = _tmp240_;
#line 1411 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp243_ = sql;
#line 1411 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp243_, ", \"md5\")");
#line 1412 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = type;
#line 1412 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 14908 "tracker-sparql-expression.c"
		}
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_SHA1:
#line 14912 "tracker-sparql-expression.c"
		{
			GString* _tmp244_;
			TrackerPropertyType _tmp245_ = 0;
			GString* _tmp246_;
			TrackerPropertyType _tmp247_;
			GString* _tmp248_;
#line 1414 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1414 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1414 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1414 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1414 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14929 "tracker-sparql-expression.c"
				} else {
#line 1414 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1414 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1414 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14937 "tracker-sparql-expression.c"
				}
			}
#line 1415 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp244_ = sql;
#line 1415 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp244_, "SparqlChecksum(");
#line 1416 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp246_ = sql;
#line 1416 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp247_ = tracker_sparql_expression_translate_aggregate_expression (self, _tmp246_, &_inner_error_);
#line 1416 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp245_ = _tmp247_;
#line 1416 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1416 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1416 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1416 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14958 "tracker-sparql-expression.c"
				} else {
#line 1416 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1416 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1416 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 14966 "tracker-sparql-expression.c"
				}
			}
#line 1416 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			type = _tmp245_;
#line 1417 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp248_ = sql;
#line 1417 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp248_, ", \"sha1\")");
#line 1418 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = type;
#line 1418 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 14979 "tracker-sparql-expression.c"
		}
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_SHA256:
#line 14983 "tracker-sparql-expression.c"
		{
			GString* _tmp249_;
			TrackerPropertyType _tmp250_ = 0;
			GString* _tmp251_;
			TrackerPropertyType _tmp252_;
			GString* _tmp253_;
#line 1420 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1420 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1420 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1420 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1420 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15000 "tracker-sparql-expression.c"
				} else {
#line 1420 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1420 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1420 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15008 "tracker-sparql-expression.c"
				}
			}
#line 1421 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp249_ = sql;
#line 1421 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp249_, "SparqlChecksum(");
#line 1422 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp251_ = sql;
#line 1422 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp252_ = tracker_sparql_expression_translate_aggregate_expression (self, _tmp251_, &_inner_error_);
#line 1422 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp250_ = _tmp252_;
#line 1422 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1422 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1422 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1422 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15029 "tracker-sparql-expression.c"
				} else {
#line 1422 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1422 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1422 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15037 "tracker-sparql-expression.c"
				}
			}
#line 1422 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			type = _tmp250_;
#line 1423 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp253_ = sql;
#line 1423 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp253_, ", \"sha256\")");
#line 1424 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = type;
#line 1424 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 15050 "tracker-sparql-expression.c"
		}
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_SHA512:
#line 15054 "tracker-sparql-expression.c"
		{
			GString* _tmp254_;
			TrackerPropertyType _tmp255_ = 0;
			GString* _tmp256_;
			TrackerPropertyType _tmp257_;
			GString* _tmp258_;
#line 1426 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1426 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1426 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1426 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1426 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15071 "tracker-sparql-expression.c"
				} else {
#line 1426 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1426 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1426 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15079 "tracker-sparql-expression.c"
				}
			}
#line 1427 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp254_ = sql;
#line 1427 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp254_, "SparqlChecksum(");
#line 1428 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp256_ = sql;
#line 1428 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp257_ = tracker_sparql_expression_translate_aggregate_expression (self, _tmp256_, &_inner_error_);
#line 1428 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp255_ = _tmp257_;
#line 1428 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1428 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1428 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1428 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15100 "tracker-sparql-expression.c"
				} else {
#line 1428 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1428 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1428 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15108 "tracker-sparql-expression.c"
				}
			}
#line 1428 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			type = _tmp255_;
#line 1429 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp258_ = sql;
#line 1429 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp258_, ", \"sha512\")");
#line 1430 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = type;
#line 1430 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 15121 "tracker-sparql-expression.c"
		}
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_GROUP_CONCAT:
#line 15125 "tracker-sparql-expression.c"
		{
			GString* _tmp259_;
			GString* _tmp260_;
			GString* _tmp261_;
			gchar* _tmp262_ = NULL;
			gchar* _tmp263_;
			GString* _tmp264_;
			gchar* _tmp265_;
			gchar* _tmp266_;
			GString* _tmp267_;
#line 1432 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1432 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1432 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1432 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1432 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15146 "tracker-sparql-expression.c"
				} else {
#line 1432 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1432 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1432 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15154 "tracker-sparql-expression.c"
				}
			}
#line 1433 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp259_ = sql;
#line 1433 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp259_, "GROUP_CONCAT(");
#line 1434 "/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 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 15171 "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 15179 "tracker-sparql-expression.c"
				}
			}
#line 1435 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp260_ = sql;
#line 1435 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_translate_expression_as_string (self, _tmp260_, &_inner_error_);
#line 1435 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1435 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1435 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1435 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15194 "tracker-sparql-expression.c"
				} else {
#line 1435 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1435 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1435 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15202 "tracker-sparql-expression.c"
				}
			}
#line 1436 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp261_ = sql;
#line 1436 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp261_, ", ");
#line 1437 "/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 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 15219 "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 15227 "tracker-sparql-expression.c"
				}
			}
#line 1438 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp263_ = tracker_sparql_expression_parse_string_literal (self, NULL, &_inner_error_);
#line 1438 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp262_ = _tmp263_;
#line 1438 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1438 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1438 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1438 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15242 "tracker-sparql-expression.c"
				} else {
#line 1438 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1438 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1438 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15250 "tracker-sparql-expression.c"
				}
			}
#line 1438 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp264_ = sql;
#line 1438 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp265_ = tracker_sparql_expression_escape_sql_string_literal (self, _tmp262_);
#line 1438 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp266_ = _tmp265_;
#line 1438 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp264_, _tmp266_);
#line 1438 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (_tmp266_);
#line 1439 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp267_ = sql;
#line 1439 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp267_, ")");
#line 1440 "/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 1440 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1440 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1440 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#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 0;
#line 15279 "tracker-sparql-expression.c"
				} else {
#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"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1440 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1440 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15289 "tracker-sparql-expression.c"
				}
			}
#line 1441 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = TRACKER_PROPERTY_TYPE_STRING;
#line 1441 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (_tmp262_);
#line 1441 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 15298 "tracker-sparql-expression.c"
		}
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_PN_PREFIX:
#line 15302 "tracker-sparql-expression.c"
		{
			gchar* ns = NULL;
			gchar* _tmp268_;
			gchar* uri = NULL;
			TrackerSparqlQuery* _tmp269_;
			const gchar* _tmp270_;
			gchar* _tmp271_;
			gchar* _tmp272_;
			gchar* _tmp273_;
			gchar* _tmp274_;
			gchar* _tmp275_;
			gchar* _tmp276_;
			TrackerPropertyType _tmp277_ = 0;
			GString* _tmp278_;
			const gchar* _tmp279_;
			TrackerPropertyType _tmp280_;
#line 1443 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#line 1443 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1443 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1443 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1443 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15329 "tracker-sparql-expression.c"
				} else {
#line 1443 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1443 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1443 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15337 "tracker-sparql-expression.c"
				}
			}
#line 1444 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp268_ = tracker_sparql_expression_get_last_string (self, 0);
#line 1444 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			ns = _tmp268_;
#line 1445 "/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 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 15356 "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 15366 "tracker-sparql-expression.c"
				}
			}
#line 1446 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp269_ = self->priv->query;
#line 1446 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp270_ = ns;
#line 1446 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp271_ = tracker_sparql_expression_get_last_string (self, 0);
#line 1446 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp272_ = _tmp271_;
#line 1446 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp273_ = string_substring (_tmp272_, (glong) 1, (glong) -1);
#line 1446 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp274_ = _tmp273_;
#line 1446 "/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 1446 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp276_ = _tmp275_;
#line 1446 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (_tmp274_);
#line 1446 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (_tmp272_);
#line 1446 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			uri = _tmp276_;
#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 (ns);
#line 1446 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15401 "tracker-sparql-expression.c"
				} else {
#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 15411 "tracker-sparql-expression.c"
				}
			}
#line 1447 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp278_ = sql;
#line 1447 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp279_ = uri;
#line 1447 "/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 1447 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp277_ = _tmp280_;
#line 1447 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1447 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1447 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1447 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_free0 (uri);
#line 1447 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_free0 (ns);
#line 1447 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15434 "tracker-sparql-expression.c"
				} else {
#line 1447 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_free0 (uri);
#line 1447 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_free0 (ns);
#line 1447 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1447 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1447 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15446 "tracker-sparql-expression.c"
				}
			}
#line 1447 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = _tmp277_;
#line 1447 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (uri);
#line 1447 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (ns);
#line 1447 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 15457 "tracker-sparql-expression.c"
		}
#line 1049 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_COLON:
#line 15461 "tracker-sparql-expression.c"
		{
			gchar* uri = NULL;
			TrackerSparqlQuery* _tmp281_;
			gchar* _tmp282_;
			gchar* _tmp283_;
			gchar* _tmp284_;
			gchar* _tmp285_;
			gchar* _tmp286_;
			gchar* _tmp287_;
			TrackerPropertyType _tmp288_ = 0;
			GString* _tmp289_;
			const gchar* _tmp290_;
			TrackerPropertyType _tmp291_;
#line 1449 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_next (self, &_inner_error_);
#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 15485 "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 15493 "tracker-sparql-expression.c"
				}
			}
#line 1450 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp281_ = self->priv->query;
#line 1450 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp282_ = tracker_sparql_expression_get_last_string (self, 0);
#line 1450 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp283_ = _tmp282_;
#line 1450 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp284_ = string_substring (_tmp283_, (glong) 1, (glong) -1);
#line 1450 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp285_ = _tmp284_;
#line 1450 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp286_ = tracker_sparql_query_resolve_prefixed_name (_tmp281_, "", _tmp285_, &_inner_error_);
#line 1450 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp287_ = _tmp286_;
#line 1450 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (_tmp285_);
#line 1450 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (_tmp283_);
#line 1450 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			uri = _tmp287_;
#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"
					return 0;
#line 15524 "tracker-sparql-expression.c"
				} else {
#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 15532 "tracker-sparql-expression.c"
				}
			}
#line 1451 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp289_ = sql;
#line 1451 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp290_ = uri;
#line 1451 "/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 1451 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp288_ = _tmp291_;
#line 1451 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1451 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1451 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1451 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_free0 (uri);
#line 1451 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15553 "tracker-sparql-expression.c"
				} else {
#line 1451 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_g_free0 (uri);
#line 1451 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1451 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1451 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15563 "tracker-sparql-expression.c"
				}
			}
#line 1451 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = _tmp288_;
#line 1451 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (uri);
#line 1451 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 15572 "tracker-sparql-expression.c"
		}
		default:
		{
			GError* _tmp292_;
#line 1453 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp292_ = tracker_sparql_expression_get_error (self, "expected primary expression");
#line 1453 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_inner_error_ = _tmp292_;
#line 1453 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1453 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 1453 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 15587 "tracker-sparql-expression.c"
			} else {
#line 1453 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1453 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 1453 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 15595 "tracker-sparql-expression.c"
			}
		}
	}
}


static TrackerPropertyType tracker_sparql_expression_translate_unary_expression (TrackerSparqlExpression* self, GString* sql, GError** error) {
	TrackerPropertyType result = 0;
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_;
	TrackerPropertyType _tmp19_ = 0;
	GString* _tmp20_;
	TrackerPropertyType _tmp21_;
	GError * _inner_error_ = NULL;
#line 1457 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 1457 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (sql != NULL, 0);
#line 1458 "/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 1458 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = _tmp1_;
#line 1458 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1458 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1458 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 1458 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 15626 "tracker-sparql-expression.c"
		} else {
#line 1458 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1458 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 1458 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 15634 "tracker-sparql-expression.c"
		}
	}
#line 1458 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (_tmp0_) {
#line 15639 "tracker-sparql-expression.c"
		GString* _tmp2_;
		TrackerPropertyType optype = 0;
		GString* _tmp3_;
		TrackerPropertyType _tmp4_;
		GString* _tmp5_;
		TrackerPropertyType _tmp6_;
#line 1459 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp2_ = sql;
#line 1459 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		g_string_append (_tmp2_, "NOT (");
#line 1460 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp3_ = sql;
#line 1460 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp4_ = tracker_sparql_expression_translate_primary_expression (self, _tmp3_, &_inner_error_);
#line 1460 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		optype = _tmp4_;
#line 1460 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1460 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1460 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 1460 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 15664 "tracker-sparql-expression.c"
			} else {
#line 1460 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1460 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 1460 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 15672 "tracker-sparql-expression.c"
			}
		}
#line 1461 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp5_ = sql;
#line 1461 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		g_string_append (_tmp5_, ")");
#line 1462 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp6_ = optype;
#line 1462 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp6_ != TRACKER_PROPERTY_TYPE_BOOLEAN) {
#line 15683 "tracker-sparql-expression.c"
			GError* _tmp7_;
#line 1463 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp7_ = tracker_sparql_expression_get_error (self, "expected boolean expression");
#line 1463 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_inner_error_ = _tmp7_;
#line 1463 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1463 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 1463 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 15695 "tracker-sparql-expression.c"
			} else {
#line 1463 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1463 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 1463 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 15703 "tracker-sparql-expression.c"
			}
		}
#line 1465 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		result = TRACKER_PROPERTY_TYPE_BOOLEAN;
#line 1465 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		return result;
#line 15710 "tracker-sparql-expression.c"
	} else {
		gboolean _tmp8_ = FALSE;
		gboolean _tmp9_;
#line 1466 "/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 1466 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp8_ = _tmp9_;
#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 15726 "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 15734 "tracker-sparql-expression.c"
			}
		}
#line 1466 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp8_) {
#line 15739 "tracker-sparql-expression.c"
			TrackerPropertyType _tmp10_ = 0;
			GString* _tmp11_;
			TrackerPropertyType _tmp12_;
#line 1467 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp11_ = sql;
#line 1467 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp12_ = tracker_sparql_expression_translate_primary_expression (self, _tmp11_, &_inner_error_);
#line 1467 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp10_ = _tmp12_;
#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 15757 "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 15765 "tracker-sparql-expression.c"
				}
			}
#line 1467 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = _tmp10_;
#line 1467 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 15772 "tracker-sparql-expression.c"
		} else {
			gboolean _tmp13_ = FALSE;
			gboolean _tmp14_;
#line 1468 "/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 1468 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp13_ = _tmp14_;
#line 1468 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1468 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1468 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1468 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15788 "tracker-sparql-expression.c"
				} else {
#line 1468 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1468 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1468 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15796 "tracker-sparql-expression.c"
				}
			}
#line 1468 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_tmp13_) {
#line 15801 "tracker-sparql-expression.c"
				GString* _tmp15_;
				TrackerPropertyType optype = 0;
				GString* _tmp16_;
				TrackerPropertyType _tmp17_;
				GString* _tmp18_;
#line 1469 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp15_ = sql;
#line 1469 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_string_append (_tmp15_, "-(");
#line 1470 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp16_ = sql;
#line 1470 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp17_ = tracker_sparql_expression_translate_primary_expression (self, _tmp16_, &_inner_error_);
#line 1470 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				optype = _tmp17_;
#line 1470 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1470 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1470 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_propagate_error (error, _inner_error_);
#line 1470 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return 0;
#line 15825 "tracker-sparql-expression.c"
					} else {
#line 1470 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1470 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_clear_error (&_inner_error_);
#line 1470 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return 0;
#line 15833 "tracker-sparql-expression.c"
					}
				}
#line 1471 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp18_ = sql;
#line 1471 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_string_append (_tmp18_, ")");
#line 1472 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				result = optype;
#line 1472 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return result;
#line 15844 "tracker-sparql-expression.c"
			}
		}
	}
#line 1474 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp20_ = sql;
#line 1474 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp21_ = tracker_sparql_expression_translate_primary_expression (self, _tmp20_, &_inner_error_);
#line 1474 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp19_ = _tmp21_;
#line 1474 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1474 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1474 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 1474 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 15862 "tracker-sparql-expression.c"
		} else {
#line 1474 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1474 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 1474 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 15870 "tracker-sparql-expression.c"
		}
	}
#line 1474 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	result = _tmp19_;
#line 1474 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	return result;
#line 15877 "tracker-sparql-expression.c"
}


static TrackerPropertyType tracker_sparql_expression_translate_multiplicative_expression (TrackerSparqlExpression* self, GString* sql, GError** error) {
	TrackerPropertyType result = 0;
	glong begin = 0L;
	GString* _tmp0_;
	gssize _tmp1_;
	TrackerPropertyType optype = 0;
	GString* _tmp2_;
	TrackerPropertyType _tmp3_;
	GError * _inner_error_ = NULL;
#line 1477 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 1477 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (sql != NULL, 0);
#line 1478 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = sql;
#line 1478 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp1_ = _tmp0_->len;
#line 1478 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	begin = (glong) _tmp1_;
#line 1479 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp2_ = sql;
#line 1479 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp3_ = tracker_sparql_expression_translate_unary_expression (self, _tmp2_, &_inner_error_);
#line 1479 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	optype = _tmp3_;
#line 1479 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1479 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1479 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 1479 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 15914 "tracker-sparql-expression.c"
		} else {
#line 1479 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1479 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 1479 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 15922 "tracker-sparql-expression.c"
		}
	}
#line 1480 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	while (TRUE) {
#line 15927 "tracker-sparql-expression.c"
		gboolean _tmp4_ = FALSE;
		gboolean _tmp5_;
#line 1481 "/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 1481 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp4_ = _tmp5_;
#line 1481 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1481 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1481 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 1481 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 15942 "tracker-sparql-expression.c"
			} else {
#line 1481 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1481 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 1481 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 15950 "tracker-sparql-expression.c"
			}
		}
#line 1481 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp4_) {
#line 15955 "tracker-sparql-expression.c"
			TrackerPropertyType _tmp6_;
			gboolean _tmp7_;
			GString* _tmp9_;
			glong _tmp10_;
			GString* _tmp11_;
			TrackerPropertyType _tmp12_ = 0;
			GString* _tmp13_;
			TrackerPropertyType _tmp14_;
			gboolean _tmp15_;
			GString* _tmp17_;
#line 1482 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp6_ = optype;
#line 1482 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp7_ = tracker_sparql_expression_maybe_numeric (self, _tmp6_);
#line 1482 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (!_tmp7_) {
#line 15972 "tracker-sparql-expression.c"
				GError* _tmp8_;
#line 1483 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp8_ = tracker_sparql_expression_get_error (self, "expected numeric operand");
#line 1483 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_inner_error_ = _tmp8_;
#line 1483 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1483 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1483 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15984 "tracker-sparql-expression.c"
				} else {
#line 1483 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1483 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1483 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 15992 "tracker-sparql-expression.c"
				}
			}
#line 1485 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp9_ = sql;
#line 1485 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp10_ = begin;
#line 1485 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_insert (_tmp9_, (gssize) _tmp10_, "(");
#line 1486 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp11_ = sql;
#line 1486 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp11_, " * ");
#line 1487 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp13_ = sql;
#line 1487 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp14_ = tracker_sparql_expression_translate_unary_expression (self, _tmp13_, &_inner_error_);
#line 1487 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp12_ = _tmp14_;
#line 1487 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#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 16019 "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 16027 "tracker-sparql-expression.c"
				}
			}
#line 1487 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp15_ = tracker_sparql_expression_maybe_numeric (self, _tmp12_);
#line 1487 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (!_tmp15_) {
#line 16034 "tracker-sparql-expression.c"
				GError* _tmp16_;
#line 1488 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp16_ = tracker_sparql_expression_get_error (self, "expected numeric operand");
#line 1488 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_inner_error_ = _tmp16_;
#line 1488 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1488 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1488 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 16046 "tracker-sparql-expression.c"
				} else {
#line 1488 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1488 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1488 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 16054 "tracker-sparql-expression.c"
				}
			}
#line 1490 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp17_ = sql;
#line 1490 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp17_, ")");
#line 16061 "tracker-sparql-expression.c"
		} else {
			gboolean _tmp18_ = FALSE;
			gboolean _tmp19_;
#line 1491 "/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 1491 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp18_ = _tmp19_;
#line 1491 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1491 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1491 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1491 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 16077 "tracker-sparql-expression.c"
				} else {
#line 1491 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1491 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1491 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 16085 "tracker-sparql-expression.c"
				}
			}
#line 1491 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_tmp18_) {
#line 16090 "tracker-sparql-expression.c"
				TrackerPropertyType _tmp20_;
				gboolean _tmp21_;
				GString* _tmp23_;
				glong _tmp24_;
				GString* _tmp25_;
				TrackerPropertyType _tmp26_ = 0;
				GString* _tmp27_;
				TrackerPropertyType _tmp28_;
				gboolean _tmp29_;
				GString* _tmp31_;
#line 1492 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp20_ = optype;
#line 1492 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp21_ = tracker_sparql_expression_maybe_numeric (self, _tmp20_);
#line 1492 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (!_tmp21_) {
#line 16107 "tracker-sparql-expression.c"
					GError* _tmp22_;
#line 1493 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp22_ = tracker_sparql_expression_get_error (self, "expected numeric operand");
#line 1493 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_inner_error_ = _tmp22_;
#line 1493 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1493 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_propagate_error (error, _inner_error_);
#line 1493 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return 0;
#line 16119 "tracker-sparql-expression.c"
					} else {
#line 1493 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1493 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_clear_error (&_inner_error_);
#line 1493 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return 0;
#line 16127 "tracker-sparql-expression.c"
					}
				}
#line 1495 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp23_ = sql;
#line 1495 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp24_ = begin;
#line 1495 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_string_insert (_tmp23_, (gssize) _tmp24_, "(");
#line 1496 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp25_ = sql;
#line 1496 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_string_append (_tmp25_, " / ");
#line 1497 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp27_ = sql;
#line 1497 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp28_ = tracker_sparql_expression_translate_unary_expression (self, _tmp27_, &_inner_error_);
#line 1497 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp26_ = _tmp28_;
#line 1497 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#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 16154 "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 16162 "tracker-sparql-expression.c"
					}
				}
#line 1497 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp29_ = tracker_sparql_expression_maybe_numeric (self, _tmp26_);
#line 1497 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (!_tmp29_) {
#line 16169 "tracker-sparql-expression.c"
					GError* _tmp30_;
#line 1498 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp30_ = tracker_sparql_expression_get_error (self, "expected numeric operand");
#line 1498 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_inner_error_ = _tmp30_;
#line 1498 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1498 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_propagate_error (error, _inner_error_);
#line 1498 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return 0;
#line 16181 "tracker-sparql-expression.c"
					} else {
#line 1498 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1498 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_clear_error (&_inner_error_);
#line 1498 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return 0;
#line 16189 "tracker-sparql-expression.c"
					}
				}
#line 1500 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp31_ = sql;
#line 1500 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_string_append (_tmp31_, ")");
#line 16196 "tracker-sparql-expression.c"
			} else {
#line 1502 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				break;
#line 16200 "tracker-sparql-expression.c"
			}
		}
	}
#line 1505 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	result = optype;
#line 1505 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	return result;
#line 16208 "tracker-sparql-expression.c"
}


static TrackerPropertyType tracker_sparql_expression_translate_additive_expression (TrackerSparqlExpression* self, GString* sql, GError** error) {
	TrackerPropertyType result = 0;
	glong begin = 0L;
	GString* _tmp0_;
	gssize _tmp1_;
	TrackerPropertyType optype = 0;
	GString* _tmp2_;
	TrackerPropertyType _tmp3_;
	GError * _inner_error_ = NULL;
#line 1508 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 1508 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (sql != NULL, 0);
#line 1509 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = sql;
#line 1509 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp1_ = _tmp0_->len;
#line 1509 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	begin = (glong) _tmp1_;
#line 1510 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp2_ = sql;
#line 1510 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp3_ = tracker_sparql_expression_translate_multiplicative_expression (self, _tmp2_, &_inner_error_);
#line 1510 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	optype = _tmp3_;
#line 1510 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1510 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1510 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 1510 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 16245 "tracker-sparql-expression.c"
		} else {
#line 1510 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1510 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 1510 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 16253 "tracker-sparql-expression.c"
		}
	}
#line 1511 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	while (TRUE) {
#line 16258 "tracker-sparql-expression.c"
		gboolean _tmp4_ = FALSE;
		gboolean _tmp5_;
#line 1512 "/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 1512 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp4_ = _tmp5_;
#line 1512 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1512 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1512 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 1512 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 16273 "tracker-sparql-expression.c"
			} else {
#line 1512 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1512 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 1512 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 16281 "tracker-sparql-expression.c"
			}
		}
#line 1512 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp4_) {
#line 16286 "tracker-sparql-expression.c"
			TrackerPropertyType _tmp6_;
			gboolean _tmp7_;
			GString* _tmp9_;
			glong _tmp10_;
			GString* _tmp11_;
			TrackerPropertyType _tmp12_ = 0;
			GString* _tmp13_;
			TrackerPropertyType _tmp14_;
			gboolean _tmp15_;
			GString* _tmp17_;
#line 1513 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp6_ = optype;
#line 1513 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp7_ = tracker_sparql_expression_maybe_numeric (self, _tmp6_);
#line 1513 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (!_tmp7_) {
#line 16303 "tracker-sparql-expression.c"
				GError* _tmp8_;
#line 1514 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp8_ = tracker_sparql_expression_get_error (self, "expected numeric operand");
#line 1514 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_inner_error_ = _tmp8_;
#line 1514 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1514 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1514 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 16315 "tracker-sparql-expression.c"
				} else {
#line 1514 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1514 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1514 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 16323 "tracker-sparql-expression.c"
				}
			}
#line 1516 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp9_ = sql;
#line 1516 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp10_ = begin;
#line 1516 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_insert (_tmp9_, (gssize) _tmp10_, "(");
#line 1517 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp11_ = sql;
#line 1517 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp11_, " + ");
#line 1518 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp13_ = sql;
#line 1518 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp14_ = tracker_sparql_expression_translate_multiplicative_expression (self, _tmp13_, &_inner_error_);
#line 1518 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp12_ = _tmp14_;
#line 1518 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#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 16350 "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 16358 "tracker-sparql-expression.c"
				}
			}
#line 1518 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp15_ = tracker_sparql_expression_maybe_numeric (self, _tmp12_);
#line 1518 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (!_tmp15_) {
#line 16365 "tracker-sparql-expression.c"
				GError* _tmp16_;
#line 1519 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp16_ = tracker_sparql_expression_get_error (self, "expected numeric operand");
#line 1519 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_inner_error_ = _tmp16_;
#line 1519 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1519 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1519 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 16377 "tracker-sparql-expression.c"
				} else {
#line 1519 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1519 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1519 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 16385 "tracker-sparql-expression.c"
				}
			}
#line 1521 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp17_ = sql;
#line 1521 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp17_, ")");
#line 16392 "tracker-sparql-expression.c"
		} else {
			gboolean _tmp18_ = FALSE;
			gboolean _tmp19_;
#line 1522 "/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 1522 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp18_ = _tmp19_;
#line 1522 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1522 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1522 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1522 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 16408 "tracker-sparql-expression.c"
				} else {
#line 1522 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1522 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1522 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 16416 "tracker-sparql-expression.c"
				}
			}
#line 1522 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_tmp18_) {
#line 16421 "tracker-sparql-expression.c"
				TrackerPropertyType _tmp20_;
				gboolean _tmp21_;
				GString* _tmp23_;
				glong _tmp24_;
				GString* _tmp25_;
				TrackerPropertyType _tmp26_ = 0;
				GString* _tmp27_;
				TrackerPropertyType _tmp28_;
				gboolean _tmp29_;
				GString* _tmp31_;
#line 1523 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp20_ = optype;
#line 1523 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp21_ = tracker_sparql_expression_maybe_numeric (self, _tmp20_);
#line 1523 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (!_tmp21_) {
#line 16438 "tracker-sparql-expression.c"
					GError* _tmp22_;
#line 1524 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp22_ = tracker_sparql_expression_get_error (self, "expected numeric operand");
#line 1524 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_inner_error_ = _tmp22_;
#line 1524 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1524 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_propagate_error (error, _inner_error_);
#line 1524 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return 0;
#line 16450 "tracker-sparql-expression.c"
					} else {
#line 1524 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1524 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_clear_error (&_inner_error_);
#line 1524 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return 0;
#line 16458 "tracker-sparql-expression.c"
					}
				}
#line 1526 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp23_ = sql;
#line 1526 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp24_ = begin;
#line 1526 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_string_insert (_tmp23_, (gssize) _tmp24_, "(");
#line 1527 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp25_ = sql;
#line 1527 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_string_append (_tmp25_, " - ");
#line 1528 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp27_ = sql;
#line 1528 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp28_ = tracker_sparql_expression_translate_multiplicative_expression (self, _tmp27_, &_inner_error_);
#line 1528 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp26_ = _tmp28_;
#line 1528 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#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 16485 "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 16493 "tracker-sparql-expression.c"
					}
				}
#line 1528 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp29_ = tracker_sparql_expression_maybe_numeric (self, _tmp26_);
#line 1528 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (!_tmp29_) {
#line 16500 "tracker-sparql-expression.c"
					GError* _tmp30_;
#line 1529 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp30_ = tracker_sparql_expression_get_error (self, "expected numeric operand");
#line 1529 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_inner_error_ = _tmp30_;
#line 1529 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1529 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_propagate_error (error, _inner_error_);
#line 1529 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return 0;
#line 16512 "tracker-sparql-expression.c"
					} else {
#line 1529 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1529 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						g_clear_error (&_inner_error_);
#line 1529 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return 0;
#line 16520 "tracker-sparql-expression.c"
					}
				}
#line 1531 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp31_ = sql;
#line 1531 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_string_append (_tmp31_, ")");
#line 16527 "tracker-sparql-expression.c"
			} else {
#line 1533 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				break;
#line 16531 "tracker-sparql-expression.c"
			}
		}
	}
#line 1536 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	result = optype;
#line 1536 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	return result;
#line 16539 "tracker-sparql-expression.c"
}


static TrackerPropertyType tracker_sparql_expression_translate_numeric_expression (TrackerSparqlExpression* self, GString* sql, GError** error) {
	TrackerPropertyType result = 0;
	TrackerPropertyType _tmp0_ = 0;
	GString* _tmp1_;
	TrackerPropertyType _tmp2_;
	GError * _inner_error_ = NULL;
#line 1539 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 1539 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (sql != NULL, 0);
#line 1540 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp1_ = sql;
#line 1540 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp2_ = tracker_sparql_expression_translate_additive_expression (self, _tmp1_, &_inner_error_);
#line 1540 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = _tmp2_;
#line 1540 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1540 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1540 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 1540 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 16567 "tracker-sparql-expression.c"
		} else {
#line 1540 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1540 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 1540 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 16575 "tracker-sparql-expression.c"
		}
	}
#line 1540 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	result = _tmp0_;
#line 1540 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	return result;
#line 16582 "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 = 0;
	GString* _tmp4_;
	TrackerPropertyType _tmp5_;
	GString* _tmp6_;
	gboolean _tmp7_ = FALSE;
	gboolean _tmp8_ = FALSE;
	TrackerPropertyType _tmp9_;
	GError * _inner_error_ = NULL;
#line 1543 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 1543 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (sql != NULL, 0);
#line 1543 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (operator != NULL, 0);
#line 1544 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = sql;
#line 1544 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp1_ = begin;
#line 1544 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_string_insert (_tmp0_, (gssize) _tmp1_, "(");
#line 1545 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp2_ = sql;
#line 1545 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp3_ = operator;
#line 1545 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_string_append (_tmp2_, _tmp3_);
#line 1546 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp4_ = sql;
#line 1546 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp5_ = tracker_sparql_expression_translate_numeric_expression (self, _tmp4_, &_inner_error_);
#line 1546 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	op2type = _tmp5_;
#line 1546 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1546 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1546 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 1546 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 16632 "tracker-sparql-expression.c"
		} else {
#line 1546 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1546 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 1546 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 16640 "tracker-sparql-expression.c"
		}
	}
#line 1547 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp6_ = sql;
#line 1547 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_string_append (_tmp6_, ")");
#line 1548 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp9_ = op1type;
#line 1548 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (_tmp9_ == TRACKER_PROPERTY_TYPE_DATETIME) {
#line 1548 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp8_ = op2type == TRACKER_PROPERTY_TYPE_STRING;
#line 16653 "tracker-sparql-expression.c"
	} else {
#line 1548 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp8_ = FALSE;
#line 16657 "tracker-sparql-expression.c"
	}
#line 1548 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (_tmp8_) {
#line 1548 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp7_ = TRUE;
#line 16663 "tracker-sparql-expression.c"
	} else {
		gboolean _tmp10_ = FALSE;
		TrackerPropertyType _tmp11_;
#line 1549 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp11_ = op1type;
#line 1549 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp11_ == TRACKER_PROPERTY_TYPE_STRING) {
#line 1549 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp10_ = op2type == TRACKER_PROPERTY_TYPE_DATETIME;
#line 16673 "tracker-sparql-expression.c"
		} else {
#line 1549 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp10_ = FALSE;
#line 16677 "tracker-sparql-expression.c"
		}
#line 1549 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp7_ = _tmp10_;
#line 16681 "tracker-sparql-expression.c"
	}
#line 1548 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (_tmp7_) {
#line 16685 "tracker-sparql-expression.c"
		TrackerSparqlQuery* _tmp12_;
		GList* _tmp13_;
		guint _tmp14_;
		guint _tmp15_;
#line 1551 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp12_ = self->priv->query;
#line 1551 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp13_ = _tmp12_->bindings;
#line 1551 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp14_ = g_list_length (_tmp13_);
#line 1551 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp15_ = n_bindings;
#line 1551 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp14_ == (_tmp15_ + 1)) {
#line 16700 "tracker-sparql-expression.c"
			TrackerSparqlQuery* _tmp16_;
			GList* _tmp17_;
			GList* _tmp18_;
			gconstpointer _tmp19_;
#line 1553 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp16_ = self->priv->query;
#line 1553 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp17_ = _tmp16_->bindings;
#line 1553 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp18_ = g_list_last (_tmp17_);
#line 1553 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp19_ = _tmp18_->data;
#line 1553 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			((TrackerSparqlDataBinding*) ((TrackerSparqlLiteralBinding*) _tmp19_))->data_type = TRACKER_PROPERTY_TYPE_DATETIME;
#line 16715 "tracker-sparql-expression.c"
		}
	} else {
		gboolean _tmp20_ = FALSE;
		gboolean _tmp21_ = FALSE;
		TrackerPropertyType _tmp22_;
#line 1555 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp22_ = op1type;
#line 1555 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp22_ == TRACKER_PROPERTY_TYPE_DATE) {
#line 1555 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp21_ = op2type == TRACKER_PROPERTY_TYPE_STRING;
#line 16727 "tracker-sparql-expression.c"
		} else {
#line 1555 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp21_ = FALSE;
#line 16731 "tracker-sparql-expression.c"
		}
#line 1555 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp21_) {
#line 1555 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp20_ = TRUE;
#line 16737 "tracker-sparql-expression.c"
		} else {
			gboolean _tmp23_ = FALSE;
			TrackerPropertyType _tmp24_;
#line 1556 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp24_ = op1type;
#line 1556 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_tmp24_ == TRACKER_PROPERTY_TYPE_STRING) {
#line 1556 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp23_ = op2type == TRACKER_PROPERTY_TYPE_DATE;
#line 16747 "tracker-sparql-expression.c"
			} else {
#line 1556 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp23_ = FALSE;
#line 16751 "tracker-sparql-expression.c"
			}
#line 1556 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp20_ = _tmp23_;
#line 16755 "tracker-sparql-expression.c"
		}
#line 1555 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp20_) {
#line 16759 "tracker-sparql-expression.c"
			TrackerSparqlQuery* _tmp25_;
			GList* _tmp26_;
			guint _tmp27_;
			guint _tmp28_;
#line 1558 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp25_ = self->priv->query;
#line 1558 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp26_ = _tmp25_->bindings;
#line 1558 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp27_ = g_list_length (_tmp26_);
#line 1558 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp28_ = n_bindings;
#line 1558 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_tmp27_ == (_tmp28_ + 1)) {
#line 16774 "tracker-sparql-expression.c"
				TrackerSparqlQuery* _tmp29_;
				GList* _tmp30_;
				GList* _tmp31_;
				gconstpointer _tmp32_;
#line 1560 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp29_ = self->priv->query;
#line 1560 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp30_ = _tmp29_->bindings;
#line 1560 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp31_ = g_list_last (_tmp30_);
#line 1560 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp32_ = _tmp31_->data;
#line 1560 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				((TrackerSparqlDataBinding*) ((TrackerSparqlLiteralBinding*) _tmp32_))->data_type = TRACKER_PROPERTY_TYPE_DATE;
#line 16789 "tracker-sparql-expression.c"
			}
		}
	}
#line 1563 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	result = TRACKER_PROPERTY_TYPE_BOOLEAN;
#line 1563 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	return result;
#line 16797 "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 = 0;
	gboolean _tmp0_;
	GString* _tmp2_;
	gboolean _tmp3_ = FALSE;
	gboolean _tmp4_;
	GString* _tmp18_;
	GError * _inner_error_ = NULL;
#line 1566 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 1566 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (sql != NULL, 0);
#line 1568 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	in_variable_count = 0;
#line 1570 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = not;
#line 1570 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (_tmp0_) {
#line 16820 "tracker-sparql-expression.c"
		GString* _tmp1_;
#line 1571 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp1_ = sql;
#line 1571 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		g_string_append (_tmp1_, " NOT");
#line 16826 "tracker-sparql-expression.c"
	}
#line 1574 "/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 1574 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1574 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1574 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 1574 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 16838 "tracker-sparql-expression.c"
		} else {
#line 1574 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1574 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 1574 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 16846 "tracker-sparql-expression.c"
		}
	}
#line 1575 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp2_ = sql;
#line 1575 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_string_append (_tmp2_, " IN (");
#line 1576 "/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 1576 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp3_ = _tmp4_;
#line 1576 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1576 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1576 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 1576 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 16865 "tracker-sparql-expression.c"
		} else {
#line 1576 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1576 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 1576 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 16873 "tracker-sparql-expression.c"
		}
	}
#line 1576 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (!_tmp3_) {
#line 16878 "tracker-sparql-expression.c"
		gint _tmp5_;
		GString* _tmp6_;
#line 1577 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp5_ = in_variable_count;
#line 1577 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		in_variable_count = _tmp5_ + 1;
#line 1578 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp6_ = sql;
#line 1578 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		tracker_sparql_expression_translate_expression (self, _tmp6_, &_inner_error_);
#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 16897 "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 16905 "tracker-sparql-expression.c"
			}
		}
#line 1579 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		while (TRUE) {
#line 16910 "tracker-sparql-expression.c"
			gboolean _tmp7_ = FALSE;
			gboolean _tmp8_;
			GString* _tmp9_;
			gint _tmp10_;
			gboolean _tmp11_ = FALSE;
			gint _tmp12_;
			GString* _tmp17_;
#line 1579 "/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 1579 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp7_ = _tmp8_;
#line 1579 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1579 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1579 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1579 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 16930 "tracker-sparql-expression.c"
				} else {
#line 1579 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1579 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1579 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 16938 "tracker-sparql-expression.c"
				}
			}
#line 1579 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (!_tmp7_) {
#line 1579 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				break;
#line 16945 "tracker-sparql-expression.c"
			}
#line 1580 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp9_ = sql;
#line 1580 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_string_append (_tmp9_, ", ");
#line 1582 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp10_ = in_variable_count;
#line 1582 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			in_variable_count = _tmp10_ + 1;
#line 1584 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp12_ = in_variable_count;
#line 1584 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_tmp12_ > TRACKER_SPARQL_EXPRESSION_MAX_VARIABLES_FOR_IN) {
#line 16959 "tracker-sparql-expression.c"
				TrackerSparqlQuery* _tmp13_;
				gboolean _tmp14_;
				gboolean _tmp15_;
#line 1584 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp13_ = self->priv->query;
#line 1584 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp14_ = tracker_sparql_query_get_no_cache (_tmp13_);
#line 1584 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp15_ = _tmp14_;
#line 1584 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp11_ = !_tmp15_;
#line 16971 "tracker-sparql-expression.c"
			} else {
#line 1584 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp11_ = FALSE;
#line 16975 "tracker-sparql-expression.c"
			}
#line 1584 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_tmp11_) {
#line 16979 "tracker-sparql-expression.c"
				TrackerSparqlQuery* _tmp16_;
#line 1585 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp16_ = self->priv->query;
#line 1585 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				tracker_sparql_query_set_no_cache (_tmp16_, TRUE);
#line 16985 "tracker-sparql-expression.c"
			}
#line 1588 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp17_ = sql;
#line 1588 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			tracker_sparql_expression_translate_expression (self, _tmp17_, &_inner_error_);
#line 1588 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1588 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1588 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1588 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 16999 "tracker-sparql-expression.c"
				} else {
#line 1588 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1588 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1588 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 17007 "tracker-sparql-expression.c"
				}
			}
		}
#line 1590 "/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 1590 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1590 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1590 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 1590 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 17021 "tracker-sparql-expression.c"
			} else {
#line 1590 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1590 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 1590 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 17029 "tracker-sparql-expression.c"
			}
		}
	}
#line 1592 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp18_ = sql;
#line 1592 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_string_append (_tmp18_, ")");
#line 1594 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	result = TRACKER_PROPERTY_TYPE_BOOLEAN;
#line 1594 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	return result;
#line 17041 "tracker-sparql-expression.c"
}


static TrackerPropertyType tracker_sparql_expression_translate_relational_expression (TrackerSparqlExpression* self, GString* sql, GError** error) {
	TrackerPropertyType result = 0;
	glong begin = 0L;
	GString* _tmp0_;
	gssize _tmp1_;
	guint n_bindings = 0U;
	TrackerSparqlQuery* _tmp2_;
	GList* _tmp3_;
	guint _tmp4_;
	TrackerPropertyType optype = 0;
	GString* _tmp5_;
	TrackerPropertyType _tmp6_;
	gboolean _tmp7_ = FALSE;
	gboolean _tmp8_;
	GError * _inner_error_ = NULL;
#line 1597 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 1597 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (sql != NULL, 0);
#line 1598 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = sql;
#line 1598 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp1_ = _tmp0_->len;
#line 1598 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	begin = (glong) _tmp1_;
#line 1600 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp2_ = self->priv->query;
#line 1600 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp3_ = _tmp2_->bindings;
#line 1600 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp4_ = g_list_length (_tmp3_);
#line 1600 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	n_bindings = _tmp4_;
#line 1601 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp5_ = sql;
#line 1601 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp6_ = tracker_sparql_expression_translate_numeric_expression (self, _tmp5_, &_inner_error_);
#line 1601 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	optype = _tmp6_;
#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 17092 "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 17100 "tracker-sparql-expression.c"
		}
	}
#line 1602 "/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 1602 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp7_ = _tmp8_;
#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 17115 "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 17123 "tracker-sparql-expression.c"
		}
	}
#line 1602 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (_tmp7_) {
#line 17128 "tracker-sparql-expression.c"
		TrackerPropertyType _tmp9_ = 0;
		GString* _tmp10_;
		glong _tmp11_;
		guint _tmp12_;
		TrackerPropertyType _tmp13_;
		TrackerPropertyType _tmp14_;
#line 1603 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp10_ = sql;
#line 1603 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp11_ = begin;
#line 1603 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp12_ = n_bindings;
#line 1603 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp13_ = optype;
#line 1603 "/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 1603 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp9_ = _tmp14_;
#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 17155 "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 17163 "tracker-sparql-expression.c"
			}
		}
#line 1603 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		result = _tmp9_;
#line 1603 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		return result;
#line 17170 "tracker-sparql-expression.c"
	} else {
		gboolean _tmp15_ = FALSE;
		gboolean _tmp16_;
#line 1604 "/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 1604 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp15_ = _tmp16_;
#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 17186 "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 17194 "tracker-sparql-expression.c"
			}
		}
#line 1604 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp15_) {
#line 17199 "tracker-sparql-expression.c"
			TrackerPropertyType _tmp17_ = 0;
			GString* _tmp18_;
			glong _tmp19_;
			guint _tmp20_;
			TrackerPropertyType _tmp21_;
			TrackerPropertyType _tmp22_;
#line 1605 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp18_ = sql;
#line 1605 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp19_ = begin;
#line 1605 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp20_ = n_bindings;
#line 1605 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp21_ = optype;
#line 1605 "/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 1605 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp17_ = _tmp22_;
#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 17226 "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 17234 "tracker-sparql-expression.c"
				}
			}
#line 1605 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = _tmp17_;
#line 1605 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 17241 "tracker-sparql-expression.c"
		} else {
			gboolean _tmp23_ = FALSE;
			gboolean _tmp24_;
#line 1606 "/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 1606 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp23_ = _tmp24_;
#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 17257 "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 17265 "tracker-sparql-expression.c"
				}
			}
#line 1606 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_tmp23_) {
#line 17270 "tracker-sparql-expression.c"
				TrackerPropertyType _tmp25_ = 0;
				GString* _tmp26_;
				glong _tmp27_;
				guint _tmp28_;
				TrackerPropertyType _tmp29_;
				TrackerPropertyType _tmp30_;
#line 1607 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp26_ = sql;
#line 1607 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp27_ = begin;
#line 1607 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp28_ = n_bindings;
#line 1607 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp29_ = optype;
#line 1607 "/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 1607 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp25_ = _tmp30_;
#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 17297 "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 17305 "tracker-sparql-expression.c"
					}
				}
#line 1607 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				result = _tmp25_;
#line 1607 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return result;
#line 17312 "tracker-sparql-expression.c"
			} else {
				gboolean _tmp31_ = FALSE;
				gboolean _tmp32_;
#line 1608 "/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 1608 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_tmp31_ = _tmp32_;
#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 17328 "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 17336 "tracker-sparql-expression.c"
					}
				}
#line 1608 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_tmp31_) {
#line 17341 "tracker-sparql-expression.c"
					TrackerPropertyType _tmp33_ = 0;
					GString* _tmp34_;
					glong _tmp35_;
					guint _tmp36_;
					TrackerPropertyType _tmp37_;
					TrackerPropertyType _tmp38_;
#line 1609 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp34_ = sql;
#line 1609 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp35_ = begin;
#line 1609 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp36_ = n_bindings;
#line 1609 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp37_ = optype;
#line 1609 "/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 1609 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp33_ = _tmp38_;
#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 17368 "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 17376 "tracker-sparql-expression.c"
						}
					}
#line 1609 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					result = _tmp33_;
#line 1609 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return result;
#line 17383 "tracker-sparql-expression.c"
				} else {
					gboolean _tmp39_ = FALSE;
					gboolean _tmp40_;
#line 1610 "/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 1610 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					_tmp39_ = _tmp40_;
#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 17399 "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 17407 "tracker-sparql-expression.c"
						}
					}
#line 1610 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					if (_tmp39_) {
#line 17412 "tracker-sparql-expression.c"
						TrackerPropertyType _tmp41_ = 0;
						GString* _tmp42_;
						glong _tmp43_;
						guint _tmp44_;
						TrackerPropertyType _tmp45_;
						TrackerPropertyType _tmp46_;
#line 1611 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp42_ = sql;
#line 1611 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp43_ = begin;
#line 1611 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp44_ = n_bindings;
#line 1611 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp45_ = optype;
#line 1611 "/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 1611 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp41_ = _tmp46_;
#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 17439 "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 17447 "tracker-sparql-expression.c"
							}
						}
#line 1611 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						result = _tmp41_;
#line 1611 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						return result;
#line 17454 "tracker-sparql-expression.c"
					} else {
						gboolean _tmp47_ = FALSE;
						gboolean _tmp48_;
#line 1612 "/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 1612 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						_tmp47_ = _tmp48_;
#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 17470 "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 17478 "tracker-sparql-expression.c"
							}
						}
#line 1612 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
						if (_tmp47_) {
#line 17483 "tracker-sparql-expression.c"
							TrackerPropertyType _tmp49_ = 0;
							GString* _tmp50_;
							glong _tmp51_;
							guint _tmp52_;
							TrackerPropertyType _tmp53_;
							TrackerPropertyType _tmp54_;
#line 1613 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp50_ = sql;
#line 1613 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp51_ = begin;
#line 1613 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp52_ = n_bindings;
#line 1613 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp53_ = optype;
#line 1613 "/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 1613 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp49_ = _tmp54_;
#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 17510 "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 17518 "tracker-sparql-expression.c"
								}
							}
#line 1613 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							result = _tmp49_;
#line 1613 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							return result;
#line 17525 "tracker-sparql-expression.c"
						} else {
							gboolean _tmp55_ = FALSE;
							gboolean _tmp56_;
#line 1614 "/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 1614 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							_tmp55_ = _tmp56_;
#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 17541 "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 17549 "tracker-sparql-expression.c"
								}
							}
#line 1614 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
							if (_tmp55_) {
#line 17554 "tracker-sparql-expression.c"
								TrackerPropertyType _tmp57_ = 0;
								GString* _tmp58_;
								TrackerPropertyType _tmp59_;
#line 1615 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								_tmp58_ = sql;
#line 1615 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								_tmp59_ = tracker_sparql_expression_translate_in (self, _tmp58_, FALSE, &_inner_error_);
#line 1615 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								_tmp57_ = _tmp59_;
#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 17572 "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 17580 "tracker-sparql-expression.c"
									}
								}
#line 1615 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								result = _tmp57_;
#line 1615 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								return result;
#line 17587 "tracker-sparql-expression.c"
							} else {
								gboolean _tmp60_ = FALSE;
								gboolean _tmp61_;
#line 1616 "/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 1616 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								_tmp60_ = _tmp61_;
#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 17603 "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 17611 "tracker-sparql-expression.c"
									}
								}
#line 1616 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
								if (_tmp60_) {
#line 17616 "tracker-sparql-expression.c"
									TrackerPropertyType _tmp62_ = 0;
									GString* _tmp63_;
									TrackerPropertyType _tmp64_;
#line 1617 "/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 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 17630 "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 17638 "tracker-sparql-expression.c"
										}
									}
#line 1618 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
									_tmp63_ = sql;
#line 1618 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
									_tmp64_ = tracker_sparql_expression_translate_in (self, _tmp63_, TRUE, &_inner_error_);
#line 1618 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
									_tmp62_ = _tmp64_;
#line 1618 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
									if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1618 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
										if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1618 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											g_propagate_error (error, _inner_error_);
#line 1618 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											return 0;
#line 17655 "tracker-sparql-expression.c"
										} else {
#line 1618 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1618 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											g_clear_error (&_inner_error_);
#line 1618 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
											return 0;
#line 17663 "tracker-sparql-expression.c"
										}
									}
#line 1618 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
									result = _tmp62_;
#line 1618 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
									return result;
#line 17670 "tracker-sparql-expression.c"
								}
							}
						}
					}
				}
			}
		}
	}
#line 1620 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	result = optype;
#line 1620 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	return result;
#line 17683 "tracker-sparql-expression.c"
}


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


static TrackerPropertyType tracker_sparql_expression_translate_conditional_and_expression (TrackerSparqlExpression* self, GString* sql, GError** error) {
	TrackerPropertyType result = 0;
	glong begin = 0L;
	GString* _tmp0_;
	gssize _tmp1_;
	TrackerPropertyType optype = 0;
	GString* _tmp2_;
	TrackerPropertyType _tmp3_;
	GError * _inner_error_ = NULL;
#line 1627 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 1627 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (sql != NULL, 0);
#line 1628 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = sql;
#line 1628 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp1_ = _tmp0_->len;
#line 1628 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	begin = (glong) _tmp1_;
#line 1629 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp2_ = sql;
#line 1629 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp3_ = tracker_sparql_expression_translate_value_logical (self, _tmp2_, &_inner_error_);
#line 1629 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	optype = _tmp3_;
#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 17763 "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 17771 "tracker-sparql-expression.c"
		}
	}
#line 1630 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	while (TRUE) {
#line 17776 "tracker-sparql-expression.c"
		gboolean _tmp4_ = FALSE;
		gboolean _tmp5_;
		TrackerPropertyType _tmp6_;
		GString* _tmp8_;
		glong _tmp9_;
		GString* _tmp10_;
		TrackerPropertyType _tmp11_ = 0;
		GString* _tmp12_;
		TrackerPropertyType _tmp13_;
		GString* _tmp14_;
		TrackerPropertyType _tmp15_;
#line 1630 "/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 1630 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp4_ = _tmp5_;
#line 1630 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1630 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1630 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 1630 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 17800 "tracker-sparql-expression.c"
			} else {
#line 1630 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1630 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 1630 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 17808 "tracker-sparql-expression.c"
			}
		}
#line 1630 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (!_tmp4_) {
#line 1630 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			break;
#line 17815 "tracker-sparql-expression.c"
		}
#line 1631 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp6_ = optype;
#line 1631 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp6_ != TRACKER_PROPERTY_TYPE_BOOLEAN) {
#line 17821 "tracker-sparql-expression.c"
			GError* _tmp7_;
#line 1632 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp7_ = tracker_sparql_expression_get_error (self, "expected boolean expression");
#line 1632 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_inner_error_ = _tmp7_;
#line 1632 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1632 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 1632 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 17833 "tracker-sparql-expression.c"
			} else {
#line 1632 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1632 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 1632 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 17841 "tracker-sparql-expression.c"
			}
		}
#line 1634 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp8_ = sql;
#line 1634 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp9_ = begin;
#line 1634 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		g_string_insert (_tmp8_, (gssize) _tmp9_, "(");
#line 1635 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp10_ = sql;
#line 1635 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		g_string_append (_tmp10_, " AND ");
#line 1636 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp12_ = sql;
#line 1636 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp13_ = tracker_sparql_expression_translate_value_logical (self, _tmp12_, &_inner_error_);
#line 1636 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp11_ = _tmp13_;
#line 1636 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1636 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1636 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 1636 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 17868 "tracker-sparql-expression.c"
			} else {
#line 1636 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1636 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 1636 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 17876 "tracker-sparql-expression.c"
			}
		}
#line 1636 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		optype = _tmp11_;
#line 1637 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp14_ = sql;
#line 1637 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		g_string_append (_tmp14_, ")");
#line 1638 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp15_ = optype;
#line 1638 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp15_ != TRACKER_PROPERTY_TYPE_BOOLEAN) {
#line 17889 "tracker-sparql-expression.c"
			GError* _tmp16_;
#line 1639 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp16_ = tracker_sparql_expression_get_error (self, "expected boolean expression");
#line 1639 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_inner_error_ = _tmp16_;
#line 1639 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1639 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 1639 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 17901 "tracker-sparql-expression.c"
			} else {
#line 1639 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1639 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 1639 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 17909 "tracker-sparql-expression.c"
			}
		}
	}
#line 1642 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	result = optype;
#line 1642 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	return result;
#line 17917 "tracker-sparql-expression.c"
}


static TrackerPropertyType tracker_sparql_expression_translate_conditional_or_expression (TrackerSparqlExpression* self, GString* sql, GError** error) {
	TrackerPropertyType result = 0;
	glong begin = 0L;
	GString* _tmp0_;
	gssize _tmp1_;
	TrackerPropertyType optype = 0;
	GString* _tmp2_;
	TrackerPropertyType _tmp3_;
	GError * _inner_error_ = NULL;
#line 1645 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 1645 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (sql != NULL, 0);
#line 1646 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = sql;
#line 1646 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp1_ = _tmp0_->len;
#line 1646 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	begin = (glong) _tmp1_;
#line 1647 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp2_ = sql;
#line 1647 "/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 1647 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	optype = _tmp3_;
#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 17954 "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 17962 "tracker-sparql-expression.c"
		}
	}
#line 1648 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	while (TRUE) {
#line 17967 "tracker-sparql-expression.c"
		gboolean _tmp4_ = FALSE;
		gboolean _tmp5_;
		TrackerPropertyType _tmp6_;
		GString* _tmp8_;
		glong _tmp9_;
		GString* _tmp10_;
		TrackerPropertyType _tmp11_ = 0;
		GString* _tmp12_;
		TrackerPropertyType _tmp13_;
		GString* _tmp14_;
		TrackerPropertyType _tmp15_;
#line 1648 "/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 1648 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp4_ = _tmp5_;
#line 1648 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1648 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1648 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 1648 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 17991 "tracker-sparql-expression.c"
			} else {
#line 1648 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1648 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 1648 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 17999 "tracker-sparql-expression.c"
			}
		}
#line 1648 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (!_tmp4_) {
#line 1648 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			break;
#line 18006 "tracker-sparql-expression.c"
		}
#line 1649 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp6_ = optype;
#line 1649 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp6_ != TRACKER_PROPERTY_TYPE_BOOLEAN) {
#line 18012 "tracker-sparql-expression.c"
			GError* _tmp7_;
#line 1650 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp7_ = tracker_sparql_expression_get_error (self, "expected boolean expression");
#line 1650 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_inner_error_ = _tmp7_;
#line 1650 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1650 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 1650 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 18024 "tracker-sparql-expression.c"
			} else {
#line 1650 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1650 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 1650 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 18032 "tracker-sparql-expression.c"
			}
		}
#line 1652 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp8_ = sql;
#line 1652 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp9_ = begin;
#line 1652 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		g_string_insert (_tmp8_, (gssize) _tmp9_, "(");
#line 1653 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp10_ = sql;
#line 1653 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		g_string_append (_tmp10_, " OR ");
#line 1654 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp12_ = sql;
#line 1654 "/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 1654 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp11_ = _tmp13_;
#line 1654 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1654 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1654 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 1654 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 18059 "tracker-sparql-expression.c"
			} else {
#line 1654 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1654 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 1654 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 18067 "tracker-sparql-expression.c"
			}
		}
#line 1654 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		optype = _tmp11_;
#line 1655 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp14_ = sql;
#line 1655 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		g_string_append (_tmp14_, ")");
#line 1656 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp15_ = optype;
#line 1656 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp15_ != TRACKER_PROPERTY_TYPE_BOOLEAN) {
#line 18080 "tracker-sparql-expression.c"
			GError* _tmp16_;
#line 1657 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp16_ = tracker_sparql_expression_get_error (self, "expected boolean expression");
#line 1657 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_inner_error_ = _tmp16_;
#line 1657 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1657 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 1657 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 18092 "tracker-sparql-expression.c"
			} else {
#line 1657 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1657 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 1657 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 18100 "tracker-sparql-expression.c"
			}
		}
	}
#line 1660 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	result = optype;
#line 1660 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	return result;
#line 18108 "tracker-sparql-expression.c"
}


TrackerPropertyType tracker_sparql_expression_translate_expression (TrackerSparqlExpression* self, GString* sql, GError** error) {
	TrackerPropertyType result = 0;
	TrackerPropertyType _tmp0_ = 0;
	GString* _tmp1_;
	TrackerPropertyType _tmp2_;
	GError * _inner_error_ = NULL;
#line 1663 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 1663 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (sql != NULL, 0);
#line 1664 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp1_ = sql;
#line 1664 "/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 1664 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = _tmp2_;
#line 1664 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1664 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1664 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 1664 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 18136 "tracker-sparql-expression.c"
		} else {
#line 1664 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1664 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 1664 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 18144 "tracker-sparql-expression.c"
		}
	}
#line 1664 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	result = _tmp0_;
#line 1664 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	return result;
#line 18151 "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 = 0;
	GString* _tmp9_;
	TrackerPropertyType _tmp10_;
	GError * _inner_error_ = NULL;
#line 1667 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 1667 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (sql != NULL, 0);
#line 1668 "/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 1668 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1668 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1668 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 1668 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 18176 "tracker-sparql-expression.c"
		} else {
#line 1668 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1668 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 1668 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 18184 "tracker-sparql-expression.c"
		}
	}
#line 1670 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = tracker_sparql_expression_current (self);
#line 1670 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (_tmp0_ == TRACKER_SPARQL_TOKEN_TYPE_SELECT) {
#line 18191 "tracker-sparql-expression.c"
		GString* _tmp1_;
		TrackerSparqlSelectContext* select_context = NULL;
		TrackerSparqlPattern* _tmp2_;
		TrackerSparqlPattern* _tmp3_;
		GString* _tmp4_;
		TrackerSparqlSelectContext* _tmp5_;
		GString* _tmp6_;
		TrackerSparqlSelectContext* _tmp7_;
		TrackerPropertyType _tmp8_;
#line 1673 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp1_ = sql;
#line 1673 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		g_string_append (_tmp1_, "(");
#line 1674 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp2_ = tracker_sparql_expression_get_pattern (self);
#line 1674 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp3_ = _tmp2_;
#line 1674 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp4_ = sql;
#line 1674 "/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 1674 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		select_context = _tmp5_;
#line 1674 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1674 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1674 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 1674 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 18223 "tracker-sparql-expression.c"
			} else {
#line 1674 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1674 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 1674 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 18231 "tracker-sparql-expression.c"
			}
		}
#line 1675 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp6_ = sql;
#line 1675 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		g_string_append (_tmp6_, ")");
#line 1677 "/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 1677 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1677 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1677 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#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 0;
#line 18250 "tracker-sparql-expression.c"
			} else {
#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"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1677 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 1677 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 18260 "tracker-sparql-expression.c"
			}
		}
#line 1678 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp7_ = select_context;
#line 1678 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp8_ = _tmp7_->type;
#line 1678 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		result = _tmp8_;
#line 1678 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tracker_sparql_context_unref0 (select_context);
#line 1678 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		return result;
#line 18273 "tracker-sparql-expression.c"
	}
#line 1681 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp9_ = sql;
#line 1681 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp10_ = tracker_sparql_expression_translate_expression (self, _tmp9_, &_inner_error_);
#line 1681 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	optype = _tmp10_;
#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 18289 "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 18297 "tracker-sparql-expression.c"
		}
	}
#line 1682 "/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 1682 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1682 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1682 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 1682 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 18310 "tracker-sparql-expression.c"
		} else {
#line 1682 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1682 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 1682 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 18318 "tracker-sparql-expression.c"
		}
	}
#line 1683 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	result = optype;
#line 1683 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	return result;
#line 18325 "tracker-sparql-expression.c"
}


static TrackerPropertyType tracker_sparql_expression_translate_aggregate_expression (TrackerSparqlExpression* self, GString* sql, GError** error) {
	TrackerPropertyType result = 0;
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_;
	gboolean is_var = FALSE;
	TrackerSparqlTokenType _tmp3_;
	TrackerPropertyType optype = 0;
	GString* _tmp4_;
	TrackerPropertyType _tmp5_;
	gboolean _tmp6_;
	GError * _inner_error_ = NULL;
#line 1686 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 1686 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (sql != NULL, 0);
#line 1687 "/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 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 18354 "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 18362 "tracker-sparql-expression.c"
		}
	}
#line 1688 "/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 1688 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = _tmp1_;
#line 1688 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1688 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1688 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 1688 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 18377 "tracker-sparql-expression.c"
		} else {
#line 1688 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1688 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 1688 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 18385 "tracker-sparql-expression.c"
		}
	}
#line 1688 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (_tmp0_) {
#line 18390 "tracker-sparql-expression.c"
		GString* _tmp2_;
#line 1689 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp2_ = sql;
#line 1689 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		g_string_append (_tmp2_, "DISTINCT ");
#line 18396 "tracker-sparql-expression.c"
	}
#line 1692 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp3_ = tracker_sparql_expression_current (self);
#line 1692 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	is_var = _tmp3_ == TRACKER_SPARQL_TOKEN_TYPE_VAR;
#line 1693 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp4_ = sql;
#line 1693 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp5_ = tracker_sparql_expression_translate_expression (self, _tmp4_, &_inner_error_);
#line 1693 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	optype = _tmp5_;
#line 1693 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1693 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1693 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 1693 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 18416 "tracker-sparql-expression.c"
		} else {
#line 1693 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1693 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 1693 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 18424 "tracker-sparql-expression.c"
		}
	}
#line 1695 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp6_ = is_var;
#line 1695 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (_tmp6_) {
#line 18431 "tracker-sparql-expression.c"
		TrackerSparqlVariable* variable = NULL;
		TrackerSparqlContext* _tmp7_;
		TrackerSparqlContext* _tmp8_;
		gchar* _tmp9_;
		gchar* _tmp10_;
		gchar* _tmp11_;
		gchar* _tmp12_;
		TrackerSparqlVariable* _tmp13_;
		TrackerSparqlVariable* _tmp14_;
		TrackerSparqlVariable* _tmp15_;
		TrackerSparqlVariable* _tmp16_;
		TrackerSparqlVariableBinding* _tmp17_;
#line 1696 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp7_ = tracker_sparql_expression_get_context (self);
#line 1696 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp8_ = _tmp7_;
#line 1696 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp9_ = tracker_sparql_expression_get_last_string (self, 0);
#line 1696 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp10_ = _tmp9_;
#line 1696 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp11_ = string_substring (_tmp10_, (glong) 1, (glong) -1);
#line 1696 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp12_ = _tmp11_;
#line 1696 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp13_ = tracker_sparql_context_get_variable (_tmp8_, _tmp12_);
#line 1696 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp14_ = _g_object_ref0 (_tmp13_);
#line 1696 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp15_ = _tmp14_;
#line 1696 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_g_free0 (_tmp12_);
#line 1696 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_g_free0 (_tmp10_);
#line 1696 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		variable = _tmp15_;
#line 1697 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp16_ = variable;
#line 1697 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_tmp17_ = _tmp16_->binding;
#line 1697 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_tmp17_ == NULL) {
#line 18474 "tracker-sparql-expression.c"
			TrackerSparqlVariable* _tmp18_;
			const gchar* _tmp19_;
			const gchar* _tmp20_;
			gchar* _tmp21_;
			gchar* _tmp22_;
			GError* _tmp23_;
			GError* _tmp24_;
#line 1698 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp18_ = variable;
#line 1698 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp19_ = tracker_sparql_variable_get_name (_tmp18_);
#line 1698 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp20_ = _tmp19_;
#line 1698 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp21_ = g_strdup_printf ("use of undefined variable `%s'", _tmp20_);
#line 1698 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp22_ = _tmp21_;
#line 1698 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp23_ = tracker_sparql_expression_get_error (self, _tmp22_);
#line 1698 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp24_ = _tmp23_;
#line 1698 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_g_free0 (_tmp22_);
#line 1698 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_inner_error_ = _tmp24_;
#line 1698 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1698 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_propagate_error (error, _inner_error_);
#line 1698 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_object_unref0 (variable);
#line 1698 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 18508 "tracker-sparql-expression.c"
			} else {
#line 1698 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				_g_object_unref0 (variable);
#line 1698 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1698 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				g_clear_error (&_inner_error_);
#line 1698 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				return 0;
#line 18518 "tracker-sparql-expression.c"
			}
		}
#line 1695 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		_g_object_unref0 (variable);
#line 18523 "tracker-sparql-expression.c"
	}
#line 1702 "/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 1702 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1702 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1702 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_propagate_error (error, _inner_error_);
#line 1702 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 18535 "tracker-sparql-expression.c"
		} else {
#line 1702 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1702 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			g_clear_error (&_inner_error_);
#line 1702 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return 0;
#line 18543 "tracker-sparql-expression.c"
		}
	}
#line 1703 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	result = optype;
#line 1703 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	return result;
#line 18550 "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 1706 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 1706 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (sql != NULL, 0);
#line 1707 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = tracker_sparql_expression_current (self);
#line 1707 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	switch (_tmp0_) {
#line 1707 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_STR:
#line 1707 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_LANG:
#line 1707 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_LANGMATCHES:
#line 1707 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_DATATYPE:
#line 1707 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_BOUND:
#line 1707 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_IF:
#line 1707 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_SAMETERM:
#line 1707 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_ISIRI:
#line 1707 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_ISURI:
#line 1707 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_ISBLANK:
#line 1707 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_ISLITERAL:
#line 1707 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_REGEX:
#line 1707 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_EXISTS:
#line 1707 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_NOT:
#line 18594 "tracker-sparql-expression.c"
		{
			TrackerPropertyType _tmp1_ = 0;
			GString* _tmp2_;
			TrackerPropertyType _tmp3_;
#line 1722 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp2_ = sql;
#line 1722 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp3_ = tracker_sparql_expression_translate_primary_expression (self, _tmp2_, &_inner_error_);
#line 1722 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp1_ = _tmp3_;
#line 1722 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1722 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1722 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1722 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 18613 "tracker-sparql-expression.c"
				} else {
#line 1722 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1722 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1722 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 18621 "tracker-sparql-expression.c"
				}
			}
#line 1722 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = _tmp1_;
#line 1722 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 18628 "tracker-sparql-expression.c"
		}
		default:
		{
			TrackerPropertyType _tmp4_ = 0;
			GString* _tmp5_;
			TrackerPropertyType _tmp6_;
#line 1724 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp5_ = sql;
#line 1724 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp6_ = tracker_sparql_expression_translate_bracketted_expression (self, _tmp5_, &_inner_error_);
#line 1724 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			_tmp4_ = _tmp6_;
#line 1724 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1724 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 1724 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_propagate_error (error, _inner_error_);
#line 1724 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 18649 "tracker-sparql-expression.c"
				} else {
#line 1724 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1724 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					g_clear_error (&_inner_error_);
#line 1724 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
					return 0;
#line 18657 "tracker-sparql-expression.c"
				}
			}
#line 1724 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			result = _tmp4_;
#line 1724 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
			return result;
#line 18664 "tracker-sparql-expression.c"
		}
	}
}


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


static TrackerSparqlPattern* tracker_sparql_expression_get_pattern (TrackerSparqlExpression* self) {
	TrackerSparqlPattern* result;
	TrackerSparqlQuery* _tmp0_;
	TrackerSparqlPattern* _tmp1_;
#line 49 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 49 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp0_ = self->priv->query;
#line 49 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_tmp1_ = _tmp0_->pattern;
#line 49 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	result = _tmp1_;
#line 49 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	return result;
#line 18702 "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 18715 "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 18722 "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 37 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-expression.vala"
	_g_object_unref0 (self->priv->manager);
#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 18736 "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 18757 "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 18763 "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;
}



