/* tracker-sparql-query.c generated by valac 0.36.3, the Vala compiler
 * generated from tracker-sparql-query.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-property.h"
#include "libtracker-data/tracker-class.h"
#include "libtracker-data/tracker-data-query.h"
#include "libtracker-data/tracker-data-update.h"
#include "libtracker-data/tracker-data-backup.h"
#include "libtracker-sparql/tracker-sparql.h"
#include "libtracker-data/tracker-db-interface.h"
#include "libtracker-common/tracker-date-time.h"
#include "libtracker-data/tracker-ontologies.h"
#include "libtracker-data/tracker-namespace.h"
#include "libtracker-data/tracker-db-manager.h"
#include <float.h>
#include <math.h>
#include <gobject/gvaluecollector.h>


#define TRACKER_SPARQL_TYPE_VARIABLE_STATE (tracker_sparql_variable_state_get_type ())

#define TRACKER_SPARQL_TYPE_UPDATE_TYPE (tracker_sparql_update_type_get_type ())

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

#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;
#define _g_free0(var) (var = (g_free (var), NULL))
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))

#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;
typedef struct _TrackerSparqlDataBindingPrivate TrackerSparqlDataBindingPrivate;

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

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

#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;
typedef struct _TrackerSparqlVariableBindingPrivate TrackerSparqlVariableBindingPrivate;

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

typedef struct _TrackerSparqlVariable TrackerSparqlVariable;
typedef struct _TrackerSparqlVariableClass TrackerSparqlVariableClass;

#define TRACKER_SPARQL_TYPE_VARIABLE_BINDING_LIST (tracker_sparql_variable_binding_list_get_type ())
#define TRACKER_SPARQL_VARIABLE_BINDING_LIST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TRACKER_SPARQL_TYPE_VARIABLE_BINDING_LIST, TrackerSparqlVariableBindingList))
#define TRACKER_SPARQL_VARIABLE_BINDING_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TRACKER_SPARQL_TYPE_VARIABLE_BINDING_LIST, TrackerSparqlVariableBindingListClass))
#define TRACKER_SPARQL_IS_VARIABLE_BINDING_LIST(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TRACKER_SPARQL_TYPE_VARIABLE_BINDING_LIST))
#define TRACKER_SPARQL_IS_VARIABLE_BINDING_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TRACKER_SPARQL_TYPE_VARIABLE_BINDING_LIST))
#define TRACKER_SPARQL_VARIABLE_BINDING_LIST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TRACKER_SPARQL_TYPE_VARIABLE_BINDING_LIST, TrackerSparqlVariableBindingListClass))

typedef struct _TrackerSparqlVariableBindingList TrackerSparqlVariableBindingList;
typedef struct _TrackerSparqlVariableBindingListClass TrackerSparqlVariableBindingListClass;
typedef struct _TrackerSparqlVariableBindingListPrivate TrackerSparqlVariableBindingListPrivate;
#define __g_list_free__g_object_unref0_0(var) ((var == NULL) ? NULL : (var = (_g_list_free__g_object_unref0_ (var), NULL)))
typedef struct _TrackerSparqlVariablePrivate TrackerSparqlVariablePrivate;

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

typedef struct _TrackerSparqlContext TrackerSparqlContext;
typedef struct _TrackerSparqlContextClass TrackerSparqlContextClass;
typedef struct _TrackerSparqlContextPrivate TrackerSparqlContextPrivate;

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

typedef struct _TrackerSparqlQuery TrackerSparqlQuery;
typedef struct _TrackerSparqlQueryClass TrackerSparqlQueryClass;
#define _tracker_sparql_context_unref0(var) ((var == NULL) ? NULL : (var = (tracker_sparql_context_unref (var), NULL)))
#define _g_hash_table_unref0(var) ((var == NULL) ? NULL : (var = (g_hash_table_unref (var), NULL)))
typedef struct _TrackerSparqlQueryPrivate TrackerSparqlQueryPrivate;

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

#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;
typedef struct _TrackerSparqlParamSpecContext TrackerSparqlParamSpecContext;

#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;
typedef struct _TrackerSparqlSelectContextPrivate TrackerSparqlSelectContextPrivate;

#define TRACKER_SPARQL_TYPE_SOLUTION (tracker_sparql_solution_get_type ())
#define TRACKER_SPARQL_SOLUTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TRACKER_SPARQL_TYPE_SOLUTION, TrackerSparqlSolution))
#define TRACKER_SPARQL_SOLUTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TRACKER_SPARQL_TYPE_SOLUTION, TrackerSparqlSolutionClass))
#define TRACKER_SPARQL_IS_SOLUTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TRACKER_SPARQL_TYPE_SOLUTION))
#define TRACKER_SPARQL_IS_SOLUTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TRACKER_SPARQL_TYPE_SOLUTION))
#define TRACKER_SPARQL_SOLUTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TRACKER_SPARQL_TYPE_SOLUTION, TrackerSparqlSolutionClass))

typedef struct _TrackerSparqlSolution TrackerSparqlSolution;
typedef struct _TrackerSparqlSolutionClass TrackerSparqlSolutionClass;
typedef struct _TrackerSparqlSolutionPrivate TrackerSparqlSolutionPrivate;
#define _g_ptr_array_unref0(var) ((var == NULL) ? NULL : (var = (g_ptr_array_unref (var), NULL)))
typedef struct _TrackerSparqlParamSpecSolution TrackerSparqlParamSpecSolution;

#define TRACKER_TYPE_SPARQL_SCANNER (tracker_sparql_scanner_get_type ())
#define TRACKER_SPARQL_SCANNER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TRACKER_TYPE_SPARQL_SCANNER, TrackerSparqlScanner))
#define TRACKER_SPARQL_SCANNER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TRACKER_TYPE_SPARQL_SCANNER, TrackerSparqlScannerClass))
#define TRACKER_IS_SPARQL_SCANNER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TRACKER_TYPE_SPARQL_SCANNER))
#define TRACKER_IS_SPARQL_SCANNER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TRACKER_TYPE_SPARQL_SCANNER))
#define TRACKER_SPARQL_SCANNER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TRACKER_TYPE_SPARQL_SCANNER, TrackerSparqlScannerClass))

typedef struct _TrackerSparqlScanner TrackerSparqlScanner;
typedef struct _TrackerSparqlScannerClass TrackerSparqlScannerClass;

#define TRACKER_SPARQL_QUERY_TYPE_TOKEN_INFO (tracker_sparql_query_token_info_get_type ())

#define TRACKER_TYPE_SPARQL_TOKEN_TYPE (tracker_sparql_token_type_get_type ())

#define TRACKER_TYPE_SOURCE_LOCATION (tracker_source_location_get_type ())
typedef struct _TrackerSourceLocation TrackerSourceLocation;
typedef struct _TrackerSparqlQueryTokenInfo TrackerSparqlQueryTokenInfo;
#define _g_checksum_free0(var) ((var == NULL) ? NULL : (var = (g_checksum_free (var), NULL)))
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
#define _g_variant_unref0(var) ((var == NULL) ? NULL : (var = (g_variant_unref (var), NULL)))
#define _g_variant_builder_unref0(var) ((var == NULL) ? NULL : (var = (g_variant_builder_unref (var), NULL)))
#define _g_string_free0(var) ((var == NULL) ? NULL : (var = (g_string_free (var, TRUE), NULL)))
#define _tracker_source_location_free0(var) ((var == NULL) ? NULL : (var = (tracker_source_location_free (var), NULL)))
typedef struct _TrackerSparqlPatternPrivate TrackerSparqlPatternPrivate;
#define _g_list_free0(var) ((var == NULL) ? NULL : (var = (g_list_free (var), NULL)))
#define _tracker_sparql_solution_unref0(var) ((var == NULL) ? NULL : (var = (tracker_sparql_solution_unref (var), NULL)))
#define _vala_assert(expr, msg) if G_LIKELY (expr) ; else g_assertion_message_expr (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg);
#define _vala_return_if_fail(expr, msg) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return; }
#define _vala_return_val_if_fail(expr, msg, val) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return val; }
#define _vala_warn_if_fail(expr, msg) if G_LIKELY (expr) ; else g_warn_message (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg);

typedef enum  {
	TRACKER_SPARQL_VARIABLE_STATE_NONE,
	TRACKER_SPARQL_VARIABLE_STATE_BOUND,
	TRACKER_SPARQL_VARIABLE_STATE_OPTIONAL
} TrackerSparqlVariableState;

typedef enum  {
	TRACKER_SPARQL_UPDATE_TYPE_DELETE,
	TRACKER_SPARQL_UPDATE_TYPE_INSERT,
	TRACKER_SPARQL_UPDATE_TYPE_UPDATE
} TrackerSparqlUpdateType;

struct _TrackerSparqlDataTable {
	GObject parent_instance;
	TrackerSparqlDataTablePrivate * priv;
	gchar* sql_db_tablename;
	gchar* sql_query_tablename;
	TrackerSparqlPredicateVariable* predicate_variable;
};

struct _TrackerSparqlDataTableClass {
	GObjectClass 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 _TrackerSparqlDataBindingPrivate {
	gchar* _sql_expression;
};

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

struct _TrackerSparqlLiteralBindingClass {
	TrackerSparqlDataBindingClass 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;
};

struct _TrackerSparqlVariableBindingList {
	GObject parent_instance;
	TrackerSparqlVariableBindingListPrivate * priv;
	GList* list;
};

struct _TrackerSparqlVariableBindingListClass {
	GObjectClass parent_class;
};

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

struct _TrackerSparqlVariableClass {
	GObjectClass parent_class;
};

struct _TrackerSparqlVariablePrivate {
	gchar* _name;
	gint _index;
	gchar* _sql_expression;
	gchar* sql_identifier;
};

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 _TrackerSparqlQuery {
	GObject parent_instance;
	TrackerSparqlQueryPrivate * priv;
	TrackerSparqlExpression* expression;
	TrackerSparqlPattern* pattern;
	GList* bindings;
	TrackerSparqlContext* context;
	gint last_var_index;
};

struct _TrackerSparqlQueryClass {
	GObjectClass parent_class;
};

struct _TrackerSparqlParamSpecContext {
	GParamSpec parent_instance;
};

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 _TrackerSparqlSolution {
	GTypeInstance parent_instance;
	volatile int ref_count;
	TrackerSparqlSolutionPrivate * priv;
	GHashTable* hash;
	GPtrArray* values;
	gint solution_index;
};

struct _TrackerSparqlSolutionClass {
	GTypeClass parent_class;
	void (*finalize) (TrackerSparqlSolution *self);
};

struct _TrackerSparqlParamSpecSolution {
	GParamSpec parent_instance;
};

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 _TrackerSourceLocation {
	gchar* pos;
	gint line;
	gint column;
};

struct _TrackerSparqlQueryTokenInfo {
	TrackerSparqlTokenType type;
	TrackerSourceLocation begin;
	TrackerSourceLocation end;
};

struct _TrackerSparqlQueryPrivate {
	TrackerSparqlScanner* scanner;
	TrackerSparqlQueryTokenInfo* tokens;
	gint tokens_length1;
	gint _tokens_size_;
	gint index;
	gint size;
	gchar* query_string;
	gboolean update_extensions;
	gchar* current_graph;
	gchar* current_subject;
	gboolean current_subject_is_var;
	gchar* current_predicate;
	gboolean current_predicate_is_var;
	gboolean silent;
	GHashTable* prefix_map;
	gint bnodeid;
	guchar* base_uuid;
	gint base_uuid_length1;
	gint _base_uuid_size_;
	GHashTable* blank_nodes;
	gboolean _no_cache;
	gboolean anon_blank_node_open;
};

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


static gpointer tracker_sparql_data_table_parent_class = NULL;
static gpointer tracker_sparql_data_binding_parent_class = NULL;
static gpointer tracker_sparql_literal_binding_parent_class = NULL;
static gpointer tracker_sparql_variable_binding_parent_class = NULL;
static gpointer tracker_sparql_variable_binding_list_parent_class = NULL;
static gpointer tracker_sparql_variable_parent_class = NULL;
static gpointer tracker_sparql_context_parent_class = NULL;
static gpointer tracker_sparql_select_context_parent_class = NULL;
static gpointer tracker_sparql_solution_parent_class = NULL;
static gpointer tracker_sparql_query_parent_class = NULL;

GType tracker_sparql_variable_state_get_type (void) G_GNUC_CONST;
GType tracker_sparql_update_type_get_type (void) G_GNUC_CONST;
GType tracker_sparql_data_table_get_type (void) G_GNUC_CONST;
GType tracker_sparql_predicate_variable_get_type (void) G_GNUC_CONST;
enum  {
	TRACKER_SPARQL_DATA_TABLE_DUMMY_PROPERTY
};
TrackerSparqlDataTable* tracker_sparql_data_table_new (void);
TrackerSparqlDataTable* tracker_sparql_data_table_construct (GType object_type);
static void tracker_sparql_data_table_finalize (GObject * obj);
GType tracker_sparql_data_binding_get_type (void) G_GNUC_CONST;
#define TRACKER_SPARQL_DATA_BINDING_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TRACKER_SPARQL_TYPE_DATA_BINDING, TrackerSparqlDataBindingPrivate))
enum  {
	TRACKER_SPARQL_DATA_BINDING_DUMMY_PROPERTY,
	TRACKER_SPARQL_DATA_BINDING_SQL_EXPRESSION
};
gchar* tracker_sparql_data_binding_get_extra_sql_expression (TrackerSparqlDataBinding* self, const gchar* suffix);
TrackerSparqlDataBinding* tracker_sparql_data_binding_construct (GType object_type);
const gchar* tracker_sparql_data_binding_get_sql_expression (TrackerSparqlDataBinding* self);
void tracker_sparql_data_binding_set_sql_expression (TrackerSparqlDataBinding* self, const gchar* value);
static void tracker_sparql_data_binding_finalize (GObject * obj);
static void _vala_tracker_sparql_data_binding_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
static void _vala_tracker_sparql_data_binding_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);
GType tracker_sparql_literal_binding_get_type (void) G_GNUC_CONST;
enum  {
	TRACKER_SPARQL_LITERAL_BINDING_DUMMY_PROPERTY
};
TrackerSparqlLiteralBinding* tracker_sparql_literal_binding_new (void);
TrackerSparqlLiteralBinding* tracker_sparql_literal_binding_construct (GType object_type);
static void tracker_sparql_literal_binding_finalize (GObject * obj);
GType tracker_sparql_variable_binding_get_type (void) G_GNUC_CONST;
GType tracker_sparql_variable_get_type (void) G_GNUC_CONST;
enum  {
	TRACKER_SPARQL_VARIABLE_BINDING_DUMMY_PROPERTY
};
TrackerSparqlVariableBinding* tracker_sparql_variable_binding_new (void);
TrackerSparqlVariableBinding* tracker_sparql_variable_binding_construct (GType object_type);
static void tracker_sparql_variable_binding_finalize (GObject * obj);
GType tracker_sparql_variable_binding_list_get_type (void) G_GNUC_CONST;
enum  {
	TRACKER_SPARQL_VARIABLE_BINDING_LIST_DUMMY_PROPERTY
};
static void _g_object_unref0_ (gpointer var);
static void _g_list_free__g_object_unref0_ (GList* self);
TrackerSparqlVariableBindingList* tracker_sparql_variable_binding_list_new (void);
TrackerSparqlVariableBindingList* tracker_sparql_variable_binding_list_construct (GType object_type);
static void tracker_sparql_variable_binding_list_finalize (GObject * obj);
#define TRACKER_SPARQL_VARIABLE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TRACKER_SPARQL_TYPE_VARIABLE, TrackerSparqlVariablePrivate))
enum  {
	TRACKER_SPARQL_VARIABLE_DUMMY_PROPERTY,
	TRACKER_SPARQL_VARIABLE_NAME,
	TRACKER_SPARQL_VARIABLE_INDEX,
	TRACKER_SPARQL_VARIABLE_SQL_EXPRESSION
};
TrackerSparqlVariable* tracker_sparql_variable_new (const gchar* name, gint index);
TrackerSparqlVariable* tracker_sparql_variable_construct (GType object_type, const gchar* name, gint index);
static void tracker_sparql_variable_set_name (TrackerSparqlVariable* self, const gchar* value);
static void tracker_sparql_variable_set_index (TrackerSparqlVariable* self, gint value);
static void tracker_sparql_variable_set_sql_expression (TrackerSparqlVariable* self, const gchar* value);
gchar* tracker_sparql_variable_get_extra_sql_expression (TrackerSparqlVariable* self, const gchar* suffix);
gboolean tracker_sparql_variable_equal (TrackerSparqlVariable* a, TrackerSparqlVariable* b);
gint tracker_sparql_variable_get_index (TrackerSparqlVariable* self);
guint tracker_sparql_variable_hash (TrackerSparqlVariable* variable);
const gchar* tracker_sparql_variable_get_name (TrackerSparqlVariable* self);
const gchar* tracker_sparql_variable_get_sql_expression (TrackerSparqlVariable* self);
static void tracker_sparql_variable_finalize (GObject * obj);
static void _vala_tracker_sparql_variable_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
static void _vala_tracker_sparql_variable_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);
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;
GType tracker_sparql_query_get_type (void) G_GNUC_CONST;
enum  {
	TRACKER_SPARQL_CONTEXT_DUMMY_PROPERTY
};
TrackerSparqlContext* tracker_sparql_context_new (TrackerSparqlQuery* query, TrackerSparqlContext* parent_context);
TrackerSparqlContext* tracker_sparql_context_construct (GType object_type, TrackerSparqlQuery* query, TrackerSparqlContext* parent_context);
static guint _tracker_sparql_variable_hash_ghash_func (gconstpointer key);
static gboolean _tracker_sparql_variable_equal_gequal_func (gconstpointer a, gconstpointer b);
TrackerSparqlContext* tracker_sparql_context_new_subquery (TrackerSparqlQuery* query, TrackerSparqlContext* parent_context);
TrackerSparqlContext* tracker_sparql_context_construct_subquery (GType object_type, TrackerSparqlQuery* query, TrackerSparqlContext* parent_context);
TrackerSparqlVariable* tracker_sparql_context_get_variable (TrackerSparqlContext* self, const gchar* name);
GType tracker_sparql_expression_get_type (void) G_GNUC_CONST;
GType tracker_sparql_pattern_get_type (void) G_GNUC_CONST;
static void tracker_sparql_context_finalize (TrackerSparqlContext * obj);
GType tracker_sparql_select_context_get_type (void) G_GNUC_CONST;
enum  {
	TRACKER_SPARQL_SELECT_CONTEXT_DUMMY_PROPERTY
};
TrackerSparqlSelectContext* tracker_sparql_select_context_new (TrackerSparqlQuery* query, TrackerSparqlContext* parent_context);
TrackerSparqlSelectContext* tracker_sparql_select_context_construct (GType object_type, TrackerSparqlQuery* query, TrackerSparqlContext* parent_context);
TrackerSparqlSelectContext* tracker_sparql_select_context_new_subquery (TrackerSparqlQuery* query, TrackerSparqlContext* parent_context);
TrackerSparqlSelectContext* tracker_sparql_select_context_construct_subquery (GType object_type, TrackerSparqlQuery* query, TrackerSparqlContext* parent_context);
static void tracker_sparql_select_context_finalize (TrackerSparqlContext * obj);
gpointer tracker_sparql_solution_ref (gpointer instance);
void tracker_sparql_solution_unref (gpointer instance);
GParamSpec* tracker_sparql_param_spec_solution (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
void tracker_sparql_value_set_solution (GValue* value, gpointer v_object);
void tracker_sparql_value_take_solution (GValue* value, gpointer v_object);
gpointer tracker_sparql_value_get_solution (const GValue* value);
GType tracker_sparql_solution_get_type (void) G_GNUC_CONST;
enum  {
	TRACKER_SPARQL_SOLUTION_DUMMY_PROPERTY
};
TrackerSparqlSolution* tracker_sparql_solution_new (void);
TrackerSparqlSolution* tracker_sparql_solution_construct (GType object_type);
static void _g_free0_ (gpointer var);
gchar* tracker_sparql_solution_lookup (TrackerSparqlSolution* self, const gchar* variable_name);
static void tracker_sparql_solution_finalize (TrackerSparqlSolution * obj);
GType tracker_sparql_scanner_get_type (void) G_GNUC_CONST;
static GType tracker_sparql_query_token_info_get_type (void) G_GNUC_CONST G_GNUC_UNUSED;
GType tracker_sparql_token_type_get_type (void) G_GNUC_CONST;
GType tracker_source_location_get_type (void) G_GNUC_CONST;
TrackerSourceLocation* tracker_source_location_dup (const TrackerSourceLocation* self);
void tracker_source_location_free (TrackerSourceLocation* self);
static TrackerSparqlQueryTokenInfo* tracker_sparql_query_token_info_dup (const TrackerSparqlQueryTokenInfo* self);
static void tracker_sparql_query_token_info_free (TrackerSparqlQueryTokenInfo* self);
#define TRACKER_SPARQL_QUERY_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TRACKER_SPARQL_TYPE_QUERY, TrackerSparqlQueryPrivate))
enum  {
	TRACKER_SPARQL_QUERY_DUMMY_PROPERTY,
	TRACKER_SPARQL_QUERY_NO_CACHE
};
#define TRACKER_SPARQL_QUERY_BUFFER_SIZE 32
#define TRACKER_SPARQL_QUERY_FN_NS "http://www.w3.org/2005/xpath-functions#"
TrackerSparqlQuery* tracker_sparql_query_new (const gchar* query);
TrackerSparqlQuery* tracker_sparql_query_construct (GType object_type, const gchar* query);
void tracker_sparql_query_set_no_cache (TrackerSparqlQuery* self, gboolean value);
void uuid_generate (guchar* uuid);
TrackerSparqlExpression* tracker_sparql_expression_new (TrackerSparqlQuery* query);
TrackerSparqlExpression* tracker_sparql_expression_construct (GType object_type, TrackerSparqlQuery* query);
TrackerSparqlPattern* tracker_sparql_pattern_new (TrackerSparqlQuery* query);
TrackerSparqlPattern* tracker_sparql_pattern_construct (GType object_type, TrackerSparqlQuery* query);
TrackerSparqlQuery* tracker_sparql_query_new_update (const gchar* query);
TrackerSparqlQuery* tracker_sparql_query_construct_update (GType object_type, const gchar* query);
static gchar* tracker_sparql_query_get_uuid_for_name (TrackerSparqlQuery* self, guchar* base_uuid, int base_uuid_length1, const gchar* name);
gchar* tracker_sparql_query_generate_bnodeid (TrackerSparqlQuery* self, const gchar* user_bnodeid);
gboolean tracker_sparql_query_next (TrackerSparqlQuery* self, GError** error);
TrackerSparqlTokenType tracker_sparql_scanner_read_token (TrackerSparqlScanner* self, TrackerSourceLocation* token_begin, TrackerSourceLocation* token_end, GError** error);
TrackerSparqlTokenType tracker_sparql_query_current (TrackerSparqlQuery* self);
TrackerSparqlTokenType tracker_sparql_query_last (TrackerSparqlQuery* self);
gboolean tracker_sparql_query_accept (TrackerSparqlQuery* self, TrackerSparqlTokenType type, GError** error);
GError* tracker_sparql_query_get_error (TrackerSparqlQuery* self, const gchar* msg);
GError* tracker_sparql_query_get_internal_error (TrackerSparqlQuery* self, const gchar* msg);
gboolean tracker_sparql_query_expect (TrackerSparqlQuery* self, TrackerSparqlTokenType type, GError** error);
const gchar* tracker_sparql_token_type_to_string (TrackerSparqlTokenType self);
void tracker_sparql_query_get_location (TrackerSparqlQuery* self, TrackerSourceLocation* result);
void tracker_sparql_query_set_location (TrackerSparqlQuery* self, TrackerSourceLocation* location);
void tracker_sparql_scanner_seek (TrackerSparqlScanner* self, TrackerSourceLocation* location);
gchar* tracker_sparql_query_get_last_string (TrackerSparqlQuery* self, gint strip);
static void tracker_sparql_query_parse_prologue (TrackerSparqlQuery* self, GError** error);
static void tracker_sparql_query_prepare_execute (TrackerSparqlQuery* self, GError** error);
TrackerSparqlScanner* tracker_sparql_scanner_new (gchar* input, gsize len);
TrackerSparqlScanner* tracker_sparql_scanner_construct (GType object_type, gchar* input, gsize len);
TrackerDBCursor* tracker_sparql_query_execute_cursor (TrackerSparqlQuery* self, GError** error);
static TrackerDBCursor* tracker_sparql_query_execute_select_cursor (TrackerSparqlQuery* self, GError** error);
static TrackerDBCursor* tracker_sparql_query_execute_ask_cursor (TrackerSparqlQuery* self, GError** error);
GVariant* tracker_sparql_query_execute_update (TrackerSparqlQuery* self, gboolean blank, GError** error);
static void tracker_sparql_query_execute_insert_delete (TrackerSparqlQuery* self, GVariantBuilder* update_blank_nodes, GError** error);
static TrackerDBStatement* tracker_sparql_query_prepare_for_exec (TrackerSparqlQuery* self, const gchar* sql, GError** error);
gboolean tracker_sparql_query_get_no_cache (TrackerSparqlQuery* self);
static TrackerDBCursor* tracker_sparql_query_exec_sql_cursor (TrackerSparqlQuery* self, const gchar* sql, TrackerPropertyType* types, int types_length1, gchar** variable_names, int variable_names_length1, GError** error);
static gchar* tracker_sparql_query_get_select_query (TrackerSparqlQuery* self, TrackerSparqlSelectContext* * context, GError** error);
TrackerSparqlSelectContext* tracker_sparql_pattern_translate_select (TrackerSparqlPattern* self, GString* sql, gboolean subquery, gboolean scalar_subquery, GError** error);
static gchar* tracker_sparql_query_get_ask_query (TrackerSparqlQuery* self, GError** error);
TrackerSparqlContext* tracker_sparql_pattern_translate_group_graph_pattern (TrackerSparqlPattern* self, GString* sql, GError** error);
static void tracker_sparql_query_parse_from_or_into_param (TrackerSparqlQuery* self, GError** error);
gchar* tracker_sparql_query_resolve_prefixed_name (TrackerSparqlQuery* self, const gchar* prefix, const gchar* local_name, GError** error);
static void tracker_sparql_query_skip_braces (TrackerSparqlQuery* self, GError** error);
static gint tracker_sparql_query_quad_data_unbound_var_count (TrackerSparqlQuery* self, GError** error);
void tracker_sparql_expression_append_expression_as_string (GString* sql, const gchar* expression, TrackerPropertyType type);
static void tracker_sparql_query_parse_construct_triples_block (TrackerSparqlQuery* self, TrackerSparqlSolution* var_value_map, TrackerSparqlUpdateType type, GError** error);
static GVariant* _variant_new1 (GHashTable* value);
static gchar* tracker_sparql_query_parse_construct_var_or_term (TrackerSparqlQuery* self, TrackerSparqlSolution* var_value_map, TrackerSparqlUpdateType type, gboolean* is_null, GError** error);
static void tracker_sparql_query_parse_construct_property_list_not_empty (TrackerSparqlQuery* self, TrackerSparqlSolution* var_value_map, TrackerSparqlUpdateType type, GError** error);
gchar* tracker_sparql_expression_parse_string_literal (TrackerSparqlExpression* self, TrackerPropertyType* type, GError** error);
static void tracker_sparql_query_parse_construct_object_list (TrackerSparqlQuery* self, TrackerSparqlSolution* var_value_map, TrackerSparqlUpdateType type, GError** error);
static void tracker_sparql_query_parse_construct_object (TrackerSparqlQuery* self, TrackerSparqlSolution* var_value_map, TrackerSparqlUpdateType type, GError** error);
static void tracker_sparql_query_finalize (GObject * obj);
static void _vala_tracker_sparql_query_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
static void _vala_tracker_sparql_query_set_property (GObject * object, guint property_id, const 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);


GType tracker_sparql_variable_state_get_type (void) {
	static volatile gsize tracker_sparql_variable_state_type_id__volatile = 0;
	if (g_once_init_enter (&tracker_sparql_variable_state_type_id__volatile)) {
		static const GEnumValue values[] = {{TRACKER_SPARQL_VARIABLE_STATE_NONE, "TRACKER_SPARQL_VARIABLE_STATE_NONE", "none"}, {TRACKER_SPARQL_VARIABLE_STATE_BOUND, "TRACKER_SPARQL_VARIABLE_STATE_BOUND", "bound"}, {TRACKER_SPARQL_VARIABLE_STATE_OPTIONAL, "TRACKER_SPARQL_VARIABLE_STATE_OPTIONAL", "optional"}, {0, NULL, NULL}};
		GType tracker_sparql_variable_state_type_id;
		tracker_sparql_variable_state_type_id = g_enum_register_static ("TrackerSparqlVariableState", values);
		g_once_init_leave (&tracker_sparql_variable_state_type_id__volatile, tracker_sparql_variable_state_type_id);
	}
	return tracker_sparql_variable_state_type_id__volatile;
}


GType tracker_sparql_update_type_get_type (void) {
	static volatile gsize tracker_sparql_update_type_type_id__volatile = 0;
	if (g_once_init_enter (&tracker_sparql_update_type_type_id__volatile)) {
		static const GEnumValue values[] = {{TRACKER_SPARQL_UPDATE_TYPE_DELETE, "TRACKER_SPARQL_UPDATE_TYPE_DELETE", "delete"}, {TRACKER_SPARQL_UPDATE_TYPE_INSERT, "TRACKER_SPARQL_UPDATE_TYPE_INSERT", "insert"}, {TRACKER_SPARQL_UPDATE_TYPE_UPDATE, "TRACKER_SPARQL_UPDATE_TYPE_UPDATE", "update"}, {0, NULL, NULL}};
		GType tracker_sparql_update_type_type_id;
		tracker_sparql_update_type_type_id = g_enum_register_static ("TrackerSparqlUpdateType", values);
		g_once_init_leave (&tracker_sparql_update_type_type_id__volatile, tracker_sparql_update_type_type_id);
	}
	return tracker_sparql_update_type_type_id__volatile;
}


TrackerSparqlDataTable* tracker_sparql_data_table_construct (GType object_type) {
	TrackerSparqlDataTable * self = NULL;
#line 34 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self = (TrackerSparqlDataTable*) g_object_new (object_type, NULL);
#line 34 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return self;
#line 801 "tracker-sparql-query.c"
}


TrackerSparqlDataTable* tracker_sparql_data_table_new (void) {
#line 34 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return tracker_sparql_data_table_construct (TRACKER_SPARQL_TYPE_DATA_TABLE);
#line 808 "tracker-sparql-query.c"
}


static void tracker_sparql_data_table_class_init (TrackerSparqlDataTableClass * klass) {
#line 34 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	tracker_sparql_data_table_parent_class = g_type_class_peek_parent (klass);
#line 34 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	G_OBJECT_CLASS (klass)->finalize = tracker_sparql_data_table_finalize;
#line 817 "tracker-sparql-query.c"
}


static void tracker_sparql_data_table_instance_init (TrackerSparqlDataTable * self) {
}


static void tracker_sparql_data_table_finalize (GObject * obj) {
	TrackerSparqlDataTable * self;
#line 34 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, TRACKER_SPARQL_TYPE_DATA_TABLE, TrackerSparqlDataTable);
#line 35 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_free0 (self->sql_db_tablename);
#line 36 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_free0 (self->sql_query_tablename);
#line 37 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_object_unref0 (self->predicate_variable);
#line 34 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	G_OBJECT_CLASS (tracker_sparql_data_table_parent_class)->finalize (obj);
#line 837 "tracker-sparql-query.c"
}


GType tracker_sparql_data_table_get_type (void) {
	static volatile gsize tracker_sparql_data_table_type_id__volatile = 0;
	if (g_once_init_enter (&tracker_sparql_data_table_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (TrackerSparqlDataTableClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) tracker_sparql_data_table_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (TrackerSparqlDataTable), 0, (GInstanceInitFunc) tracker_sparql_data_table_instance_init, NULL };
		GType tracker_sparql_data_table_type_id;
		tracker_sparql_data_table_type_id = g_type_register_static (G_TYPE_OBJECT, "TrackerSparqlDataTable", &g_define_type_info, 0);
		g_once_init_leave (&tracker_sparql_data_table_type_id__volatile, tracker_sparql_data_table_type_id);
	}
	return tracker_sparql_data_table_type_id__volatile;
}


gchar* tracker_sparql_data_binding_get_extra_sql_expression (TrackerSparqlDataBinding* self, const gchar* suffix) {
	gchar* result = NULL;
	TrackerSparqlDataTable* _tmp0_;
	const gchar* _tmp1_;
	const gchar* _tmp2_;
	const gchar* _tmp3_;
	gchar* _tmp4_;
#line 56 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 56 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_val_if_fail (suffix != NULL, NULL);
#line 57 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp0_ = self->table;
#line 57 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp1_ = _tmp0_->sql_query_tablename;
#line 57 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp2_ = self->sql_db_column_name;
#line 57 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp3_ = suffix;
#line 57 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp4_ = g_strdup_printf ("\"%s\".\"%s:%s\"", _tmp1_, _tmp2_, _tmp3_);
#line 57 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	result = _tmp4_;
#line 57 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return result;
#line 878 "tracker-sparql-query.c"
}


TrackerSparqlDataBinding* tracker_sparql_data_binding_construct (GType object_type) {
	TrackerSparqlDataBinding * self = NULL;
#line 40 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self = (TrackerSparqlDataBinding*) g_object_new (object_type, NULL);
#line 40 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return self;
#line 888 "tracker-sparql-query.c"
}


const gchar* tracker_sparql_data_binding_get_sql_expression (TrackerSparqlDataBinding* self) {
	const gchar* result;
	gboolean _tmp0_ = FALSE;
	const gchar* _tmp1_;
	const gchar* _tmp7_;
#line 45 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 46 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp1_ = self->priv->_sql_expression;
#line 46 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (_tmp1_ == NULL) {
#line 903 "tracker-sparql-query.c"
		TrackerSparqlDataTable* _tmp2_;
#line 46 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp2_ = self->table;
#line 46 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp0_ = _tmp2_ != NULL;
#line 909 "tracker-sparql-query.c"
	} else {
#line 46 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp0_ = FALSE;
#line 913 "tracker-sparql-query.c"
	}
#line 46 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (_tmp0_) {
#line 917 "tracker-sparql-query.c"
		TrackerSparqlDataTable* _tmp3_;
		const gchar* _tmp4_;
		const gchar* _tmp5_;
		gchar* _tmp6_;
#line 47 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp3_ = self->table;
#line 47 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp4_ = _tmp3_->sql_query_tablename;
#line 47 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp5_ = self->sql_db_column_name;
#line 47 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp6_ = g_strdup_printf ("\"%s\".\"%s\"", _tmp4_, _tmp5_);
#line 47 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_g_free0 (self->priv->_sql_expression);
#line 47 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		self->priv->_sql_expression = _tmp6_;
#line 934 "tracker-sparql-query.c"
	}
#line 49 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp7_ = self->priv->_sql_expression;
#line 49 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	result = _tmp7_;
#line 49 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return result;
#line 942 "tracker-sparql-query.c"
}


void tracker_sparql_data_binding_set_sql_expression (TrackerSparqlDataBinding* self, const gchar* value) {
	const gchar* _tmp0_;
	gchar* _tmp1_;
#line 51 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_if_fail (self != NULL);
#line 52 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp0_ = value;
#line 52 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 52 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_free0 (self->priv->_sql_expression);
#line 52 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self->priv->_sql_expression = _tmp1_;
#line 51 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_object_notify ((GObject *) self, "sql-expression");
#line 961 "tracker-sparql-query.c"
}


static void tracker_sparql_data_binding_class_init (TrackerSparqlDataBindingClass * klass) {
#line 40 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	tracker_sparql_data_binding_parent_class = g_type_class_peek_parent (klass);
#line 40 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_type_class_add_private (klass, sizeof (TrackerSparqlDataBindingPrivate));
#line 40 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_tracker_sparql_data_binding_get_property;
#line 40 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_tracker_sparql_data_binding_set_property;
#line 40 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	G_OBJECT_CLASS (klass)->finalize = tracker_sparql_data_binding_finalize;
#line 40 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), TRACKER_SPARQL_DATA_BINDING_SQL_EXPRESSION, g_param_spec_string ("sql-expression", "sql-expression", "sql-expression", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 978 "tracker-sparql-query.c"
}


static void tracker_sparql_data_binding_instance_init (TrackerSparqlDataBinding * self) {
#line 40 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self->priv = TRACKER_SPARQL_DATA_BINDING_GET_PRIVATE (self);
#line 985 "tracker-sparql-query.c"
}


static void tracker_sparql_data_binding_finalize (GObject * obj) {
	TrackerSparqlDataBinding * self;
#line 40 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, TRACKER_SPARQL_TYPE_DATA_BINDING, TrackerSparqlDataBinding);
#line 42 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_object_unref0 (self->table);
#line 43 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_free0 (self->sql_db_column_name);
#line 55 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_free0 (self->priv->_sql_expression);
#line 40 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	G_OBJECT_CLASS (tracker_sparql_data_binding_parent_class)->finalize (obj);
#line 1001 "tracker-sparql-query.c"
}


GType tracker_sparql_data_binding_get_type (void) {
	static volatile gsize tracker_sparql_data_binding_type_id__volatile = 0;
	if (g_once_init_enter (&tracker_sparql_data_binding_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (TrackerSparqlDataBindingClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) tracker_sparql_data_binding_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (TrackerSparqlDataBinding), 0, (GInstanceInitFunc) tracker_sparql_data_binding_instance_init, NULL };
		GType tracker_sparql_data_binding_type_id;
		tracker_sparql_data_binding_type_id = g_type_register_static (G_TYPE_OBJECT, "TrackerSparqlDataBinding", &g_define_type_info, G_TYPE_FLAG_ABSTRACT);
		g_once_init_leave (&tracker_sparql_data_binding_type_id__volatile, tracker_sparql_data_binding_type_id);
	}
	return tracker_sparql_data_binding_type_id__volatile;
}


static void _vala_tracker_sparql_data_binding_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	TrackerSparqlDataBinding * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, TRACKER_SPARQL_TYPE_DATA_BINDING, TrackerSparqlDataBinding);
#line 40 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	switch (property_id) {
#line 40 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		case TRACKER_SPARQL_DATA_BINDING_SQL_EXPRESSION:
#line 40 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		g_value_set_string (value, tracker_sparql_data_binding_get_sql_expression (self));
#line 40 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		break;
#line 1028 "tracker-sparql-query.c"
		default:
#line 40 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 40 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		break;
#line 1034 "tracker-sparql-query.c"
	}
}


static void _vala_tracker_sparql_data_binding_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
	TrackerSparqlDataBinding * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, TRACKER_SPARQL_TYPE_DATA_BINDING, TrackerSparqlDataBinding);
#line 40 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	switch (property_id) {
#line 40 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		case TRACKER_SPARQL_DATA_BINDING_SQL_EXPRESSION:
#line 40 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		tracker_sparql_data_binding_set_sql_expression (self, g_value_get_string (value));
#line 40 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		break;
#line 1050 "tracker-sparql-query.c"
		default:
#line 40 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 40 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		break;
#line 1056 "tracker-sparql-query.c"
	}
}


TrackerSparqlLiteralBinding* tracker_sparql_literal_binding_construct (GType object_type) {
	TrackerSparqlLiteralBinding * self = NULL;
#line 62 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self = (TrackerSparqlLiteralBinding*) tracker_sparql_data_binding_construct (object_type);
#line 62 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return self;
#line 1067 "tracker-sparql-query.c"
}


TrackerSparqlLiteralBinding* tracker_sparql_literal_binding_new (void) {
#line 62 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return tracker_sparql_literal_binding_construct (TRACKER_SPARQL_TYPE_LITERAL_BINDING);
#line 1074 "tracker-sparql-query.c"
}


static void tracker_sparql_literal_binding_class_init (TrackerSparqlLiteralBindingClass * klass) {
#line 62 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	tracker_sparql_literal_binding_parent_class = g_type_class_peek_parent (klass);
#line 62 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	G_OBJECT_CLASS (klass)->finalize = tracker_sparql_literal_binding_finalize;
#line 1083 "tracker-sparql-query.c"
}


static void tracker_sparql_literal_binding_instance_init (TrackerSparqlLiteralBinding * self) {
}


static void tracker_sparql_literal_binding_finalize (GObject * obj) {
	TrackerSparqlLiteralBinding * self;
#line 62 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, TRACKER_SPARQL_TYPE_LITERAL_BINDING, TrackerSparqlLiteralBinding);
#line 64 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_free0 (self->literal);
#line 62 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	G_OBJECT_CLASS (tracker_sparql_literal_binding_parent_class)->finalize (obj);
#line 1099 "tracker-sparql-query.c"
}


GType tracker_sparql_literal_binding_get_type (void) {
	static volatile gsize tracker_sparql_literal_binding_type_id__volatile = 0;
	if (g_once_init_enter (&tracker_sparql_literal_binding_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (TrackerSparqlLiteralBindingClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) tracker_sparql_literal_binding_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (TrackerSparqlLiteralBinding), 0, (GInstanceInitFunc) tracker_sparql_literal_binding_instance_init, NULL };
		GType tracker_sparql_literal_binding_type_id;
		tracker_sparql_literal_binding_type_id = g_type_register_static (TRACKER_SPARQL_TYPE_DATA_BINDING, "TrackerSparqlLiteralBinding", &g_define_type_info, 0);
		g_once_init_leave (&tracker_sparql_literal_binding_type_id__volatile, tracker_sparql_literal_binding_type_id);
	}
	return tracker_sparql_literal_binding_type_id__volatile;
}


TrackerSparqlVariableBinding* tracker_sparql_variable_binding_construct (GType object_type) {
	TrackerSparqlVariableBinding * self = NULL;
#line 68 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self = (TrackerSparqlVariableBinding*) tracker_sparql_data_binding_construct (object_type);
#line 68 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return self;
#line 1121 "tracker-sparql-query.c"
}


TrackerSparqlVariableBinding* tracker_sparql_variable_binding_new (void) {
#line 68 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return tracker_sparql_variable_binding_construct (TRACKER_SPARQL_TYPE_VARIABLE_BINDING);
#line 1128 "tracker-sparql-query.c"
}


static void tracker_sparql_variable_binding_class_init (TrackerSparqlVariableBindingClass * klass) {
#line 68 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	tracker_sparql_variable_binding_parent_class = g_type_class_peek_parent (klass);
#line 68 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	G_OBJECT_CLASS (klass)->finalize = tracker_sparql_variable_binding_finalize;
#line 1137 "tracker-sparql-query.c"
}


static void tracker_sparql_variable_binding_instance_init (TrackerSparqlVariableBinding * self) {
}


static void tracker_sparql_variable_binding_finalize (GObject * obj) {
	TrackerSparqlVariableBinding * self;
#line 68 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, TRACKER_SPARQL_TYPE_VARIABLE_BINDING, TrackerSparqlVariableBinding);
#line 73 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_object_unref0 (self->type);
#line 68 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	G_OBJECT_CLASS (tracker_sparql_variable_binding_parent_class)->finalize (obj);
#line 1153 "tracker-sparql-query.c"
}


GType tracker_sparql_variable_binding_get_type (void) {
	static volatile gsize tracker_sparql_variable_binding_type_id__volatile = 0;
	if (g_once_init_enter (&tracker_sparql_variable_binding_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (TrackerSparqlVariableBindingClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) tracker_sparql_variable_binding_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (TrackerSparqlVariableBinding), 0, (GInstanceInitFunc) tracker_sparql_variable_binding_instance_init, NULL };
		GType tracker_sparql_variable_binding_type_id;
		tracker_sparql_variable_binding_type_id = g_type_register_static (TRACKER_SPARQL_TYPE_DATA_BINDING, "TrackerSparqlVariableBinding", &g_define_type_info, 0);
		g_once_init_leave (&tracker_sparql_variable_binding_type_id__volatile, tracker_sparql_variable_binding_type_id);
	}
	return tracker_sparql_variable_binding_type_id__volatile;
}


static void _g_object_unref0_ (gpointer var) {
#line 77 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	(var == NULL) ? NULL : (var = (g_object_unref (var), NULL));
#line 1172 "tracker-sparql-query.c"
}


static void _g_list_free__g_object_unref0_ (GList* self) {
#line 77 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_list_foreach (self, (GFunc) _g_object_unref0_, NULL);
#line 77 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_list_free (self);
#line 1181 "tracker-sparql-query.c"
}


TrackerSparqlVariableBindingList* tracker_sparql_variable_binding_list_construct (GType object_type) {
	TrackerSparqlVariableBindingList * self = NULL;
#line 76 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self = (TrackerSparqlVariableBindingList*) g_object_new (object_type, NULL);
#line 76 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return self;
#line 1191 "tracker-sparql-query.c"
}


TrackerSparqlVariableBindingList* tracker_sparql_variable_binding_list_new (void) {
#line 76 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return tracker_sparql_variable_binding_list_construct (TRACKER_SPARQL_TYPE_VARIABLE_BINDING_LIST);
#line 1198 "tracker-sparql-query.c"
}


static void tracker_sparql_variable_binding_list_class_init (TrackerSparqlVariableBindingListClass * klass) {
#line 76 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	tracker_sparql_variable_binding_list_parent_class = g_type_class_peek_parent (klass);
#line 76 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	G_OBJECT_CLASS (klass)->finalize = tracker_sparql_variable_binding_list_finalize;
#line 1207 "tracker-sparql-query.c"
}


static void tracker_sparql_variable_binding_list_instance_init (TrackerSparqlVariableBindingList * self) {
}


static void tracker_sparql_variable_binding_list_finalize (GObject * obj) {
	TrackerSparqlVariableBindingList * self;
#line 76 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, TRACKER_SPARQL_TYPE_VARIABLE_BINDING_LIST, TrackerSparqlVariableBindingList);
#line 77 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	__g_list_free__g_object_unref0_0 (self->list);
#line 76 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	G_OBJECT_CLASS (tracker_sparql_variable_binding_list_parent_class)->finalize (obj);
#line 1223 "tracker-sparql-query.c"
}


GType tracker_sparql_variable_binding_list_get_type (void) {
	static volatile gsize tracker_sparql_variable_binding_list_type_id__volatile = 0;
	if (g_once_init_enter (&tracker_sparql_variable_binding_list_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (TrackerSparqlVariableBindingListClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) tracker_sparql_variable_binding_list_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (TrackerSparqlVariableBindingList), 0, (GInstanceInitFunc) tracker_sparql_variable_binding_list_instance_init, NULL };
		GType tracker_sparql_variable_binding_list_type_id;
		tracker_sparql_variable_binding_list_type_id = g_type_register_static (G_TYPE_OBJECT, "TrackerSparqlVariableBindingList", &g_define_type_info, 0);
		g_once_init_leave (&tracker_sparql_variable_binding_list_type_id__volatile, tracker_sparql_variable_binding_list_type_id);
	}
	return tracker_sparql_variable_binding_list_type_id__volatile;
}


TrackerSparqlVariable* tracker_sparql_variable_construct (GType object_type, const gchar* name, gint index) {
	TrackerSparqlVariable * self = NULL;
	const gchar* _tmp0_;
	gint _tmp1_;
	gint _tmp2_;
	gchar* _tmp3_;
	const gchar* _tmp4_;
	gchar* _tmp5_;
	gchar* _tmp6_;
#line 87 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_val_if_fail (name != NULL, NULL);
#line 87 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self = (TrackerSparqlVariable*) g_object_new (object_type, NULL);
#line 88 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp0_ = name;
#line 88 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	tracker_sparql_variable_set_name (self, _tmp0_);
#line 89 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp1_ = index;
#line 89 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	tracker_sparql_variable_set_index (self, _tmp1_);
#line 90 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp2_ = index;
#line 90 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp3_ = g_strdup_printf ("%d_u", _tmp2_);
#line 90 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_free0 (self->priv->sql_identifier);
#line 90 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self->priv->sql_identifier = _tmp3_;
#line 91 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp4_ = self->priv->sql_identifier;
#line 91 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp5_ = g_strdup_printf ("\"%s\"", _tmp4_);
#line 91 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp6_ = _tmp5_;
#line 91 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	tracker_sparql_variable_set_sql_expression (self, _tmp6_);
#line 91 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_free0 (_tmp6_);
#line 87 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return self;
#line 1280 "tracker-sparql-query.c"
}


TrackerSparqlVariable* tracker_sparql_variable_new (const gchar* name, gint index) {
#line 87 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return tracker_sparql_variable_construct (TRACKER_SPARQL_TYPE_VARIABLE, name, index);
#line 1287 "tracker-sparql-query.c"
}


gchar* tracker_sparql_variable_get_extra_sql_expression (TrackerSparqlVariable* self, const gchar* suffix) {
	gchar* result = NULL;
	const gchar* _tmp0_;
	const gchar* _tmp1_;
	gchar* _tmp2_;
#line 94 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 94 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_val_if_fail (suffix != NULL, NULL);
#line 95 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp0_ = self->priv->sql_identifier;
#line 95 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp1_ = suffix;
#line 95 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp2_ = g_strdup_printf ("\"%s:%s\"", _tmp0_, _tmp1_);
#line 95 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	result = _tmp2_;
#line 95 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return result;
#line 1310 "tracker-sparql-query.c"
}


gboolean tracker_sparql_variable_equal (TrackerSparqlVariable* a, TrackerSparqlVariable* b) {
	gboolean result = FALSE;
	TrackerSparqlVariable* _tmp0_;
	gint _tmp1_;
	TrackerSparqlVariable* _tmp2_;
	gint _tmp3_;
#line 98 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_val_if_fail (a != NULL, FALSE);
#line 98 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_val_if_fail (b != NULL, FALSE);
#line 99 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp0_ = a;
#line 99 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp1_ = _tmp0_->priv->_index;
#line 99 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp2_ = b;
#line 99 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp3_ = _tmp2_->priv->_index;
#line 99 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	result = _tmp1_ == _tmp3_;
#line 99 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return result;
#line 1336 "tracker-sparql-query.c"
}


guint tracker_sparql_variable_hash (TrackerSparqlVariable* variable) {
	guint result = 0U;
	TrackerSparqlVariable* _tmp0_;
	gint _tmp1_;
#line 102 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_val_if_fail (variable != NULL, 0U);
#line 103 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp0_ = variable;
#line 103 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp1_ = _tmp0_->priv->_index;
#line 103 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	result = (guint) _tmp1_;
#line 103 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return result;
#line 1354 "tracker-sparql-query.c"
}


const gchar* tracker_sparql_variable_get_name (TrackerSparqlVariable* self) {
	const gchar* result;
	const gchar* _tmp0_;
#line 81 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 81 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp0_ = self->priv->_name;
#line 81 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	result = _tmp0_;
#line 81 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return result;
#line 1369 "tracker-sparql-query.c"
}


static void tracker_sparql_variable_set_name (TrackerSparqlVariable* self, const gchar* value) {
#line 81 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_if_fail (self != NULL);
#line 81 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (g_strcmp0 (value, tracker_sparql_variable_get_name (self)) != 0) {
#line 1378 "tracker-sparql-query.c"
		const gchar* _tmp0_;
		gchar* _tmp1_;
#line 81 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp0_ = value;
#line 81 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp1_ = g_strdup (_tmp0_);
#line 81 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_g_free0 (self->priv->_name);
#line 81 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		self->priv->_name = _tmp1_;
#line 81 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		g_object_notify ((GObject *) self, "name");
#line 1391 "tracker-sparql-query.c"
	}
}


gint tracker_sparql_variable_get_index (TrackerSparqlVariable* self) {
	gint result;
	gint _tmp0_;
#line 82 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 82 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp0_ = self->priv->_index;
#line 82 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	result = _tmp0_;
#line 82 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return result;
#line 1407 "tracker-sparql-query.c"
}


static void tracker_sparql_variable_set_index (TrackerSparqlVariable* self, gint value) {
#line 82 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_if_fail (self != NULL);
#line 82 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (tracker_sparql_variable_get_index (self) != value) {
#line 1416 "tracker-sparql-query.c"
		gint _tmp0_;
#line 82 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp0_ = value;
#line 82 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		self->priv->_index = _tmp0_;
#line 82 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		g_object_notify ((GObject *) self, "index");
#line 1424 "tracker-sparql-query.c"
	}
}


const gchar* tracker_sparql_variable_get_sql_expression (TrackerSparqlVariable* self) {
	const gchar* result;
	const gchar* _tmp0_;
#line 83 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 83 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp0_ = self->priv->_sql_expression;
#line 83 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	result = _tmp0_;
#line 83 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return result;
#line 1440 "tracker-sparql-query.c"
}


static void tracker_sparql_variable_set_sql_expression (TrackerSparqlVariable* self, const gchar* value) {
#line 83 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_if_fail (self != NULL);
#line 83 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (g_strcmp0 (value, tracker_sparql_variable_get_sql_expression (self)) != 0) {
#line 1449 "tracker-sparql-query.c"
		const gchar* _tmp0_;
		gchar* _tmp1_;
#line 83 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp0_ = value;
#line 83 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp1_ = g_strdup (_tmp0_);
#line 83 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_g_free0 (self->priv->_sql_expression);
#line 83 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		self->priv->_sql_expression = _tmp1_;
#line 83 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		g_object_notify ((GObject *) self, "sql-expression");
#line 1462 "tracker-sparql-query.c"
	}
}


static void tracker_sparql_variable_class_init (TrackerSparqlVariableClass * klass) {
#line 80 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	tracker_sparql_variable_parent_class = g_type_class_peek_parent (klass);
#line 80 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_type_class_add_private (klass, sizeof (TrackerSparqlVariablePrivate));
#line 80 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_tracker_sparql_variable_get_property;
#line 80 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_tracker_sparql_variable_set_property;
#line 80 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	G_OBJECT_CLASS (klass)->finalize = tracker_sparql_variable_finalize;
#line 80 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), TRACKER_SPARQL_VARIABLE_NAME, g_param_spec_string ("name", "name", "name", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 80 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), TRACKER_SPARQL_VARIABLE_INDEX, g_param_spec_int ("index", "index", "index", G_MININT, G_MAXINT, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 80 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), TRACKER_SPARQL_VARIABLE_SQL_EXPRESSION, g_param_spec_string ("sql-expression", "sql-expression", "sql-expression", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 1484 "tracker-sparql-query.c"
}


static void tracker_sparql_variable_instance_init (TrackerSparqlVariable * self) {
#line 80 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self->priv = TRACKER_SPARQL_VARIABLE_GET_PRIVATE (self);
#line 1491 "tracker-sparql-query.c"
}


static void tracker_sparql_variable_finalize (GObject * obj) {
	TrackerSparqlVariable * self;
#line 80 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, TRACKER_SPARQL_TYPE_VARIABLE, TrackerSparqlVariable);
#line 81 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_free0 (self->priv->_name);
#line 83 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_free0 (self->priv->_sql_expression);
#line 84 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_object_unref0 (self->binding);
#line 85 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_free0 (self->priv->sql_identifier);
#line 80 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	G_OBJECT_CLASS (tracker_sparql_variable_parent_class)->finalize (obj);
#line 1509 "tracker-sparql-query.c"
}


GType tracker_sparql_variable_get_type (void) {
	static volatile gsize tracker_sparql_variable_type_id__volatile = 0;
	if (g_once_init_enter (&tracker_sparql_variable_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (TrackerSparqlVariableClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) tracker_sparql_variable_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (TrackerSparqlVariable), 0, (GInstanceInitFunc) tracker_sparql_variable_instance_init, NULL };
		GType tracker_sparql_variable_type_id;
		tracker_sparql_variable_type_id = g_type_register_static (G_TYPE_OBJECT, "TrackerSparqlVariable", &g_define_type_info, 0);
		g_once_init_leave (&tracker_sparql_variable_type_id__volatile, tracker_sparql_variable_type_id);
	}
	return tracker_sparql_variable_type_id__volatile;
}


static void _vala_tracker_sparql_variable_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	TrackerSparqlVariable * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, TRACKER_SPARQL_TYPE_VARIABLE, TrackerSparqlVariable);
#line 80 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	switch (property_id) {
#line 80 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		case TRACKER_SPARQL_VARIABLE_NAME:
#line 80 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		g_value_set_string (value, tracker_sparql_variable_get_name (self));
#line 80 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		break;
#line 80 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		case TRACKER_SPARQL_VARIABLE_INDEX:
#line 80 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		g_value_set_int (value, tracker_sparql_variable_get_index (self));
#line 80 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		break;
#line 80 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		case TRACKER_SPARQL_VARIABLE_SQL_EXPRESSION:
#line 80 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		g_value_set_string (value, tracker_sparql_variable_get_sql_expression (self));
#line 80 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		break;
#line 1548 "tracker-sparql-query.c"
		default:
#line 80 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 80 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		break;
#line 1554 "tracker-sparql-query.c"
	}
}


static void _vala_tracker_sparql_variable_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
	TrackerSparqlVariable * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, TRACKER_SPARQL_TYPE_VARIABLE, TrackerSparqlVariable);
#line 80 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	switch (property_id) {
#line 80 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		case TRACKER_SPARQL_VARIABLE_NAME:
#line 80 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		tracker_sparql_variable_set_name (self, g_value_get_string (value));
#line 80 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		break;
#line 80 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		case TRACKER_SPARQL_VARIABLE_INDEX:
#line 80 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		tracker_sparql_variable_set_index (self, g_value_get_int (value));
#line 80 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		break;
#line 80 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		case TRACKER_SPARQL_VARIABLE_SQL_EXPRESSION:
#line 80 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		tracker_sparql_variable_set_sql_expression (self, g_value_get_string (value));
#line 80 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		break;
#line 1582 "tracker-sparql-query.c"
		default:
#line 80 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 80 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		break;
#line 1588 "tracker-sparql-query.c"
	}
}


static gpointer _tracker_sparql_context_ref0 (gpointer self) {
#line 127 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return self ? tracker_sparql_context_ref (self) : NULL;
#line 1596 "tracker-sparql-query.c"
}


static guint _tracker_sparql_variable_hash_ghash_func (gconstpointer key) {
	guint result;
	result = tracker_sparql_variable_hash ((TrackerSparqlVariable*) key);
#line 128 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return result;
#line 1605 "tracker-sparql-query.c"
}


static gboolean _tracker_sparql_variable_equal_gequal_func (gconstpointer a, gconstpointer b) {
	gboolean result;
	result = tracker_sparql_variable_equal ((TrackerSparqlVariable*) a, (TrackerSparqlVariable*) b);
#line 128 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return result;
#line 1614 "tracker-sparql-query.c"
}


static gpointer _g_hash_table_ref0 (gpointer self) {
#line 135 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return self ? g_hash_table_ref (self) : NULL;
#line 1621 "tracker-sparql-query.c"
}


TrackerSparqlContext* tracker_sparql_context_construct (GType object_type, TrackerSparqlQuery* query, TrackerSparqlContext* parent_context) {
	TrackerSparqlContext* self = NULL;
	TrackerSparqlQuery* _tmp0_;
	TrackerSparqlContext* _tmp1_;
	TrackerSparqlContext* _tmp2_;
	GDestroyNotify _tmp3_;
	GHashTable* _tmp4_;
	TrackerSparqlContext* _tmp5_;
#line 125 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_val_if_fail (query != NULL, NULL);
#line 125 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self = (TrackerSparqlContext*) g_type_create_instance (object_type);
#line 126 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp0_ = query;
#line 126 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self->query = _tmp0_;
#line 127 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp1_ = parent_context;
#line 127 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp2_ = _tracker_sparql_context_ref0 (_tmp1_);
#line 127 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tracker_sparql_context_unref0 (self->parent_context);
#line 127 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self->parent_context = _tmp2_;
#line 128 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp3_ = g_object_unref;
#line 128 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp4_ = g_hash_table_new_full (_tracker_sparql_variable_hash_ghash_func, _tracker_sparql_variable_equal_gequal_func, _tmp3_, NULL);
#line 128 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_hash_table_unref0 (self->var_set);
#line 128 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self->var_set = _tmp4_;
#line 130 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp5_ = parent_context;
#line 130 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (_tmp5_ == NULL) {
#line 1661 "tracker-sparql-query.c"
		GDestroyNotify _tmp6_;
		GHashTable* _tmp7_;
		GHashFunc _tmp8_;
		GEqualFunc _tmp9_;
		GDestroyNotify _tmp10_;
		GDestroyNotify _tmp11_;
		GHashTable* _tmp12_;
		GDestroyNotify _tmp13_;
		GDestroyNotify _tmp14_;
		GHashTable* _tmp15_;
#line 131 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp6_ = g_object_unref;
#line 131 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp7_ = g_hash_table_new_full (_tracker_sparql_variable_hash_ghash_func, _tracker_sparql_variable_equal_gequal_func, _tmp6_, NULL);
#line 131 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_g_hash_table_unref0 (self->select_var_set);
#line 131 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		self->select_var_set = _tmp7_;
#line 132 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp8_ = g_str_hash;
#line 132 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp9_ = g_str_equal;
#line 132 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp10_ = g_free;
#line 132 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp11_ = g_object_unref;
#line 132 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp12_ = g_hash_table_new_full (_tmp8_, _tmp9_, _tmp10_, _tmp11_);
#line 132 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_g_hash_table_unref0 (self->var_map);
#line 132 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		self->var_map = _tmp12_;
#line 133 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp13_ = g_object_unref;
#line 133 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp14_ = g_object_unref;
#line 133 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp15_ = g_hash_table_new_full (_tracker_sparql_variable_hash_ghash_func, _tracker_sparql_variable_equal_gequal_func, _tmp13_, _tmp14_);
#line 133 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_g_hash_table_unref0 (self->predicate_variable_map);
#line 133 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		self->predicate_variable_map = _tmp15_;
#line 1704 "tracker-sparql-query.c"
	} else {
		TrackerSparqlContext* _tmp16_;
		GHashTable* _tmp17_;
		GHashTable* _tmp18_;
		TrackerSparqlContext* _tmp19_;
		GHashTable* _tmp20_;
		GHashTable* _tmp21_;
		TrackerSparqlContext* _tmp22_;
		GHashTable* _tmp23_;
		GHashTable* _tmp24_;
#line 135 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp16_ = parent_context;
#line 135 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp17_ = _tmp16_->select_var_set;
#line 135 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp18_ = _g_hash_table_ref0 (_tmp17_);
#line 135 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_g_hash_table_unref0 (self->select_var_set);
#line 135 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		self->select_var_set = _tmp18_;
#line 136 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp19_ = parent_context;
#line 136 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp20_ = _tmp19_->var_map;
#line 136 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp21_ = _g_hash_table_ref0 (_tmp20_);
#line 136 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_g_hash_table_unref0 (self->var_map);
#line 136 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		self->var_map = _tmp21_;
#line 137 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp22_ = parent_context;
#line 137 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp23_ = _tmp22_->predicate_variable_map;
#line 137 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp24_ = _g_hash_table_ref0 (_tmp23_);
#line 137 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_g_hash_table_unref0 (self->predicate_variable_map);
#line 137 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		self->predicate_variable_map = _tmp24_;
#line 1745 "tracker-sparql-query.c"
	}
#line 125 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return self;
#line 1749 "tracker-sparql-query.c"
}


TrackerSparqlContext* tracker_sparql_context_new (TrackerSparqlQuery* query, TrackerSparqlContext* parent_context) {
#line 125 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return tracker_sparql_context_construct (TRACKER_SPARQL_TYPE_CONTEXT, query, parent_context);
#line 1756 "tracker-sparql-query.c"
}


TrackerSparqlContext* tracker_sparql_context_construct_subquery (GType object_type, TrackerSparqlQuery* query, TrackerSparqlContext* parent_context) {
	TrackerSparqlContext* self = NULL;
	TrackerSparqlQuery* _tmp0_;
	TrackerSparqlContext* _tmp1_;
	TrackerSparqlContext* _tmp2_;
	GDestroyNotify _tmp3_;
	GHashTable* _tmp4_;
	GDestroyNotify _tmp5_;
	GHashTable* _tmp6_;
	TrackerSparqlContext* _tmp7_;
	GHashTable* _tmp8_;
	GHashTable* _tmp9_;
	GDestroyNotify _tmp10_;
	GDestroyNotify _tmp11_;
	GHashTable* _tmp12_;
#line 141 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_val_if_fail (query != NULL, NULL);
#line 141 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_val_if_fail (parent_context != NULL, NULL);
#line 141 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self = (TrackerSparqlContext*) g_type_create_instance (object_type);
#line 142 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp0_ = query;
#line 142 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self->query = _tmp0_;
#line 143 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp1_ = parent_context;
#line 143 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp2_ = _tracker_sparql_context_ref0 (_tmp1_);
#line 143 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tracker_sparql_context_unref0 (self->parent_context);
#line 143 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self->parent_context = _tmp2_;
#line 144 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp3_ = g_object_unref;
#line 144 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp4_ = g_hash_table_new_full (_tracker_sparql_variable_hash_ghash_func, _tracker_sparql_variable_equal_gequal_func, _tmp3_, NULL);
#line 144 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_hash_table_unref0 (self->var_set);
#line 144 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self->var_set = _tmp4_;
#line 146 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp5_ = g_object_unref;
#line 146 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp6_ = g_hash_table_new_full (_tracker_sparql_variable_hash_ghash_func, _tracker_sparql_variable_equal_gequal_func, _tmp5_, NULL);
#line 146 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_hash_table_unref0 (self->select_var_set);
#line 146 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self->select_var_set = _tmp6_;
#line 147 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp7_ = parent_context;
#line 147 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp8_ = _tmp7_->var_map;
#line 147 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp9_ = _g_hash_table_ref0 (_tmp8_);
#line 147 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_hash_table_unref0 (self->var_map);
#line 147 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self->var_map = _tmp9_;
#line 148 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp10_ = g_object_unref;
#line 148 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp11_ = g_object_unref;
#line 148 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp12_ = g_hash_table_new_full (_tracker_sparql_variable_hash_ghash_func, _tracker_sparql_variable_equal_gequal_func, _tmp10_, _tmp11_);
#line 148 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_hash_table_unref0 (self->predicate_variable_map);
#line 148 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self->predicate_variable_map = _tmp12_;
#line 149 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self->scalar_subquery = TRUE;
#line 141 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return self;
#line 1833 "tracker-sparql-query.c"
}


TrackerSparqlContext* tracker_sparql_context_new_subquery (TrackerSparqlQuery* query, TrackerSparqlContext* parent_context) {
#line 141 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return tracker_sparql_context_construct_subquery (TRACKER_SPARQL_TYPE_CONTEXT, query, parent_context);
#line 1840 "tracker-sparql-query.c"
}


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


TrackerSparqlVariable* tracker_sparql_context_get_variable (TrackerSparqlContext* self, const gchar* name) {
	TrackerSparqlVariable* result = NULL;
	TrackerSparqlVariable* _result_ = NULL;
	GHashTable* _tmp0_;
	const gchar* _tmp1_;
	gconstpointer _tmp2_;
	TrackerSparqlVariable* _tmp3_;
	TrackerSparqlVariable* _tmp16_;
#line 152 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 152 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_val_if_fail (name != NULL, NULL);
#line 153 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp0_ = self->var_map;
#line 153 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp1_ = name;
#line 153 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp2_ = g_hash_table_lookup (_tmp0_, _tmp1_);
#line 153 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_result_ = (TrackerSparqlVariable*) _tmp2_;
#line 154 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp3_ = _result_;
#line 154 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (_tmp3_ == NULL) {
#line 1875 "tracker-sparql-query.c"
		TrackerSparqlVariable* variable = NULL;
		const gchar* _tmp4_;
		TrackerSparqlQuery* _tmp5_;
		TrackerSparqlQuery* _tmp6_;
		gint _tmp7_;
		gint _tmp8_;
		TrackerSparqlVariable* _tmp9_;
		GHashTable* _tmp10_;
		const gchar* _tmp11_;
		gchar* _tmp12_;
		TrackerSparqlVariable* _tmp13_;
		TrackerSparqlVariable* _tmp14_;
		TrackerSparqlVariable* _tmp15_;
#line 155 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp4_ = name;
#line 155 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp5_ = self->query;
#line 155 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp6_ = self->query;
#line 155 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp7_ = _tmp6_->last_var_index;
#line 155 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp6_->last_var_index = _tmp7_ + 1;
#line 155 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp8_ = _tmp6_->last_var_index;
#line 155 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp9_ = tracker_sparql_variable_new (_tmp4_, _tmp8_);
#line 155 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		variable = _tmp9_;
#line 156 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp10_ = self->var_map;
#line 156 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp11_ = name;
#line 156 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp12_ = g_strdup (_tmp11_);
#line 156 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp13_ = variable;
#line 156 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp14_ = _g_object_ref0 (_tmp13_);
#line 156 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		g_hash_table_insert (_tmp10_, _tmp12_, _tmp14_);
#line 158 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp15_ = variable;
#line 158 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_result_ = _tmp15_;
#line 154 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_g_object_unref0 (variable);
#line 1923 "tracker-sparql-query.c"
	}
#line 160 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp16_ = _result_;
#line 160 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	result = _tmp16_;
#line 160 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return result;
#line 1931 "tracker-sparql-query.c"
}


static void tracker_sparql_value_context_init (GValue* value) {
#line 107 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	value->data[0].v_pointer = NULL;
#line 1938 "tracker-sparql-query.c"
}


static void tracker_sparql_value_context_free_value (GValue* value) {
#line 107 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (value->data[0].v_pointer) {
#line 107 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		tracker_sparql_context_unref (value->data[0].v_pointer);
#line 1947 "tracker-sparql-query.c"
	}
}


static void tracker_sparql_value_context_copy_value (const GValue* src_value, GValue* dest_value) {
#line 107 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (src_value->data[0].v_pointer) {
#line 107 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		dest_value->data[0].v_pointer = tracker_sparql_context_ref (src_value->data[0].v_pointer);
#line 1957 "tracker-sparql-query.c"
	} else {
#line 107 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		dest_value->data[0].v_pointer = NULL;
#line 1961 "tracker-sparql-query.c"
	}
}


static gpointer tracker_sparql_value_context_peek_pointer (const GValue* value) {
#line 107 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return value->data[0].v_pointer;
#line 1969 "tracker-sparql-query.c"
}


static gchar* tracker_sparql_value_context_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 107 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (collect_values[0].v_pointer) {
#line 1976 "tracker-sparql-query.c"
		TrackerSparqlContext * object;
		object = collect_values[0].v_pointer;
#line 107 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (object->parent_instance.g_class == NULL) {
#line 107 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
#line 1983 "tracker-sparql-query.c"
		} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 107 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
#line 1987 "tracker-sparql-query.c"
		}
#line 107 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		value->data[0].v_pointer = tracker_sparql_context_ref (object);
#line 1991 "tracker-sparql-query.c"
	} else {
#line 107 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		value->data[0].v_pointer = NULL;
#line 1995 "tracker-sparql-query.c"
	}
#line 107 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return NULL;
#line 1999 "tracker-sparql-query.c"
}


static gchar* tracker_sparql_value_context_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
	TrackerSparqlContext ** object_p;
	object_p = collect_values[0].v_pointer;
#line 107 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (!object_p) {
#line 107 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
#line 2010 "tracker-sparql-query.c"
	}
#line 107 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (!value->data[0].v_pointer) {
#line 107 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		*object_p = NULL;
#line 2016 "tracker-sparql-query.c"
	} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 107 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		*object_p = value->data[0].v_pointer;
#line 2020 "tracker-sparql-query.c"
	} else {
#line 107 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		*object_p = tracker_sparql_context_ref (value->data[0].v_pointer);
#line 2024 "tracker-sparql-query.c"
	}
#line 107 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return NULL;
#line 2028 "tracker-sparql-query.c"
}


GParamSpec* tracker_sparql_param_spec_context (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
	TrackerSparqlParamSpecContext* spec;
#line 107 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_val_if_fail (g_type_is_a (object_type, TRACKER_SPARQL_TYPE_CONTEXT), NULL);
#line 107 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
#line 107 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	G_PARAM_SPEC (spec)->value_type = object_type;
#line 107 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return G_PARAM_SPEC (spec);
#line 2042 "tracker-sparql-query.c"
}


gpointer tracker_sparql_value_get_context (const GValue* value) {
#line 107 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TRACKER_SPARQL_TYPE_CONTEXT), NULL);
#line 107 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return value->data[0].v_pointer;
#line 2051 "tracker-sparql-query.c"
}


void tracker_sparql_value_set_context (GValue* value, gpointer v_object) {
	TrackerSparqlContext * old;
#line 107 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TRACKER_SPARQL_TYPE_CONTEXT));
#line 107 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	old = value->data[0].v_pointer;
#line 107 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (v_object) {
#line 107 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TRACKER_SPARQL_TYPE_CONTEXT));
#line 107 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 107 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		value->data[0].v_pointer = v_object;
#line 107 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		tracker_sparql_context_ref (value->data[0].v_pointer);
#line 2071 "tracker-sparql-query.c"
	} else {
#line 107 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		value->data[0].v_pointer = NULL;
#line 2075 "tracker-sparql-query.c"
	}
#line 107 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (old) {
#line 107 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		tracker_sparql_context_unref (old);
#line 2081 "tracker-sparql-query.c"
	}
}


void tracker_sparql_value_take_context (GValue* value, gpointer v_object) {
	TrackerSparqlContext * old;
#line 107 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TRACKER_SPARQL_TYPE_CONTEXT));
#line 107 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	old = value->data[0].v_pointer;
#line 107 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (v_object) {
#line 107 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TRACKER_SPARQL_TYPE_CONTEXT));
#line 107 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 107 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		value->data[0].v_pointer = v_object;
#line 2100 "tracker-sparql-query.c"
	} else {
#line 107 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		value->data[0].v_pointer = NULL;
#line 2104 "tracker-sparql-query.c"
	}
#line 107 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (old) {
#line 107 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		tracker_sparql_context_unref (old);
#line 2110 "tracker-sparql-query.c"
	}
}


static void tracker_sparql_context_class_init (TrackerSparqlContextClass * klass) {
#line 107 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	tracker_sparql_context_parent_class = g_type_class_peek_parent (klass);
#line 107 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	((TrackerSparqlContextClass *) klass)->finalize = tracker_sparql_context_finalize;
#line 2120 "tracker-sparql-query.c"
}


static void tracker_sparql_context_instance_init (TrackerSparqlContext * self) {
#line 107 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self->ref_count = 1;
#line 2127 "tracker-sparql-query.c"
}


static void tracker_sparql_context_finalize (TrackerSparqlContext * obj) {
	TrackerSparqlContext * self;
#line 107 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, TRACKER_SPARQL_TYPE_CONTEXT, TrackerSparqlContext);
#line 107 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_signal_handlers_destroy (self);
#line 110 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tracker_sparql_context_unref0 (self->parent_context);
#line 113 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_hash_table_unref0 (self->var_set);
#line 115 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_hash_table_unref0 (self->var_map);
#line 117 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_hash_table_unref0 (self->select_var_set);
#line 120 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_hash_table_unref0 (self->predicate_variable_map);
#line 2147 "tracker-sparql-query.c"
}


GType tracker_sparql_context_get_type (void) {
	static volatile gsize tracker_sparql_context_type_id__volatile = 0;
	if (g_once_init_enter (&tracker_sparql_context_type_id__volatile)) {
		static const GTypeValueTable g_define_type_value_table = { tracker_sparql_value_context_init, tracker_sparql_value_context_free_value, tracker_sparql_value_context_copy_value, tracker_sparql_value_context_peek_pointer, "p", tracker_sparql_value_context_collect_value, "p", tracker_sparql_value_context_lcopy_value };
		static const GTypeInfo g_define_type_info = { sizeof (TrackerSparqlContextClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) tracker_sparql_context_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (TrackerSparqlContext), 0, (GInstanceInitFunc) tracker_sparql_context_instance_init, &g_define_type_value_table };
		static const GTypeFundamentalInfo g_define_type_fundamental_info = { (G_TYPE_FLAG_CLASSED | G_TYPE_FLAG_INSTANTIATABLE | G_TYPE_FLAG_DERIVABLE | G_TYPE_FLAG_DEEP_DERIVABLE) };
		GType tracker_sparql_context_type_id;
		tracker_sparql_context_type_id = g_type_register_fundamental (g_type_fundamental_next (), "TrackerSparqlContext", &g_define_type_info, &g_define_type_fundamental_info, 0);
		g_once_init_leave (&tracker_sparql_context_type_id__volatile, tracker_sparql_context_type_id);
	}
	return tracker_sparql_context_type_id__volatile;
}


gpointer tracker_sparql_context_ref (gpointer instance) {
	TrackerSparqlContext * self;
	self = instance;
#line 107 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_atomic_int_inc (&self->ref_count);
#line 107 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return instance;
#line 2172 "tracker-sparql-query.c"
}


void tracker_sparql_context_unref (gpointer instance) {
	TrackerSparqlContext * self;
	self = instance;
#line 107 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (g_atomic_int_dec_and_test (&self->ref_count)) {
#line 107 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		TRACKER_SPARQL_CONTEXT_GET_CLASS (self)->finalize (self);
#line 107 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		g_type_free_instance ((GTypeInstance *) self);
#line 2185 "tracker-sparql-query.c"
	}
}


TrackerSparqlSelectContext* tracker_sparql_select_context_construct (GType object_type, TrackerSparqlQuery* query, TrackerSparqlContext* parent_context) {
	TrackerSparqlSelectContext* self = NULL;
	TrackerSparqlQuery* _tmp0_;
	TrackerSparqlContext* _tmp1_;
#line 169 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_val_if_fail (query != NULL, NULL);
#line 170 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp0_ = query;
#line 170 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp1_ = parent_context;
#line 170 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self = (TrackerSparqlSelectContext*) tracker_sparql_context_construct (object_type, _tmp0_, _tmp1_);
#line 169 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return self;
#line 2204 "tracker-sparql-query.c"
}


TrackerSparqlSelectContext* tracker_sparql_select_context_new (TrackerSparqlQuery* query, TrackerSparqlContext* parent_context) {
#line 169 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return tracker_sparql_select_context_construct (TRACKER_SPARQL_TYPE_SELECT_CONTEXT, query, parent_context);
#line 2211 "tracker-sparql-query.c"
}


TrackerSparqlSelectContext* tracker_sparql_select_context_construct_subquery (GType object_type, TrackerSparqlQuery* query, TrackerSparqlContext* parent_context) {
	TrackerSparqlSelectContext* self = NULL;
	TrackerSparqlQuery* _tmp0_;
	TrackerSparqlContext* _tmp1_;
#line 173 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_val_if_fail (query != NULL, NULL);
#line 173 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_val_if_fail (parent_context != NULL, NULL);
#line 174 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp0_ = query;
#line 174 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp1_ = parent_context;
#line 174 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self = (TrackerSparqlSelectContext*) tracker_sparql_context_construct_subquery (object_type, _tmp0_, _tmp1_);
#line 173 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return self;
#line 2231 "tracker-sparql-query.c"
}


TrackerSparqlSelectContext* tracker_sparql_select_context_new_subquery (TrackerSparqlQuery* query, TrackerSparqlContext* parent_context) {
#line 173 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return tracker_sparql_select_context_construct_subquery (TRACKER_SPARQL_TYPE_SELECT_CONTEXT, query, parent_context);
#line 2238 "tracker-sparql-query.c"
}


static void tracker_sparql_select_context_class_init (TrackerSparqlSelectContextClass * klass) {
#line 164 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	tracker_sparql_select_context_parent_class = g_type_class_peek_parent (klass);
#line 164 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	((TrackerSparqlContextClass *) klass)->finalize = tracker_sparql_select_context_finalize;
#line 2247 "tracker-sparql-query.c"
}


static void tracker_sparql_select_context_instance_init (TrackerSparqlSelectContext * self) {
	TrackerPropertyType* _tmp0_;
	gchar** _tmp1_;
#line 166 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp0_ = g_new0 (TrackerPropertyType, 0);
#line 166 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self->types = _tmp0_;
#line 166 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self->types_length1 = 0;
#line 166 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self->_types_size_ = self->types_length1;
#line 167 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp1_ = g_new0 (gchar*, 0 + 1);
#line 167 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self->variable_names = _tmp1_;
#line 167 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self->variable_names_length1 = 0;
#line 167 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self->_variable_names_size_ = self->variable_names_length1;
#line 2270 "tracker-sparql-query.c"
}


static void tracker_sparql_select_context_finalize (TrackerSparqlContext * obj) {
	TrackerSparqlSelectContext * self;
#line 164 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, TRACKER_SPARQL_TYPE_SELECT_CONTEXT, TrackerSparqlSelectContext);
#line 166 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self->types = (g_free (self->types), NULL);
#line 167 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self->variable_names = (_vala_array_free (self->variable_names, self->variable_names_length1, (GDestroyNotify) g_free), NULL);
#line 164 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	TRACKER_SPARQL_CONTEXT_CLASS (tracker_sparql_select_context_parent_class)->finalize (obj);
#line 2284 "tracker-sparql-query.c"
}


GType tracker_sparql_select_context_get_type (void) {
	static volatile gsize tracker_sparql_select_context_type_id__volatile = 0;
	if (g_once_init_enter (&tracker_sparql_select_context_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (TrackerSparqlSelectContextClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) tracker_sparql_select_context_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (TrackerSparqlSelectContext), 0, (GInstanceInitFunc) tracker_sparql_select_context_instance_init, NULL };
		GType tracker_sparql_select_context_type_id;
		tracker_sparql_select_context_type_id = g_type_register_static (TRACKER_SPARQL_TYPE_CONTEXT, "TrackerSparqlSelectContext", &g_define_type_info, 0);
		g_once_init_leave (&tracker_sparql_select_context_type_id__volatile, tracker_sparql_select_context_type_id);
	}
	return tracker_sparql_select_context_type_id__volatile;
}


static void _g_free0_ (gpointer var) {
#line 184 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	var = (g_free (var), NULL);
#line 2303 "tracker-sparql-query.c"
}


TrackerSparqlSolution* tracker_sparql_solution_construct (GType object_type) {
	TrackerSparqlSolution* self = NULL;
	GHashFunc _tmp0_;
	GEqualFunc _tmp1_;
	GHashTable* _tmp2_;
	GPtrArray* _tmp3_;
#line 183 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self = (TrackerSparqlSolution*) g_type_create_instance (object_type);
#line 184 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp0_ = g_str_hash;
#line 184 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp1_ = g_str_equal;
#line 184 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp2_ = g_hash_table_new_full (_tmp0_, _tmp1_, _g_free0_, NULL);
#line 184 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_hash_table_unref0 (self->hash);
#line 184 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self->hash = _tmp2_;
#line 185 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp3_ = g_ptr_array_new_full ((guint) 0, _g_free0_);
#line 185 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_ptr_array_unref0 (self->values);
#line 185 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self->values = _tmp3_;
#line 183 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return self;
#line 2333 "tracker-sparql-query.c"
}


TrackerSparqlSolution* tracker_sparql_solution_new (void) {
#line 183 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return tracker_sparql_solution_construct (TRACKER_SPARQL_TYPE_SOLUTION);
#line 2340 "tracker-sparql-query.c"
}


gchar* tracker_sparql_solution_lookup (TrackerSparqlSolution* self, const gchar* variable_name) {
	gchar* result = NULL;
	gint variable_index = 0;
	GHashTable* _tmp0_;
	const gchar* _tmp1_;
	gconstpointer _tmp2_ = NULL;
	gboolean _tmp3_;
	GPtrArray* _tmp4_;
	gint _tmp5_;
	GHashTable* _tmp6_;
	guint _tmp7_;
	gint _tmp8_;
	gconstpointer _tmp9_;
	gchar* _tmp10_;
#line 188 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 188 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_val_if_fail (variable_name != NULL, NULL);
#line 190 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp0_ = self->hash;
#line 190 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp1_ = variable_name;
#line 190 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp3_ = g_hash_table_lookup_extended (_tmp0_, _tmp1_, NULL, &_tmp2_);
#line 190 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	variable_index = _tmp2_;
#line 190 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (!_tmp3_) {
#line 191 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		result = NULL;
#line 191 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		return result;
#line 2376 "tracker-sparql-query.c"
	}
#line 193 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp4_ = self->values;
#line 193 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp5_ = self->solution_index;
#line 193 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp6_ = self->hash;
#line 193 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp7_ = g_hash_table_size (_tmp6_);
#line 193 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp8_ = variable_index;
#line 193 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp9_ = g_ptr_array_index (_tmp4_, (_tmp5_ * _tmp7_) + _tmp8_);
#line 193 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp10_ = g_strdup ((const gchar*) _tmp9_);
#line 193 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	result = _tmp10_;
#line 193 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return result;
#line 2396 "tracker-sparql-query.c"
}


static void tracker_sparql_value_solution_init (GValue* value) {
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	value->data[0].v_pointer = NULL;
#line 2403 "tracker-sparql-query.c"
}


static void tracker_sparql_value_solution_free_value (GValue* value) {
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (value->data[0].v_pointer) {
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		tracker_sparql_solution_unref (value->data[0].v_pointer);
#line 2412 "tracker-sparql-query.c"
	}
}


static void tracker_sparql_value_solution_copy_value (const GValue* src_value, GValue* dest_value) {
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (src_value->data[0].v_pointer) {
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		dest_value->data[0].v_pointer = tracker_sparql_solution_ref (src_value->data[0].v_pointer);
#line 2422 "tracker-sparql-query.c"
	} else {
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		dest_value->data[0].v_pointer = NULL;
#line 2426 "tracker-sparql-query.c"
	}
}


static gpointer tracker_sparql_value_solution_peek_pointer (const GValue* value) {
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return value->data[0].v_pointer;
#line 2434 "tracker-sparql-query.c"
}


static gchar* tracker_sparql_value_solution_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (collect_values[0].v_pointer) {
#line 2441 "tracker-sparql-query.c"
		TrackerSparqlSolution * object;
		object = collect_values[0].v_pointer;
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (object->parent_instance.g_class == NULL) {
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
#line 2448 "tracker-sparql-query.c"
		} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
#line 2452 "tracker-sparql-query.c"
		}
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		value->data[0].v_pointer = tracker_sparql_solution_ref (object);
#line 2456 "tracker-sparql-query.c"
	} else {
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		value->data[0].v_pointer = NULL;
#line 2460 "tracker-sparql-query.c"
	}
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return NULL;
#line 2464 "tracker-sparql-query.c"
}


static gchar* tracker_sparql_value_solution_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
	TrackerSparqlSolution ** object_p;
	object_p = collect_values[0].v_pointer;
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (!object_p) {
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
#line 2475 "tracker-sparql-query.c"
	}
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (!value->data[0].v_pointer) {
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		*object_p = NULL;
#line 2481 "tracker-sparql-query.c"
	} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		*object_p = value->data[0].v_pointer;
#line 2485 "tracker-sparql-query.c"
	} else {
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		*object_p = tracker_sparql_solution_ref (value->data[0].v_pointer);
#line 2489 "tracker-sparql-query.c"
	}
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return NULL;
#line 2493 "tracker-sparql-query.c"
}


GParamSpec* tracker_sparql_param_spec_solution (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
	TrackerSparqlParamSpecSolution* spec;
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_val_if_fail (g_type_is_a (object_type, TRACKER_SPARQL_TYPE_SOLUTION), NULL);
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	G_PARAM_SPEC (spec)->value_type = object_type;
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return G_PARAM_SPEC (spec);
#line 2507 "tracker-sparql-query.c"
}


gpointer tracker_sparql_value_get_solution (const GValue* value) {
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TRACKER_SPARQL_TYPE_SOLUTION), NULL);
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return value->data[0].v_pointer;
#line 2516 "tracker-sparql-query.c"
}


void tracker_sparql_value_set_solution (GValue* value, gpointer v_object) {
	TrackerSparqlSolution * old;
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TRACKER_SPARQL_TYPE_SOLUTION));
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	old = value->data[0].v_pointer;
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (v_object) {
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TRACKER_SPARQL_TYPE_SOLUTION));
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		value->data[0].v_pointer = v_object;
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		tracker_sparql_solution_ref (value->data[0].v_pointer);
#line 2536 "tracker-sparql-query.c"
	} else {
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		value->data[0].v_pointer = NULL;
#line 2540 "tracker-sparql-query.c"
	}
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (old) {
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		tracker_sparql_solution_unref (old);
#line 2546 "tracker-sparql-query.c"
	}
}


void tracker_sparql_value_take_solution (GValue* value, gpointer v_object) {
	TrackerSparqlSolution * old;
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TRACKER_SPARQL_TYPE_SOLUTION));
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	old = value->data[0].v_pointer;
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (v_object) {
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TRACKER_SPARQL_TYPE_SOLUTION));
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		value->data[0].v_pointer = v_object;
#line 2565 "tracker-sparql-query.c"
	} else {
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		value->data[0].v_pointer = NULL;
#line 2569 "tracker-sparql-query.c"
	}
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (old) {
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		tracker_sparql_solution_unref (old);
#line 2575 "tracker-sparql-query.c"
	}
}


static void tracker_sparql_solution_class_init (TrackerSparqlSolutionClass * klass) {
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	tracker_sparql_solution_parent_class = g_type_class_peek_parent (klass);
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	((TrackerSparqlSolutionClass *) klass)->finalize = tracker_sparql_solution_finalize;
#line 2585 "tracker-sparql-query.c"
}


static void tracker_sparql_solution_instance_init (TrackerSparqlSolution * self) {
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self->ref_count = 1;
#line 2592 "tracker-sparql-query.c"
}


static void tracker_sparql_solution_finalize (TrackerSparqlSolution * obj) {
	TrackerSparqlSolution * self;
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, TRACKER_SPARQL_TYPE_SOLUTION, TrackerSparqlSolution);
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_signal_handlers_destroy (self);
#line 179 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_hash_table_unref0 (self->hash);
#line 180 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_ptr_array_unref0 (self->values);
#line 2606 "tracker-sparql-query.c"
}


GType tracker_sparql_solution_get_type (void) {
	static volatile gsize tracker_sparql_solution_type_id__volatile = 0;
	if (g_once_init_enter (&tracker_sparql_solution_type_id__volatile)) {
		static const GTypeValueTable g_define_type_value_table = { tracker_sparql_value_solution_init, tracker_sparql_value_solution_free_value, tracker_sparql_value_solution_copy_value, tracker_sparql_value_solution_peek_pointer, "p", tracker_sparql_value_solution_collect_value, "p", tracker_sparql_value_solution_lcopy_value };
		static const GTypeInfo g_define_type_info = { sizeof (TrackerSparqlSolutionClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) tracker_sparql_solution_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (TrackerSparqlSolution), 0, (GInstanceInitFunc) tracker_sparql_solution_instance_init, &g_define_type_value_table };
		static const GTypeFundamentalInfo g_define_type_fundamental_info = { (G_TYPE_FLAG_CLASSED | G_TYPE_FLAG_INSTANTIATABLE | G_TYPE_FLAG_DERIVABLE | G_TYPE_FLAG_DEEP_DERIVABLE) };
		GType tracker_sparql_solution_type_id;
		tracker_sparql_solution_type_id = g_type_register_fundamental (g_type_fundamental_next (), "TrackerSparqlSolution", &g_define_type_info, &g_define_type_fundamental_info, 0);
		g_once_init_leave (&tracker_sparql_solution_type_id__volatile, tracker_sparql_solution_type_id);
	}
	return tracker_sparql_solution_type_id__volatile;
}


gpointer tracker_sparql_solution_ref (gpointer instance) {
	TrackerSparqlSolution * self;
	self = instance;
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_atomic_int_inc (&self->ref_count);
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return instance;
#line 2631 "tracker-sparql-query.c"
}


void tracker_sparql_solution_unref (gpointer instance) {
	TrackerSparqlSolution * self;
	self = instance;
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (g_atomic_int_dec_and_test (&self->ref_count)) {
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		TRACKER_SPARQL_SOLUTION_GET_CLASS (self)->finalize (self);
#line 178 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		g_type_free_instance ((GTypeInstance *) self);
#line 2644 "tracker-sparql-query.c"
	}
}


TrackerSparqlQuery* tracker_sparql_query_construct (GType object_type, const gchar* query) {
	TrackerSparqlQuery * self = NULL;
	TrackerSparqlQueryTokenInfo* _tmp0_;
	GHashFunc _tmp1_;
	GEqualFunc _tmp2_;
	GDestroyNotify _tmp3_;
	GDestroyNotify _tmp4_;
	GHashTable* _tmp5_;
	guchar* _tmp6_;
	guchar* _tmp7_;
	gint _tmp7__length1;
	const gchar* _tmp8_;
	gchar* _tmp9_;
	TrackerSparqlExpression* _tmp10_;
	TrackerSparqlPattern* _tmp11_;
#line 250 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_val_if_fail (query != NULL, NULL);
#line 250 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self = (TrackerSparqlQuery*) g_object_new (object_type, NULL);
#line 251 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	tracker_sparql_query_set_no_cache (self, FALSE);
#line 252 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp0_ = g_new0 (TrackerSparqlQueryTokenInfo, TRACKER_SPARQL_QUERY_BUFFER_SIZE);
#line 252 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self->priv->tokens = (g_free (self->priv->tokens), NULL);
#line 252 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self->priv->tokens = _tmp0_;
#line 252 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self->priv->tokens_length1 = TRACKER_SPARQL_QUERY_BUFFER_SIZE;
#line 252 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self->priv->_tokens_size_ = self->priv->tokens_length1;
#line 253 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp1_ = g_str_hash;
#line 253 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp2_ = g_str_equal;
#line 253 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp3_ = g_free;
#line 253 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp4_ = g_free;
#line 253 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp5_ = g_hash_table_new_full (_tmp1_, _tmp2_, _tmp3_, _tmp4_);
#line 253 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_hash_table_unref0 (self->priv->prefix_map);
#line 253 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self->priv->prefix_map = _tmp5_;
#line 255 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp6_ = g_new0 (guchar, 16);
#line 255 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self->priv->base_uuid = (g_free (self->priv->base_uuid), NULL);
#line 255 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self->priv->base_uuid = _tmp6_;
#line 255 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self->priv->base_uuid_length1 = 16;
#line 255 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self->priv->_base_uuid_size_ = self->priv->base_uuid_length1;
#line 256 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp7_ = self->priv->base_uuid;
#line 256 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp7__length1 = self->priv->base_uuid_length1;
#line 256 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	uuid_generate (_tmp7_);
#line 258 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp8_ = query;
#line 258 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp9_ = g_strdup (_tmp8_);
#line 258 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_free0 (self->priv->query_string);
#line 258 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self->priv->query_string = _tmp9_;
#line 260 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp10_ = tracker_sparql_expression_new (self);
#line 260 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_object_unref0 (self->expression);
#line 260 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self->expression = _tmp10_;
#line 261 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp11_ = tracker_sparql_pattern_new (self);
#line 261 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_object_unref0 (self->pattern);
#line 261 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self->pattern = _tmp11_;
#line 250 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return self;
#line 2732 "tracker-sparql-query.c"
}


TrackerSparqlQuery* tracker_sparql_query_new (const gchar* query) {
#line 250 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return tracker_sparql_query_construct (TRACKER_SPARQL_TYPE_QUERY, query);
#line 2739 "tracker-sparql-query.c"
}


TrackerSparqlQuery* tracker_sparql_query_construct_update (GType object_type, const gchar* query) {
	TrackerSparqlQuery * self = NULL;
	const gchar* _tmp0_;
#line 264 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_val_if_fail (query != NULL, NULL);
#line 265 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp0_ = query;
#line 265 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self = (TrackerSparqlQuery*) tracker_sparql_query_construct (object_type, _tmp0_);
#line 266 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self->priv->update_extensions = TRUE;
#line 264 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return self;
#line 2756 "tracker-sparql-query.c"
}


TrackerSparqlQuery* tracker_sparql_query_new_update (const gchar* query) {
#line 264 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return tracker_sparql_query_construct_update (TRACKER_SPARQL_TYPE_QUERY, query);
#line 2763 "tracker-sparql-query.c"
}


static glong string_strnlen (gchar* str, glong maxlen) {
	glong result = 0L;
	gchar* end = NULL;
	gchar* _tmp0_;
	glong _tmp1_;
	gchar* _tmp2_;
	gchar* _tmp3_;
#line 1322 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp0_ = str;
#line 1322 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp1_ = maxlen;
#line 1322 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp2_ = memchr (_tmp0_, 0, (gsize) _tmp1_);
#line 1322 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
	end = _tmp2_;
#line 1323 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp3_ = end;
#line 1323 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
	if (_tmp3_ == NULL) {
#line 2786 "tracker-sparql-query.c"
		glong _tmp4_;
#line 1324 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp4_ = maxlen;
#line 1324 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
		result = _tmp4_;
#line 1324 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
		return result;
#line 2794 "tracker-sparql-query.c"
	} else {
		gchar* _tmp5_;
		gchar* _tmp6_;
#line 1326 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp5_ = end;
#line 1326 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp6_ = str;
#line 1326 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
		result = (glong) (_tmp5_ - _tmp6_);
#line 1326 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
		return result;
#line 2806 "tracker-sparql-query.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 1333 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, NULL);
#line 1335 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp1_ = offset;
#line 1335 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
	if (_tmp1_ >= ((glong) 0)) {
#line 2830 "tracker-sparql-query.c"
		glong _tmp2_;
#line 1335 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp2_ = len;
#line 1335 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp0_ = _tmp2_ >= ((glong) 0);
#line 2836 "tracker-sparql-query.c"
	} else {
#line 1335 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp0_ = FALSE;
#line 2840 "tracker-sparql-query.c"
	}
#line 1335 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
	if (_tmp0_) {
#line 2844 "tracker-sparql-query.c"
		glong _tmp3_;
		glong _tmp4_;
		glong _tmp5_;
#line 1337 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp3_ = offset;
#line 1337 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp4_ = len;
#line 1337 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_);
#line 1337 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
		string_length = _tmp5_;
#line 2856 "tracker-sparql-query.c"
	} else {
		gint _tmp6_;
		gint _tmp7_;
#line 1339 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp6_ = strlen (self);
#line 1339 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp7_ = _tmp6_;
#line 1339 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
		string_length = (glong) _tmp7_;
#line 2866 "tracker-sparql-query.c"
	}
#line 1342 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp8_ = offset;
#line 1342 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
	if (_tmp8_ < ((glong) 0)) {
#line 2872 "tracker-sparql-query.c"
		glong _tmp9_;
		glong _tmp10_;
		glong _tmp11_;
#line 1343 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp9_ = string_length;
#line 1343 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp10_ = offset;
#line 1343 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
		offset = _tmp9_ + _tmp10_;
#line 1344 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp11_ = offset;
#line 1344 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
		g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL);
#line 2886 "tracker-sparql-query.c"
	} else {
		glong _tmp12_;
		glong _tmp13_;
#line 1346 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp12_ = offset;
#line 1346 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp13_ = string_length;
#line 1346 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
		g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL);
#line 2896 "tracker-sparql-query.c"
	}
#line 1348 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp14_ = len;
#line 1348 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
	if (_tmp14_ < ((glong) 0)) {
#line 2902 "tracker-sparql-query.c"
		glong _tmp15_;
		glong _tmp16_;
#line 1349 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp15_ = string_length;
#line 1349 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
		_tmp16_ = offset;
#line 1349 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
		len = _tmp15_ - _tmp16_;
#line 2911 "tracker-sparql-query.c"
	}
#line 1351 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp17_ = offset;
#line 1351 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp18_ = len;
#line 1351 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp19_ = string_length;
#line 1351 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
	g_return_val_if_fail ((_tmp17_ + _tmp18_) <= _tmp19_, NULL);
#line 1352 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp20_ = offset;
#line 1352 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp21_ = len;
#line 1352 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
	_tmp22_ = g_strndup (((gchar*) self) + _tmp20_, (gsize) _tmp21_);
#line 1352 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
	result = _tmp22_;
#line 1352 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
	return result;
#line 2931 "tracker-sparql-query.c"
}


static gchar* tracker_sparql_query_get_uuid_for_name (TrackerSparqlQuery* self, guchar* base_uuid, int base_uuid_length1, const gchar* name) {
	gchar* result = NULL;
	GChecksum* checksum = NULL;
	GChecksum* _tmp0_;
	guchar* _tmp1_;
	gint _tmp1__length1;
	const gchar* _tmp2_;
	gchar* sha1 = NULL;
	const gchar* _tmp3_;
	gchar* _tmp4_;
	gchar* _tmp5_;
	gchar* _tmp6_;
	gchar* _tmp7_;
	gchar* _tmp8_;
	gchar* _tmp9_;
	gchar* _tmp10_;
	gchar* _tmp11_;
	gchar* _tmp12_;
	gchar* _tmp13_;
	gchar* _tmp14_;
#line 269 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 269 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_val_if_fail (name != NULL, NULL);
#line 270 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp0_ = g_checksum_new (G_CHECKSUM_SHA1);
#line 270 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	checksum = _tmp0_;
#line 272 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp1_ = base_uuid;
#line 272 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp1__length1 = base_uuid_length1;
#line 272 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_checksum_update (checksum, _tmp1_, (gsize) 16);
#line 275 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp2_ = name;
#line 275 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_checksum_update (checksum, (guchar*) _tmp2_, (gsize) -1);
#line 277 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp3_ = g_checksum_get_string (checksum);
#line 277 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp4_ = g_strdup (_tmp3_);
#line 277 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	sha1 = _tmp4_;
#line 280 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp5_ = string_substring (sha1, (glong) 8, (glong) -1);
#line 280 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp6_ = _tmp5_;
#line 280 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp7_ = string_substring (sha1, (glong) 12, (glong) -1);
#line 280 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp8_ = _tmp7_;
#line 280 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp9_ = string_substring (sha1, (glong) 16, (glong) -1);
#line 280 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp10_ = _tmp9_;
#line 280 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp11_ = string_substring (sha1, (glong) 20, (glong) -1);
#line 280 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp12_ = _tmp11_;
#line 280 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp13_ = g_strdup_printf ("urn:uuid:%.8s-%.4s-%.4s-%.4s-%.12s", sha1, _tmp6_, _tmp8_, _tmp10_, _tmp12_);
#line 280 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp14_ = _tmp13_;
#line 280 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_free0 (_tmp12_);
#line 280 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_free0 (_tmp10_);
#line 280 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_free0 (_tmp8_);
#line 280 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_free0 (_tmp6_);
#line 280 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	result = _tmp14_;
#line 280 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_free0 (sha1);
#line 280 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_checksum_free0 (checksum);
#line 280 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return result;
#line 3015 "tracker-sparql-query.c"
}


gchar* tracker_sparql_query_generate_bnodeid (TrackerSparqlQuery* self, const gchar* user_bnodeid) {
	gchar* result = NULL;
	const gchar* _tmp0_;
#line 284 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 286 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp0_ = user_bnodeid;
#line 286 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (_tmp0_ == NULL) {
#line 3028 "tracker-sparql-query.c"
		gint _tmp1_;
		gint _tmp2_;
		gchar* _tmp3_;
#line 287 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp1_ = self->priv->bnodeid;
#line 287 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		self->priv->bnodeid = _tmp1_ + 1;
#line 287 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp2_ = self->priv->bnodeid;
#line 287 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp3_ = g_strdup_printf (":%d", _tmp2_);
#line 287 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		result = _tmp3_;
#line 287 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		return result;
#line 3044 "tracker-sparql-query.c"
	} else {
		gchar* uri = NULL;
		GHashTable* _tmp4_;
		guchar* _tmp10_;
		gint _tmp10__length1;
		const gchar* _tmp11_;
		gchar* _tmp12_;
		GHashTable* _tmp13_;
#line 289 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		uri = NULL;
#line 291 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp4_ = self->priv->blank_nodes;
#line 291 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (_tmp4_ != NULL) {
#line 3059 "tracker-sparql-query.c"
			GHashTable* _tmp5_;
			const gchar* _tmp6_;
			gconstpointer _tmp7_;
			gchar* _tmp8_;
			const gchar* _tmp9_;
#line 292 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp5_ = self->priv->blank_nodes;
#line 292 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp6_ = user_bnodeid;
#line 292 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp7_ = g_hash_table_lookup (_tmp5_, _tmp6_);
#line 292 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp8_ = g_strdup ((const gchar*) _tmp7_);
#line 292 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_free0 (uri);
#line 292 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			uri = _tmp8_;
#line 293 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp9_ = uri;
#line 293 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (_tmp9_ != NULL) {
#line 294 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				result = uri;
#line 294 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return result;
#line 3085 "tracker-sparql-query.c"
			}
		}
#line 298 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp10_ = self->priv->base_uuid;
#line 298 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp10__length1 = self->priv->base_uuid_length1;
#line 298 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp11_ = user_bnodeid;
#line 298 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp12_ = tracker_sparql_query_get_uuid_for_name (self, _tmp10_, _tmp10__length1, _tmp11_);
#line 298 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_g_free0 (uri);
#line 298 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		uri = _tmp12_;
#line 300 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp13_ = self->priv->blank_nodes;
#line 300 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (_tmp13_ != NULL) {
#line 3104 "tracker-sparql-query.c"
			GHashTable* _tmp21_;
			const gchar* _tmp22_;
			gchar* _tmp23_;
			const gchar* _tmp24_;
			gchar* _tmp25_;
#line 301 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			while (TRUE) {
#line 3112 "tracker-sparql-query.c"
				const gchar* _tmp14_;
				gint _tmp15_;
				guchar* new_base_uuid = NULL;
				guchar* _tmp16_;
				gint new_base_uuid_length1;
				gint _new_base_uuid_size_;
				guchar* _tmp17_;
				gint _tmp17__length1;
				guchar* _tmp18_;
				gint _tmp18__length1;
				const gchar* _tmp19_;
				gchar* _tmp20_;
#line 301 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp14_ = uri;
#line 301 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp15_ = tracker_data_query_resource_id (_tmp14_);
#line 301 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				if (!(_tmp15_ > 0)) {
#line 301 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					break;
#line 3133 "tracker-sparql-query.c"
				}
#line 303 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp16_ = g_new0 (guchar, 16);
#line 303 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				new_base_uuid = _tmp16_;
#line 303 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				new_base_uuid_length1 = 16;
#line 303 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_new_base_uuid_size_ = new_base_uuid_length1;
#line 304 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp17_ = new_base_uuid;
#line 304 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp17__length1 = new_base_uuid_length1;
#line 304 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				uuid_generate (_tmp17_);
#line 305 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp18_ = new_base_uuid;
#line 305 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp18__length1 = new_base_uuid_length1;
#line 305 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp19_ = user_bnodeid;
#line 305 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp20_ = tracker_sparql_query_get_uuid_for_name (self, _tmp18_, _tmp18__length1, _tmp19_);
#line 305 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_g_free0 (uri);
#line 305 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				uri = _tmp20_;
#line 301 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				new_base_uuid = (g_free (new_base_uuid), NULL);
#line 3163 "tracker-sparql-query.c"
			}
#line 308 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp21_ = self->priv->blank_nodes;
#line 308 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp22_ = user_bnodeid;
#line 308 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp23_ = g_strdup (_tmp22_);
#line 308 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp24_ = uri;
#line 308 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp25_ = g_strdup (_tmp24_);
#line 308 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_hash_table_insert (_tmp21_, _tmp23_, _tmp25_);
#line 3177 "tracker-sparql-query.c"
		}
#line 311 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		result = uri;
#line 311 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		return result;
#line 3183 "tracker-sparql-query.c"
	}
}


gboolean tracker_sparql_query_next (TrackerSparqlQuery* self, GError** error) {
	gboolean result = FALSE;
	gint _tmp0_;
	gint _tmp1_;
	gint _tmp2_;
	TrackerSparqlQueryTokenInfo* _tmp18_;
	gint _tmp18__length1;
	gint _tmp19_;
	TrackerSparqlQueryTokenInfo _tmp20_;
	TrackerSparqlTokenType _tmp21_;
	GError * _inner_error_ = NULL;
#line 315 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 316 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp0_ = self->priv->index;
#line 316 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self->priv->index = (_tmp0_ + 1) % TRACKER_SPARQL_QUERY_BUFFER_SIZE;
#line 317 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp1_ = self->priv->size;
#line 317 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self->priv->size = _tmp1_ - 1;
#line 318 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp2_ = self->priv->size;
#line 318 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (_tmp2_ <= 0) {
#line 3213 "tracker-sparql-query.c"
		TrackerSourceLocation begin = {0};
		TrackerSourceLocation end = {0};
		TrackerSparqlTokenType type = 0;
		TrackerSparqlScanner* _tmp3_;
		TrackerSourceLocation _tmp4_ = {0};
		TrackerSourceLocation _tmp5_ = {0};
		TrackerSparqlTokenType _tmp6_;
		TrackerSparqlQueryTokenInfo* _tmp9_;
		gint _tmp9__length1;
		gint _tmp10_;
		TrackerSparqlTokenType _tmp11_;
		TrackerSparqlQueryTokenInfo* _tmp12_;
		gint _tmp12__length1;
		gint _tmp13_;
		TrackerSourceLocation _tmp14_;
		TrackerSparqlQueryTokenInfo* _tmp15_;
		gint _tmp15__length1;
		gint _tmp16_;
		TrackerSourceLocation _tmp17_;
#line 320 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp3_ = self->priv->scanner;
#line 320 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp6_ = tracker_sparql_scanner_read_token (_tmp3_, &_tmp4_, &_tmp5_, &_inner_error_);
#line 320 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		begin = _tmp4_;
#line 320 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		end = _tmp5_;
#line 320 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		type = _tmp6_;
#line 320 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 320 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 3247 "tracker-sparql-query.c"
				gboolean _tmp7_ = FALSE;
#line 320 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_propagate_error (error, _inner_error_);
#line 320 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return _tmp7_;
#line 3253 "tracker-sparql-query.c"
			} else {
				gboolean _tmp8_ = FALSE;
#line 320 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 320 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_clear_error (&_inner_error_);
#line 320 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return _tmp8_;
#line 3262 "tracker-sparql-query.c"
			}
		}
#line 321 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp9_ = self->priv->tokens;
#line 321 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp9__length1 = self->priv->tokens_length1;
#line 321 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp10_ = self->priv->index;
#line 321 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp11_ = type;
#line 321 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp9_[_tmp10_].type = _tmp11_;
#line 322 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp12_ = self->priv->tokens;
#line 322 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp12__length1 = self->priv->tokens_length1;
#line 322 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp13_ = self->priv->index;
#line 322 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp14_ = begin;
#line 322 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp12_[_tmp13_].begin = _tmp14_;
#line 323 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp15_ = self->priv->tokens;
#line 323 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp15__length1 = self->priv->tokens_length1;
#line 323 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp16_ = self->priv->index;
#line 323 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp17_ = end;
#line 323 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp15_[_tmp16_].end = _tmp17_;
#line 324 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		self->priv->size = 1;
#line 3297 "tracker-sparql-query.c"
	}
#line 326 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp18_ = self->priv->tokens;
#line 326 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp18__length1 = self->priv->tokens_length1;
#line 326 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp19_ = self->priv->index;
#line 326 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp20_ = _tmp18_[_tmp19_];
#line 326 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp21_ = _tmp20_.type;
#line 326 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	result = _tmp21_ != TRACKER_SPARQL_TOKEN_TYPE_EOF;
#line 326 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return result;
#line 3313 "tracker-sparql-query.c"
}


TrackerSparqlTokenType tracker_sparql_query_current (TrackerSparqlQuery* self) {
	TrackerSparqlTokenType result = 0;
	TrackerSparqlQueryTokenInfo* _tmp0_;
	gint _tmp0__length1;
	gint _tmp1_;
	TrackerSparqlQueryTokenInfo _tmp2_;
	TrackerSparqlTokenType _tmp3_;
#line 329 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 330 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp0_ = self->priv->tokens;
#line 330 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp0__length1 = self->priv->tokens_length1;
#line 330 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp1_ = self->priv->index;
#line 330 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp2_ = _tmp0_[_tmp1_];
#line 330 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp3_ = _tmp2_.type;
#line 330 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	result = _tmp3_;
#line 330 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return result;
#line 3340 "tracker-sparql-query.c"
}


TrackerSparqlTokenType tracker_sparql_query_last (TrackerSparqlQuery* self) {
	TrackerSparqlTokenType result = 0;
	gint last_index = 0;
	gint _tmp0_;
	TrackerSparqlQueryTokenInfo* _tmp1_;
	gint _tmp1__length1;
	TrackerSparqlQueryTokenInfo _tmp2_;
	TrackerSparqlTokenType _tmp3_;
#line 333 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 334 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp0_ = self->priv->index;
#line 334 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	last_index = ((_tmp0_ + TRACKER_SPARQL_QUERY_BUFFER_SIZE) - 1) % TRACKER_SPARQL_QUERY_BUFFER_SIZE;
#line 335 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp1_ = self->priv->tokens;
#line 335 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp1__length1 = self->priv->tokens_length1;
#line 335 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp2_ = _tmp1_[last_index];
#line 335 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp3_ = _tmp2_.type;
#line 335 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	result = _tmp3_;
#line 335 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return result;
#line 3370 "tracker-sparql-query.c"
}


gboolean tracker_sparql_query_accept (TrackerSparqlQuery* self, TrackerSparqlTokenType type, GError** error) {
	gboolean result = FALSE;
	TrackerSparqlTokenType _tmp0_;
	TrackerSparqlTokenType _tmp1_;
	GError * _inner_error_ = NULL;
#line 338 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 339 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp0_ = tracker_sparql_query_current (self);
#line 339 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp1_ = type;
#line 339 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (_tmp0_ == _tmp1_) {
#line 340 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		tracker_sparql_query_next (self, &_inner_error_);
#line 340 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 340 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 3393 "tracker-sparql-query.c"
				gboolean _tmp2_ = FALSE;
#line 340 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_propagate_error (error, _inner_error_);
#line 340 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return _tmp2_;
#line 3399 "tracker-sparql-query.c"
			} else {
				gboolean _tmp3_ = FALSE;
#line 340 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 340 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_clear_error (&_inner_error_);
#line 340 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return _tmp3_;
#line 3408 "tracker-sparql-query.c"
			}
		}
#line 341 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		result = TRUE;
#line 341 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		return result;
#line 3415 "tracker-sparql-query.c"
	}
#line 343 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	result = FALSE;
#line 343 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return result;
#line 3421 "tracker-sparql-query.c"
}


GError* tracker_sparql_query_get_error (TrackerSparqlQuery* self, const gchar* msg) {
	GError* result = NULL;
	TrackerSparqlQueryTokenInfo* _tmp0_;
	gint _tmp0__length1;
	gint _tmp1_;
	TrackerSparqlQueryTokenInfo _tmp2_;
	TrackerSourceLocation _tmp3_;
	gint _tmp4_;
	TrackerSparqlQueryTokenInfo* _tmp5_;
	gint _tmp5__length1;
	gint _tmp6_;
	TrackerSparqlQueryTokenInfo _tmp7_;
	TrackerSourceLocation _tmp8_;
	gint _tmp9_;
	const gchar* _tmp10_;
	gchar* _tmp11_;
	gchar* _tmp12_;
	GError* _tmp13_;
	GError* _tmp14_;
#line 346 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 346 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_val_if_fail (msg != NULL, NULL);
#line 347 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp0_ = self->priv->tokens;
#line 347 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp0__length1 = self->priv->tokens_length1;
#line 347 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp1_ = self->priv->index;
#line 347 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp2_ = _tmp0_[_tmp1_];
#line 347 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp3_ = _tmp2_.begin;
#line 347 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp4_ = _tmp3_.line;
#line 347 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp5_ = self->priv->tokens;
#line 347 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp5__length1 = self->priv->tokens_length1;
#line 347 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp6_ = self->priv->index;
#line 347 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp7_ = _tmp5_[_tmp6_];
#line 347 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp8_ = _tmp7_.begin;
#line 347 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp9_ = _tmp8_.column;
#line 347 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp10_ = msg;
#line 347 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp11_ = g_strdup_printf ("%d.%d: syntax error, %s", _tmp4_, _tmp9_, _tmp10_);
#line 347 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp12_ = _tmp11_;
#line 347 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp13_ = g_error_new_literal (TRACKER_SPARQL_ERROR, TRACKER_SPARQL_ERROR_PARSE, _tmp12_);
#line 347 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp14_ = _tmp13_;
#line 347 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_free0 (_tmp12_);
#line 347 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	result = _tmp14_;
#line 347 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return result;
#line 3488 "tracker-sparql-query.c"
}


GError* tracker_sparql_query_get_internal_error (TrackerSparqlQuery* self, const gchar* msg) {
	GError* result = NULL;
	TrackerSparqlQueryTokenInfo* _tmp0_;
	gint _tmp0__length1;
	gint _tmp1_;
	TrackerSparqlQueryTokenInfo _tmp2_;
	TrackerSourceLocation _tmp3_;
	gint _tmp4_;
	TrackerSparqlQueryTokenInfo* _tmp5_;
	gint _tmp5__length1;
	gint _tmp6_;
	TrackerSparqlQueryTokenInfo _tmp7_;
	TrackerSourceLocation _tmp8_;
	gint _tmp9_;
	const gchar* _tmp10_;
	gchar* _tmp11_;
	gchar* _tmp12_;
	GError* _tmp13_;
	GError* _tmp14_;
#line 350 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 350 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_val_if_fail (msg != NULL, NULL);
#line 351 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp0_ = self->priv->tokens;
#line 351 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp0__length1 = self->priv->tokens_length1;
#line 351 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp1_ = self->priv->index;
#line 351 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp2_ = _tmp0_[_tmp1_];
#line 351 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp3_ = _tmp2_.begin;
#line 351 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp4_ = _tmp3_.line;
#line 351 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp5_ = self->priv->tokens;
#line 351 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp5__length1 = self->priv->tokens_length1;
#line 351 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp6_ = self->priv->index;
#line 351 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp7_ = _tmp5_[_tmp6_];
#line 351 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp8_ = _tmp7_.begin;
#line 351 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp9_ = _tmp8_.column;
#line 351 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp10_ = msg;
#line 351 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp11_ = g_strdup_printf ("%d.%d: %s", _tmp4_, _tmp9_, _tmp10_);
#line 351 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp12_ = _tmp11_;
#line 351 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp13_ = g_error_new_literal (TRACKER_SPARQL_ERROR, TRACKER_SPARQL_ERROR_INTERNAL, _tmp12_);
#line 351 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp14_ = _tmp13_;
#line 351 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_free0 (_tmp12_);
#line 351 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	result = _tmp14_;
#line 351 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return result;
#line 3555 "tracker-sparql-query.c"
}


gboolean tracker_sparql_query_expect (TrackerSparqlQuery* self, TrackerSparqlTokenType type, GError** error) {
	gboolean result = FALSE;
	gboolean _tmp0_ = FALSE;
	TrackerSparqlTokenType _tmp1_;
	gboolean _tmp2_;
	TrackerSparqlTokenType _tmp5_;
	const gchar* _tmp6_;
	gchar* _tmp7_;
	gchar* _tmp8_;
	GError* _tmp9_;
	GError* _tmp10_;
	GError * _inner_error_ = NULL;
#line 354 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 355 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp1_ = type;
#line 355 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp2_ = tracker_sparql_query_accept (self, _tmp1_, &_inner_error_);
#line 355 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp0_ = _tmp2_;
#line 355 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 355 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 3583 "tracker-sparql-query.c"
			gboolean _tmp3_ = FALSE;
#line 355 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_propagate_error (error, _inner_error_);
#line 355 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return _tmp3_;
#line 3589 "tracker-sparql-query.c"
		} else {
			gboolean _tmp4_ = FALSE;
#line 355 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 355 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_clear_error (&_inner_error_);
#line 355 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return _tmp4_;
#line 3598 "tracker-sparql-query.c"
		}
	}
#line 355 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (_tmp0_) {
#line 356 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		result = TRUE;
#line 356 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		return result;
#line 3607 "tracker-sparql-query.c"
	}
#line 359 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp5_ = type;
#line 359 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp6_ = tracker_sparql_token_type_to_string (_tmp5_);
#line 359 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp7_ = g_strdup_printf ("expected %s", _tmp6_);
#line 359 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp8_ = _tmp7_;
#line 359 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp9_ = tracker_sparql_query_get_error (self, _tmp8_);
#line 359 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp10_ = _tmp9_;
#line 359 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_free0 (_tmp8_);
#line 359 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_inner_error_ = _tmp10_;
#line 359 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 3627 "tracker-sparql-query.c"
		gboolean _tmp11_ = FALSE;
#line 359 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		g_propagate_error (error, _inner_error_);
#line 359 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		return _tmp11_;
#line 3633 "tracker-sparql-query.c"
	} else {
		gboolean _tmp12_ = FALSE;
#line 359 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 359 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		g_clear_error (&_inner_error_);
#line 359 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		return _tmp12_;
#line 3642 "tracker-sparql-query.c"
	}
}


void tracker_sparql_query_get_location (TrackerSparqlQuery* self, TrackerSourceLocation* result) {
	TrackerSparqlQueryTokenInfo* _tmp0_;
	gint _tmp0__length1;
	gint _tmp1_;
	TrackerSparqlQueryTokenInfo _tmp2_;
	TrackerSourceLocation _tmp3_;
#line 362 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_if_fail (self != NULL);
#line 363 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp0_ = self->priv->tokens;
#line 363 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp0__length1 = self->priv->tokens_length1;
#line 363 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp1_ = self->priv->index;
#line 363 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp2_ = _tmp0_[_tmp1_];
#line 363 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp3_ = _tmp2_.begin;
#line 363 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	*result = _tmp3_;
#line 363 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return;
#line 3669 "tracker-sparql-query.c"
}


void tracker_sparql_query_set_location (TrackerSparqlQuery* self, TrackerSourceLocation* location) {
	TrackerSparqlScanner* _tmp0_;
	TrackerSourceLocation _tmp1_;
	GError * _inner_error_ = NULL;
#line 366 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_if_fail (self != NULL);
#line 366 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_if_fail (location != NULL);
#line 367 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp0_ = self->priv->scanner;
#line 367 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp1_ = *location;
#line 367 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	tracker_sparql_scanner_seek (_tmp0_, &_tmp1_);
#line 368 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self->priv->size = 0;
#line 369 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self->priv->index = 0;
#line 3691 "tracker-sparql-query.c"
	{
#line 371 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		tracker_sparql_query_next (self, &_inner_error_);
#line 371 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 371 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 3699 "tracker-sparql-query.c"
				goto __catch2_tracker_sparql_error;
			}
#line 371 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_critical ("file %s: line %d: unexpected 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-query.vala"
			g_clear_error (&_inner_error_);
#line 371 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return;
#line 3708 "tracker-sparql-query.c"
		}
	}
	goto __finally2;
	__catch2_tracker_sparql_error:
	{
		GError* e = NULL;
#line 370 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		e = _inner_error_;
#line 370 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_inner_error_ = NULL;
#line 374 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		g_critical ("internal error: next in set_location failed");
#line 370 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_g_error_free0 (e);
#line 3723 "tracker-sparql-query.c"
	}
	__finally2:
#line 370 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 370 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 370 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		g_clear_error (&_inner_error_);
#line 370 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		return;
#line 3734 "tracker-sparql-query.c"
	}
}


gchar* tracker_sparql_query_get_last_string (TrackerSparqlQuery* self, gint strip) {
	gchar* result = NULL;
	gint last_index = 0;
	gint _tmp0_;
	TrackerSparqlQueryTokenInfo* _tmp1_;
	gint _tmp1__length1;
	TrackerSparqlQueryTokenInfo _tmp2_;
	TrackerSourceLocation _tmp3_;
	gchar* _tmp4_;
	gint _tmp5_;
	TrackerSparqlQueryTokenInfo* _tmp6_;
	gint _tmp6__length1;
	TrackerSparqlQueryTokenInfo _tmp7_;
	TrackerSourceLocation _tmp8_;
	gchar* _tmp9_;
	TrackerSparqlQueryTokenInfo* _tmp10_;
	gint _tmp10__length1;
	TrackerSparqlQueryTokenInfo _tmp11_;
	TrackerSourceLocation _tmp12_;
	gchar* _tmp13_;
	gint _tmp14_;
	gchar* _tmp15_;
#line 378 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 379 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp0_ = self->priv->index;
#line 379 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	last_index = ((_tmp0_ + TRACKER_SPARQL_QUERY_BUFFER_SIZE) - 1) % TRACKER_SPARQL_QUERY_BUFFER_SIZE;
#line 380 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp1_ = self->priv->tokens;
#line 380 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp1__length1 = self->priv->tokens_length1;
#line 380 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp2_ = _tmp1_[last_index];
#line 380 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp3_ = _tmp2_.begin;
#line 380 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp4_ = _tmp3_.pos;
#line 380 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp5_ = strip;
#line 380 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp6_ = self->priv->tokens;
#line 380 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp6__length1 = self->priv->tokens_length1;
#line 380 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp7_ = _tmp6_[last_index];
#line 380 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp8_ = _tmp7_.end;
#line 380 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp9_ = _tmp8_.pos;
#line 380 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp10_ = self->priv->tokens;
#line 380 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp10__length1 = self->priv->tokens_length1;
#line 380 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp11_ = _tmp10_[last_index];
#line 380 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp12_ = _tmp11_.begin;
#line 380 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp13_ = _tmp12_.pos;
#line 380 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp14_ = strip;
#line 380 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp15_ = string_substring ((const gchar*) (_tmp4_ + _tmp5_), (glong) 0, (glong) ((gint) ((_tmp9_ - _tmp13_) - (2 * _tmp14_))));
#line 380 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	result = _tmp15_;
#line 380 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return result;
#line 3807 "tracker-sparql-query.c"
}


static void tracker_sparql_query_parse_prologue (TrackerSparqlQuery* self, GError** error) {
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_;
	GError * _inner_error_ = NULL;
#line 383 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_if_fail (self != NULL);
#line 384 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp1_ = tracker_sparql_query_accept (self, TRACKER_SPARQL_TOKEN_TYPE_BASE, &_inner_error_);
#line 384 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp0_ = _tmp1_;
#line 384 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 384 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 384 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_propagate_error (error, _inner_error_);
#line 384 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return;
#line 3829 "tracker-sparql-query.c"
		} else {
#line 384 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 384 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_clear_error (&_inner_error_);
#line 384 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return;
#line 3837 "tracker-sparql-query.c"
		}
	}
#line 384 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (_tmp0_) {
#line 385 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		tracker_sparql_query_expect (self, TRACKER_SPARQL_TOKEN_TYPE_IRI_REF, &_inner_error_);
#line 385 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 385 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 385 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_propagate_error (error, _inner_error_);
#line 385 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return;
#line 3852 "tracker-sparql-query.c"
			} else {
#line 385 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_critical ("file %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-query.vala"
				g_clear_error (&_inner_error_);
#line 385 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return;
#line 3860 "tracker-sparql-query.c"
			}
		}
	}
#line 387 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	while (TRUE) {
#line 3866 "tracker-sparql-query.c"
		gboolean _tmp2_ = FALSE;
		gboolean _tmp3_;
		gchar* ns = NULL;
		gchar* _tmp4_;
		gboolean _tmp5_ = FALSE;
		gboolean _tmp6_;
		gchar* uri = NULL;
		gchar* _tmp8_;
		GHashTable* _tmp9_;
		const gchar* _tmp10_;
		gchar* _tmp11_;
		const gchar* _tmp12_;
		gchar* _tmp13_;
#line 387 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp3_ = tracker_sparql_query_accept (self, TRACKER_SPARQL_TOKEN_TYPE_PREFIX, &_inner_error_);
#line 387 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp2_ = _tmp3_;
#line 387 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 387 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 387 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_propagate_error (error, _inner_error_);
#line 387 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return;
#line 3892 "tracker-sparql-query.c"
			} else {
#line 387 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 387 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_clear_error (&_inner_error_);
#line 387 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return;
#line 3900 "tracker-sparql-query.c"
			}
		}
#line 387 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (!_tmp2_) {
#line 387 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			break;
#line 3907 "tracker-sparql-query.c"
		}
#line 388 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp4_ = g_strdup ("");
#line 388 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		ns = _tmp4_;
#line 389 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp6_ = tracker_sparql_query_accept (self, TRACKER_SPARQL_TOKEN_TYPE_PN_PREFIX, &_inner_error_);
#line 389 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp5_ = _tmp6_;
#line 389 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 389 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 389 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_propagate_error (error, _inner_error_);
#line 389 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_g_free0 (ns);
#line 389 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return;
#line 3927 "tracker-sparql-query.c"
			} else {
#line 389 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_g_free0 (ns);
#line 389 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 389 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_clear_error (&_inner_error_);
#line 389 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return;
#line 3937 "tracker-sparql-query.c"
			}
		}
#line 389 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (_tmp5_) {
#line 3942 "tracker-sparql-query.c"
			gchar* _tmp7_;
#line 390 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp7_ = tracker_sparql_query_get_last_string (self, 0);
#line 390 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_free0 (ns);
#line 390 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			ns = _tmp7_;
#line 3950 "tracker-sparql-query.c"
		}
#line 392 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		tracker_sparql_query_expect (self, TRACKER_SPARQL_TOKEN_TYPE_COLON, &_inner_error_);
#line 392 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 392 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 392 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_propagate_error (error, _inner_error_);
#line 392 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_g_free0 (ns);
#line 392 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return;
#line 3964 "tracker-sparql-query.c"
			} else {
#line 392 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_g_free0 (ns);
#line 392 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_critical ("file %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-query.vala"
				g_clear_error (&_inner_error_);
#line 392 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return;
#line 3974 "tracker-sparql-query.c"
			}
		}
#line 393 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		tracker_sparql_query_expect (self, TRACKER_SPARQL_TOKEN_TYPE_IRI_REF, &_inner_error_);
#line 393 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 393 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 393 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_propagate_error (error, _inner_error_);
#line 393 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_g_free0 (ns);
#line 393 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return;
#line 3989 "tracker-sparql-query.c"
			} else {
#line 393 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_g_free0 (ns);
#line 393 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_critical ("file %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-query.vala"
				g_clear_error (&_inner_error_);
#line 393 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return;
#line 3999 "tracker-sparql-query.c"
			}
		}
#line 394 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp8_ = tracker_sparql_query_get_last_string (self, 1);
#line 394 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		uri = _tmp8_;
#line 395 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp9_ = self->priv->prefix_map;
#line 395 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp10_ = ns;
#line 395 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp11_ = g_strdup (_tmp10_);
#line 395 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp12_ = uri;
#line 395 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp13_ = g_strdup (_tmp12_);
#line 395 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		g_hash_table_insert (_tmp9_, _tmp11_, _tmp13_);
#line 387 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_g_free0 (uri);
#line 387 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_g_free0 (ns);
#line 4022 "tracker-sparql-query.c"
	}
}


static void tracker_sparql_query_prepare_execute (TrackerSparqlQuery* self, GError** error) {
	gboolean _tmp0_;
	const gchar* _tmp1_;
	const gchar* _tmp2_;
	gint _tmp3_;
	gint _tmp4_;
	TrackerSparqlScanner* _tmp5_;
	GHashTable* _tmp6_;
	gchar* _tmp7_;
	gchar* _tmp8_;
	gint _tmp9_;
	TrackerNamespace** _tmp10_;
	GError * _inner_error_ = NULL;
#line 399 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_if_fail (self != NULL);
#line 400 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp0_ = self->priv->update_extensions;
#line 400 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_vala_assert (!_tmp0_, "!update_extensions");
#line 402 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp1_ = self->priv->query_string;
#line 402 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp2_ = self->priv->query_string;
#line 402 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp3_ = strlen (_tmp2_);
#line 402 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp4_ = _tmp3_;
#line 402 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp5_ = tracker_sparql_scanner_new ((gchar*) _tmp1_, (gsize) ((glong) _tmp4_));
#line 402 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_object_unref0 (self->priv->scanner);
#line 402 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self->priv->scanner = _tmp5_;
#line 403 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	tracker_sparql_query_next (self, &_inner_error_);
#line 403 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 403 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (((_inner_error_->domain == TRACKER_DB_INTERFACE_ERROR) || (_inner_error_->domain == TRACKER_SPARQL_ERROR)) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 403 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_propagate_error (error, _inner_error_);
#line 403 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return;
#line 4070 "tracker-sparql-query.c"
		} else {
#line 403 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 403 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_clear_error (&_inner_error_);
#line 403 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return;
#line 4078 "tracker-sparql-query.c"
		}
	}
#line 406 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp6_ = self->priv->prefix_map;
#line 406 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp7_ = g_strdup ("fn");
#line 406 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp8_ = g_strdup (TRACKER_SPARQL_QUERY_FN_NS);
#line 406 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_hash_table_insert (_tmp6_, _tmp7_, _tmp8_);
#line 408 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp10_ = tracker_ontologies_get_namespaces (&_tmp9_);
#line 4091 "tracker-sparql-query.c"
	{
		TrackerNamespace** ns_collection = NULL;
		gint ns_collection_length1 = 0;
		gint _ns_collection_size_ = 0;
		gint ns_it = 0;
#line 408 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		ns_collection = _tmp10_;
#line 408 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		ns_collection_length1 = _tmp9_;
#line 408 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		for (ns_it = 0; ns_it < _tmp9_; ns_it = ns_it + 1) {
#line 4103 "tracker-sparql-query.c"
			TrackerNamespace* _tmp11_;
			TrackerNamespace* ns = NULL;
#line 408 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp11_ = _g_object_ref0 (ns_collection[ns_it]);
#line 408 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			ns = _tmp11_;
#line 4110 "tracker-sparql-query.c"
			{
				TrackerNamespace* _tmp12_;
				const gchar* _tmp13_;
				const gchar* _tmp14_;
				GHashTable* _tmp18_;
				TrackerNamespace* _tmp19_;
				const gchar* _tmp20_;
				const gchar* _tmp21_;
				gchar* _tmp22_;
				TrackerNamespace* _tmp23_;
				const gchar* _tmp24_;
				const gchar* _tmp25_;
				gchar* _tmp26_;
#line 409 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp12_ = ns;
#line 409 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp13_ = tracker_namespace_get_prefix (_tmp12_);
#line 409 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp14_ = _tmp13_;
#line 409 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				if (_tmp14_ == NULL) {
#line 4132 "tracker-sparql-query.c"
					TrackerNamespace* _tmp15_;
					const gchar* _tmp16_;
					const gchar* _tmp17_;
#line 410 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp15_ = ns;
#line 410 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp16_ = tracker_namespace_get_uri (_tmp15_);
#line 410 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp17_ = _tmp16_;
#line 410 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_critical ("Namespace does not specify a prefix: %s", _tmp17_);
#line 411 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_g_object_unref0 (ns);
#line 411 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					continue;
#line 4148 "tracker-sparql-query.c"
				}
#line 413 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp18_ = self->priv->prefix_map;
#line 413 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp19_ = ns;
#line 413 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp20_ = tracker_namespace_get_prefix (_tmp19_);
#line 413 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp21_ = _tmp20_;
#line 413 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp22_ = g_strdup (_tmp21_);
#line 413 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp23_ = ns;
#line 413 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp24_ = tracker_namespace_get_uri (_tmp23_);
#line 413 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp25_ = _tmp24_;
#line 413 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp26_ = g_strdup (_tmp25_);
#line 413 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_hash_table_insert (_tmp18_, _tmp22_, _tmp26_);
#line 408 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_g_object_unref0 (ns);
#line 4172 "tracker-sparql-query.c"
			}
		}
	}
#line 416 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	tracker_sparql_query_parse_prologue (self, &_inner_error_);
#line 416 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 416 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (((_inner_error_->domain == TRACKER_DB_INTERFACE_ERROR) || (_inner_error_->domain == TRACKER_SPARQL_ERROR)) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 416 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_propagate_error (error, _inner_error_);
#line 416 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return;
#line 4186 "tracker-sparql-query.c"
		} else {
#line 416 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 416 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_clear_error (&_inner_error_);
#line 416 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return;
#line 4194 "tracker-sparql-query.c"
		}
	}
}


TrackerDBCursor* tracker_sparql_query_execute_cursor (TrackerSparqlQuery* self, GError** error) {
	TrackerDBCursor* result = NULL;
	TrackerSparqlTokenType _tmp0_;
	GError * _inner_error_ = NULL;
#line 420 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 422 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	tracker_sparql_query_prepare_execute (self, &_inner_error_);
#line 422 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 422 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (((_inner_error_->domain == TRACKER_DB_INTERFACE_ERROR) || (_inner_error_->domain == TRACKER_SPARQL_ERROR)) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 422 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_propagate_error (error, _inner_error_);
#line 422 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return NULL;
#line 4216 "tracker-sparql-query.c"
		} else {
#line 422 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_critical ("file %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-query.vala"
			g_clear_error (&_inner_error_);
#line 422 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return NULL;
#line 4224 "tracker-sparql-query.c"
		}
	}
#line 424 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp0_ = tracker_sparql_query_current (self);
#line 424 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	switch (_tmp0_) {
#line 424 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_SELECT:
#line 4233 "tracker-sparql-query.c"
		{
			TrackerDBCursor* _tmp1_ = NULL;
			TrackerDBCursor* _tmp2_;
			TrackerDBCursor* _tmp3_;
#line 426 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp2_ = tracker_sparql_query_execute_select_cursor (self, &_inner_error_);
#line 426 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp1_ = _tmp2_;
#line 426 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 426 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				if (((_inner_error_->domain == TRACKER_DB_INTERFACE_ERROR) || (_inner_error_->domain == TRACKER_SPARQL_ERROR)) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 426 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_propagate_error (error, _inner_error_);
#line 426 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					return NULL;
#line 4250 "tracker-sparql-query.c"
				} else {
#line 426 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_critical ("file %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-query.vala"
					g_clear_error (&_inner_error_);
#line 426 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					return NULL;
#line 4258 "tracker-sparql-query.c"
				}
			}
#line 426 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp3_ = _tmp1_;
#line 426 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp1_ = NULL;
#line 426 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			result = _tmp3_;
#line 426 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_object_unref0 (_tmp1_);
#line 426 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return result;
#line 4271 "tracker-sparql-query.c"
		}
#line 424 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_CONSTRUCT:
#line 4275 "tracker-sparql-query.c"
		{
			GError* _tmp4_;
#line 428 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp4_ = tracker_sparql_query_get_internal_error (self, "CONSTRUCT is not supported");
#line 428 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_inner_error_ = _tmp4_;
#line 428 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (((_inner_error_->domain == TRACKER_DB_INTERFACE_ERROR) || (_inner_error_->domain == TRACKER_SPARQL_ERROR)) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 428 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_propagate_error (error, _inner_error_);
#line 428 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return NULL;
#line 4288 "tracker-sparql-query.c"
			} else {
#line 428 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 428 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_clear_error (&_inner_error_);
#line 428 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return NULL;
#line 4296 "tracker-sparql-query.c"
			}
		}
#line 424 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_DESCRIBE:
#line 4301 "tracker-sparql-query.c"
		{
			GError* _tmp5_;
#line 430 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp5_ = tracker_sparql_query_get_internal_error (self, "DESCRIBE is not supported");
#line 430 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_inner_error_ = _tmp5_;
#line 430 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (((_inner_error_->domain == TRACKER_DB_INTERFACE_ERROR) || (_inner_error_->domain == TRACKER_SPARQL_ERROR)) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 430 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_propagate_error (error, _inner_error_);
#line 430 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return NULL;
#line 4314 "tracker-sparql-query.c"
			} else {
#line 430 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 430 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_clear_error (&_inner_error_);
#line 430 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return NULL;
#line 4322 "tracker-sparql-query.c"
			}
		}
#line 424 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_ASK:
#line 4327 "tracker-sparql-query.c"
		{
			TrackerDBCursor* _tmp6_ = NULL;
			TrackerDBCursor* _tmp7_;
			TrackerDBCursor* _tmp8_;
#line 432 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp7_ = tracker_sparql_query_execute_ask_cursor (self, &_inner_error_);
#line 432 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp6_ = _tmp7_;
#line 432 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 432 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				if (((_inner_error_->domain == TRACKER_DB_INTERFACE_ERROR) || (_inner_error_->domain == TRACKER_SPARQL_ERROR)) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 432 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_propagate_error (error, _inner_error_);
#line 432 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					return NULL;
#line 4344 "tracker-sparql-query.c"
				} else {
#line 432 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 432 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_clear_error (&_inner_error_);
#line 432 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					return NULL;
#line 4352 "tracker-sparql-query.c"
				}
			}
#line 432 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp8_ = _tmp6_;
#line 432 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp6_ = NULL;
#line 432 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			result = _tmp8_;
#line 432 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_object_unref0 (_tmp6_);
#line 432 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return result;
#line 4365 "tracker-sparql-query.c"
		}
#line 424 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_INSERT:
#line 424 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_DELETE:
#line 424 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		case TRACKER_SPARQL_TOKEN_TYPE_DROP:
#line 4373 "tracker-sparql-query.c"
		{
			GError* _tmp9_;
#line 436 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp9_ = tracker_sparql_query_get_error (self, "INSERT and DELETE are not supported in query mode");
#line 436 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_inner_error_ = _tmp9_;
#line 436 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (((_inner_error_->domain == TRACKER_DB_INTERFACE_ERROR) || (_inner_error_->domain == TRACKER_SPARQL_ERROR)) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 436 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_propagate_error (error, _inner_error_);
#line 436 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return NULL;
#line 4386 "tracker-sparql-query.c"
			} else {
#line 436 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 436 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_clear_error (&_inner_error_);
#line 436 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return NULL;
#line 4394 "tracker-sparql-query.c"
			}
		}
		default:
		{
			GError* _tmp10_;
#line 438 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp10_ = tracker_sparql_query_get_error (self, "expected SELECT or ASK");
#line 438 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_inner_error_ = _tmp10_;
#line 438 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (((_inner_error_->domain == TRACKER_DB_INTERFACE_ERROR) || (_inner_error_->domain == TRACKER_SPARQL_ERROR)) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 438 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_propagate_error (error, _inner_error_);
#line 438 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return NULL;
#line 4410 "tracker-sparql-query.c"
			} else {
#line 438 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_critical ("file %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-query.vala"
				g_clear_error (&_inner_error_);
#line 438 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return NULL;
#line 4418 "tracker-sparql-query.c"
			}
		}
	}
}


GVariant* tracker_sparql_query_execute_update (TrackerSparqlQuery* self, gboolean blank, GError** error) {
	GVariant* result = NULL;
	GVariant* _result_ = NULL;
	gboolean _tmp0_;
	const gchar* _tmp1_;
	const gchar* _tmp2_;
	gint _tmp3_;
	gint _tmp4_;
	TrackerSparqlScanner* _tmp5_;
	GHashTable* _tmp6_;
	gchar* _tmp7_;
	gchar* _tmp8_;
	gint _tmp9_;
	TrackerNamespace** _tmp10_;
	GVariantBuilder* ublank_nodes = NULL;
	gboolean _tmp27_;
	gboolean _tmp38_;
	GError * _inner_error_ = NULL;
#line 442 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 443 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_result_ = NULL;
#line 444 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp0_ = self->priv->update_extensions;
#line 444 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_vala_assert (_tmp0_, "update_extensions");
#line 446 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp1_ = self->priv->query_string;
#line 446 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp2_ = self->priv->query_string;
#line 446 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp3_ = strlen (_tmp2_);
#line 446 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp4_ = _tmp3_;
#line 446 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp5_ = tracker_sparql_scanner_new ((gchar*) _tmp1_, (gsize) ((glong) _tmp4_));
#line 446 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_object_unref0 (self->priv->scanner);
#line 446 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self->priv->scanner = _tmp5_;
#line 447 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	tracker_sparql_query_next (self, &_inner_error_);
#line 447 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 447 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		g_propagate_error (error, _inner_error_);
#line 447 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_g_variant_unref0 (_result_);
#line 447 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		return NULL;
#line 4475 "tracker-sparql-query.c"
	}
#line 450 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp6_ = self->priv->prefix_map;
#line 450 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp7_ = g_strdup ("fn");
#line 450 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp8_ = g_strdup (TRACKER_SPARQL_QUERY_FN_NS);
#line 450 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_hash_table_insert (_tmp6_, _tmp7_, _tmp8_);
#line 452 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp10_ = tracker_ontologies_get_namespaces (&_tmp9_);
#line 4487 "tracker-sparql-query.c"
	{
		TrackerNamespace** ns_collection = NULL;
		gint ns_collection_length1 = 0;
		gint _ns_collection_size_ = 0;
		gint ns_it = 0;
#line 452 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		ns_collection = _tmp10_;
#line 452 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		ns_collection_length1 = _tmp9_;
#line 452 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		for (ns_it = 0; ns_it < _tmp9_; ns_it = ns_it + 1) {
#line 4499 "tracker-sparql-query.c"
			TrackerNamespace* _tmp11_;
			TrackerNamespace* ns = NULL;
#line 452 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp11_ = _g_object_ref0 (ns_collection[ns_it]);
#line 452 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			ns = _tmp11_;
#line 4506 "tracker-sparql-query.c"
			{
				TrackerNamespace* _tmp12_;
				const gchar* _tmp13_;
				const gchar* _tmp14_;
				GHashTable* _tmp18_;
				TrackerNamespace* _tmp19_;
				const gchar* _tmp20_;
				const gchar* _tmp21_;
				gchar* _tmp22_;
				TrackerNamespace* _tmp23_;
				const gchar* _tmp24_;
				const gchar* _tmp25_;
				gchar* _tmp26_;
#line 453 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp12_ = ns;
#line 453 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp13_ = tracker_namespace_get_prefix (_tmp12_);
#line 453 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp14_ = _tmp13_;
#line 453 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				if (_tmp14_ == NULL) {
#line 4528 "tracker-sparql-query.c"
					TrackerNamespace* _tmp15_;
					const gchar* _tmp16_;
					const gchar* _tmp17_;
#line 454 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp15_ = ns;
#line 454 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp16_ = tracker_namespace_get_uri (_tmp15_);
#line 454 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp17_ = _tmp16_;
#line 454 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_critical ("Namespace does not specify a prefix: %s", _tmp17_);
#line 455 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_g_object_unref0 (ns);
#line 455 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					continue;
#line 4544 "tracker-sparql-query.c"
				}
#line 457 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp18_ = self->priv->prefix_map;
#line 457 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp19_ = ns;
#line 457 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp20_ = tracker_namespace_get_prefix (_tmp19_);
#line 457 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp21_ = _tmp20_;
#line 457 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp22_ = g_strdup (_tmp21_);
#line 457 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp23_ = ns;
#line 457 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp24_ = tracker_namespace_get_uri (_tmp23_);
#line 457 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp25_ = _tmp24_;
#line 457 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp26_ = g_strdup (_tmp25_);
#line 457 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_hash_table_insert (_tmp18_, _tmp22_, _tmp26_);
#line 452 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_g_object_unref0 (ns);
#line 4568 "tracker-sparql-query.c"
			}
		}
	}
#line 460 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	tracker_sparql_query_parse_prologue (self, &_inner_error_);
#line 460 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 460 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		g_propagate_error (error, _inner_error_);
#line 460 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_g_variant_unref0 (_result_);
#line 460 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		return NULL;
#line 4582 "tracker-sparql-query.c"
	}
#line 463 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	ublank_nodes = NULL;
#line 465 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp27_ = blank;
#line 465 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (_tmp27_) {
#line 4590 "tracker-sparql-query.c"
		GVariantBuilder* _tmp28_;
#line 466 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp28_ = g_variant_builder_new ((const GVariantType*) "aaa{ss}");
#line 466 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_g_variant_builder_unref0 (ublank_nodes);
#line 466 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		ublank_nodes = _tmp28_;
#line 4598 "tracker-sparql-query.c"
	}
#line 469 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	while (TRUE) {
#line 4602 "tracker-sparql-query.c"
		TrackerSparqlTokenType _tmp29_;
		TrackerSparqlTokenType _tmp30_;
#line 469 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp29_ = tracker_sparql_query_current (self);
#line 469 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (!(_tmp29_ != TRACKER_SPARQL_TOKEN_TYPE_EOF)) {
#line 469 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			break;
#line 4611 "tracker-sparql-query.c"
		}
#line 470 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp30_ = tracker_sparql_query_current (self);
#line 470 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		switch (_tmp30_) {
#line 470 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			case TRACKER_SPARQL_TOKEN_TYPE_WITH:
#line 470 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			case TRACKER_SPARQL_TOKEN_TYPE_INSERT:
#line 470 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			case TRACKER_SPARQL_TOKEN_TYPE_DELETE:
#line 4623 "tracker-sparql-query.c"
			{
				gboolean _tmp31_;
#line 474 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp31_ = blank;
#line 474 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				if (_tmp31_) {
#line 4630 "tracker-sparql-query.c"
					GVariantBuilder* _tmp32_;
					GVariantBuilder* _tmp33_;
					GVariantBuilder* _tmp34_;
#line 475 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp32_ = ublank_nodes;
#line 475 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_variant_builder_open (_tmp32_, (const GVariantType*) "aa{ss}");
#line 476 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp33_ = ublank_nodes;
#line 476 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					tracker_sparql_query_execute_insert_delete (self, _tmp33_, &_inner_error_);
#line 476 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 476 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						g_propagate_error (error, _inner_error_);
#line 476 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_variant_builder_unref0 (ublank_nodes);
#line 476 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_variant_unref0 (_result_);
#line 476 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						return NULL;
#line 4652 "tracker-sparql-query.c"
					}
#line 477 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp34_ = ublank_nodes;
#line 477 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_variant_builder_close (_tmp34_);
#line 4658 "tracker-sparql-query.c"
				} else {
#line 479 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					tracker_sparql_query_execute_insert_delete (self, NULL, &_inner_error_);
#line 479 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 479 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						g_propagate_error (error, _inner_error_);
#line 479 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_variant_builder_unref0 (ublank_nodes);
#line 479 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_variant_unref0 (_result_);
#line 479 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						return NULL;
#line 4672 "tracker-sparql-query.c"
					}
				}
#line 481 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				break;
#line 4677 "tracker-sparql-query.c"
			}
#line 470 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			case TRACKER_SPARQL_TOKEN_TYPE_DROP:
#line 4681 "tracker-sparql-query.c"
			{
				GError* _tmp35_;
#line 483 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp35_ = tracker_sparql_query_get_internal_error (self, "DROP GRAPH is not supported");
#line 483 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_inner_error_ = _tmp35_;
#line 483 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_propagate_error (error, _inner_error_);
#line 483 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_g_variant_builder_unref0 (ublank_nodes);
#line 483 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_g_variant_unref0 (_result_);
#line 483 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return NULL;
#line 4696 "tracker-sparql-query.c"
			}
#line 470 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			case TRACKER_SPARQL_TOKEN_TYPE_SELECT:
#line 470 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			case TRACKER_SPARQL_TOKEN_TYPE_CONSTRUCT:
#line 470 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			case TRACKER_SPARQL_TOKEN_TYPE_DESCRIBE:
#line 470 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			case TRACKER_SPARQL_TOKEN_TYPE_ASK:
#line 4706 "tracker-sparql-query.c"
			{
				GError* _tmp36_;
#line 488 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp36_ = tracker_sparql_query_get_error (self, "SELECT, CONSTRUCT, DESCRIBE, and ASK are not supported in update mode");
#line 488 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_inner_error_ = _tmp36_;
#line 488 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_propagate_error (error, _inner_error_);
#line 488 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_g_variant_builder_unref0 (ublank_nodes);
#line 488 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_g_variant_unref0 (_result_);
#line 488 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return NULL;
#line 4721 "tracker-sparql-query.c"
			}
			default:
			{
				GError* _tmp37_;
#line 490 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp37_ = tracker_sparql_query_get_error (self, "expected INSERT or DELETE");
#line 490 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_inner_error_ = _tmp37_;
#line 490 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_propagate_error (error, _inner_error_);
#line 490 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_g_variant_builder_unref0 (ublank_nodes);
#line 490 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_g_variant_unref0 (_result_);
#line 490 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return NULL;
#line 4738 "tracker-sparql-query.c"
			}
		}
#line 495 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		tracker_sparql_query_accept (self, TRACKER_SPARQL_TOKEN_TYPE_SEMICOLON, &_inner_error_);
#line 495 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 495 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_propagate_error (error, _inner_error_);
#line 495 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_variant_builder_unref0 (ublank_nodes);
#line 495 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_variant_unref0 (_result_);
#line 495 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return NULL;
#line 4753 "tracker-sparql-query.c"
		}
	}
#line 498 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp38_ = blank;
#line 498 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (_tmp38_) {
#line 4760 "tracker-sparql-query.c"
		GVariantBuilder* _tmp39_;
		GVariant* _tmp40_;
#line 499 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp39_ = ublank_nodes;
#line 499 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp40_ = g_variant_builder_end (_tmp39_);
#line 499 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		g_variant_ref_sink (_tmp40_);
#line 499 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_g_variant_unref0 (_result_);
#line 499 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_result_ = _tmp40_;
#line 4773 "tracker-sparql-query.c"
	}
#line 502 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	result = _result_;
#line 502 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_variant_builder_unref0 (ublank_nodes);
#line 502 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return result;
#line 4781 "tracker-sparql-query.c"
}


static TrackerDBStatement* tracker_sparql_query_prepare_for_exec (TrackerSparqlQuery* self, const gchar* sql, GError** error) {
	TrackerDBStatement* result = NULL;
	TrackerDBInterface* iface = NULL;
	TrackerDBInterface* _tmp0_;
	TrackerDBInterface* _tmp1_;
	TrackerDBInterface* _tmp2_;
	TrackerDBStatementCacheType _tmp4_ = 0;
	gboolean _tmp5_;
	TrackerDBStatement* stmt = NULL;
	TrackerDBInterface* _tmp6_;
	const gchar* _tmp7_;
	TrackerDBStatement* _tmp8_;
	gint i = 0;
	GList* _tmp9_;
	GError * _inner_error_ = NULL;
#line 505 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 505 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_val_if_fail (sql != NULL, NULL);
#line 506 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp0_ = tracker_db_manager_get_db_interface ();
#line 506 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 506 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	iface = _tmp1_;
#line 507 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp2_ = iface;
#line 507 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (_tmp2_ == NULL) {
#line 4814 "tracker-sparql-query.c"
		GError* _tmp3_;
#line 508 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp3_ = g_error_new_literal (TRACKER_DB_INTERFACE_ERROR, TRACKER_DB_OPEN_ERROR, "Error opening database");
#line 508 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_inner_error_ = _tmp3_;
#line 508 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (((_inner_error_->domain == TRACKER_DB_INTERFACE_ERROR) || (_inner_error_->domain == TRACKER_SPARQL_ERROR)) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 508 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_propagate_error (error, _inner_error_);
#line 508 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_object_unref0 (iface);
#line 508 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return NULL;
#line 4828 "tracker-sparql-query.c"
		} else {
#line 508 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_object_unref0 (iface);
#line 508 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 508 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_clear_error (&_inner_error_);
#line 508 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return NULL;
#line 4838 "tracker-sparql-query.c"
		}
	}
#line 511 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp5_ = self->priv->_no_cache;
#line 511 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (_tmp5_) {
#line 511 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp4_ = TRACKER_DB_STATEMENT_CACHE_TYPE_NONE;
#line 4847 "tracker-sparql-query.c"
	} else {
#line 511 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp4_ = TRACKER_DB_STATEMENT_CACHE_TYPE_SELECT;
#line 4851 "tracker-sparql-query.c"
	}
#line 511 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp6_ = iface;
#line 511 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp7_ = sql;
#line 511 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp8_ = tracker_db_interface_create_statement (_tmp6_, _tmp4_, &_inner_error_, "%s", _tmp7_);
#line 511 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	stmt = _tmp8_;
#line 511 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 511 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (((_inner_error_->domain == TRACKER_DB_INTERFACE_ERROR) || (_inner_error_->domain == TRACKER_SPARQL_ERROR)) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 511 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_propagate_error (error, _inner_error_);
#line 511 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_object_unref0 (iface);
#line 511 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return NULL;
#line 4871 "tracker-sparql-query.c"
		} else {
#line 511 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_object_unref0 (iface);
#line 511 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 511 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_clear_error (&_inner_error_);
#line 511 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return NULL;
#line 4881 "tracker-sparql-query.c"
		}
	}
#line 514 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	i = 0;
#line 515 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp9_ = self->bindings;
#line 4888 "tracker-sparql-query.c"
	{
		GList* binding_collection = NULL;
		GList* binding_it = NULL;
#line 515 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		binding_collection = _tmp9_;
#line 515 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		for (binding_it = binding_collection; binding_it != NULL; binding_it = binding_it->next) {
#line 4896 "tracker-sparql-query.c"
			TrackerSparqlLiteralBinding* _tmp10_;
			TrackerSparqlLiteralBinding* binding = NULL;
#line 515 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp10_ = _g_object_ref0 ((TrackerSparqlLiteralBinding*) binding_it->data);
#line 515 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			binding = _tmp10_;
#line 4903 "tracker-sparql-query.c"
			{
				TrackerSparqlLiteralBinding* _tmp11_;
				TrackerPropertyType _tmp12_;
				gint _tmp63_;
#line 516 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp11_ = binding;
#line 516 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp12_ = ((TrackerSparqlDataBinding*) _tmp11_)->data_type;
#line 516 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				if (_tmp12_ == TRACKER_PROPERTY_TYPE_BOOLEAN) {
#line 4914 "tracker-sparql-query.c"
					gboolean _tmp13_ = FALSE;
					TrackerSparqlLiteralBinding* _tmp14_;
					const gchar* _tmp15_;
#line 517 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp14_ = binding;
#line 517 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp15_ = _tmp14_->literal;
#line 517 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					if (g_strcmp0 (_tmp15_, "true") == 0) {
#line 517 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tmp13_ = TRUE;
#line 4926 "tracker-sparql-query.c"
					} else {
						TrackerSparqlLiteralBinding* _tmp16_;
						const gchar* _tmp17_;
#line 517 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tmp16_ = binding;
#line 517 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tmp17_ = _tmp16_->literal;
#line 517 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tmp13_ = g_strcmp0 (_tmp17_, "1") == 0;
#line 4936 "tracker-sparql-query.c"
					}
#line 517 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					if (_tmp13_) {
#line 4940 "tracker-sparql-query.c"
						TrackerDBStatement* _tmp18_;
						gint _tmp19_;
#line 518 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tmp18_ = stmt;
#line 518 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tmp19_ = i;
#line 518 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						tracker_db_statement_bind_int (_tmp18_, _tmp19_, 1);
#line 4949 "tracker-sparql-query.c"
					} else {
						gboolean _tmp20_ = FALSE;
						TrackerSparqlLiteralBinding* _tmp21_;
						const gchar* _tmp22_;
#line 519 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tmp21_ = binding;
#line 519 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tmp22_ = _tmp21_->literal;
#line 519 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						if (g_strcmp0 (_tmp22_, "false") == 0) {
#line 519 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							_tmp20_ = TRUE;
#line 4962 "tracker-sparql-query.c"
						} else {
							TrackerSparqlLiteralBinding* _tmp23_;
							const gchar* _tmp24_;
#line 519 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							_tmp23_ = binding;
#line 519 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							_tmp24_ = _tmp23_->literal;
#line 519 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							_tmp20_ = g_strcmp0 (_tmp24_, "0") == 0;
#line 4972 "tracker-sparql-query.c"
						}
#line 519 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						if (_tmp20_) {
#line 4976 "tracker-sparql-query.c"
							TrackerDBStatement* _tmp25_;
							gint _tmp26_;
#line 520 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							_tmp25_ = stmt;
#line 520 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							_tmp26_ = i;
#line 520 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							tracker_db_statement_bind_int (_tmp25_, _tmp26_, 0);
#line 4985 "tracker-sparql-query.c"
						} else {
							TrackerSparqlLiteralBinding* _tmp27_;
							const gchar* _tmp28_;
							gchar* _tmp29_;
							gchar* _tmp30_;
							GError* _tmp31_;
							GError* _tmp32_;
#line 522 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							_tmp27_ = binding;
#line 522 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							_tmp28_ = _tmp27_->literal;
#line 522 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							_tmp29_ = g_strdup_printf ("`%s' is not a valid boolean", _tmp28_);
#line 522 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							_tmp30_ = _tmp29_;
#line 522 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							_tmp31_ = g_error_new_literal (TRACKER_SPARQL_ERROR, TRACKER_SPARQL_ERROR_TYPE, _tmp30_);
#line 522 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							_tmp32_ = _tmp31_;
#line 522 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							_g_free0 (_tmp30_);
#line 522 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							_inner_error_ = _tmp32_;
#line 522 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							if (((_inner_error_->domain == TRACKER_DB_INTERFACE_ERROR) || (_inner_error_->domain == TRACKER_SPARQL_ERROR)) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 522 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								g_propagate_error (error, _inner_error_);
#line 522 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								_g_object_unref0 (binding);
#line 522 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								_g_object_unref0 (stmt);
#line 522 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								_g_object_unref0 (iface);
#line 522 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								return NULL;
#line 5021 "tracker-sparql-query.c"
							} else {
#line 522 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								_g_object_unref0 (binding);
#line 522 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								_g_object_unref0 (stmt);
#line 522 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								_g_object_unref0 (iface);
#line 522 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								g_critical ("file %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-query.vala"
								g_clear_error (&_inner_error_);
#line 522 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								return NULL;
#line 5035 "tracker-sparql-query.c"
							}
						}
					}
				} else {
					TrackerSparqlLiteralBinding* _tmp33_;
					TrackerPropertyType _tmp34_;
#line 524 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp33_ = binding;
#line 524 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp34_ = ((TrackerSparqlDataBinding*) _tmp33_)->data_type;
#line 524 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					if (_tmp34_ == TRACKER_PROPERTY_TYPE_DATE) {
#line 5048 "tracker-sparql-query.c"
						gdouble _tmp35_ = 0.0;
						TrackerSparqlLiteralBinding* _tmp36_;
						const gchar* _tmp37_;
						gchar* _tmp38_;
						gchar* _tmp39_;
						gdouble _tmp40_;
						gdouble _tmp41_;
						TrackerDBStatement* _tmp42_;
						gint _tmp43_;
#line 525 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tmp36_ = binding;
#line 525 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tmp37_ = _tmp36_->literal;
#line 525 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tmp38_ = g_strconcat (_tmp37_, "T00:00:00Z", NULL);
#line 525 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tmp39_ = _tmp38_;
#line 525 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tmp40_ = tracker_string_to_date (_tmp39_, NULL, &_inner_error_);
#line 525 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tmp41_ = _tmp40_;
#line 525 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_free0 (_tmp39_);
#line 525 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tmp35_ = _tmp41_;
#line 525 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 525 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							if (((_inner_error_->domain == TRACKER_DB_INTERFACE_ERROR) || (_inner_error_->domain == TRACKER_SPARQL_ERROR)) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 525 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								g_propagate_error (error, _inner_error_);
#line 525 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								_g_object_unref0 (binding);
#line 525 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								_g_object_unref0 (stmt);
#line 525 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								_g_object_unref0 (iface);
#line 525 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								return NULL;
#line 5088 "tracker-sparql-query.c"
							} else {
#line 525 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								_g_object_unref0 (binding);
#line 525 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								_g_object_unref0 (stmt);
#line 525 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								_g_object_unref0 (iface);
#line 525 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 525 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								g_clear_error (&_inner_error_);
#line 525 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								return NULL;
#line 5102 "tracker-sparql-query.c"
							}
						}
#line 525 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tmp42_ = stmt;
#line 525 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tmp43_ = i;
#line 525 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						tracker_db_statement_bind_int (_tmp42_, _tmp43_, (gint) _tmp35_);
#line 5111 "tracker-sparql-query.c"
					} else {
						TrackerSparqlLiteralBinding* _tmp44_;
						TrackerPropertyType _tmp45_;
#line 526 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tmp44_ = binding;
#line 526 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tmp45_ = ((TrackerSparqlDataBinding*) _tmp44_)->data_type;
#line 526 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						if (_tmp45_ == TRACKER_PROPERTY_TYPE_DATETIME) {
#line 5121 "tracker-sparql-query.c"
							gdouble _tmp46_ = 0.0;
							TrackerSparqlLiteralBinding* _tmp47_;
							const gchar* _tmp48_;
							gdouble _tmp49_;
							TrackerDBStatement* _tmp50_;
							gint _tmp51_;
#line 527 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							_tmp47_ = binding;
#line 527 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							_tmp48_ = _tmp47_->literal;
#line 527 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							_tmp49_ = tracker_string_to_date (_tmp48_, NULL, &_inner_error_);
#line 527 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							_tmp46_ = _tmp49_;
#line 527 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 527 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								if (((_inner_error_->domain == TRACKER_DB_INTERFACE_ERROR) || (_inner_error_->domain == TRACKER_SPARQL_ERROR)) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 527 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
									g_propagate_error (error, _inner_error_);
#line 527 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
									_g_object_unref0 (binding);
#line 527 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
									_g_object_unref0 (stmt);
#line 527 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
									_g_object_unref0 (iface);
#line 527 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
									return NULL;
#line 5150 "tracker-sparql-query.c"
								} else {
#line 527 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
									_g_object_unref0 (binding);
#line 527 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
									_g_object_unref0 (stmt);
#line 527 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
									_g_object_unref0 (iface);
#line 527 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
									g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 527 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
									g_clear_error (&_inner_error_);
#line 527 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
									return NULL;
#line 5164 "tracker-sparql-query.c"
								}
							}
#line 527 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							_tmp50_ = stmt;
#line 527 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							_tmp51_ = i;
#line 527 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							tracker_db_statement_bind_double (_tmp50_, _tmp51_, _tmp46_);
#line 5173 "tracker-sparql-query.c"
						} else {
							TrackerSparqlLiteralBinding* _tmp52_;
							TrackerPropertyType _tmp53_;
#line 528 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							_tmp52_ = binding;
#line 528 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							_tmp53_ = ((TrackerSparqlDataBinding*) _tmp52_)->data_type;
#line 528 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							if (_tmp53_ == TRACKER_PROPERTY_TYPE_INTEGER) {
#line 5183 "tracker-sparql-query.c"
								TrackerDBStatement* _tmp54_;
								gint _tmp55_;
								TrackerSparqlLiteralBinding* _tmp56_;
								const gchar* _tmp57_;
								gint _tmp58_;
#line 529 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								_tmp54_ = stmt;
#line 529 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								_tmp55_ = i;
#line 529 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								_tmp56_ = binding;
#line 529 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								_tmp57_ = _tmp56_->literal;
#line 529 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								_tmp58_ = atoi (_tmp57_);
#line 529 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								tracker_db_statement_bind_int (_tmp54_, _tmp55_, _tmp58_);
#line 5201 "tracker-sparql-query.c"
							} else {
								TrackerDBStatement* _tmp59_;
								gint _tmp60_;
								TrackerSparqlLiteralBinding* _tmp61_;
								const gchar* _tmp62_;
#line 531 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								_tmp59_ = stmt;
#line 531 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								_tmp60_ = i;
#line 531 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								_tmp61_ = binding;
#line 531 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								_tmp62_ = _tmp61_->literal;
#line 531 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								tracker_db_statement_bind_text (_tmp59_, _tmp60_, _tmp62_);
#line 5217 "tracker-sparql-query.c"
							}
						}
					}
				}
#line 533 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp63_ = i;
#line 533 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				i = _tmp63_ + 1;
#line 515 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_g_object_unref0 (binding);
#line 5228 "tracker-sparql-query.c"
			}
		}
	}
#line 536 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	result = stmt;
#line 536 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_object_unref0 (iface);
#line 536 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return result;
#line 5238 "tracker-sparql-query.c"
}


static TrackerDBCursor* tracker_sparql_query_exec_sql_cursor (TrackerSparqlQuery* self, const gchar* sql, TrackerPropertyType* types, int types_length1, gchar** variable_names, int variable_names_length1, GError** error) {
	TrackerDBCursor* result = NULL;
	TrackerDBStatement* stmt = NULL;
	const gchar* _tmp0_;
	TrackerDBStatement* _tmp1_;
	TrackerDBCursor* _tmp2_ = NULL;
	TrackerDBStatement* _tmp3_;
	TrackerPropertyType* _tmp4_;
	gint _tmp4__length1;
	gchar** _tmp5_;
	gint _tmp5__length1;
	TrackerDBCursor* _tmp6_;
	TrackerDBCursor* _tmp7_;
	GError * _inner_error_ = NULL;
#line 539 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 539 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_val_if_fail (sql != NULL, NULL);
#line 540 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp0_ = sql;
#line 540 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp1_ = tracker_sparql_query_prepare_for_exec (self, _tmp0_, &_inner_error_);
#line 540 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	stmt = _tmp1_;
#line 540 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 540 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (((_inner_error_->domain == TRACKER_DB_INTERFACE_ERROR) || (_inner_error_->domain == TRACKER_SPARQL_ERROR)) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 540 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_propagate_error (error, _inner_error_);
#line 540 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return NULL;
#line 5274 "tracker-sparql-query.c"
		} else {
#line 540 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 540 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_clear_error (&_inner_error_);
#line 540 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return NULL;
#line 5282 "tracker-sparql-query.c"
		}
	}
#line 542 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp3_ = stmt;
#line 542 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp4_ = types;
#line 542 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp4__length1 = types_length1;
#line 542 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp5_ = variable_names;
#line 542 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp5__length1 = variable_names_length1;
#line 542 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp6_ = tracker_db_statement_start_sparql_cursor (_tmp3_, _tmp4_, _tmp4__length1, _tmp5_, _tmp5__length1, &_inner_error_);
#line 542 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp2_ = _tmp6_;
#line 542 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 542 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (((_inner_error_->domain == TRACKER_DB_INTERFACE_ERROR) || (_inner_error_->domain == TRACKER_SPARQL_ERROR)) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 542 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_propagate_error (error, _inner_error_);
#line 542 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_object_unref0 (stmt);
#line 542 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return NULL;
#line 5309 "tracker-sparql-query.c"
		} else {
#line 542 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_object_unref0 (stmt);
#line 542 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 542 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_clear_error (&_inner_error_);
#line 542 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return NULL;
#line 5319 "tracker-sparql-query.c"
		}
	}
#line 542 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp7_ = _tmp2_;
#line 542 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp2_ = NULL;
#line 542 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	result = _tmp7_;
#line 542 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_object_unref0 (_tmp2_);
#line 542 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_object_unref0 (stmt);
#line 542 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return result;
#line 5334 "tracker-sparql-query.c"
}


static gchar* tracker_sparql_query_get_select_query (TrackerSparqlQuery* self, TrackerSparqlSelectContext* * context, GError** error) {
	TrackerSparqlSelectContext* _vala_context = NULL;
	gchar* result = NULL;
	GString* sql = NULL;
	GString* _tmp0_;
	TrackerSparqlSelectContext* _tmp1_ = NULL;
	TrackerSparqlPattern* _tmp2_;
	GString* _tmp3_;
	TrackerSparqlSelectContext* _tmp4_;
	TrackerSparqlSelectContext* _tmp5_;
	GString* _tmp6_;
	const gchar* _tmp7_;
	gchar* _tmp8_;
	GError * _inner_error_ = NULL;
#line 545 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 549 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp0_ = g_string_new ("");
#line 549 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	sql = _tmp0_;
#line 550 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp2_ = self->pattern;
#line 550 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp3_ = sql;
#line 550 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp4_ = tracker_sparql_pattern_translate_select (_tmp2_, _tmp3_, FALSE, FALSE, &_inner_error_);
#line 550 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp1_ = _tmp4_;
#line 550 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 550 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (((_inner_error_->domain == TRACKER_DB_INTERFACE_ERROR) || (_inner_error_->domain == TRACKER_SPARQL_ERROR)) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 550 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_propagate_error (error, _inner_error_);
#line 550 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_string_free0 (sql);
#line 550 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return NULL;
#line 5376 "tracker-sparql-query.c"
		} else {
#line 550 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_string_free0 (sql);
#line 550 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 550 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_clear_error (&_inner_error_);
#line 550 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return NULL;
#line 5386 "tracker-sparql-query.c"
		}
	}
#line 550 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp5_ = _tmp1_;
#line 550 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp1_ = NULL;
#line 550 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tracker_sparql_context_unref0 (_vala_context);
#line 550 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_vala_context = _tmp5_;
#line 552 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	tracker_sparql_query_expect (self, TRACKER_SPARQL_TOKEN_TYPE_EOF, &_inner_error_);
#line 552 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 552 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (((_inner_error_->domain == TRACKER_DB_INTERFACE_ERROR) || (_inner_error_->domain == TRACKER_SPARQL_ERROR)) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 552 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_propagate_error (error, _inner_error_);
#line 552 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tracker_sparql_context_unref0 (_tmp1_);
#line 552 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_string_free0 (sql);
#line 552 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return NULL;
#line 5411 "tracker-sparql-query.c"
		} else {
#line 552 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tracker_sparql_context_unref0 (_tmp1_);
#line 552 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_string_free0 (sql);
#line 552 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_critical ("file %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-query.vala"
			g_clear_error (&_inner_error_);
#line 552 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return NULL;
#line 5423 "tracker-sparql-query.c"
		}
	}
#line 554 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp6_ = sql;
#line 554 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp7_ = _tmp6_->str;
#line 554 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp8_ = g_strdup (_tmp7_);
#line 554 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	result = _tmp8_;
#line 554 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tracker_sparql_context_unref0 (_tmp1_);
#line 554 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_string_free0 (sql);
#line 554 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (context) {
#line 554 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		*context = _vala_context;
#line 5442 "tracker-sparql-query.c"
	} else {
#line 554 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tracker_sparql_context_unref0 (_vala_context);
#line 5446 "tracker-sparql-query.c"
	}
#line 554 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return result;
#line 5450 "tracker-sparql-query.c"
}


static TrackerDBCursor* tracker_sparql_query_execute_select_cursor (TrackerSparqlQuery* self, GError** error) {
	TrackerDBCursor* result = NULL;
	TrackerSparqlSelectContext* context = NULL;
	gchar* sql = NULL;
	TrackerSparqlSelectContext* _tmp0_ = NULL;
	gchar* _tmp1_;
	TrackerDBCursor* _tmp2_ = NULL;
	const gchar* _tmp3_;
	TrackerSparqlSelectContext* _tmp4_;
	TrackerPropertyType* _tmp5_;
	gint _tmp5__length1;
	TrackerSparqlSelectContext* _tmp6_;
	gchar** _tmp7_;
	gint _tmp7__length1;
	TrackerDBCursor* _tmp8_;
	TrackerDBCursor* _tmp9_;
	GError * _inner_error_ = NULL;
#line 557 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 559 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp1_ = tracker_sparql_query_get_select_query (self, &_tmp0_, &_inner_error_);
#line 559 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tracker_sparql_context_unref0 (context);
#line 559 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	context = _tmp0_;
#line 559 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	sql = _tmp1_;
#line 559 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 559 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (((_inner_error_->domain == TRACKER_DB_INTERFACE_ERROR) || (_inner_error_->domain == TRACKER_SPARQL_ERROR)) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 559 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_propagate_error (error, _inner_error_);
#line 559 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tracker_sparql_context_unref0 (context);
#line 559 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return NULL;
#line 5491 "tracker-sparql-query.c"
		} else {
#line 559 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tracker_sparql_context_unref0 (context);
#line 559 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 559 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_clear_error (&_inner_error_);
#line 559 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return NULL;
#line 5501 "tracker-sparql-query.c"
		}
	}
#line 561 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp3_ = sql;
#line 561 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp4_ = context;
#line 561 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp5_ = _tmp4_->types;
#line 561 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp5__length1 = _tmp4_->types_length1;
#line 561 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp6_ = context;
#line 561 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp7_ = _tmp6_->variable_names;
#line 561 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp7__length1 = _tmp6_->variable_names_length1;
#line 561 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp8_ = tracker_sparql_query_exec_sql_cursor (self, _tmp3_, _tmp5_, _tmp5__length1, _tmp7_, _tmp7__length1, &_inner_error_);
#line 561 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp2_ = _tmp8_;
#line 561 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 561 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (((_inner_error_->domain == TRACKER_DB_INTERFACE_ERROR) || (_inner_error_->domain == TRACKER_SPARQL_ERROR)) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 561 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_propagate_error (error, _inner_error_);
#line 561 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_free0 (sql);
#line 561 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tracker_sparql_context_unref0 (context);
#line 561 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return NULL;
#line 5534 "tracker-sparql-query.c"
		} else {
#line 561 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_free0 (sql);
#line 561 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tracker_sparql_context_unref0 (context);
#line 561 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 561 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_clear_error (&_inner_error_);
#line 561 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return NULL;
#line 5546 "tracker-sparql-query.c"
		}
	}
#line 561 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp9_ = _tmp2_;
#line 561 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp2_ = NULL;
#line 561 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	result = _tmp9_;
#line 561 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_object_unref0 (_tmp2_);
#line 561 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_free0 (sql);
#line 561 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tracker_sparql_context_unref0 (context);
#line 561 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return result;
#line 5563 "tracker-sparql-query.c"
}


static gchar* tracker_sparql_query_get_ask_query (TrackerSparqlQuery* self, GError** error) {
	gchar* result = NULL;
	GString* pattern_sql = NULL;
	GString* _tmp0_;
	GString* sql = NULL;
	GString* _tmp1_;
	GString* _tmp2_;
	TrackerSparqlContext* _tmp3_ = NULL;
	TrackerSparqlPattern* _tmp4_;
	GString* _tmp5_;
	TrackerSparqlContext* _tmp6_;
	TrackerSparqlContext* _tmp7_;
	GString* _tmp8_;
	GString* _tmp9_;
	const gchar* _tmp10_;
	GString* _tmp11_;
	gboolean _tmp12_ = FALSE;
	gboolean _tmp13_ = FALSE;
	gboolean _tmp14_ = FALSE;
	gboolean _tmp15_ = FALSE;
	gboolean _tmp16_;
	TrackerSparqlContext* _tmp29_;
	TrackerSparqlContext* _tmp30_;
	TrackerSparqlContext* _tmp31_;
	GString* _tmp32_;
	const gchar* _tmp33_;
	gchar* _tmp34_;
	GError * _inner_error_ = NULL;
#line 564 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 567 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp0_ = g_string_new ("");
#line 567 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	pattern_sql = _tmp0_;
#line 570 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp1_ = g_string_new ("");
#line 570 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	sql = _tmp1_;
#line 571 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp2_ = sql;
#line 571 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_string_append (_tmp2_, "SELECT CASE EXISTS ( ");
#line 573 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	tracker_sparql_query_expect (self, TRACKER_SPARQL_TOKEN_TYPE_ASK, &_inner_error_);
#line 573 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 573 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (((_inner_error_->domain == TRACKER_DB_INTERFACE_ERROR) || (_inner_error_->domain == TRACKER_SPARQL_ERROR)) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 573 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_propagate_error (error, _inner_error_);
#line 573 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_string_free0 (sql);
#line 573 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_string_free0 (pattern_sql);
#line 573 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return NULL;
#line 5623 "tracker-sparql-query.c"
		} else {
#line 573 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_string_free0 (sql);
#line 573 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_string_free0 (pattern_sql);
#line 573 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 573 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_clear_error (&_inner_error_);
#line 573 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return NULL;
#line 5635 "tracker-sparql-query.c"
		}
	}
#line 575 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	tracker_sparql_query_accept (self, TRACKER_SPARQL_TOKEN_TYPE_WHERE, &_inner_error_);
#line 575 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 575 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (((_inner_error_->domain == TRACKER_DB_INTERFACE_ERROR) || (_inner_error_->domain == TRACKER_SPARQL_ERROR)) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 575 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_propagate_error (error, _inner_error_);
#line 575 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_string_free0 (sql);
#line 575 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_string_free0 (pattern_sql);
#line 575 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return NULL;
#line 5652 "tracker-sparql-query.c"
		} else {
#line 575 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_string_free0 (sql);
#line 575 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_string_free0 (pattern_sql);
#line 575 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 575 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_clear_error (&_inner_error_);
#line 575 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return NULL;
#line 5664 "tracker-sparql-query.c"
		}
	}
#line 577 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp4_ = self->pattern;
#line 577 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp5_ = pattern_sql;
#line 577 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp6_ = tracker_sparql_pattern_translate_group_graph_pattern (_tmp4_, _tmp5_, &_inner_error_);
#line 577 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp3_ = _tmp6_;
#line 577 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 577 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (((_inner_error_->domain == TRACKER_DB_INTERFACE_ERROR) || (_inner_error_->domain == TRACKER_SPARQL_ERROR)) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 577 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_propagate_error (error, _inner_error_);
#line 577 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_string_free0 (sql);
#line 577 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_string_free0 (pattern_sql);
#line 577 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return NULL;
#line 5687 "tracker-sparql-query.c"
		} else {
#line 577 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_string_free0 (sql);
#line 577 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_string_free0 (pattern_sql);
#line 577 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_critical ("file %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-query.vala"
			g_clear_error (&_inner_error_);
#line 577 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return NULL;
#line 5699 "tracker-sparql-query.c"
		}
	}
#line 577 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp7_ = _tmp3_;
#line 577 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp3_ = NULL;
#line 577 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tracker_sparql_context_unref0 (self->context);
#line 577 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self->context = _tmp7_;
#line 580 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp8_ = sql;
#line 580 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp9_ = pattern_sql;
#line 580 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp10_ = _tmp9_->str;
#line 580 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_string_append (_tmp8_, _tmp10_);
#line 581 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp11_ = sql;
#line 581 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_string_append (_tmp11_, " ) WHEN 1 THEN 'true' WHEN 0 THEN 'false' ELSE NULL END");
#line 583 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp16_ = tracker_sparql_query_accept (self, TRACKER_SPARQL_TOKEN_TYPE_GROUP, &_inner_error_);
#line 583 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp15_ = _tmp16_;
#line 583 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 583 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (((_inner_error_->domain == TRACKER_DB_INTERFACE_ERROR) || (_inner_error_->domain == TRACKER_SPARQL_ERROR)) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 583 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_propagate_error (error, _inner_error_);
#line 583 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tracker_sparql_context_unref0 (_tmp3_);
#line 583 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_string_free0 (sql);
#line 583 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_string_free0 (pattern_sql);
#line 583 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return NULL;
#line 5740 "tracker-sparql-query.c"
		} else {
#line 583 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tracker_sparql_context_unref0 (_tmp3_);
#line 583 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_string_free0 (sql);
#line 583 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_string_free0 (pattern_sql);
#line 583 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 583 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_clear_error (&_inner_error_);
#line 583 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return NULL;
#line 5754 "tracker-sparql-query.c"
		}
	}
#line 583 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (_tmp15_) {
#line 583 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp14_ = TRUE;
#line 5761 "tracker-sparql-query.c"
	} else {
		gboolean _tmp17_ = FALSE;
		gboolean _tmp18_;
#line 583 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp18_ = tracker_sparql_query_accept (self, TRACKER_SPARQL_TOKEN_TYPE_ORDER, &_inner_error_);
#line 583 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp17_ = _tmp18_;
#line 583 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 583 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (((_inner_error_->domain == TRACKER_DB_INTERFACE_ERROR) || (_inner_error_->domain == TRACKER_SPARQL_ERROR)) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 583 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_propagate_error (error, _inner_error_);
#line 583 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tracker_sparql_context_unref0 (_tmp3_);
#line 583 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_g_string_free0 (sql);
#line 583 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_g_string_free0 (pattern_sql);
#line 583 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return NULL;
#line 5783 "tracker-sparql-query.c"
			} else {
#line 583 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tracker_sparql_context_unref0 (_tmp3_);
#line 583 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_g_string_free0 (sql);
#line 583 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_g_string_free0 (pattern_sql);
#line 583 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 583 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_clear_error (&_inner_error_);
#line 583 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return NULL;
#line 5797 "tracker-sparql-query.c"
			}
		}
#line 583 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp14_ = _tmp17_;
#line 5802 "tracker-sparql-query.c"
	}
#line 583 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (_tmp14_) {
#line 583 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp13_ = TRUE;
#line 5808 "tracker-sparql-query.c"
	} else {
		gboolean _tmp19_ = FALSE;
		gboolean _tmp20_;
#line 584 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp20_ = tracker_sparql_query_accept (self, TRACKER_SPARQL_TOKEN_TYPE_OFFSET, &_inner_error_);
#line 584 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp19_ = _tmp20_;
#line 584 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 584 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (((_inner_error_->domain == TRACKER_DB_INTERFACE_ERROR) || (_inner_error_->domain == TRACKER_SPARQL_ERROR)) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 584 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_propagate_error (error, _inner_error_);
#line 584 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tracker_sparql_context_unref0 (_tmp3_);
#line 584 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_g_string_free0 (sql);
#line 584 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_g_string_free0 (pattern_sql);
#line 584 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return NULL;
#line 5830 "tracker-sparql-query.c"
			} else {
#line 584 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tracker_sparql_context_unref0 (_tmp3_);
#line 584 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_g_string_free0 (sql);
#line 584 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_g_string_free0 (pattern_sql);
#line 584 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 584 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_clear_error (&_inner_error_);
#line 584 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return NULL;
#line 5844 "tracker-sparql-query.c"
			}
		}
#line 584 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp13_ = _tmp19_;
#line 5849 "tracker-sparql-query.c"
	}
#line 583 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (_tmp13_) {
#line 583 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp12_ = TRUE;
#line 5855 "tracker-sparql-query.c"
	} else {
		gboolean _tmp21_ = FALSE;
		gboolean _tmp22_;
#line 584 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp22_ = tracker_sparql_query_accept (self, TRACKER_SPARQL_TOKEN_TYPE_LIMIT, &_inner_error_);
#line 584 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp21_ = _tmp22_;
#line 584 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 584 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (((_inner_error_->domain == TRACKER_DB_INTERFACE_ERROR) || (_inner_error_->domain == TRACKER_SPARQL_ERROR)) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 584 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_propagate_error (error, _inner_error_);
#line 584 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tracker_sparql_context_unref0 (_tmp3_);
#line 584 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_g_string_free0 (sql);
#line 584 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_g_string_free0 (pattern_sql);
#line 584 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return NULL;
#line 5877 "tracker-sparql-query.c"
			} else {
#line 584 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tracker_sparql_context_unref0 (_tmp3_);
#line 584 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_g_string_free0 (sql);
#line 584 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_g_string_free0 (pattern_sql);
#line 584 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 584 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_clear_error (&_inner_error_);
#line 584 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return NULL;
#line 5891 "tracker-sparql-query.c"
			}
		}
#line 584 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp12_ = _tmp21_;
#line 5896 "tracker-sparql-query.c"
	}
#line 583 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (_tmp12_) {
#line 5900 "tracker-sparql-query.c"
		TrackerSparqlTokenType _tmp23_;
		const gchar* _tmp24_;
		gchar* _tmp25_;
		gchar* _tmp26_;
		GError* _tmp27_;
		GError* _tmp28_;
#line 585 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp23_ = tracker_sparql_query_last (self);
#line 585 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp24_ = tracker_sparql_token_type_to_string (_tmp23_);
#line 585 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp25_ = g_strdup_printf ("invalid use of %s in ASK", _tmp24_);
#line 585 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp26_ = _tmp25_;
#line 585 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp27_ = tracker_sparql_query_get_error (self, _tmp26_);
#line 585 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp28_ = _tmp27_;
#line 585 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_g_free0 (_tmp26_);
#line 585 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_inner_error_ = _tmp28_;
#line 585 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (((_inner_error_->domain == TRACKER_DB_INTERFACE_ERROR) || (_inner_error_->domain == TRACKER_SPARQL_ERROR)) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 585 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_propagate_error (error, _inner_error_);
#line 585 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tracker_sparql_context_unref0 (_tmp3_);
#line 585 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_string_free0 (sql);
#line 585 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_string_free0 (pattern_sql);
#line 585 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return NULL;
#line 5935 "tracker-sparql-query.c"
		} else {
#line 585 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tracker_sparql_context_unref0 (_tmp3_);
#line 585 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_string_free0 (sql);
#line 585 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_string_free0 (pattern_sql);
#line 585 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 585 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_clear_error (&_inner_error_);
#line 585 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return NULL;
#line 5949 "tracker-sparql-query.c"
		}
	}
#line 588 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	tracker_sparql_query_expect (self, TRACKER_SPARQL_TOKEN_TYPE_EOF, &_inner_error_);
#line 588 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 588 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (((_inner_error_->domain == TRACKER_DB_INTERFACE_ERROR) || (_inner_error_->domain == TRACKER_SPARQL_ERROR)) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 588 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_propagate_error (error, _inner_error_);
#line 588 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tracker_sparql_context_unref0 (_tmp3_);
#line 588 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_string_free0 (sql);
#line 588 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_string_free0 (pattern_sql);
#line 588 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return NULL;
#line 5968 "tracker-sparql-query.c"
		} else {
#line 588 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tracker_sparql_context_unref0 (_tmp3_);
#line 588 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_string_free0 (sql);
#line 588 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_string_free0 (pattern_sql);
#line 588 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 588 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_clear_error (&_inner_error_);
#line 588 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return NULL;
#line 5982 "tracker-sparql-query.c"
		}
	}
#line 590 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp29_ = self->context;
#line 590 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp30_ = _tmp29_->parent_context;
#line 590 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp31_ = _tracker_sparql_context_ref0 (_tmp30_);
#line 590 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tracker_sparql_context_unref0 (self->context);
#line 590 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self->context = _tmp31_;
#line 592 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp32_ = sql;
#line 592 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp33_ = _tmp32_->str;
#line 592 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp34_ = g_strdup (_tmp33_);
#line 592 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	result = _tmp34_;
#line 592 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tracker_sparql_context_unref0 (_tmp3_);
#line 592 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_string_free0 (sql);
#line 592 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_string_free0 (pattern_sql);
#line 592 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return result;
#line 6011 "tracker-sparql-query.c"
}


static TrackerDBCursor* tracker_sparql_query_execute_ask_cursor (TrackerSparqlQuery* self, GError** error) {
	TrackerDBCursor* result = NULL;
	gchar* _tmp0_ = NULL;
	gchar* _tmp1_;
	TrackerDBCursor* _tmp2_ = NULL;
	TrackerPropertyType* _tmp3_;
	TrackerPropertyType* _tmp4_;
	gint _tmp4__length1;
	gchar* _tmp5_;
	gchar** _tmp6_;
	gchar** _tmp7_;
	gint _tmp7__length1;
	TrackerDBCursor* _tmp8_;
	TrackerDBCursor* _tmp9_;
	TrackerDBCursor* _tmp10_;
	GError * _inner_error_ = NULL;
#line 595 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 596 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp1_ = tracker_sparql_query_get_ask_query (self, &_inner_error_);
#line 596 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp0_ = _tmp1_;
#line 596 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 596 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (((_inner_error_->domain == TRACKER_DB_INTERFACE_ERROR) || (_inner_error_->domain == TRACKER_SPARQL_ERROR)) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 596 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_propagate_error (error, _inner_error_);
#line 596 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return NULL;
#line 6045 "tracker-sparql-query.c"
		} else {
#line 596 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_critical ("file %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-query.vala"
			g_clear_error (&_inner_error_);
#line 596 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return NULL;
#line 6053 "tracker-sparql-query.c"
		}
	}
#line 596 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp3_ = g_new0 (TrackerPropertyType, 1);
#line 596 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp3_[0] = TRACKER_PROPERTY_TYPE_BOOLEAN;
#line 596 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp4_ = _tmp3_;
#line 596 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp4__length1 = 1;
#line 596 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp5_ = g_strdup ("result");
#line 596 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp6_ = g_new0 (gchar*, 1 + 1);
#line 596 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp6_[0] = _tmp5_;
#line 596 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp7_ = _tmp6_;
#line 596 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp7__length1 = 1;
#line 596 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp8_ = tracker_sparql_query_exec_sql_cursor (self, _tmp0_, _tmp4_, 1, _tmp7_, 1, &_inner_error_);
#line 596 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp9_ = _tmp8_;
#line 596 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp7_ = (_vala_array_free (_tmp7_, _tmp7__length1, (GDestroyNotify) g_free), NULL);
#line 596 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp4_ = (g_free (_tmp4_), NULL);
#line 596 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp2_ = _tmp9_;
#line 596 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 596 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (((_inner_error_->domain == TRACKER_DB_INTERFACE_ERROR) || (_inner_error_->domain == TRACKER_SPARQL_ERROR)) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 596 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_propagate_error (error, _inner_error_);
#line 596 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_free0 (_tmp0_);
#line 596 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return NULL;
#line 6094 "tracker-sparql-query.c"
		} else {
#line 596 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_free0 (_tmp0_);
#line 596 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_critical ("file %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-query.vala"
			g_clear_error (&_inner_error_);
#line 596 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return NULL;
#line 6104 "tracker-sparql-query.c"
		}
	}
#line 596 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp10_ = _tmp2_;
#line 596 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp2_ = NULL;
#line 596 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	result = _tmp10_;
#line 596 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_object_unref0 (_tmp2_);
#line 596 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_free0 (_tmp0_);
#line 596 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return result;
#line 6119 "tracker-sparql-query.c"
}


static void tracker_sparql_query_parse_from_or_into_param (TrackerSparqlQuery* self, GError** error) {
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_;
	GError * _inner_error_ = NULL;
#line 599 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_if_fail (self != NULL);
#line 600 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp1_ = tracker_sparql_query_accept (self, TRACKER_SPARQL_TOKEN_TYPE_IRI_REF, &_inner_error_);
#line 600 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp0_ = _tmp1_;
#line 600 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 600 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 600 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_propagate_error (error, _inner_error_);
#line 600 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return;
#line 6141 "tracker-sparql-query.c"
		} else {
#line 600 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 600 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_clear_error (&_inner_error_);
#line 600 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return;
#line 6149 "tracker-sparql-query.c"
		}
	}
#line 600 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (_tmp0_) {
#line 6154 "tracker-sparql-query.c"
		gchar* _tmp2_;
#line 601 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp2_ = tracker_sparql_query_get_last_string (self, 1);
#line 601 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_g_free0 (self->priv->current_graph);
#line 601 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		self->priv->current_graph = _tmp2_;
#line 6162 "tracker-sparql-query.c"
	} else {
		gboolean _tmp3_ = FALSE;
		gboolean _tmp4_;
#line 602 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp4_ = tracker_sparql_query_accept (self, TRACKER_SPARQL_TOKEN_TYPE_PN_PREFIX, &_inner_error_);
#line 602 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp3_ = _tmp4_;
#line 602 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 602 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 602 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_propagate_error (error, _inner_error_);
#line 602 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return;
#line 6178 "tracker-sparql-query.c"
			} else {
#line 602 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_critical ("file %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-query.vala"
				g_clear_error (&_inner_error_);
#line 602 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return;
#line 6186 "tracker-sparql-query.c"
			}
		}
#line 602 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (_tmp3_) {
#line 6191 "tracker-sparql-query.c"
			gchar* ns = NULL;
			gchar* _tmp5_;
			gchar* _tmp6_ = NULL;
			const gchar* _tmp7_;
			gchar* _tmp8_;
			gchar* _tmp9_;
			gchar* _tmp10_;
			gchar* _tmp11_;
			gchar* _tmp12_;
			gchar* _tmp13_;
			gchar* _tmp14_;
#line 603 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp5_ = tracker_sparql_query_get_last_string (self, 0);
#line 603 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			ns = _tmp5_;
#line 604 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			tracker_sparql_query_expect (self, TRACKER_SPARQL_TOKEN_TYPE_COLON, &_inner_error_);
#line 604 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 604 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 604 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_propagate_error (error, _inner_error_);
#line 604 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_g_free0 (ns);
#line 604 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					return;
#line 6219 "tracker-sparql-query.c"
				} else {
#line 604 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_g_free0 (ns);
#line 604 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 604 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_clear_error (&_inner_error_);
#line 604 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					return;
#line 6229 "tracker-sparql-query.c"
				}
			}
#line 605 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp7_ = ns;
#line 605 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp8_ = tracker_sparql_query_get_last_string (self, 0);
#line 605 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp9_ = _tmp8_;
#line 605 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp10_ = string_substring (_tmp9_, (glong) 1, (glong) -1);
#line 605 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp11_ = _tmp10_;
#line 605 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp12_ = tracker_sparql_query_resolve_prefixed_name (self, _tmp7_, _tmp11_, &_inner_error_);
#line 605 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp13_ = _tmp12_;
#line 605 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_free0 (_tmp11_);
#line 605 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_free0 (_tmp9_);
#line 605 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp6_ = _tmp13_;
#line 605 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 605 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 605 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_propagate_error (error, _inner_error_);
#line 605 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_g_free0 (ns);
#line 605 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					return;
#line 6262 "tracker-sparql-query.c"
				} else {
#line 605 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_g_free0 (ns);
#line 605 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 605 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_clear_error (&_inner_error_);
#line 605 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					return;
#line 6272 "tracker-sparql-query.c"
				}
			}
#line 605 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp14_ = _tmp6_;
#line 605 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp6_ = NULL;
#line 605 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_free0 (self->priv->current_graph);
#line 605 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			self->priv->current_graph = _tmp14_;
#line 602 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_free0 (_tmp6_);
#line 602 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_free0 (ns);
#line 6287 "tracker-sparql-query.c"
		} else {
			gchar* _tmp15_ = NULL;
			gchar* _tmp16_;
			gchar* _tmp17_;
			gchar* _tmp18_;
			gchar* _tmp19_;
			gchar* _tmp20_;
			gchar* _tmp21_;
			gchar* _tmp22_;
#line 607 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			tracker_sparql_query_expect (self, TRACKER_SPARQL_TOKEN_TYPE_COLON, &_inner_error_);
#line 607 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 607 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 607 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_propagate_error (error, _inner_error_);
#line 607 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					return;
#line 6307 "tracker-sparql-query.c"
				} else {
#line 607 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 607 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_clear_error (&_inner_error_);
#line 607 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					return;
#line 6315 "tracker-sparql-query.c"
				}
			}
#line 608 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp16_ = tracker_sparql_query_get_last_string (self, 0);
#line 608 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp17_ = _tmp16_;
#line 608 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp18_ = string_substring (_tmp17_, (glong) 1, (glong) -1);
#line 608 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp19_ = _tmp18_;
#line 608 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp20_ = tracker_sparql_query_resolve_prefixed_name (self, "", _tmp19_, &_inner_error_);
#line 608 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp21_ = _tmp20_;
#line 608 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_free0 (_tmp19_);
#line 608 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_free0 (_tmp17_);
#line 608 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp15_ = _tmp21_;
#line 608 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 608 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 608 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_propagate_error (error, _inner_error_);
#line 608 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					return;
#line 6344 "tracker-sparql-query.c"
				} else {
#line 608 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 608 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_clear_error (&_inner_error_);
#line 608 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					return;
#line 6352 "tracker-sparql-query.c"
				}
			}
#line 608 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp22_ = _tmp15_;
#line 608 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp15_ = NULL;
#line 608 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_free0 (self->priv->current_graph);
#line 608 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			self->priv->current_graph = _tmp22_;
#line 602 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_free0 (_tmp15_);
#line 6365 "tracker-sparql-query.c"
		}
	}
}


static gpointer _tracker_source_location_dup0 (gpointer self) {
#line 653 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return self ? tracker_source_location_dup (self) : NULL;
#line 6374 "tracker-sparql-query.c"
}


static GVariant* _variant_new1 (GHashTable* value) {
	GVariantBuilder _tmp159_;
	GHashTableIter _tmp160_;
	gpointer _tmp161_;
	gpointer _tmp162_;
#line 791 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_hash_table_iter_init (&_tmp160_, value);
#line 791 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_variant_builder_init (&_tmp159_, G_VARIANT_TYPE ("a{ss}"));
#line 791 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	while (g_hash_table_iter_next (&_tmp160_, &_tmp161_, &_tmp162_)) {
#line 6389 "tracker-sparql-query.c"
		gchar* _key;
		gchar* _value;
#line 791 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_key = (gchar*) _tmp161_;
#line 791 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_value = (gchar*) _tmp162_;
#line 791 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		g_variant_builder_add (&_tmp159_, "{?*}", g_variant_new_string (_key), g_variant_new_string (_value));
#line 6398 "tracker-sparql-query.c"
	}
#line 791 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return g_variant_ref_sink (g_variant_builder_end (&_tmp159_));
#line 6402 "tracker-sparql-query.c"
}


static void tracker_sparql_query_execute_insert_delete (TrackerSparqlQuery* self, GVariantBuilder* update_blank_nodes, GError** error) {
	gboolean blank = FALSE;
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_;
	TrackerSourceLocation* delete_location = NULL;
	TrackerSourceLocation* insert_location = NULL;
	gboolean insert_is_update = FALSE;
	gboolean delete_where = FALSE;
	gboolean data = FALSE;
	gboolean _tmp2_ = FALSE;
	gboolean _tmp3_;
	gboolean _tmp21_ = FALSE;
	gboolean _tmp22_ = FALSE;
	gboolean _tmp23_;
	GString* pattern_sql = NULL;
	GString* _tmp45_;
	GString* sql = NULL;
	GString* _tmp46_;
	gboolean _tmp47_;
	TrackerSourceLocation after_where = {0};
	TrackerSourceLocation _tmp68_ = {0};
	TrackerSparqlSolution* solution = NULL;
	TrackerSparqlSolution* _tmp69_;
	GString* _tmp70_;
	gint var_idx = 0;
	TrackerSparqlContext* _tmp71_;
	GHashTable* _tmp72_;
	GList* _tmp73_;
	gint _tmp99_;
	GString* _tmp101_;
	GString* _tmp102_;
	GString* _tmp103_;
	const gchar* _tmp104_;
	GString* _tmp105_;
	TrackerDBCursor* cursor = NULL;
	GString* _tmp106_;
	const gchar* _tmp107_;
	TrackerDBCursor* _tmp108_;
	gint n_solutions = 0;
	TrackerSourceLocation* _tmp125_;
	TrackerSourceLocation* _tmp136_;
	gboolean _tmp164_;
	TrackerSparqlContext* _tmp166_;
	TrackerSparqlContext* _tmp167_;
	TrackerSparqlContext* _tmp168_;
	GError * _inner_error_ = NULL;
#line 612 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_if_fail (self != NULL);
#line 613 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	blank = TRUE;
#line 617 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp1_ = tracker_sparql_query_accept (self, TRACKER_SPARQL_TOKEN_TYPE_WITH, &_inner_error_);
#line 617 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp0_ = _tmp1_;
#line 617 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 617 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		g_propagate_error (error, _inner_error_);
#line 617 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		return;
#line 6466 "tracker-sparql-query.c"
	}
#line 617 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (_tmp0_) {
#line 618 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		tracker_sparql_query_parse_from_or_into_param (self, &_inner_error_);
#line 618 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 618 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_propagate_error (error, _inner_error_);
#line 618 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return;
#line 6478 "tracker-sparql-query.c"
		}
	} else {
#line 620 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_g_free0 (self->priv->current_graph);
#line 620 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		self->priv->current_graph = NULL;
#line 6485 "tracker-sparql-query.c"
	}
#line 623 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	delete_location = NULL;
#line 624 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	insert_location = NULL;
#line 625 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	insert_is_update = FALSE;
#line 626 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	delete_where = FALSE;
#line 627 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	data = FALSE;
#line 633 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp3_ = tracker_sparql_query_accept (self, TRACKER_SPARQL_TOKEN_TYPE_DELETE, &_inner_error_);
#line 633 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp2_ = _tmp3_;
#line 633 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 633 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		g_propagate_error (error, _inner_error_);
#line 633 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tracker_source_location_free0 (insert_location);
#line 633 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tracker_source_location_free0 (delete_location);
#line 633 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		return;
#line 6511 "tracker-sparql-query.c"
	}
#line 633 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (_tmp2_) {
#line 6515 "tracker-sparql-query.c"
		gboolean _tmp4_ = FALSE;
		gboolean _tmp5_;
		gboolean _tmp6_ = FALSE;
		const gchar* _tmp7_;
		gboolean _tmp10_ = FALSE;
		const gchar* _tmp11_;
		TrackerSourceLocation _tmp16_ = {0};
		TrackerSourceLocation* _tmp17_;
		gboolean _tmp18_ = FALSE;
		gboolean _tmp19_;
#line 634 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		blank = FALSE;
#line 637 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp5_ = tracker_sparql_query_accept (self, TRACKER_SPARQL_TOKEN_TYPE_SILENT, &_inner_error_);
#line 637 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp4_ = _tmp5_;
#line 637 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 637 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_propagate_error (error, _inner_error_);
#line 637 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tracker_source_location_free0 (insert_location);
#line 637 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tracker_source_location_free0 (delete_location);
#line 637 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return;
#line 6542 "tracker-sparql-query.c"
		}
#line 637 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		self->priv->silent = _tmp4_;
#line 639 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp7_ = self->priv->current_graph;
#line 639 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (_tmp7_ == NULL) {
#line 6550 "tracker-sparql-query.c"
			gboolean _tmp8_ = FALSE;
			gboolean _tmp9_;
#line 639 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp9_ = tracker_sparql_query_accept (self, TRACKER_SPARQL_TOKEN_TYPE_FROM, &_inner_error_);
#line 639 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp8_ = _tmp9_;
#line 639 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 639 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_propagate_error (error, _inner_error_);
#line 639 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tracker_source_location_free0 (insert_location);
#line 639 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tracker_source_location_free0 (delete_location);
#line 639 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return;
#line 6567 "tracker-sparql-query.c"
			}
#line 639 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp6_ = _tmp8_;
#line 6571 "tracker-sparql-query.c"
		} else {
#line 639 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp6_ = FALSE;
#line 6575 "tracker-sparql-query.c"
		}
#line 639 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (_tmp6_) {
#line 640 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			tracker_sparql_query_parse_from_or_into_param (self, &_inner_error_);
#line 640 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 640 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_propagate_error (error, _inner_error_);
#line 640 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tracker_source_location_free0 (insert_location);
#line 640 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tracker_source_location_free0 (delete_location);
#line 640 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return;
#line 6591 "tracker-sparql-query.c"
			}
		}
#line 643 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp11_ = self->priv->current_graph;
#line 643 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (_tmp11_ == NULL) {
#line 6598 "tracker-sparql-query.c"
			gboolean _tmp12_ = FALSE;
			gboolean _tmp13_;
#line 643 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp13_ = tracker_sparql_query_accept (self, TRACKER_SPARQL_TOKEN_TYPE_DATA, &_inner_error_);
#line 643 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp12_ = _tmp13_;
#line 643 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 643 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_propagate_error (error, _inner_error_);
#line 643 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tracker_source_location_free0 (insert_location);
#line 643 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tracker_source_location_free0 (delete_location);
#line 643 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return;
#line 6615 "tracker-sparql-query.c"
			}
#line 643 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp10_ = _tmp12_;
#line 6619 "tracker-sparql-query.c"
		} else {
#line 643 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp10_ = FALSE;
#line 6623 "tracker-sparql-query.c"
		}
#line 643 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (_tmp10_) {
#line 646 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			data = TRUE;
#line 6629 "tracker-sparql-query.c"
		} else {
			gboolean _tmp14_ = FALSE;
			gboolean _tmp15_;
#line 647 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp15_ = tracker_sparql_query_accept (self, TRACKER_SPARQL_TOKEN_TYPE_WHERE, &_inner_error_);
#line 647 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp14_ = _tmp15_;
#line 647 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 647 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_propagate_error (error, _inner_error_);
#line 647 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tracker_source_location_free0 (insert_location);
#line 647 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tracker_source_location_free0 (delete_location);
#line 647 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return;
#line 6647 "tracker-sparql-query.c"
			}
#line 647 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (_tmp14_) {
#line 650 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				delete_where = TRUE;
#line 6653 "tracker-sparql-query.c"
			}
		}
#line 653 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		tracker_sparql_query_get_location (self, &_tmp16_);
#line 653 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp17_ = _tracker_source_location_dup0 (&_tmp16_);
#line 653 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tracker_source_location_free0 (delete_location);
#line 653 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		delete_location = _tmp17_;
#line 655 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp19_ = data;
#line 655 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (!_tmp19_) {
#line 6668 "tracker-sparql-query.c"
			gboolean _tmp20_;
#line 655 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp20_ = delete_where;
#line 655 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp18_ = !_tmp20_;
#line 6674 "tracker-sparql-query.c"
		} else {
#line 655 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp18_ = FALSE;
#line 6678 "tracker-sparql-query.c"
		}
#line 655 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (_tmp18_) {
#line 656 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			tracker_sparql_query_skip_braces (self, &_inner_error_);
#line 656 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 656 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_propagate_error (error, _inner_error_);
#line 656 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tracker_source_location_free0 (insert_location);
#line 656 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tracker_source_location_free0 (delete_location);
#line 656 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return;
#line 6694 "tracker-sparql-query.c"
			}
		}
	}
#line 660 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp23_ = data;
#line 660 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (!_tmp23_) {
#line 6702 "tracker-sparql-query.c"
		gboolean _tmp24_;
#line 660 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp24_ = delete_where;
#line 660 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp22_ = !_tmp24_;
#line 6708 "tracker-sparql-query.c"
	} else {
#line 660 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp22_ = FALSE;
#line 6712 "tracker-sparql-query.c"
	}
#line 660 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (_tmp22_) {
#line 6716 "tracker-sparql-query.c"
		gboolean _tmp25_ = FALSE;
		gboolean _tmp26_;
#line 660 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp26_ = tracker_sparql_query_accept (self, TRACKER_SPARQL_TOKEN_TYPE_INSERT, &_inner_error_);
#line 660 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp25_ = _tmp26_;
#line 660 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 660 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_propagate_error (error, _inner_error_);
#line 660 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tracker_source_location_free0 (insert_location);
#line 660 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tracker_source_location_free0 (delete_location);
#line 660 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return;
#line 6733 "tracker-sparql-query.c"
		}
#line 660 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp21_ = _tmp25_;
#line 6737 "tracker-sparql-query.c"
	} else {
#line 660 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp21_ = FALSE;
#line 6741 "tracker-sparql-query.c"
	}
#line 660 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (_tmp21_) {
#line 6745 "tracker-sparql-query.c"
		gboolean _tmp27_ = FALSE;
		gboolean _tmp28_;
		gboolean _tmp29_;
		gboolean _tmp32_ = FALSE;
		const gchar* _tmp33_;
		gboolean _tmp36_ = FALSE;
		const gchar* _tmp37_;
		TrackerSparqlTokenType _tmp40_;
		TrackerSourceLocation _tmp42_ = {0};
		TrackerSourceLocation* _tmp43_;
		gboolean _tmp44_;
#line 661 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp28_ = tracker_sparql_query_accept (self, TRACKER_SPARQL_TOKEN_TYPE_OR, &_inner_error_);
#line 661 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp27_ = _tmp28_;
#line 661 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 661 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_propagate_error (error, _inner_error_);
#line 661 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tracker_source_location_free0 (insert_location);
#line 661 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tracker_source_location_free0 (delete_location);
#line 661 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return;
#line 6771 "tracker-sparql-query.c"
		}
#line 661 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (_tmp27_) {
#line 662 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			tracker_sparql_query_expect (self, TRACKER_SPARQL_TOKEN_TYPE_REPLACE, &_inner_error_);
#line 662 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 662 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_propagate_error (error, _inner_error_);
#line 662 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tracker_source_location_free0 (insert_location);
#line 662 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tracker_source_location_free0 (delete_location);
#line 662 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return;
#line 6787 "tracker-sparql-query.c"
			}
#line 663 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			insert_is_update = TRUE;
#line 6791 "tracker-sparql-query.c"
		}
#line 666 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp29_ = insert_is_update;
#line 666 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (!_tmp29_) {
#line 6797 "tracker-sparql-query.c"
			gboolean _tmp30_ = FALSE;
			gboolean _tmp31_;
#line 668 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp31_ = tracker_sparql_query_accept (self, TRACKER_SPARQL_TOKEN_TYPE_SILENT, &_inner_error_);
#line 668 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp30_ = _tmp31_;
#line 668 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 668 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_propagate_error (error, _inner_error_);
#line 668 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tracker_source_location_free0 (insert_location);
#line 668 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tracker_source_location_free0 (delete_location);
#line 668 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return;
#line 6814 "tracker-sparql-query.c"
			}
#line 668 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			self->priv->silent = _tmp30_;
#line 6818 "tracker-sparql-query.c"
		}
#line 671 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp33_ = self->priv->current_graph;
#line 671 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (_tmp33_ == NULL) {
#line 6824 "tracker-sparql-query.c"
			gboolean _tmp34_ = FALSE;
			gboolean _tmp35_;
#line 671 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp35_ = tracker_sparql_query_accept (self, TRACKER_SPARQL_TOKEN_TYPE_INTO, &_inner_error_);
#line 671 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp34_ = _tmp35_;
#line 671 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 671 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_propagate_error (error, _inner_error_);
#line 671 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tracker_source_location_free0 (insert_location);
#line 671 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tracker_source_location_free0 (delete_location);
#line 671 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return;
#line 6841 "tracker-sparql-query.c"
			}
#line 671 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp32_ = _tmp34_;
#line 6845 "tracker-sparql-query.c"
		} else {
#line 671 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp32_ = FALSE;
#line 6849 "tracker-sparql-query.c"
		}
#line 671 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (_tmp32_) {
#line 672 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			tracker_sparql_query_parse_from_or_into_param (self, &_inner_error_);
#line 672 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 672 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_propagate_error (error, _inner_error_);
#line 672 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tracker_source_location_free0 (insert_location);
#line 672 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tracker_source_location_free0 (delete_location);
#line 672 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return;
#line 6865 "tracker-sparql-query.c"
			}
		}
#line 675 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp37_ = self->priv->current_graph;
#line 675 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (_tmp37_ == NULL) {
#line 6872 "tracker-sparql-query.c"
			gboolean _tmp38_ = FALSE;
			gboolean _tmp39_;
#line 675 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp39_ = tracker_sparql_query_accept (self, TRACKER_SPARQL_TOKEN_TYPE_DATA, &_inner_error_);
#line 675 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp38_ = _tmp39_;
#line 675 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 675 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_propagate_error (error, _inner_error_);
#line 675 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tracker_source_location_free0 (insert_location);
#line 675 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tracker_source_location_free0 (delete_location);
#line 675 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return;
#line 6889 "tracker-sparql-query.c"
			}
#line 675 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp36_ = _tmp38_;
#line 6893 "tracker-sparql-query.c"
		} else {
#line 675 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp36_ = FALSE;
#line 6897 "tracker-sparql-query.c"
		}
#line 675 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (_tmp36_) {
#line 678 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			data = TRUE;
#line 6903 "tracker-sparql-query.c"
		}
#line 681 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp40_ = tracker_sparql_query_current (self);
#line 681 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (_tmp40_ != TRACKER_SPARQL_TOKEN_TYPE_OPEN_BRACE) {
#line 6909 "tracker-sparql-query.c"
			GError* _tmp41_;
#line 682 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp41_ = tracker_sparql_query_get_error (self, "Expected '{' beginning a quad data/pattern block");
#line 682 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_inner_error_ = _tmp41_;
#line 682 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_propagate_error (error, _inner_error_);
#line 682 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tracker_source_location_free0 (insert_location);
#line 682 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tracker_source_location_free0 (delete_location);
#line 682 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return;
#line 6923 "tracker-sparql-query.c"
		}
#line 685 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		tracker_sparql_query_get_location (self, &_tmp42_);
#line 685 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp43_ = _tracker_source_location_dup0 (&_tmp42_);
#line 685 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tracker_source_location_free0 (insert_location);
#line 685 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		insert_location = _tmp43_;
#line 687 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp44_ = data;
#line 687 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (!_tmp44_) {
#line 688 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			tracker_sparql_query_skip_braces (self, &_inner_error_);
#line 688 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 688 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_propagate_error (error, _inner_error_);
#line 688 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tracker_source_location_free0 (insert_location);
#line 688 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tracker_source_location_free0 (delete_location);
#line 688 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return;
#line 6949 "tracker-sparql-query.c"
			}
		}
	}
#line 692 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp45_ = g_string_new ("");
#line 692 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	pattern_sql = _tmp45_;
#line 694 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp46_ = g_string_new ("");
#line 694 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	sql = _tmp46_;
#line 696 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp47_ = data;
#line 696 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (!_tmp47_) {
#line 6965 "tracker-sparql-query.c"
		gboolean _tmp48_ = FALSE;
		gboolean _tmp49_;
#line 697 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp49_ = delete_where;
#line 697 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (_tmp49_) {
#line 697 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp48_ = TRUE;
#line 6974 "tracker-sparql-query.c"
		} else {
			gboolean _tmp50_ = FALSE;
			gboolean _tmp51_;
#line 697 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp51_ = tracker_sparql_query_accept (self, TRACKER_SPARQL_TOKEN_TYPE_WHERE, &_inner_error_);
#line 697 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp50_ = _tmp51_;
#line 697 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 697 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_propagate_error (error, _inner_error_);
#line 697 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_g_string_free0 (sql);
#line 697 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_g_string_free0 (pattern_sql);
#line 697 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tracker_source_location_free0 (insert_location);
#line 697 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tracker_source_location_free0 (delete_location);
#line 697 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return;
#line 6996 "tracker-sparql-query.c"
			}
#line 697 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp48_ = _tmp50_;
#line 7000 "tracker-sparql-query.c"
		}
#line 697 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (_tmp48_) {
#line 7004 "tracker-sparql-query.c"
			TrackerSparqlPattern* _tmp52_;
			const gchar* _tmp53_;
			gchar* _tmp54_;
			TrackerSparqlContext* _tmp55_ = NULL;
			TrackerSparqlPattern* _tmp56_;
			GString* _tmp57_;
			TrackerSparqlContext* _tmp58_;
			TrackerSparqlContext* _tmp59_;
			TrackerSparqlPattern* _tmp60_;
#line 698 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp52_ = self->pattern;
#line 698 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp53_ = self->priv->current_graph;
#line 698 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp54_ = g_strdup (_tmp53_);
#line 698 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_free0 (_tmp52_->current_graph);
#line 698 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp52_->current_graph = _tmp54_;
#line 699 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp56_ = self->pattern;
#line 699 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp57_ = pattern_sql;
#line 699 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp58_ = tracker_sparql_pattern_translate_group_graph_pattern (_tmp56_, _tmp57_, &_inner_error_);
#line 699 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp55_ = _tmp58_;
#line 699 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 699 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_propagate_error (error, _inner_error_);
#line 699 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_g_string_free0 (sql);
#line 699 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_g_string_free0 (pattern_sql);
#line 699 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tracker_source_location_free0 (insert_location);
#line 699 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tracker_source_location_free0 (delete_location);
#line 699 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return;
#line 7046 "tracker-sparql-query.c"
			}
#line 699 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp59_ = _tmp55_;
#line 699 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp55_ = NULL;
#line 699 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tracker_sparql_context_unref0 (self->context);
#line 699 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			self->context = _tmp59_;
#line 700 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp60_ = self->pattern;
#line 700 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_free0 (_tmp60_->current_graph);
#line 700 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp60_->current_graph = NULL;
#line 697 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tracker_sparql_context_unref0 (_tmp55_);
#line 7064 "tracker-sparql-query.c"
		} else {
			TrackerSparqlContext* _tmp61_;
			GString* _tmp62_;
#line 702 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp61_ = tracker_sparql_context_new (self, NULL);
#line 702 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tracker_sparql_context_unref0 (self->context);
#line 702 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			self->context = _tmp61_;
#line 704 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp62_ = pattern_sql;
#line 704 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_string_append (_tmp62_, "SELECT 1");
#line 7078 "tracker-sparql-query.c"
		}
	} else {
		gint _tmp63_ = 0;
		gint _tmp64_;
		TrackerSparqlContext* _tmp66_;
		GString* _tmp67_;
#line 709 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp64_ = tracker_sparql_query_quad_data_unbound_var_count (self, &_inner_error_);
#line 709 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp63_ = _tmp64_;
#line 709 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 709 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_propagate_error (error, _inner_error_);
#line 709 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_string_free0 (sql);
#line 709 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_string_free0 (pattern_sql);
#line 709 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tracker_source_location_free0 (insert_location);
#line 709 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tracker_source_location_free0 (delete_location);
#line 709 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return;
#line 7103 "tracker-sparql-query.c"
		}
#line 709 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (_tmp63_ > 0) {
#line 7107 "tracker-sparql-query.c"
			GError* _tmp65_;
#line 710 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp65_ = tracker_sparql_query_get_error (self, "INSERT/DELETE DATA do not allow unbound values");
#line 710 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_inner_error_ = _tmp65_;
#line 710 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_propagate_error (error, _inner_error_);
#line 710 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_string_free0 (sql);
#line 710 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_string_free0 (pattern_sql);
#line 710 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tracker_source_location_free0 (insert_location);
#line 710 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tracker_source_location_free0 (delete_location);
#line 710 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return;
#line 7125 "tracker-sparql-query.c"
		}
#line 713 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp66_ = tracker_sparql_context_new (self, NULL);
#line 713 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tracker_sparql_context_unref0 (self->context);
#line 713 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		self->context = _tmp66_;
#line 715 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp67_ = pattern_sql;
#line 715 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		g_string_append (_tmp67_, "SELECT 1");
#line 7137 "tracker-sparql-query.c"
	}
#line 718 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	tracker_sparql_query_get_location (self, &_tmp68_);
#line 718 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	after_where = _tmp68_;
#line 720 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp69_ = tracker_sparql_solution_new ();
#line 720 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	solution = _tmp69_;
#line 723 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp70_ = sql;
#line 723 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_string_append (_tmp70_, "SELECT ");
#line 724 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	var_idx = 0;
#line 725 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp71_ = self->context;
#line 725 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp72_ = _tmp71_->var_set;
#line 725 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp73_ = g_hash_table_get_keys (_tmp72_);
#line 7159 "tracker-sparql-query.c"
	{
		GList* variable_collection = NULL;
		GList* variable_it = NULL;
#line 725 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		variable_collection = _tmp73_;
#line 725 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		for (variable_it = variable_collection; variable_it != NULL; variable_it = variable_it->next) {
#line 7167 "tracker-sparql-query.c"
			TrackerSparqlVariable* variable = NULL;
#line 725 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			variable = (TrackerSparqlVariable*) variable_it->data;
#line 7171 "tracker-sparql-query.c"
			{
				gint _tmp74_;
				TrackerSparqlVariable* _tmp76_;
				TrackerSparqlVariableBinding* _tmp77_;
				GString* _tmp85_;
				TrackerSparqlVariable* _tmp86_;
				const gchar* _tmp87_;
				const gchar* _tmp88_;
				TrackerSparqlVariable* _tmp89_;
				TrackerSparqlVariableBinding* _tmp90_;
				TrackerPropertyType _tmp91_;
				TrackerSparqlSolution* _tmp92_;
				GHashTable* _tmp93_;
				TrackerSparqlVariable* _tmp94_;
				const gchar* _tmp95_;
				const gchar* _tmp96_;
				gchar* _tmp97_;
				gint _tmp98_;
#line 726 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp74_ = var_idx;
#line 726 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				if (_tmp74_ > 0) {
#line 7194 "tracker-sparql-query.c"
					GString* _tmp75_;
#line 727 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp75_ = sql;
#line 727 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_string_append (_tmp75_, ", ");
#line 7200 "tracker-sparql-query.c"
				}
#line 730 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp76_ = variable;
#line 730 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp77_ = _tmp76_->binding;
#line 730 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				if (_tmp77_ == NULL) {
#line 7208 "tracker-sparql-query.c"
					TrackerSparqlVariable* _tmp78_;
					const gchar* _tmp79_;
					const gchar* _tmp80_;
					gchar* _tmp81_;
					gchar* _tmp82_;
					GError* _tmp83_;
					GError* _tmp84_;
#line 731 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp78_ = variable;
#line 731 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp79_ = tracker_sparql_variable_get_name (_tmp78_);
#line 731 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp80_ = _tmp79_;
#line 731 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp81_ = g_strdup_printf ("use of undefined variable `%s'", _tmp80_);
#line 731 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp82_ = _tmp81_;
#line 731 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp83_ = tracker_sparql_query_get_error (self, _tmp82_);
#line 731 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp84_ = _tmp83_;
#line 731 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_g_free0 (_tmp82_);
#line 731 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_inner_error_ = _tmp84_;
#line 731 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_propagate_error (error, _inner_error_);
#line 731 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_g_list_free0 (variable_collection);
#line 731 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tracker_sparql_solution_unref0 (solution);
#line 731 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_g_string_free0 (sql);
#line 731 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_g_string_free0 (pattern_sql);
#line 731 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tracker_source_location_free0 (insert_location);
#line 731 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tracker_source_location_free0 (delete_location);
#line 731 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					return;
#line 7250 "tracker-sparql-query.c"
				}
#line 733 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp85_ = sql;
#line 733 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp86_ = variable;
#line 733 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp87_ = tracker_sparql_variable_get_sql_expression (_tmp86_);
#line 733 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp88_ = _tmp87_;
#line 733 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp89_ = variable;
#line 733 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp90_ = _tmp89_->binding;
#line 733 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp91_ = ((TrackerSparqlDataBinding*) _tmp90_)->data_type;
#line 733 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				tracker_sparql_expression_append_expression_as_string (_tmp85_, _tmp88_, _tmp91_);
#line 735 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp92_ = solution;
#line 735 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp93_ = _tmp92_->hash;
#line 735 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp94_ = variable;
#line 735 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp95_ = tracker_sparql_variable_get_name (_tmp94_);
#line 735 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp96_ = _tmp95_;
#line 735 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp97_ = g_strdup (_tmp96_);
#line 735 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp98_ = var_idx;
#line 735 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				var_idx = _tmp98_ + 1;
#line 735 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_hash_table_insert (_tmp93_, _tmp97_, (gpointer) ((gintptr) _tmp98_));
#line 7286 "tracker-sparql-query.c"
			}
		}
#line 725 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_g_list_free0 (variable_collection);
#line 7291 "tracker-sparql-query.c"
	}
#line 738 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp99_ = var_idx;
#line 738 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (_tmp99_ == 0) {
#line 7297 "tracker-sparql-query.c"
		GString* _tmp100_;
#line 739 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp100_ = sql;
#line 739 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		g_string_append (_tmp100_, "1");
#line 7303 "tracker-sparql-query.c"
	}
#line 743 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp101_ = sql;
#line 743 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_string_append (_tmp101_, " FROM (");
#line 744 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp102_ = sql;
#line 744 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp103_ = pattern_sql;
#line 744 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp104_ = _tmp103_->str;
#line 744 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_string_append (_tmp102_, _tmp104_);
#line 745 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp105_ = sql;
#line 745 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_string_append (_tmp105_, ")");
#line 747 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp106_ = sql;
#line 747 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp107_ = _tmp106_->str;
#line 747 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp108_ = tracker_sparql_query_exec_sql_cursor (self, _tmp107_, NULL, 0, NULL, 0, &_inner_error_);
#line 747 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	cursor = _tmp108_;
#line 747 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 747 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		g_propagate_error (error, _inner_error_);
#line 747 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tracker_sparql_solution_unref0 (solution);
#line 747 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_g_string_free0 (sql);
#line 747 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_g_string_free0 (pattern_sql);
#line 747 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tracker_source_location_free0 (insert_location);
#line 747 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tracker_source_location_free0 (delete_location);
#line 747 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		return;
#line 7345 "tracker-sparql-query.c"
	}
#line 749 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	n_solutions = 0;
#line 750 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	while (TRUE) {
#line 7351 "tracker-sparql-query.c"
		gboolean _tmp109_ = FALSE;
		TrackerDBCursor* _tmp110_;
		gboolean _tmp111_;
		gint _tmp124_;
#line 750 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp110_ = cursor;
#line 750 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp111_ = tracker_sparql_cursor_next ((TrackerSparqlCursor*) _tmp110_, NULL, &_inner_error_);
#line 750 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp109_ = _tmp111_;
#line 750 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 750 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_propagate_error (error, _inner_error_);
#line 750 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_object_unref0 (cursor);
#line 750 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tracker_sparql_solution_unref0 (solution);
#line 750 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_string_free0 (sql);
#line 750 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_string_free0 (pattern_sql);
#line 750 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tracker_source_location_free0 (insert_location);
#line 750 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tracker_source_location_free0 (delete_location);
#line 750 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return;
#line 7380 "tracker-sparql-query.c"
		}
#line 750 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (!_tmp109_) {
#line 750 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			break;
#line 7386 "tracker-sparql-query.c"
		}
		{
			gboolean _tmp112_ = FALSE;
#line 752 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			var_idx = 0;
#line 752 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp112_ = TRUE;
#line 752 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			while (TRUE) {
#line 7396 "tracker-sparql-query.c"
				gint _tmp114_;
				TrackerSparqlSolution* _tmp115_;
				GHashTable* _tmp116_;
				guint _tmp117_;
				TrackerSparqlSolution* _tmp118_;
				GPtrArray* _tmp119_;
				TrackerDBCursor* _tmp120_;
				gint _tmp121_;
				const gchar* _tmp122_;
				gchar* _tmp123_;
#line 752 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				if (!_tmp112_) {
#line 7409 "tracker-sparql-query.c"
					gint _tmp113_;
#line 752 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp113_ = var_idx;
#line 752 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					var_idx = _tmp113_ + 1;
#line 7415 "tracker-sparql-query.c"
				}
#line 752 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp112_ = FALSE;
#line 752 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp114_ = var_idx;
#line 752 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp115_ = solution;
#line 752 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp116_ = _tmp115_->hash;
#line 752 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp117_ = g_hash_table_size (_tmp116_);
#line 752 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				if (!(((guint) _tmp114_) < _tmp117_)) {
#line 752 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					break;
#line 7431 "tracker-sparql-query.c"
				}
#line 753 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp118_ = solution;
#line 753 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp119_ = _tmp118_->values;
#line 753 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp120_ = cursor;
#line 753 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp121_ = var_idx;
#line 753 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp122_ = tracker_sparql_cursor_get_string ((TrackerSparqlCursor*) _tmp120_, _tmp121_, NULL);
#line 753 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp123_ = g_strdup (_tmp122_);
#line 753 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_ptr_array_add (_tmp119_, _tmp123_);
#line 7447 "tracker-sparql-query.c"
			}
		}
#line 755 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp124_ = n_solutions;
#line 755 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		n_solutions = _tmp124_ + 1;
#line 7454 "tracker-sparql-query.c"
	}
#line 758 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_object_unref0 (cursor);
#line 758 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	cursor = NULL;
#line 762 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp125_ = delete_location;
#line 762 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (_tmp125_ != NULL) {
#line 7464 "tracker-sparql-query.c"
		TrackerSourceLocation* _tmp135_;
		{
			gint i = 0;
#line 763 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			i = 0;
#line 7470 "tracker-sparql-query.c"
			{
				gboolean _tmp126_ = FALSE;
#line 763 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp126_ = TRUE;
#line 763 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				while (TRUE) {
#line 7477 "tracker-sparql-query.c"
					gint _tmp128_;
					gint _tmp129_;
					TrackerSparqlSolution* _tmp130_;
					gint _tmp131_;
					TrackerSourceLocation* _tmp132_;
					TrackerSourceLocation _tmp133_;
					TrackerSparqlSolution* _tmp134_;
#line 763 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					if (!_tmp126_) {
#line 7487 "tracker-sparql-query.c"
						gint _tmp127_;
#line 763 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tmp127_ = i;
#line 763 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						i = _tmp127_ + 1;
#line 7493 "tracker-sparql-query.c"
					}
#line 763 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp126_ = FALSE;
#line 763 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp128_ = i;
#line 763 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp129_ = n_solutions;
#line 763 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					if (!(_tmp128_ < _tmp129_)) {
#line 763 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						break;
#line 7505 "tracker-sparql-query.c"
					}
#line 764 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp130_ = solution;
#line 764 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp131_ = i;
#line 764 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp130_->solution_index = _tmp131_;
#line 765 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp132_ = delete_location;
#line 765 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp133_ = *_tmp132_;
#line 765 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					tracker_sparql_query_set_location (self, &_tmp133_);
#line 766 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp134_ = solution;
#line 766 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					tracker_sparql_query_parse_construct_triples_block (self, _tmp134_, TRACKER_SPARQL_UPDATE_TYPE_DELETE, &_inner_error_);
#line 766 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 766 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						g_propagate_error (error, _inner_error_);
#line 766 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_object_unref0 (cursor);
#line 766 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tracker_sparql_solution_unref0 (solution);
#line 766 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_string_free0 (sql);
#line 766 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_string_free0 (pattern_sql);
#line 766 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tracker_source_location_free0 (insert_location);
#line 766 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tracker_source_location_free0 (delete_location);
#line 766 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						return;
#line 7541 "tracker-sparql-query.c"
					}
#line 767 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					tracker_data_update_buffer_might_flush (&_inner_error_);
#line 767 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 767 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						g_propagate_error (error, _inner_error_);
#line 767 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_object_unref0 (cursor);
#line 767 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tracker_sparql_solution_unref0 (solution);
#line 767 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_string_free0 (sql);
#line 767 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_string_free0 (pattern_sql);
#line 767 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tracker_source_location_free0 (insert_location);
#line 767 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tracker_source_location_free0 (delete_location);
#line 767 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						return;
#line 7563 "tracker-sparql-query.c"
					}
				}
			}
		}
#line 773 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp135_ = insert_location;
#line 773 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (_tmp135_ != NULL) {
#line 774 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			tracker_data_update_buffer_flush (&_inner_error_);
#line 774 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 774 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_propagate_error (error, _inner_error_);
#line 774 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_g_object_unref0 (cursor);
#line 774 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tracker_sparql_solution_unref0 (solution);
#line 774 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_g_string_free0 (sql);
#line 774 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_g_string_free0 (pattern_sql);
#line 774 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tracker_source_location_free0 (insert_location);
#line 774 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tracker_source_location_free0 (delete_location);
#line 774 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return;
#line 7592 "tracker-sparql-query.c"
			}
		}
	}
#line 778 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp136_ = insert_location;
#line 778 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (_tmp136_ != NULL) {
#line 7600 "tracker-sparql-query.c"
		{
			gint i = 0;
#line 779 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			i = 0;
#line 7605 "tracker-sparql-query.c"
			{
				gboolean _tmp137_ = FALSE;
#line 779 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp137_ = TRUE;
#line 779 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				while (TRUE) {
#line 7612 "tracker-sparql-query.c"
					gint _tmp139_;
					gint _tmp140_;
					guchar* _tmp141_;
					gint _tmp141__length1;
					GHashFunc _tmp142_;
					GEqualFunc _tmp143_;
					GDestroyNotify _tmp144_;
					GDestroyNotify _tmp145_;
					GHashTable* _tmp146_;
					TrackerSparqlSolution* _tmp147_;
					gint _tmp148_;
					TrackerSourceLocation* _tmp149_;
					TrackerSourceLocation _tmp150_;
					TrackerSparqlUpdateType _tmp151_ = 0;
					gboolean _tmp152_;
					TrackerSparqlSolution* _tmp153_;
					gboolean _tmp154_ = FALSE;
					gboolean _tmp155_;
#line 779 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					if (!_tmp137_) {
#line 7633 "tracker-sparql-query.c"
						gint _tmp138_;
#line 779 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tmp138_ = i;
#line 779 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						i = _tmp138_ + 1;
#line 7639 "tracker-sparql-query.c"
					}
#line 779 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp137_ = FALSE;
#line 779 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp139_ = i;
#line 779 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp140_ = n_solutions;
#line 779 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					if (!(_tmp139_ < _tmp140_)) {
#line 779 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						break;
#line 7651 "tracker-sparql-query.c"
					}
#line 780 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp141_ = self->priv->base_uuid;
#line 780 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp141__length1 = self->priv->base_uuid_length1;
#line 780 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					uuid_generate (_tmp141_);
#line 781 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp142_ = g_str_hash;
#line 781 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp143_ = g_str_equal;
#line 781 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp144_ = g_free;
#line 781 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp145_ = g_free;
#line 781 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp146_ = g_hash_table_new_full (_tmp142_, _tmp143_, _tmp144_, _tmp145_);
#line 781 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_g_hash_table_unref0 (self->priv->blank_nodes);
#line 781 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					self->priv->blank_nodes = _tmp146_;
#line 782 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp147_ = solution;
#line 782 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp148_ = i;
#line 782 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp147_->solution_index = _tmp148_;
#line 784 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp149_ = insert_location;
#line 784 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp150_ = *_tmp149_;
#line 784 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					tracker_sparql_query_set_location (self, &_tmp150_);
#line 786 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp152_ = insert_is_update;
#line 786 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					if (_tmp152_) {
#line 787 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tmp151_ = TRACKER_SPARQL_UPDATE_TYPE_UPDATE;
#line 7691 "tracker-sparql-query.c"
					} else {
#line 788 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tmp151_ = TRACKER_SPARQL_UPDATE_TYPE_INSERT;
#line 7695 "tracker-sparql-query.c"
					}
#line 785 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp153_ = solution;
#line 785 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					tracker_sparql_query_parse_construct_triples_block (self, _tmp153_, _tmp151_, &_inner_error_);
#line 785 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 785 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						g_propagate_error (error, _inner_error_);
#line 785 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_object_unref0 (cursor);
#line 785 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tracker_sparql_solution_unref0 (solution);
#line 785 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_string_free0 (sql);
#line 785 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_string_free0 (pattern_sql);
#line 785 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tracker_source_location_free0 (insert_location);
#line 785 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tracker_source_location_free0 (delete_location);
#line 785 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						return;
#line 7719 "tracker-sparql-query.c"
					}
#line 790 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp155_ = blank;
#line 790 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					if (_tmp155_) {
#line 7725 "tracker-sparql-query.c"
						GVariantBuilder* _tmp156_;
#line 790 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tmp156_ = update_blank_nodes;
#line 790 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tmp154_ = _tmp156_ != NULL;
#line 7731 "tracker-sparql-query.c"
					} else {
#line 790 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tmp154_ = FALSE;
#line 7735 "tracker-sparql-query.c"
					}
#line 790 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					if (_tmp154_) {
#line 7739 "tracker-sparql-query.c"
						GVariantBuilder* _tmp157_;
						GHashTable* _tmp158_;
						GVariant* _tmp163_;
#line 791 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tmp157_ = update_blank_nodes;
#line 791 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tmp158_ = self->priv->blank_nodes;
#line 791 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tmp163_ = _variant_new1 (_tmp158_);
#line 791 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						g_variant_builder_add_value (_tmp157_, _tmp163_);
#line 791 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_variant_unref0 (_tmp163_);
#line 7753 "tracker-sparql-query.c"
					}
#line 794 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					tracker_data_update_buffer_might_flush (&_inner_error_);
#line 794 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 794 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						g_propagate_error (error, _inner_error_);
#line 794 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_object_unref0 (cursor);
#line 794 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tracker_sparql_solution_unref0 (solution);
#line 794 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_string_free0 (sql);
#line 794 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_string_free0 (pattern_sql);
#line 794 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tracker_source_location_free0 (insert_location);
#line 794 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tracker_source_location_free0 (delete_location);
#line 794 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						return;
#line 7775 "tracker-sparql-query.c"
					}
				}
			}
		}
	}
#line 798 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tracker_sparql_solution_unref0 (solution);
#line 798 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	solution = NULL;
#line 800 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp164_ = data;
#line 800 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (!_tmp164_) {
#line 7789 "tracker-sparql-query.c"
		TrackerSourceLocation _tmp165_;
#line 802 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp165_ = after_where;
#line 802 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		tracker_sparql_query_set_location (self, &_tmp165_);
#line 7795 "tracker-sparql-query.c"
	}
#line 806 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	tracker_data_update_buffer_flush (&_inner_error_);
#line 806 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 806 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		g_propagate_error (error, _inner_error_);
#line 806 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_g_object_unref0 (cursor);
#line 806 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tracker_sparql_solution_unref0 (solution);
#line 806 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_g_string_free0 (sql);
#line 806 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_g_string_free0 (pattern_sql);
#line 806 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tracker_source_location_free0 (insert_location);
#line 806 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tracker_source_location_free0 (delete_location);
#line 806 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		return;
#line 7817 "tracker-sparql-query.c"
	}
#line 807 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	__g_list_free__g_object_unref0_0 (self->bindings);
#line 807 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self->bindings = NULL;
#line 809 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp166_ = self->context;
#line 809 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp167_ = _tmp166_->parent_context;
#line 809 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp168_ = _tracker_sparql_context_ref0 (_tmp167_);
#line 809 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tracker_sparql_context_unref0 (self->context);
#line 809 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self->context = _tmp168_;
#line 612 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_object_unref0 (cursor);
#line 612 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tracker_sparql_solution_unref0 (solution);
#line 612 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_string_free0 (sql);
#line 612 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_string_free0 (pattern_sql);
#line 612 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tracker_source_location_free0 (insert_location);
#line 612 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tracker_source_location_free0 (delete_location);
#line 7845 "tracker-sparql-query.c"
}


gchar* tracker_sparql_query_resolve_prefixed_name (TrackerSparqlQuery* self, const gchar* prefix, const gchar* local_name, GError** error) {
	gchar* result = NULL;
	gchar* ns = NULL;
	GHashTable* _tmp0_;
	const gchar* _tmp1_;
	gconstpointer _tmp2_;
	gchar* _tmp3_;
	const gchar* _tmp4_;
	const gchar* _tmp10_;
	const gchar* _tmp11_;
	gchar* _tmp12_;
	GError * _inner_error_ = NULL;
#line 812 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 812 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_val_if_fail (prefix != NULL, NULL);
#line 812 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_val_if_fail (local_name != NULL, NULL);
#line 813 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp0_ = self->priv->prefix_map;
#line 813 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp1_ = prefix;
#line 813 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp2_ = g_hash_table_lookup (_tmp0_, _tmp1_);
#line 813 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp3_ = g_strdup ((const gchar*) _tmp2_);
#line 813 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	ns = _tmp3_;
#line 814 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp4_ = ns;
#line 814 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (_tmp4_ == NULL) {
#line 7881 "tracker-sparql-query.c"
		const gchar* _tmp5_;
		gchar* _tmp6_;
		gchar* _tmp7_;
		GError* _tmp8_;
		GError* _tmp9_;
#line 815 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp5_ = prefix;
#line 815 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp6_ = g_strdup_printf ("use of undefined prefix `%s'", _tmp5_);
#line 815 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp7_ = _tmp6_;
#line 815 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp8_ = tracker_sparql_query_get_error (self, _tmp7_);
#line 815 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp9_ = _tmp8_;
#line 815 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_g_free0 (_tmp7_);
#line 815 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_inner_error_ = _tmp9_;
#line 815 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 815 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_propagate_error (error, _inner_error_);
#line 815 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_free0 (ns);
#line 815 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return NULL;
#line 7909 "tracker-sparql-query.c"
		} else {
#line 815 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_free0 (ns);
#line 815 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_critical ("file %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-query.vala"
			g_clear_error (&_inner_error_);
#line 815 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return NULL;
#line 7919 "tracker-sparql-query.c"
		}
	}
#line 817 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp10_ = ns;
#line 817 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp11_ = local_name;
#line 817 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp12_ = g_strconcat (_tmp10_, _tmp11_, NULL);
#line 817 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	result = _tmp12_;
#line 817 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_free0 (ns);
#line 817 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return result;
#line 7934 "tracker-sparql-query.c"
}


static gint tracker_sparql_query_quad_data_unbound_var_count (TrackerSparqlQuery* self, GError** error) {
	gint result = 0;
	TrackerSourceLocation current_pos = {0};
	TrackerSourceLocation _tmp0_ = {0};
	gint n_braces = 0;
	gint n_unbound = 0;
	TrackerSourceLocation _tmp22_;
	GError * _inner_error_ = NULL;
#line 820 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 821 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	tracker_sparql_query_get_location (self, &_tmp0_);
#line 821 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	current_pos = _tmp0_;
#line 822 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	n_braces = 1;
#line 823 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	n_unbound = 0;
#line 825 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	tracker_sparql_query_expect (self, TRACKER_SPARQL_TOKEN_TYPE_OPEN_BRACE, &_inner_error_);
#line 825 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 825 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 7962 "tracker-sparql-query.c"
			gint _tmp1_ = 0;
#line 825 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_propagate_error (error, _inner_error_);
#line 825 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return _tmp1_;
#line 7968 "tracker-sparql-query.c"
		} else {
			gint _tmp2_ = 0;
#line 825 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 825 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_clear_error (&_inner_error_);
#line 825 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return _tmp2_;
#line 7977 "tracker-sparql-query.c"
		}
	}
#line 826 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	while (TRUE) {
#line 7982 "tracker-sparql-query.c"
		gint _tmp3_;
		gboolean _tmp4_ = FALSE;
		gboolean _tmp5_;
#line 826 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp3_ = n_braces;
#line 826 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (!(_tmp3_ > 0)) {
#line 826 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			break;
#line 7992 "tracker-sparql-query.c"
		}
#line 827 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp5_ = tracker_sparql_query_accept (self, TRACKER_SPARQL_TOKEN_TYPE_OPEN_BRACE, &_inner_error_);
#line 827 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp4_ = _tmp5_;
#line 827 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 827 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 8002 "tracker-sparql-query.c"
				gint _tmp6_ = 0;
#line 827 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_propagate_error (error, _inner_error_);
#line 827 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return _tmp6_;
#line 8008 "tracker-sparql-query.c"
			} else {
				gint _tmp7_ = 0;
#line 827 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 827 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_clear_error (&_inner_error_);
#line 827 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return _tmp7_;
#line 8017 "tracker-sparql-query.c"
			}
		}
#line 827 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (_tmp4_) {
#line 8022 "tracker-sparql-query.c"
			gint _tmp8_;
#line 828 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp8_ = n_braces;
#line 828 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			n_braces = _tmp8_ + 1;
#line 8028 "tracker-sparql-query.c"
		} else {
			gboolean _tmp9_ = FALSE;
			gboolean _tmp10_;
#line 829 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp10_ = tracker_sparql_query_accept (self, TRACKER_SPARQL_TOKEN_TYPE_CLOSE_BRACE, &_inner_error_);
#line 829 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp9_ = _tmp10_;
#line 829 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 829 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 8040 "tracker-sparql-query.c"
					gint _tmp11_ = 0;
#line 829 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_propagate_error (error, _inner_error_);
#line 829 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					return _tmp11_;
#line 8046 "tracker-sparql-query.c"
				} else {
					gint _tmp12_ = 0;
#line 829 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 829 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_clear_error (&_inner_error_);
#line 829 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					return _tmp12_;
#line 8055 "tracker-sparql-query.c"
				}
			}
#line 829 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (_tmp9_) {
#line 8060 "tracker-sparql-query.c"
				gint _tmp13_;
#line 830 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp13_ = n_braces;
#line 830 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				n_braces = _tmp13_ - 1;
#line 8066 "tracker-sparql-query.c"
			} else {
				TrackerSparqlTokenType _tmp14_;
#line 831 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp14_ = tracker_sparql_query_current (self);
#line 831 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				if (_tmp14_ == TRACKER_SPARQL_TOKEN_TYPE_EOF) {
#line 8073 "tracker-sparql-query.c"
					GError* _tmp15_;
#line 832 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp15_ = tracker_sparql_query_get_error (self, "unexpected end of query, expected }");
#line 832 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_inner_error_ = _tmp15_;
#line 832 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 8081 "tracker-sparql-query.c"
						gint _tmp16_ = 0;
#line 832 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						g_propagate_error (error, _inner_error_);
#line 832 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						return _tmp16_;
#line 8087 "tracker-sparql-query.c"
					} else {
						gint _tmp17_ = 0;
#line 832 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 832 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						g_clear_error (&_inner_error_);
#line 832 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						return _tmp17_;
#line 8096 "tracker-sparql-query.c"
					}
				} else {
					TrackerSparqlTokenType _tmp18_;
#line 834 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp18_ = tracker_sparql_query_current (self);
#line 834 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					if (_tmp18_ == TRACKER_SPARQL_TOKEN_TYPE_VAR) {
#line 8104 "tracker-sparql-query.c"
						gint _tmp19_;
#line 835 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tmp19_ = n_unbound;
#line 835 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						n_unbound = _tmp19_ + 1;
#line 8110 "tracker-sparql-query.c"
					}
#line 837 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					tracker_sparql_query_next (self, &_inner_error_);
#line 837 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 837 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 8118 "tracker-sparql-query.c"
							gint _tmp20_ = 0;
#line 837 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							g_propagate_error (error, _inner_error_);
#line 837 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							return _tmp20_;
#line 8124 "tracker-sparql-query.c"
						} else {
							gint _tmp21_ = 0;
#line 837 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 837 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							g_clear_error (&_inner_error_);
#line 837 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							return _tmp21_;
#line 8133 "tracker-sparql-query.c"
						}
					}
				}
			}
		}
	}
#line 841 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp22_ = current_pos;
#line 841 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	tracker_sparql_query_set_location (self, &_tmp22_);
#line 842 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	result = n_unbound;
#line 842 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return result;
#line 8148 "tracker-sparql-query.c"
}


static void tracker_sparql_query_skip_braces (TrackerSparqlQuery* self, GError** error) {
	gint n_braces = 0;
	GError * _inner_error_ = NULL;
#line 845 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_if_fail (self != NULL);
#line 846 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	tracker_sparql_query_expect (self, TRACKER_SPARQL_TOKEN_TYPE_OPEN_BRACE, &_inner_error_);
#line 846 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 846 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 846 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_propagate_error (error, _inner_error_);
#line 846 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return;
#line 8167 "tracker-sparql-query.c"
		} else {
#line 846 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 846 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_clear_error (&_inner_error_);
#line 846 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return;
#line 8175 "tracker-sparql-query.c"
		}
	}
#line 847 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	n_braces = 1;
#line 848 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	while (TRUE) {
#line 8182 "tracker-sparql-query.c"
		gint _tmp0_;
		gboolean _tmp1_ = FALSE;
		gboolean _tmp2_;
#line 848 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp0_ = n_braces;
#line 848 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (!(_tmp0_ > 0)) {
#line 848 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			break;
#line 8192 "tracker-sparql-query.c"
		}
#line 849 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp2_ = tracker_sparql_query_accept (self, TRACKER_SPARQL_TOKEN_TYPE_OPEN_BRACE, &_inner_error_);
#line 849 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp1_ = _tmp2_;
#line 849 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 849 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 849 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_propagate_error (error, _inner_error_);
#line 849 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return;
#line 8206 "tracker-sparql-query.c"
			} else {
#line 849 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 849 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_clear_error (&_inner_error_);
#line 849 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return;
#line 8214 "tracker-sparql-query.c"
			}
		}
#line 849 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (_tmp1_) {
#line 8219 "tracker-sparql-query.c"
			gint _tmp3_;
#line 850 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp3_ = n_braces;
#line 850 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			n_braces = _tmp3_ + 1;
#line 8225 "tracker-sparql-query.c"
		} else {
			gboolean _tmp4_ = FALSE;
			gboolean _tmp5_;
#line 851 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp5_ = tracker_sparql_query_accept (self, TRACKER_SPARQL_TOKEN_TYPE_CLOSE_BRACE, &_inner_error_);
#line 851 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp4_ = _tmp5_;
#line 851 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 851 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 851 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_propagate_error (error, _inner_error_);
#line 851 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					return;
#line 8241 "tracker-sparql-query.c"
				} else {
#line 851 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 851 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_clear_error (&_inner_error_);
#line 851 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					return;
#line 8249 "tracker-sparql-query.c"
				}
			}
#line 851 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (_tmp4_) {
#line 8254 "tracker-sparql-query.c"
				gint _tmp6_;
#line 852 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp6_ = n_braces;
#line 852 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				n_braces = _tmp6_ - 1;
#line 8260 "tracker-sparql-query.c"
			} else {
				TrackerSparqlTokenType _tmp7_;
#line 853 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp7_ = tracker_sparql_query_current (self);
#line 853 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				if (_tmp7_ == TRACKER_SPARQL_TOKEN_TYPE_EOF) {
#line 8267 "tracker-sparql-query.c"
					GError* _tmp8_;
#line 854 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp8_ = tracker_sparql_query_get_error (self, "unexpected end of query, expected }");
#line 854 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_inner_error_ = _tmp8_;
#line 854 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 854 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						g_propagate_error (error, _inner_error_);
#line 854 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						return;
#line 8279 "tracker-sparql-query.c"
					} else {
#line 854 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 854 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						g_clear_error (&_inner_error_);
#line 854 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						return;
#line 8287 "tracker-sparql-query.c"
					}
				} else {
#line 857 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					tracker_sparql_query_next (self, &_inner_error_);
#line 857 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 857 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 857 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							g_propagate_error (error, _inner_error_);
#line 857 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							return;
#line 8300 "tracker-sparql-query.c"
						} else {
#line 857 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 857 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							g_clear_error (&_inner_error_);
#line 857 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							return;
#line 8308 "tracker-sparql-query.c"
						}
					}
				}
			}
		}
	}
}


static void tracker_sparql_query_parse_construct_triples_block (TrackerSparqlQuery* self, TrackerSparqlSolution* var_value_map, TrackerSparqlUpdateType type, GError** error) {
	GError * _inner_error_ = NULL;
#line 862 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_if_fail (self != NULL);
#line 862 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_if_fail (var_value_map != NULL);
#line 863 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	tracker_sparql_query_expect (self, TRACKER_SPARQL_TOKEN_TYPE_OPEN_BRACE, &_inner_error_);
#line 863 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 863 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if ((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 863 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_propagate_error (error, _inner_error_);
#line 863 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return;
#line 8334 "tracker-sparql-query.c"
		} else {
#line 863 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_critical ("file %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-query.vala"
			g_clear_error (&_inner_error_);
#line 863 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return;
#line 8342 "tracker-sparql-query.c"
		}
	}
#line 865 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	while (TRUE) {
#line 8347 "tracker-sparql-query.c"
		TrackerSparqlTokenType _tmp0_;
		gboolean is_null = FALSE;
		gboolean _tmp1_ = FALSE;
		gboolean _tmp2_;
#line 865 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp0_ = tracker_sparql_query_current (self);
#line 865 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (!(_tmp0_ != TRACKER_SPARQL_TOKEN_TYPE_CLOSE_BRACE)) {
#line 865 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			break;
#line 8358 "tracker-sparql-query.c"
		}
#line 866 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		is_null = FALSE;
#line 868 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp2_ = tracker_sparql_query_accept (self, TRACKER_SPARQL_TOKEN_TYPE_GRAPH, &_inner_error_);
#line 868 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp1_ = _tmp2_;
#line 868 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 868 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if ((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 868 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_propagate_error (error, _inner_error_);
#line 868 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return;
#line 8374 "tracker-sparql-query.c"
			} else {
#line 868 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_critical ("file %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-query.vala"
				g_clear_error (&_inner_error_);
#line 868 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return;
#line 8382 "tracker-sparql-query.c"
			}
		}
#line 868 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (_tmp1_) {
#line 8387 "tracker-sparql-query.c"
			gchar* old_graph = NULL;
			const gchar* _tmp3_;
			gchar* _tmp4_;
			gchar* _tmp5_ = NULL;
			TrackerSparqlSolution* _tmp6_;
			TrackerSparqlUpdateType _tmp7_;
			gboolean _tmp8_ = FALSE;
			gchar* _tmp9_;
			gchar* _tmp10_;
			gboolean _tmp11_;
			const gchar* _tmp26_;
			gchar* _tmp27_;
#line 869 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp3_ = self->priv->current_graph;
#line 869 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp4_ = g_strdup (_tmp3_);
#line 869 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			old_graph = _tmp4_;
#line 870 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp6_ = var_value_map;
#line 870 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp7_ = type;
#line 870 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp9_ = tracker_sparql_query_parse_construct_var_or_term (self, _tmp6_, _tmp7_, &_tmp8_, &_inner_error_);
#line 870 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			is_null = _tmp8_;
#line 870 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp5_ = _tmp9_;
#line 870 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 870 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				if ((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 870 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_propagate_error (error, _inner_error_);
#line 870 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_g_free0 (old_graph);
#line 870 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					return;
#line 8426 "tracker-sparql-query.c"
				} else {
#line 870 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_g_free0 (old_graph);
#line 870 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 870 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_clear_error (&_inner_error_);
#line 870 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					return;
#line 8436 "tracker-sparql-query.c"
				}
			}
#line 870 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp10_ = _tmp5_;
#line 870 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp5_ = NULL;
#line 870 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_free0 (self->priv->current_graph);
#line 870 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			self->priv->current_graph = _tmp10_;
#line 872 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp11_ = is_null;
#line 872 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (_tmp11_) {
#line 8451 "tracker-sparql-query.c"
				GError* _tmp12_;
#line 873 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp12_ = tracker_sparql_query_get_error (self, "'null' not supported for graph");
#line 873 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_inner_error_ = _tmp12_;
#line 873 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				if ((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 873 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_propagate_error (error, _inner_error_);
#line 873 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_g_free0 (_tmp5_);
#line 873 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_g_free0 (old_graph);
#line 873 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					return;
#line 8467 "tracker-sparql-query.c"
				} else {
#line 873 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_g_free0 (_tmp5_);
#line 873 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_g_free0 (old_graph);
#line 873 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 873 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_clear_error (&_inner_error_);
#line 873 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					return;
#line 8479 "tracker-sparql-query.c"
				}
			}
#line 876 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			tracker_sparql_query_expect (self, TRACKER_SPARQL_TOKEN_TYPE_OPEN_BRACE, &_inner_error_);
#line 876 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 876 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				if ((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 876 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_propagate_error (error, _inner_error_);
#line 876 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_g_free0 (_tmp5_);
#line 876 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_g_free0 (old_graph);
#line 876 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					return;
#line 8496 "tracker-sparql-query.c"
				} else {
#line 876 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_g_free0 (_tmp5_);
#line 876 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_g_free0 (old_graph);
#line 876 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 876 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_clear_error (&_inner_error_);
#line 876 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					return;
#line 8508 "tracker-sparql-query.c"
				}
			}
#line 878 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			while (TRUE) {
#line 8513 "tracker-sparql-query.c"
				TrackerSparqlTokenType _tmp13_;
				gchar* _tmp14_ = NULL;
				TrackerSparqlSolution* _tmp15_;
				TrackerSparqlUpdateType _tmp16_;
				gboolean _tmp17_ = FALSE;
				gchar* _tmp18_;
				gchar* _tmp19_;
				gboolean _tmp20_;
				TrackerSparqlSolution* _tmp22_;
				TrackerSparqlUpdateType _tmp23_;
				gboolean _tmp24_ = FALSE;
				gboolean _tmp25_;
#line 878 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp13_ = tracker_sparql_query_current (self);
#line 878 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				if (!(_tmp13_ != TRACKER_SPARQL_TOKEN_TYPE_CLOSE_BRACE)) {
#line 878 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					break;
#line 8532 "tracker-sparql-query.c"
				}
#line 879 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp15_ = var_value_map;
#line 879 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp16_ = type;
#line 879 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp18_ = tracker_sparql_query_parse_construct_var_or_term (self, _tmp15_, _tmp16_, &_tmp17_, &_inner_error_);
#line 879 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				is_null = _tmp17_;
#line 879 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp14_ = _tmp18_;
#line 879 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 879 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					if ((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 879 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						g_propagate_error (error, _inner_error_);
#line 879 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_free0 (_tmp5_);
#line 879 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_free0 (old_graph);
#line 879 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						return;
#line 8556 "tracker-sparql-query.c"
					} else {
#line 879 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_free0 (_tmp5_);
#line 879 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_free0 (old_graph);
#line 879 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 879 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						g_clear_error (&_inner_error_);
#line 879 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						return;
#line 8568 "tracker-sparql-query.c"
					}
				}
#line 879 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp19_ = _tmp14_;
#line 879 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp14_ = NULL;
#line 879 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_g_free0 (self->priv->current_subject);
#line 879 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				self->priv->current_subject = _tmp19_;
#line 881 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp20_ = is_null;
#line 881 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				if (_tmp20_) {
#line 8583 "tracker-sparql-query.c"
					GError* _tmp21_;
#line 882 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp21_ = tracker_sparql_query_get_error (self, "'null' not supported for subject");
#line 882 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_inner_error_ = _tmp21_;
#line 882 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					if ((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 882 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						g_propagate_error (error, _inner_error_);
#line 882 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_free0 (_tmp14_);
#line 882 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_free0 (_tmp5_);
#line 882 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_free0 (old_graph);
#line 882 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						return;
#line 8601 "tracker-sparql-query.c"
					} else {
#line 882 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_free0 (_tmp14_);
#line 882 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_free0 (_tmp5_);
#line 882 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_free0 (old_graph);
#line 882 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 882 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						g_clear_error (&_inner_error_);
#line 882 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						return;
#line 8615 "tracker-sparql-query.c"
					}
				}
#line 885 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp22_ = var_value_map;
#line 885 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp23_ = type;
#line 885 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				tracker_sparql_query_parse_construct_property_list_not_empty (self, _tmp22_, _tmp23_, &_inner_error_);
#line 885 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 885 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					if ((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 885 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						g_propagate_error (error, _inner_error_);
#line 885 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_free0 (_tmp14_);
#line 885 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_free0 (_tmp5_);
#line 885 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_free0 (old_graph);
#line 885 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						return;
#line 8638 "tracker-sparql-query.c"
					} else {
#line 885 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_free0 (_tmp14_);
#line 885 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_free0 (_tmp5_);
#line 885 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_free0 (old_graph);
#line 885 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 885 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						g_clear_error (&_inner_error_);
#line 885 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						return;
#line 8652 "tracker-sparql-query.c"
					}
				}
#line 886 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp25_ = tracker_sparql_query_accept (self, TRACKER_SPARQL_TOKEN_TYPE_DOT, &_inner_error_);
#line 886 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp24_ = _tmp25_;
#line 886 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 886 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					if ((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 886 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						g_propagate_error (error, _inner_error_);
#line 886 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_free0 (_tmp14_);
#line 886 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_free0 (_tmp5_);
#line 886 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_free0 (old_graph);
#line 886 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						return;
#line 8673 "tracker-sparql-query.c"
					} else {
#line 886 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_free0 (_tmp14_);
#line 886 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_free0 (_tmp5_);
#line 886 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_free0 (old_graph);
#line 886 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 886 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						g_clear_error (&_inner_error_);
#line 886 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						return;
#line 8687 "tracker-sparql-query.c"
					}
				}
#line 886 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				if (!_tmp24_) {
#line 888 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_g_free0 (_tmp14_);
#line 888 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					break;
#line 8696 "tracker-sparql-query.c"
				}
#line 878 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_g_free0 (_tmp14_);
#line 8700 "tracker-sparql-query.c"
			}
#line 892 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			tracker_sparql_query_expect (self, TRACKER_SPARQL_TOKEN_TYPE_CLOSE_BRACE, &_inner_error_);
#line 892 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 892 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				if ((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 892 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_propagate_error (error, _inner_error_);
#line 892 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_g_free0 (_tmp5_);
#line 892 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_g_free0 (old_graph);
#line 892 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					return;
#line 8716 "tracker-sparql-query.c"
				} else {
#line 892 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_g_free0 (_tmp5_);
#line 892 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_g_free0 (old_graph);
#line 892 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 892 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_clear_error (&_inner_error_);
#line 892 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					return;
#line 8728 "tracker-sparql-query.c"
				}
			}
#line 894 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp26_ = old_graph;
#line 894 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp27_ = g_strdup (_tmp26_);
#line 894 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_free0 (self->priv->current_graph);
#line 894 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			self->priv->current_graph = _tmp27_;
#line 896 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			tracker_sparql_query_accept (self, TRACKER_SPARQL_TOKEN_TYPE_DOT, &_inner_error_);
#line 896 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 896 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				if ((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 896 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_propagate_error (error, _inner_error_);
#line 896 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_g_free0 (_tmp5_);
#line 896 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_g_free0 (old_graph);
#line 896 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					return;
#line 8753 "tracker-sparql-query.c"
				} else {
#line 896 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_g_free0 (_tmp5_);
#line 896 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_g_free0 (old_graph);
#line 896 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 896 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_clear_error (&_inner_error_);
#line 896 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					return;
#line 8765 "tracker-sparql-query.c"
				}
			}
#line 868 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_free0 (_tmp5_);
#line 868 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_free0 (old_graph);
#line 8772 "tracker-sparql-query.c"
		} else {
			gchar* _tmp28_ = NULL;
			TrackerSparqlSolution* _tmp29_;
			TrackerSparqlUpdateType _tmp30_;
			gboolean _tmp31_ = FALSE;
			gchar* _tmp32_;
			gchar* _tmp33_;
			gboolean _tmp34_;
			TrackerSparqlSolution* _tmp36_;
			TrackerSparqlUpdateType _tmp37_;
			gboolean _tmp38_ = FALSE;
			gboolean _tmp39_ = FALSE;
			gboolean _tmp40_;
#line 898 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp29_ = var_value_map;
#line 898 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp30_ = type;
#line 898 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp32_ = tracker_sparql_query_parse_construct_var_or_term (self, _tmp29_, _tmp30_, &_tmp31_, &_inner_error_);
#line 898 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			is_null = _tmp31_;
#line 898 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp28_ = _tmp32_;
#line 898 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 898 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				if ((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 898 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_propagate_error (error, _inner_error_);
#line 898 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					return;
#line 8804 "tracker-sparql-query.c"
				} else {
#line 898 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 898 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_clear_error (&_inner_error_);
#line 898 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					return;
#line 8812 "tracker-sparql-query.c"
				}
			}
#line 898 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp33_ = _tmp28_;
#line 898 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp28_ = NULL;
#line 898 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_free0 (self->priv->current_subject);
#line 898 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			self->priv->current_subject = _tmp33_;
#line 900 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp34_ = is_null;
#line 900 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (_tmp34_) {
#line 8827 "tracker-sparql-query.c"
				GError* _tmp35_;
#line 901 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp35_ = tracker_sparql_query_get_error (self, "'null' not supported for subject");
#line 901 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_inner_error_ = _tmp35_;
#line 901 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				if ((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 901 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_propagate_error (error, _inner_error_);
#line 901 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_g_free0 (_tmp28_);
#line 901 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					return;
#line 8841 "tracker-sparql-query.c"
				} else {
#line 901 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_g_free0 (_tmp28_);
#line 901 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 901 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_clear_error (&_inner_error_);
#line 901 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					return;
#line 8851 "tracker-sparql-query.c"
				}
			}
#line 904 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp36_ = var_value_map;
#line 904 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp37_ = type;
#line 904 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			tracker_sparql_query_parse_construct_property_list_not_empty (self, _tmp36_, _tmp37_, &_inner_error_);
#line 904 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 904 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				if ((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 904 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_propagate_error (error, _inner_error_);
#line 904 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_g_free0 (_tmp28_);
#line 904 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					return;
#line 8870 "tracker-sparql-query.c"
				} else {
#line 904 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_g_free0 (_tmp28_);
#line 904 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 904 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_clear_error (&_inner_error_);
#line 904 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					return;
#line 8880 "tracker-sparql-query.c"
				}
			}
#line 905 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp40_ = tracker_sparql_query_accept (self, TRACKER_SPARQL_TOKEN_TYPE_DOT, &_inner_error_);
#line 905 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp39_ = _tmp40_;
#line 905 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 905 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				if ((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 905 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_propagate_error (error, _inner_error_);
#line 905 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_g_free0 (_tmp28_);
#line 905 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					return;
#line 8897 "tracker-sparql-query.c"
				} else {
#line 905 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_g_free0 (_tmp28_);
#line 905 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 905 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_clear_error (&_inner_error_);
#line 905 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					return;
#line 8907 "tracker-sparql-query.c"
				}
			}
#line 905 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (!_tmp39_) {
#line 8912 "tracker-sparql-query.c"
				TrackerSparqlTokenType _tmp41_;
#line 905 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp41_ = tracker_sparql_query_current (self);
#line 905 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp38_ = _tmp41_ != TRACKER_SPARQL_TOKEN_TYPE_GRAPH;
#line 8918 "tracker-sparql-query.c"
			} else {
#line 905 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp38_ = FALSE;
#line 8922 "tracker-sparql-query.c"
			}
#line 905 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (_tmp38_) {
#line 907 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_g_free0 (_tmp28_);
#line 907 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				break;
#line 8930 "tracker-sparql-query.c"
			}
#line 868 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_free0 (_tmp28_);
#line 8934 "tracker-sparql-query.c"
		}
	}
#line 912 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	tracker_sparql_query_expect (self, TRACKER_SPARQL_TOKEN_TYPE_CLOSE_BRACE, &_inner_error_);
#line 912 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 912 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if ((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 912 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_propagate_error (error, _inner_error_);
#line 912 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return;
#line 8947 "tracker-sparql-query.c"
		} else {
#line 912 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 912 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_clear_error (&_inner_error_);
#line 912 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return;
#line 8955 "tracker-sparql-query.c"
		}
	}
}


static gchar* tracker_sparql_query_parse_construct_var_or_term (TrackerSparqlQuery* self, TrackerSparqlSolution* var_value_map, TrackerSparqlUpdateType type, gboolean* is_null, GError** error) {
	gboolean _vala_is_null = FALSE;
	gchar* result = NULL;
	gchar* _result_ = NULL;
	gchar* _tmp0_;
	TrackerSparqlTokenType _tmp1_;
	GError * _inner_error_ = NULL;
#line 917 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 917 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_val_if_fail (var_value_map != NULL, NULL);
#line 918 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp0_ = g_strdup ("");
#line 918 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_result_ = _tmp0_;
#line 919 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_vala_is_null = FALSE;
#line 920 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp1_ = tracker_sparql_query_current (self);
#line 920 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (_tmp1_ == TRACKER_SPARQL_TOKEN_TYPE_VAR) {
#line 8982 "tracker-sparql-query.c"
		TrackerSparqlSolution* _tmp2_;
		gchar* _tmp3_;
		gchar* _tmp4_;
		gchar* _tmp5_;
		gchar* _tmp6_;
		gchar* _tmp7_;
#line 921 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		tracker_sparql_query_next (self, &_inner_error_);
#line 921 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 921 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if ((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 921 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_propagate_error (error, _inner_error_);
#line 921 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_g_free0 (_result_);
#line 921 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return NULL;
#line 9001 "tracker-sparql-query.c"
			} else {
#line 921 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_g_free0 (_result_);
#line 921 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_critical ("file %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-query.vala"
				g_clear_error (&_inner_error_);
#line 921 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return NULL;
#line 9011 "tracker-sparql-query.c"
			}
		}
#line 922 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp2_ = var_value_map;
#line 922 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp3_ = tracker_sparql_query_get_last_string (self, 0);
#line 922 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp4_ = _tmp3_;
#line 922 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp5_ = string_substring (_tmp4_, (glong) 1, (glong) -1);
#line 922 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp6_ = _tmp5_;
#line 922 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp7_ = tracker_sparql_solution_lookup (_tmp2_, _tmp6_);
#line 922 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_g_free0 (_result_);
#line 922 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_result_ = _tmp7_;
#line 922 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_g_free0 (_tmp6_);
#line 922 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_g_free0 (_tmp4_);
#line 9034 "tracker-sparql-query.c"
	} else {
		TrackerSparqlTokenType _tmp8_;
#line 923 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp8_ = tracker_sparql_query_current (self);
#line 923 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (_tmp8_ == TRACKER_SPARQL_TOKEN_TYPE_IRI_REF) {
#line 9041 "tracker-sparql-query.c"
			gchar* _tmp9_;
#line 924 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			tracker_sparql_query_next (self, &_inner_error_);
#line 924 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 924 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				if ((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 924 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_propagate_error (error, _inner_error_);
#line 924 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_g_free0 (_result_);
#line 924 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					return NULL;
#line 9055 "tracker-sparql-query.c"
				} else {
#line 924 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_g_free0 (_result_);
#line 924 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_critical ("file %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-query.vala"
					g_clear_error (&_inner_error_);
#line 924 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					return NULL;
#line 9065 "tracker-sparql-query.c"
				}
			}
#line 925 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp9_ = tracker_sparql_query_get_last_string (self, 1);
#line 925 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_free0 (_result_);
#line 925 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_result_ = _tmp9_;
#line 9074 "tracker-sparql-query.c"
		} else {
			TrackerSparqlTokenType _tmp10_;
#line 926 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp10_ = tracker_sparql_query_current (self);
#line 926 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (_tmp10_ == TRACKER_SPARQL_TOKEN_TYPE_PN_PREFIX) {
#line 9081 "tracker-sparql-query.c"
				gchar* ns = NULL;
				gchar* _tmp11_;
				gchar* _tmp12_ = NULL;
				const gchar* _tmp13_;
				gchar* _tmp14_;
				gchar* _tmp15_;
				gchar* _tmp16_;
				gchar* _tmp17_;
				gchar* _tmp18_;
				gchar* _tmp19_;
				gchar* _tmp20_;
#line 928 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				tracker_sparql_query_next (self, &_inner_error_);
#line 928 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 928 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					if ((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 928 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						g_propagate_error (error, _inner_error_);
#line 928 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_free0 (_result_);
#line 928 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						return NULL;
#line 9105 "tracker-sparql-query.c"
					} else {
#line 928 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_free0 (_result_);
#line 928 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 928 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						g_clear_error (&_inner_error_);
#line 928 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						return NULL;
#line 9115 "tracker-sparql-query.c"
					}
				}
#line 929 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp11_ = tracker_sparql_query_get_last_string (self, 0);
#line 929 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				ns = _tmp11_;
#line 930 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				tracker_sparql_query_expect (self, TRACKER_SPARQL_TOKEN_TYPE_COLON, &_inner_error_);
#line 930 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 930 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					if ((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 930 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						g_propagate_error (error, _inner_error_);
#line 930 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_free0 (ns);
#line 930 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_free0 (_result_);
#line 930 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						return NULL;
#line 9136 "tracker-sparql-query.c"
					} else {
#line 930 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_free0 (ns);
#line 930 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_free0 (_result_);
#line 930 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 930 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						g_clear_error (&_inner_error_);
#line 930 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						return NULL;
#line 9148 "tracker-sparql-query.c"
					}
				}
#line 931 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp13_ = ns;
#line 931 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp14_ = tracker_sparql_query_get_last_string (self, 0);
#line 931 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp15_ = _tmp14_;
#line 931 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp16_ = string_substring (_tmp15_, (glong) 1, (glong) -1);
#line 931 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp17_ = _tmp16_;
#line 931 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp18_ = tracker_sparql_query_resolve_prefixed_name (self, _tmp13_, _tmp17_, &_inner_error_);
#line 931 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp19_ = _tmp18_;
#line 931 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_g_free0 (_tmp17_);
#line 931 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_g_free0 (_tmp15_);
#line 931 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp12_ = _tmp19_;
#line 931 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 931 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					if ((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 931 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						g_propagate_error (error, _inner_error_);
#line 931 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_free0 (ns);
#line 931 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_free0 (_result_);
#line 931 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						return NULL;
#line 9183 "tracker-sparql-query.c"
					} else {
#line 931 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_free0 (ns);
#line 931 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_free0 (_result_);
#line 931 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 931 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						g_clear_error (&_inner_error_);
#line 931 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						return NULL;
#line 9195 "tracker-sparql-query.c"
					}
				}
#line 931 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp20_ = _tmp12_;
#line 931 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp12_ = NULL;
#line 931 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_g_free0 (_result_);
#line 931 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_result_ = _tmp20_;
#line 926 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_g_free0 (_tmp12_);
#line 926 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_g_free0 (ns);
#line 9210 "tracker-sparql-query.c"
			} else {
				TrackerSparqlTokenType _tmp21_;
#line 932 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp21_ = tracker_sparql_query_current (self);
#line 932 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				if (_tmp21_ == TRACKER_SPARQL_TOKEN_TYPE_COLON) {
#line 9217 "tracker-sparql-query.c"
					gchar* _tmp22_ = NULL;
					gchar* _tmp23_;
					gchar* _tmp24_;
					gchar* _tmp25_;
					gchar* _tmp26_;
					gchar* _tmp27_;
					gchar* _tmp28_;
					gchar* _tmp29_;
#line 934 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					tracker_sparql_query_next (self, &_inner_error_);
#line 934 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 934 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						if ((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 934 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							g_propagate_error (error, _inner_error_);
#line 934 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							_g_free0 (_result_);
#line 934 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							return NULL;
#line 9238 "tracker-sparql-query.c"
						} else {
#line 934 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							_g_free0 (_result_);
#line 934 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 934 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							g_clear_error (&_inner_error_);
#line 934 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							return NULL;
#line 9248 "tracker-sparql-query.c"
						}
					}
#line 935 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp23_ = tracker_sparql_query_get_last_string (self, 0);
#line 935 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp24_ = _tmp23_;
#line 935 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp25_ = string_substring (_tmp24_, (glong) 1, (glong) -1);
#line 935 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp26_ = _tmp25_;
#line 935 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp27_ = tracker_sparql_query_resolve_prefixed_name (self, "", _tmp26_, &_inner_error_);
#line 935 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp28_ = _tmp27_;
#line 935 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_g_free0 (_tmp26_);
#line 935 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_g_free0 (_tmp24_);
#line 935 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp22_ = _tmp28_;
#line 935 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 935 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						if ((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 935 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							g_propagate_error (error, _inner_error_);
#line 935 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							_g_free0 (_result_);
#line 935 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							return NULL;
#line 9279 "tracker-sparql-query.c"
						} else {
#line 935 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							_g_free0 (_result_);
#line 935 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 935 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							g_clear_error (&_inner_error_);
#line 935 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							return NULL;
#line 9289 "tracker-sparql-query.c"
						}
					}
#line 935 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp29_ = _tmp22_;
#line 935 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp22_ = NULL;
#line 935 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_g_free0 (_result_);
#line 935 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_result_ = _tmp29_;
#line 932 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_g_free0 (_tmp22_);
#line 9302 "tracker-sparql-query.c"
				} else {
					gboolean _tmp30_ = FALSE;
					gboolean _tmp31_;
#line 936 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp31_ = tracker_sparql_query_accept (self, TRACKER_SPARQL_TOKEN_TYPE_BLANK_NODE, &_inner_error_);
#line 936 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp30_ = _tmp31_;
#line 936 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 936 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						if ((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 936 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							g_propagate_error (error, _inner_error_);
#line 936 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							_g_free0 (_result_);
#line 936 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							return NULL;
#line 9320 "tracker-sparql-query.c"
						} else {
#line 936 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							_g_free0 (_result_);
#line 936 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 936 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							g_clear_error (&_inner_error_);
#line 936 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							return NULL;
#line 9330 "tracker-sparql-query.c"
						}
					}
#line 936 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					if (_tmp30_) {
#line 9335 "tracker-sparql-query.c"
						gchar* _tmp32_;
						gchar* _tmp33_;
						gchar* _tmp34_;
						gchar* _tmp35_;
						gchar* _tmp36_;
#line 938 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						tracker_sparql_query_expect (self, TRACKER_SPARQL_TOKEN_TYPE_COLON, &_inner_error_);
#line 938 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 938 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							if ((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 938 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								g_propagate_error (error, _inner_error_);
#line 938 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								_g_free0 (_result_);
#line 938 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								return NULL;
#line 9353 "tracker-sparql-query.c"
							} else {
#line 938 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								_g_free0 (_result_);
#line 938 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 938 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								g_clear_error (&_inner_error_);
#line 938 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								return NULL;
#line 9363 "tracker-sparql-query.c"
							}
						}
#line 939 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tmp32_ = tracker_sparql_query_get_last_string (self, 0);
#line 939 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tmp33_ = _tmp32_;
#line 939 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tmp34_ = string_substring (_tmp33_, (glong) 1, (glong) -1);
#line 939 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tmp35_ = _tmp34_;
#line 939 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tmp36_ = tracker_sparql_query_generate_bnodeid (self, _tmp35_);
#line 939 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_free0 (_result_);
#line 939 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_result_ = _tmp36_;
#line 939 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_free0 (_tmp35_);
#line 939 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_free0 (_tmp33_);
#line 9384 "tracker-sparql-query.c"
					} else {
						TrackerSparqlTokenType _tmp37_;
#line 940 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tmp37_ = tracker_sparql_query_current (self);
#line 940 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						if (_tmp37_ == TRACKER_SPARQL_TOKEN_TYPE_MINUS) {
#line 9391 "tracker-sparql-query.c"
							gboolean _tmp38_ = FALSE;
							gboolean _tmp39_ = FALSE;
							TrackerSparqlTokenType _tmp40_;
#line 941 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							tracker_sparql_query_next (self, &_inner_error_);
#line 941 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 941 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								if ((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 941 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
									g_propagate_error (error, _inner_error_);
#line 941 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
									_g_free0 (_result_);
#line 941 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
									return NULL;
#line 9407 "tracker-sparql-query.c"
								} else {
#line 941 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
									_g_free0 (_result_);
#line 941 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
									g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 941 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
									g_clear_error (&_inner_error_);
#line 941 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
									return NULL;
#line 9417 "tracker-sparql-query.c"
								}
							}
#line 942 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							_tmp40_ = tracker_sparql_query_current (self);
#line 942 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							if (_tmp40_ == TRACKER_SPARQL_TOKEN_TYPE_INTEGER) {
#line 942 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								_tmp39_ = TRUE;
#line 9426 "tracker-sparql-query.c"
							} else {
								TrackerSparqlTokenType _tmp41_;
#line 943 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								_tmp41_ = tracker_sparql_query_current (self);
#line 943 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								_tmp39_ = _tmp41_ == TRACKER_SPARQL_TOKEN_TYPE_DECIMAL;
#line 9433 "tracker-sparql-query.c"
							}
#line 942 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							if (_tmp39_) {
#line 942 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								_tmp38_ = TRUE;
#line 9439 "tracker-sparql-query.c"
							} else {
								TrackerSparqlTokenType _tmp42_;
#line 944 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								_tmp42_ = tracker_sparql_query_current (self);
#line 944 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								_tmp38_ = _tmp42_ == TRACKER_SPARQL_TOKEN_TYPE_DOUBLE;
#line 9446 "tracker-sparql-query.c"
							}
#line 942 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							if (_tmp38_) {
#line 9450 "tracker-sparql-query.c"
								gchar* _tmp43_;
								gchar* _tmp44_;
								gchar* _tmp45_;
#line 945 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								tracker_sparql_query_next (self, &_inner_error_);
#line 945 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 945 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
									if ((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 945 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
										g_propagate_error (error, _inner_error_);
#line 945 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
										_g_free0 (_result_);
#line 945 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
										return NULL;
#line 9466 "tracker-sparql-query.c"
									} else {
#line 945 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
										_g_free0 (_result_);
#line 945 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
										g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 945 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
										g_clear_error (&_inner_error_);
#line 945 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
										return NULL;
#line 9476 "tracker-sparql-query.c"
									}
								}
#line 946 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								_tmp43_ = tracker_sparql_query_get_last_string (self, 0);
#line 946 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								_tmp44_ = _tmp43_;
#line 946 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								_tmp45_ = g_strconcat ("-", _tmp44_, NULL);
#line 946 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								_g_free0 (_result_);
#line 946 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								_result_ = _tmp45_;
#line 946 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								_g_free0 (_tmp44_);
#line 9491 "tracker-sparql-query.c"
							} else {
								GError* _tmp46_;
#line 948 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								_tmp46_ = tracker_sparql_query_get_error (self, "expected variable or term");
#line 948 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								_inner_error_ = _tmp46_;
#line 948 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								if ((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 948 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
									g_propagate_error (error, _inner_error_);
#line 948 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
									_g_free0 (_result_);
#line 948 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
									return NULL;
#line 9506 "tracker-sparql-query.c"
								} else {
#line 948 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
									_g_free0 (_result_);
#line 948 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
									g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 948 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
									g_clear_error (&_inner_error_);
#line 948 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
									return NULL;
#line 9516 "tracker-sparql-query.c"
								}
							}
						} else {
							TrackerSparqlTokenType _tmp47_;
#line 950 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							_tmp47_ = tracker_sparql_query_current (self);
#line 950 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							if (_tmp47_ == TRACKER_SPARQL_TOKEN_TYPE_INTEGER) {
#line 9525 "tracker-sparql-query.c"
								gchar* _tmp48_;
#line 951 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								tracker_sparql_query_next (self, &_inner_error_);
#line 951 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 951 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
									if ((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 951 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
										g_propagate_error (error, _inner_error_);
#line 951 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
										_g_free0 (_result_);
#line 951 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
										return NULL;
#line 9539 "tracker-sparql-query.c"
									} else {
#line 951 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
										_g_free0 (_result_);
#line 951 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
										g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 951 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
										g_clear_error (&_inner_error_);
#line 951 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
										return NULL;
#line 9549 "tracker-sparql-query.c"
									}
								}
#line 952 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								_tmp48_ = tracker_sparql_query_get_last_string (self, 0);
#line 952 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								_g_free0 (_result_);
#line 952 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								_result_ = _tmp48_;
#line 9558 "tracker-sparql-query.c"
							} else {
								TrackerSparqlTokenType _tmp49_;
#line 953 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								_tmp49_ = tracker_sparql_query_current (self);
#line 953 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								if (_tmp49_ == TRACKER_SPARQL_TOKEN_TYPE_NULL) {
#line 9565 "tracker-sparql-query.c"
									gchar* _tmp50_;
#line 954 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
									tracker_sparql_query_next (self, &_inner_error_);
#line 954 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
									if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 954 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
										if ((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 954 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
											g_propagate_error (error, _inner_error_);
#line 954 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
											_g_free0 (_result_);
#line 954 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
											return NULL;
#line 9579 "tracker-sparql-query.c"
										} else {
#line 954 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
											_g_free0 (_result_);
#line 954 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
											g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 954 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
											g_clear_error (&_inner_error_);
#line 954 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
											return NULL;
#line 9589 "tracker-sparql-query.c"
										}
									}
#line 955 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
									_tmp50_ = g_strdup ("null");
#line 955 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
									_g_free0 (_result_);
#line 955 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
									_result_ = _tmp50_;
#line 956 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
									_vala_is_null = TRUE;
#line 9600 "tracker-sparql-query.c"
								} else {
									TrackerSparqlTokenType _tmp51_;
#line 957 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
									_tmp51_ = tracker_sparql_query_current (self);
#line 957 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
									if (_tmp51_ == TRACKER_SPARQL_TOKEN_TYPE_DECIMAL) {
#line 9607 "tracker-sparql-query.c"
										gchar* _tmp52_;
#line 958 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
										tracker_sparql_query_next (self, &_inner_error_);
#line 958 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
										if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 958 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
											if ((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 958 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
												g_propagate_error (error, _inner_error_);
#line 958 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
												_g_free0 (_result_);
#line 958 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
												return NULL;
#line 9621 "tracker-sparql-query.c"
											} else {
#line 958 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
												_g_free0 (_result_);
#line 958 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
												g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 958 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
												g_clear_error (&_inner_error_);
#line 958 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
												return NULL;
#line 9631 "tracker-sparql-query.c"
											}
										}
#line 959 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
										_tmp52_ = tracker_sparql_query_get_last_string (self, 0);
#line 959 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
										_g_free0 (_result_);
#line 959 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
										_result_ = _tmp52_;
#line 9640 "tracker-sparql-query.c"
									} else {
										TrackerSparqlTokenType _tmp53_;
#line 960 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
										_tmp53_ = tracker_sparql_query_current (self);
#line 960 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
										if (_tmp53_ == TRACKER_SPARQL_TOKEN_TYPE_DOUBLE) {
#line 9647 "tracker-sparql-query.c"
											gchar* _tmp54_;
#line 961 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
											tracker_sparql_query_next (self, &_inner_error_);
#line 961 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
											if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 961 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
												if ((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 961 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
													g_propagate_error (error, _inner_error_);
#line 961 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
													_g_free0 (_result_);
#line 961 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
													return NULL;
#line 9661 "tracker-sparql-query.c"
												} else {
#line 961 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
													_g_free0 (_result_);
#line 961 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
													g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 961 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
													g_clear_error (&_inner_error_);
#line 961 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
													return NULL;
#line 9671 "tracker-sparql-query.c"
												}
											}
#line 962 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
											_tmp54_ = tracker_sparql_query_get_last_string (self, 0);
#line 962 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
											_g_free0 (_result_);
#line 962 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
											_result_ = _tmp54_;
#line 9680 "tracker-sparql-query.c"
										} else {
											TrackerSparqlTokenType _tmp55_;
#line 963 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
											_tmp55_ = tracker_sparql_query_current (self);
#line 963 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
											if (_tmp55_ == TRACKER_SPARQL_TOKEN_TYPE_TRUE) {
#line 9687 "tracker-sparql-query.c"
												gchar* _tmp56_;
#line 964 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
												tracker_sparql_query_next (self, &_inner_error_);
#line 964 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
												if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 964 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
													if ((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 964 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
														g_propagate_error (error, _inner_error_);
#line 964 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
														_g_free0 (_result_);
#line 964 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
														return NULL;
#line 9701 "tracker-sparql-query.c"
													} else {
#line 964 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
														_g_free0 (_result_);
#line 964 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
														g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 964 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
														g_clear_error (&_inner_error_);
#line 964 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
														return NULL;
#line 9711 "tracker-sparql-query.c"
													}
												}
#line 965 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
												_tmp56_ = g_strdup ("true");
#line 965 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
												_g_free0 (_result_);
#line 965 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
												_result_ = _tmp56_;
#line 9720 "tracker-sparql-query.c"
											} else {
												TrackerSparqlTokenType _tmp57_;
#line 966 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
												_tmp57_ = tracker_sparql_query_current (self);
#line 966 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
												if (_tmp57_ == TRACKER_SPARQL_TOKEN_TYPE_FALSE) {
#line 9727 "tracker-sparql-query.c"
													gchar* _tmp58_;
#line 967 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
													tracker_sparql_query_next (self, &_inner_error_);
#line 967 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
													if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 967 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
														if ((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 967 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
															g_propagate_error (error, _inner_error_);
#line 967 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
															_g_free0 (_result_);
#line 967 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
															return NULL;
#line 9741 "tracker-sparql-query.c"
														} else {
#line 967 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
															_g_free0 (_result_);
#line 967 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
															g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 967 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
															g_clear_error (&_inner_error_);
#line 967 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
															return NULL;
#line 9751 "tracker-sparql-query.c"
														}
													}
#line 968 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
													_tmp58_ = g_strdup ("false");
#line 968 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
													_g_free0 (_result_);
#line 968 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
													_result_ = _tmp58_;
#line 9760 "tracker-sparql-query.c"
												} else {
													TrackerSparqlTokenType _tmp59_;
#line 969 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
													_tmp59_ = tracker_sparql_query_current (self);
#line 969 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
													if (_tmp59_ == TRACKER_SPARQL_TOKEN_TYPE_STRING_LITERAL1) {
#line 9767 "tracker-sparql-query.c"
														gchar* _tmp60_ = NULL;
														TrackerSparqlExpression* _tmp61_;
														gchar* _tmp62_;
														gchar* _tmp63_;
#line 970 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
														_tmp61_ = self->expression;
#line 970 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
														_tmp62_ = tracker_sparql_expression_parse_string_literal (_tmp61_, NULL, &_inner_error_);
#line 970 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
														_tmp60_ = _tmp62_;
#line 970 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
														if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 970 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
															if ((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 970 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																g_propagate_error (error, _inner_error_);
#line 970 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																_g_free0 (_result_);
#line 970 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																return NULL;
#line 9788 "tracker-sparql-query.c"
															} else {
#line 970 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																_g_free0 (_result_);
#line 970 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 970 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																g_clear_error (&_inner_error_);
#line 970 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																return NULL;
#line 9798 "tracker-sparql-query.c"
															}
														}
#line 970 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
														_tmp63_ = _tmp60_;
#line 970 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
														_tmp60_ = NULL;
#line 970 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
														_g_free0 (_result_);
#line 970 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
														_result_ = _tmp63_;
#line 969 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
														_g_free0 (_tmp60_);
#line 9811 "tracker-sparql-query.c"
													} else {
														TrackerSparqlTokenType _tmp64_;
#line 971 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
														_tmp64_ = tracker_sparql_query_current (self);
#line 971 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
														if (_tmp64_ == TRACKER_SPARQL_TOKEN_TYPE_STRING_LITERAL2) {
#line 9818 "tracker-sparql-query.c"
															gchar* _tmp65_ = NULL;
															TrackerSparqlExpression* _tmp66_;
															gchar* _tmp67_;
															gchar* _tmp68_;
#line 972 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
															_tmp66_ = self->expression;
#line 972 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
															_tmp67_ = tracker_sparql_expression_parse_string_literal (_tmp66_, NULL, &_inner_error_);
#line 972 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
															_tmp65_ = _tmp67_;
#line 972 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
															if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 972 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																if ((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 972 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																	g_propagate_error (error, _inner_error_);
#line 972 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																	_g_free0 (_result_);
#line 972 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																	return NULL;
#line 9839 "tracker-sparql-query.c"
																} else {
#line 972 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																	_g_free0 (_result_);
#line 972 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																	g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 972 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																	g_clear_error (&_inner_error_);
#line 972 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																	return NULL;
#line 9849 "tracker-sparql-query.c"
																}
															}
#line 972 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
															_tmp68_ = _tmp65_;
#line 972 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
															_tmp65_ = NULL;
#line 972 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
															_g_free0 (_result_);
#line 972 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
															_result_ = _tmp68_;
#line 971 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
															_g_free0 (_tmp65_);
#line 9862 "tracker-sparql-query.c"
														} else {
															TrackerSparqlTokenType _tmp69_;
#line 973 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
															_tmp69_ = tracker_sparql_query_current (self);
#line 973 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
															if (_tmp69_ == TRACKER_SPARQL_TOKEN_TYPE_STRING_LITERAL_LONG1) {
#line 9869 "tracker-sparql-query.c"
																gchar* _tmp70_ = NULL;
																TrackerSparqlExpression* _tmp71_;
																gchar* _tmp72_;
																gchar* _tmp73_;
#line 974 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																_tmp71_ = self->expression;
#line 974 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																_tmp72_ = tracker_sparql_expression_parse_string_literal (_tmp71_, NULL, &_inner_error_);
#line 974 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																_tmp70_ = _tmp72_;
#line 974 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 974 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																	if ((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 974 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																		g_propagate_error (error, _inner_error_);
#line 974 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																		_g_free0 (_result_);
#line 974 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																		return NULL;
#line 9890 "tracker-sparql-query.c"
																	} else {
#line 974 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																		_g_free0 (_result_);
#line 974 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 974 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																		g_clear_error (&_inner_error_);
#line 974 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																		return NULL;
#line 9900 "tracker-sparql-query.c"
																	}
																}
#line 974 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																_tmp73_ = _tmp70_;
#line 974 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																_tmp70_ = NULL;
#line 974 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																_g_free0 (_result_);
#line 974 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																_result_ = _tmp73_;
#line 973 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																_g_free0 (_tmp70_);
#line 9913 "tracker-sparql-query.c"
															} else {
																TrackerSparqlTokenType _tmp74_;
#line 975 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																_tmp74_ = tracker_sparql_query_current (self);
#line 975 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																if (_tmp74_ == TRACKER_SPARQL_TOKEN_TYPE_STRING_LITERAL_LONG2) {
#line 9920 "tracker-sparql-query.c"
																	gchar* _tmp75_ = NULL;
																	TrackerSparqlExpression* _tmp76_;
																	gchar* _tmp77_;
																	gchar* _tmp78_;
#line 976 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																	_tmp76_ = self->expression;
#line 976 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																	_tmp77_ = tracker_sparql_expression_parse_string_literal (_tmp76_, NULL, &_inner_error_);
#line 976 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																	_tmp75_ = _tmp77_;
#line 976 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 976 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																		if ((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 976 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																			g_propagate_error (error, _inner_error_);
#line 976 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																			_g_free0 (_result_);
#line 976 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																			return NULL;
#line 9941 "tracker-sparql-query.c"
																		} else {
#line 976 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																			_g_free0 (_result_);
#line 976 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 976 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																			g_clear_error (&_inner_error_);
#line 976 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																			return NULL;
#line 9951 "tracker-sparql-query.c"
																		}
																	}
#line 976 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																	_tmp78_ = _tmp75_;
#line 976 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																	_tmp75_ = NULL;
#line 976 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																	_g_free0 (_result_);
#line 976 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																	_result_ = _tmp78_;
#line 975 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																	_g_free0 (_tmp75_);
#line 9964 "tracker-sparql-query.c"
																} else {
																	TrackerSparqlTokenType _tmp79_;
#line 977 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																	_tmp79_ = tracker_sparql_query_current (self);
#line 977 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																	if (_tmp79_ == TRACKER_SPARQL_TOKEN_TYPE_OPEN_BRACKET) {
#line 9971 "tracker-sparql-query.c"
																		gboolean _tmp80_;
																		gchar* _tmp82_;
																		gchar* old_subject = NULL;
																		const gchar* _tmp83_;
																		gchar* _tmp84_;
																		gboolean old_subject_is_var = FALSE;
																		gboolean _tmp85_;
																		const gchar* _tmp86_;
																		gchar* _tmp87_;
																		TrackerSparqlSolution* _tmp88_;
																		TrackerSparqlUpdateType _tmp89_;
																		const gchar* _tmp90_;
																		gchar* _tmp91_;
																		gboolean _tmp92_;
#line 979 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																		_tmp80_ = self->priv->anon_blank_node_open;
#line 979 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																		if (_tmp80_) {
#line 9990 "tracker-sparql-query.c"
																			GError* _tmp81_;
#line 980 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																			_tmp81_ = tracker_sparql_query_get_error (self, "no support for nested anonymous blank nodes");
#line 980 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																			_inner_error_ = _tmp81_;
#line 980 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																			if ((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 980 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																				g_propagate_error (error, _inner_error_);
#line 980 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																				_g_free0 (_result_);
#line 980 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																				return NULL;
#line 10004 "tracker-sparql-query.c"
																			} else {
#line 980 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																				_g_free0 (_result_);
#line 980 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 980 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																				g_clear_error (&_inner_error_);
#line 980 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																				return NULL;
#line 10014 "tracker-sparql-query.c"
																			}
																		}
#line 983 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																		self->priv->anon_blank_node_open = TRUE;
#line 984 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																		tracker_sparql_query_next (self, &_inner_error_);
#line 984 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 984 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																			if ((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 984 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																				g_propagate_error (error, _inner_error_);
#line 984 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																				_g_free0 (_result_);
#line 984 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																				return NULL;
#line 10031 "tracker-sparql-query.c"
																			} else {
#line 984 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																				_g_free0 (_result_);
#line 984 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 984 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																				g_clear_error (&_inner_error_);
#line 984 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																				return NULL;
#line 10041 "tracker-sparql-query.c"
																			}
																		}
#line 986 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																		_tmp82_ = tracker_sparql_query_generate_bnodeid (self, NULL);
#line 986 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																		_g_free0 (_result_);
#line 986 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																		_result_ = _tmp82_;
#line 988 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																		_tmp83_ = self->priv->current_subject;
#line 988 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																		_tmp84_ = g_strdup (_tmp83_);
#line 988 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																		old_subject = _tmp84_;
#line 989 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																		_tmp85_ = self->priv->current_subject_is_var;
#line 989 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																		old_subject_is_var = _tmp85_;
#line 991 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																		_tmp86_ = _result_;
#line 991 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																		_tmp87_ = g_strdup (_tmp86_);
#line 991 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																		_g_free0 (self->priv->current_subject);
#line 991 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																		self->priv->current_subject = _tmp87_;
#line 992 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																		_tmp88_ = var_value_map;
#line 992 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																		_tmp89_ = type;
#line 992 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																		tracker_sparql_query_parse_construct_property_list_not_empty (self, _tmp88_, _tmp89_, &_inner_error_);
#line 992 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 992 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																			if ((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 992 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																				g_propagate_error (error, _inner_error_);
#line 992 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																				_g_free0 (old_subject);
#line 992 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																				_g_free0 (_result_);
#line 992 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																				return NULL;
#line 10086 "tracker-sparql-query.c"
																			} else {
#line 992 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																				_g_free0 (old_subject);
#line 992 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																				_g_free0 (_result_);
#line 992 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 992 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																				g_clear_error (&_inner_error_);
#line 992 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																				return NULL;
#line 10098 "tracker-sparql-query.c"
																			}
																		}
#line 993 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																		tracker_sparql_query_expect (self, TRACKER_SPARQL_TOKEN_TYPE_CLOSE_BRACKET, &_inner_error_);
#line 993 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 993 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																			if ((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 993 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																				g_propagate_error (error, _inner_error_);
#line 993 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																				_g_free0 (old_subject);
#line 993 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																				_g_free0 (_result_);
#line 993 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																				return NULL;
#line 10115 "tracker-sparql-query.c"
																			} else {
#line 993 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																				_g_free0 (old_subject);
#line 993 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																				_g_free0 (_result_);
#line 993 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 993 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																				g_clear_error (&_inner_error_);
#line 993 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																				return NULL;
#line 10127 "tracker-sparql-query.c"
																			}
																		}
#line 994 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																		self->priv->anon_blank_node_open = FALSE;
#line 996 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																		_tmp90_ = old_subject;
#line 996 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																		_tmp91_ = g_strdup (_tmp90_);
#line 996 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																		_g_free0 (self->priv->current_subject);
#line 996 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																		self->priv->current_subject = _tmp91_;
#line 997 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																		_tmp92_ = old_subject_is_var;
#line 997 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																		self->priv->current_subject_is_var = _tmp92_;
#line 977 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																		_g_free0 (old_subject);
#line 10146 "tracker-sparql-query.c"
																	} else {
																		GError* _tmp93_;
#line 999 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																		_tmp93_ = tracker_sparql_query_get_error (self, "expected variable or term");
#line 999 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																		_inner_error_ = _tmp93_;
#line 999 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																		if ((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 999 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																			g_propagate_error (error, _inner_error_);
#line 999 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																			_g_free0 (_result_);
#line 999 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																			return NULL;
#line 10161 "tracker-sparql-query.c"
																		} else {
#line 999 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																			_g_free0 (_result_);
#line 999 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 999 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																			g_clear_error (&_inner_error_);
#line 999 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
																			return NULL;
#line 10171 "tracker-sparql-query.c"
																		}
																	}
																}
															}
														}
													}
												}
											}
										}
									}
								}
							}
						}
					}
				}
			}
		}
	}
#line 1001 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	result = _result_;
#line 1001 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (is_null) {
#line 1001 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		*is_null = _vala_is_null;
#line 10196 "tracker-sparql-query.c"
	}
#line 1001 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return result;
#line 10200 "tracker-sparql-query.c"
}


static void tracker_sparql_query_parse_construct_property_list_not_empty (TrackerSparqlQuery* self, TrackerSparqlSolution* var_value_map, TrackerSparqlUpdateType type, GError** error) {
	GError * _inner_error_ = NULL;
#line 1004 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_if_fail (self != NULL);
#line 1004 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_if_fail (var_value_map != NULL);
#line 1005 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	while (TRUE) {
#line 10212 "tracker-sparql-query.c"
		gchar* old_predicate = NULL;
		const gchar* _tmp0_;
		gchar* _tmp1_;
		TrackerSparqlTokenType _tmp2_;
		TrackerSparqlSolution* _tmp34_;
		TrackerSparqlUpdateType _tmp35_;
		const gchar* _tmp36_;
		gchar* _tmp37_;
		gboolean _tmp38_ = FALSE;
		gboolean _tmp39_;
#line 1006 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp0_ = self->priv->current_predicate;
#line 1006 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp1_ = g_strdup (_tmp0_);
#line 1006 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		old_predicate = _tmp1_;
#line 1008 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_g_free0 (self->priv->current_predicate);
#line 1008 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		self->priv->current_predicate = NULL;
#line 1009 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp2_ = tracker_sparql_query_current (self);
#line 1009 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (_tmp2_ == TRACKER_SPARQL_TOKEN_TYPE_VAR) {
#line 10237 "tracker-sparql-query.c"
			TrackerSparqlSolution* _tmp3_;
			gchar* _tmp4_;
			gchar* _tmp5_;
			gchar* _tmp6_;
			gchar* _tmp7_;
			gchar* _tmp8_;
#line 1010 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			self->priv->current_predicate_is_var = TRUE;
#line 1011 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			tracker_sparql_query_next (self, &_inner_error_);
#line 1011 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1011 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				if ((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 1011 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_propagate_error (error, _inner_error_);
#line 1011 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_g_free0 (old_predicate);
#line 1011 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					return;
#line 10258 "tracker-sparql-query.c"
				} else {
#line 1011 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_g_free0 (old_predicate);
#line 1011 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_critical ("file %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-query.vala"
					g_clear_error (&_inner_error_);
#line 1011 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					return;
#line 10268 "tracker-sparql-query.c"
				}
			}
#line 1012 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp3_ = var_value_map;
#line 1012 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp4_ = tracker_sparql_query_get_last_string (self, 0);
#line 1012 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp5_ = _tmp4_;
#line 1012 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp6_ = string_substring (_tmp5_, (glong) 1, (glong) -1);
#line 1012 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp7_ = _tmp6_;
#line 1012 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp8_ = tracker_sparql_solution_lookup (_tmp3_, _tmp7_);
#line 1012 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_free0 (self->priv->current_predicate);
#line 1012 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			self->priv->current_predicate = _tmp8_;
#line 1012 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_free0 (_tmp7_);
#line 1012 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_free0 (_tmp5_);
#line 10291 "tracker-sparql-query.c"
		} else {
			TrackerSparqlTokenType _tmp9_;
#line 1013 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp9_ = tracker_sparql_query_current (self);
#line 1013 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (_tmp9_ == TRACKER_SPARQL_TOKEN_TYPE_IRI_REF) {
#line 10298 "tracker-sparql-query.c"
				gchar* _tmp10_;
#line 1014 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				tracker_sparql_query_next (self, &_inner_error_);
#line 1014 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1014 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					if ((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 1014 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						g_propagate_error (error, _inner_error_);
#line 1014 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_free0 (old_predicate);
#line 1014 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						return;
#line 10312 "tracker-sparql-query.c"
					} else {
#line 1014 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_free0 (old_predicate);
#line 1014 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1014 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						g_clear_error (&_inner_error_);
#line 1014 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						return;
#line 10322 "tracker-sparql-query.c"
					}
				}
#line 1015 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp10_ = tracker_sparql_query_get_last_string (self, 1);
#line 1015 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_g_free0 (self->priv->current_predicate);
#line 1015 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				self->priv->current_predicate = _tmp10_;
#line 10331 "tracker-sparql-query.c"
			} else {
				TrackerSparqlTokenType _tmp11_;
#line 1016 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp11_ = tracker_sparql_query_current (self);
#line 1016 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				if (_tmp11_ == TRACKER_SPARQL_TOKEN_TYPE_PN_PREFIX) {
#line 10338 "tracker-sparql-query.c"
					gchar* ns = NULL;
					gchar* _tmp12_;
					gchar* _tmp13_ = NULL;
					const gchar* _tmp14_;
					gchar* _tmp15_;
					gchar* _tmp16_;
					gchar* _tmp17_;
					gchar* _tmp18_;
					gchar* _tmp19_;
					gchar* _tmp20_;
					gchar* _tmp21_;
#line 1017 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					tracker_sparql_query_next (self, &_inner_error_);
#line 1017 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1017 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						if ((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 1017 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							g_propagate_error (error, _inner_error_);
#line 1017 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							_g_free0 (old_predicate);
#line 1017 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							return;
#line 10362 "tracker-sparql-query.c"
						} else {
#line 1017 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							_g_free0 (old_predicate);
#line 1017 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1017 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							g_clear_error (&_inner_error_);
#line 1017 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							return;
#line 10372 "tracker-sparql-query.c"
						}
					}
#line 1018 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp12_ = tracker_sparql_query_get_last_string (self, 0);
#line 1018 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					ns = _tmp12_;
#line 1019 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					tracker_sparql_query_expect (self, TRACKER_SPARQL_TOKEN_TYPE_COLON, &_inner_error_);
#line 1019 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1019 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						if ((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 1019 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							g_propagate_error (error, _inner_error_);
#line 1019 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							_g_free0 (ns);
#line 1019 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							_g_free0 (old_predicate);
#line 1019 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							return;
#line 10393 "tracker-sparql-query.c"
						} else {
#line 1019 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							_g_free0 (ns);
#line 1019 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							_g_free0 (old_predicate);
#line 1019 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							g_critical ("file %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-query.vala"
							g_clear_error (&_inner_error_);
#line 1019 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							return;
#line 10405 "tracker-sparql-query.c"
						}
					}
#line 1020 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp14_ = ns;
#line 1020 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp15_ = tracker_sparql_query_get_last_string (self, 0);
#line 1020 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp16_ = _tmp15_;
#line 1020 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp17_ = string_substring (_tmp16_, (glong) 1, (glong) -1);
#line 1020 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp18_ = _tmp17_;
#line 1020 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp19_ = tracker_sparql_query_resolve_prefixed_name (self, _tmp14_, _tmp18_, &_inner_error_);
#line 1020 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp20_ = _tmp19_;
#line 1020 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_g_free0 (_tmp18_);
#line 1020 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_g_free0 (_tmp16_);
#line 1020 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp13_ = _tmp20_;
#line 1020 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1020 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						if ((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 1020 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							g_propagate_error (error, _inner_error_);
#line 1020 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							_g_free0 (ns);
#line 1020 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							_g_free0 (old_predicate);
#line 1020 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							return;
#line 10440 "tracker-sparql-query.c"
						} else {
#line 1020 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							_g_free0 (ns);
#line 1020 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							_g_free0 (old_predicate);
#line 1020 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1020 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							g_clear_error (&_inner_error_);
#line 1020 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							return;
#line 10452 "tracker-sparql-query.c"
						}
					}
#line 1020 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp21_ = _tmp13_;
#line 1020 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp13_ = NULL;
#line 1020 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_g_free0 (self->priv->current_predicate);
#line 1020 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					self->priv->current_predicate = _tmp21_;
#line 1016 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_g_free0 (_tmp13_);
#line 1016 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_g_free0 (ns);
#line 10467 "tracker-sparql-query.c"
				} else {
					TrackerSparqlTokenType _tmp22_;
#line 1021 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp22_ = tracker_sparql_query_current (self);
#line 1021 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					if (_tmp22_ == TRACKER_SPARQL_TOKEN_TYPE_COLON) {
#line 10474 "tracker-sparql-query.c"
						gchar* _tmp23_ = NULL;
						gchar* _tmp24_;
						gchar* _tmp25_;
						gchar* _tmp26_;
						gchar* _tmp27_;
						gchar* _tmp28_;
						gchar* _tmp29_;
						gchar* _tmp30_;
#line 1022 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						tracker_sparql_query_next (self, &_inner_error_);
#line 1022 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1022 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							if ((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 1022 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								g_propagate_error (error, _inner_error_);
#line 1022 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								_g_free0 (old_predicate);
#line 1022 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								return;
#line 10495 "tracker-sparql-query.c"
							} else {
#line 1022 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								_g_free0 (old_predicate);
#line 1022 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1022 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								g_clear_error (&_inner_error_);
#line 1022 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								return;
#line 10505 "tracker-sparql-query.c"
							}
						}
#line 1023 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tmp24_ = tracker_sparql_query_get_last_string (self, 0);
#line 1023 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tmp25_ = _tmp24_;
#line 1023 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tmp26_ = string_substring (_tmp25_, (glong) 1, (glong) -1);
#line 1023 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tmp27_ = _tmp26_;
#line 1023 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tmp28_ = tracker_sparql_query_resolve_prefixed_name (self, "", _tmp27_, &_inner_error_);
#line 1023 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tmp29_ = _tmp28_;
#line 1023 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_free0 (_tmp27_);
#line 1023 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_free0 (_tmp25_);
#line 1023 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tmp23_ = _tmp29_;
#line 1023 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1023 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							if ((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 1023 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								g_propagate_error (error, _inner_error_);
#line 1023 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								_g_free0 (old_predicate);
#line 1023 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								return;
#line 10536 "tracker-sparql-query.c"
							} else {
#line 1023 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								_g_free0 (old_predicate);
#line 1023 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1023 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								g_clear_error (&_inner_error_);
#line 1023 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								return;
#line 10546 "tracker-sparql-query.c"
							}
						}
#line 1023 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tmp30_ = _tmp23_;
#line 1023 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tmp23_ = NULL;
#line 1023 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_free0 (self->priv->current_predicate);
#line 1023 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						self->priv->current_predicate = _tmp30_;
#line 1021 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_free0 (_tmp23_);
#line 10559 "tracker-sparql-query.c"
					} else {
						TrackerSparqlTokenType _tmp31_;
#line 1024 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tmp31_ = tracker_sparql_query_current (self);
#line 1024 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						if (_tmp31_ == TRACKER_SPARQL_TOKEN_TYPE_A) {
#line 10566 "tracker-sparql-query.c"
							gchar* _tmp32_;
#line 1025 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							tracker_sparql_query_next (self, &_inner_error_);
#line 1025 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1025 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								if ((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 1025 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
									g_propagate_error (error, _inner_error_);
#line 1025 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
									_g_free0 (old_predicate);
#line 1025 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
									return;
#line 10580 "tracker-sparql-query.c"
								} else {
#line 1025 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
									_g_free0 (old_predicate);
#line 1025 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
									g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1025 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
									g_clear_error (&_inner_error_);
#line 1025 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
									return;
#line 10590 "tracker-sparql-query.c"
								}
							}
#line 1026 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							_tmp32_ = g_strdup ("http://www.w3.org/1999/02/22-rdf-syntax-ns#type");
#line 1026 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							_g_free0 (self->priv->current_predicate);
#line 1026 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							self->priv->current_predicate = _tmp32_;
#line 10599 "tracker-sparql-query.c"
						} else {
							GError* _tmp33_;
#line 1028 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							_tmp33_ = tracker_sparql_query_get_error (self, "expected non-empty property list");
#line 1028 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							_inner_error_ = _tmp33_;
#line 1028 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
							if ((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 1028 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								g_propagate_error (error, _inner_error_);
#line 1028 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								_g_free0 (old_predicate);
#line 1028 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								return;
#line 10614 "tracker-sparql-query.c"
							} else {
#line 1028 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								_g_free0 (old_predicate);
#line 1028 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1028 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								g_clear_error (&_inner_error_);
#line 1028 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
								return;
#line 10624 "tracker-sparql-query.c"
							}
						}
					}
				}
			}
		}
#line 1030 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp34_ = var_value_map;
#line 1030 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp35_ = type;
#line 1030 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		tracker_sparql_query_parse_construct_object_list (self, _tmp34_, _tmp35_, &_inner_error_);
#line 1030 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1030 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if ((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 1030 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_propagate_error (error, _inner_error_);
#line 1030 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_g_free0 (old_predicate);
#line 1030 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return;
#line 10647 "tracker-sparql-query.c"
			} else {
#line 1030 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_g_free0 (old_predicate);
#line 1030 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1030 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_clear_error (&_inner_error_);
#line 1030 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return;
#line 10657 "tracker-sparql-query.c"
			}
		}
#line 1032 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp36_ = old_predicate;
#line 1032 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp37_ = g_strdup (_tmp36_);
#line 1032 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_g_free0 (self->priv->current_predicate);
#line 1032 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		self->priv->current_predicate = _tmp37_;
#line 1034 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp39_ = tracker_sparql_query_accept (self, TRACKER_SPARQL_TOKEN_TYPE_SEMICOLON, &_inner_error_);
#line 1034 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp38_ = _tmp39_;
#line 1034 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1034 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if ((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 1034 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_propagate_error (error, _inner_error_);
#line 1034 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_g_free0 (old_predicate);
#line 1034 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return;
#line 10682 "tracker-sparql-query.c"
			} else {
#line 1034 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_g_free0 (old_predicate);
#line 1034 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_critical ("file %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-query.vala"
				g_clear_error (&_inner_error_);
#line 1034 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return;
#line 10692 "tracker-sparql-query.c"
			}
		}
#line 1034 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (_tmp38_) {
#line 1035 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_free0 (old_predicate);
#line 1035 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			continue;
#line 10701 "tracker-sparql-query.c"
		}
#line 1037 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_g_free0 (old_predicate);
#line 1037 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		break;
#line 10707 "tracker-sparql-query.c"
	}
}


static void tracker_sparql_query_parse_construct_object_list (TrackerSparqlQuery* self, TrackerSparqlSolution* var_value_map, TrackerSparqlUpdateType type, GError** error) {
	GError * _inner_error_ = NULL;
#line 1041 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_if_fail (self != NULL);
#line 1041 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_if_fail (var_value_map != NULL);
#line 1042 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	while (TRUE) {
#line 10720 "tracker-sparql-query.c"
		TrackerSparqlSolution* _tmp0_;
		TrackerSparqlUpdateType _tmp1_;
		gboolean _tmp2_ = FALSE;
		gboolean _tmp3_;
#line 1043 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp0_ = var_value_map;
#line 1043 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp1_ = type;
#line 1043 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		tracker_sparql_query_parse_construct_object (self, _tmp0_, _tmp1_, &_inner_error_);
#line 1043 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1043 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if ((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 1043 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_propagate_error (error, _inner_error_);
#line 1043 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return;
#line 10739 "tracker-sparql-query.c"
			} else {
#line 1043 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1043 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_clear_error (&_inner_error_);
#line 1043 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return;
#line 10747 "tracker-sparql-query.c"
			}
		}
#line 1044 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp3_ = tracker_sparql_query_accept (self, TRACKER_SPARQL_TOKEN_TYPE_COMMA, &_inner_error_);
#line 1044 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp2_ = _tmp3_;
#line 1044 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1044 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if ((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 1044 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_propagate_error (error, _inner_error_);
#line 1044 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return;
#line 10762 "tracker-sparql-query.c"
			} else {
#line 1044 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1044 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_clear_error (&_inner_error_);
#line 1044 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return;
#line 10770 "tracker-sparql-query.c"
			}
		}
#line 1044 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (_tmp2_) {
#line 1045 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			continue;
#line 10777 "tracker-sparql-query.c"
		}
#line 1047 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		break;
#line 10781 "tracker-sparql-query.c"
	}
}


static gpointer _g_error_copy0 (gpointer self) {
#line 1078 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return self ? g_error_copy (self) : NULL;
#line 10789 "tracker-sparql-query.c"
}


static void tracker_sparql_query_parse_construct_object (TrackerSparqlQuery* self, TrackerSparqlSolution* var_value_map, TrackerSparqlUpdateType type, GError** error) {
	gboolean is_null = FALSE;
	gchar* object = NULL;
	TrackerSparqlSolution* _tmp0_;
	TrackerSparqlUpdateType _tmp1_;
	gboolean _tmp2_ = FALSE;
	gchar* _tmp3_;
	gboolean _tmp4_ = FALSE;
	gboolean _tmp5_ = FALSE;
	const gchar* _tmp6_;
	GError * _inner_error_ = NULL;
#line 1051 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_if_fail (self != NULL);
#line 1051 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_if_fail (var_value_map != NULL);
#line 1052 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	is_null = FALSE;
#line 1053 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp0_ = var_value_map;
#line 1053 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp1_ = type;
#line 1053 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp3_ = tracker_sparql_query_parse_construct_var_or_term (self, _tmp0_, _tmp1_, &_tmp2_, &_inner_error_);
#line 1053 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	is_null = _tmp2_;
#line 1053 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	object = _tmp3_;
#line 1053 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1053 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if ((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 1053 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_propagate_error (error, _inner_error_);
#line 1053 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return;
#line 10828 "tracker-sparql-query.c"
		} else {
#line 1053 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_critical ("file %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-query.vala"
			g_clear_error (&_inner_error_);
#line 1053 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return;
#line 10836 "tracker-sparql-query.c"
		}
	}
#line 1054 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp6_ = self->priv->current_subject;
#line 1054 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (_tmp6_ == NULL) {
#line 1054 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp5_ = TRUE;
#line 10845 "tracker-sparql-query.c"
	} else {
		const gchar* _tmp7_;
#line 1054 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp7_ = self->priv->current_predicate;
#line 1054 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp5_ = _tmp7_ == NULL;
#line 10852 "tracker-sparql-query.c"
	}
#line 1054 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (_tmp5_) {
#line 1054 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp4_ = TRUE;
#line 10858 "tracker-sparql-query.c"
	} else {
		const gchar* _tmp8_;
#line 1054 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp8_ = object;
#line 1054 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp4_ = _tmp8_ == NULL;
#line 10865 "tracker-sparql-query.c"
	}
#line 1054 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (_tmp4_) {
#line 1057 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_g_free0 (object);
#line 1057 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		return;
#line 10873 "tracker-sparql-query.c"
	}
	{
		TrackerSparqlUpdateType _tmp9_;
#line 1060 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp9_ = type;
#line 1060 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (_tmp9_ == TRACKER_SPARQL_UPDATE_TYPE_UPDATE) {
#line 10881 "tracker-sparql-query.c"
			const gchar* _tmp10_ = NULL;
			gboolean _tmp11_;
			const gchar* _tmp13_;
			const gchar* _tmp14_;
			const gchar* _tmp15_;
#line 1062 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp11_ = is_null;
#line 1062 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (_tmp11_) {
#line 1062 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp10_ = NULL;
#line 10893 "tracker-sparql-query.c"
			} else {
				const gchar* _tmp12_;
#line 1062 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp12_ = object;
#line 1062 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp10_ = _tmp12_;
#line 10900 "tracker-sparql-query.c"
			}
#line 1062 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp13_ = self->priv->current_graph;
#line 1062 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp14_ = self->priv->current_subject;
#line 1062 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp15_ = self->priv->current_predicate;
#line 1062 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			tracker_data_update_statement (_tmp13_, _tmp14_, _tmp15_, _tmp10_, &_inner_error_);
#line 1062 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1062 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 10914 "tracker-sparql-query.c"
					goto __catch3_tracker_sparql_error;
				}
#line 1062 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				if (_inner_error_->domain == TRACKER_DATE_ERROR) {
#line 10919 "tracker-sparql-query.c"
					goto __catch3_tracker_date_error;
				}
#line 1062 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_g_free0 (object);
#line 1062 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1062 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				g_clear_error (&_inner_error_);
#line 1062 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				return;
#line 10930 "tracker-sparql-query.c"
			}
		} else {
			TrackerSparqlUpdateType _tmp16_;
#line 1063 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp16_ = type;
#line 1063 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			if (_tmp16_ == TRACKER_SPARQL_UPDATE_TYPE_DELETE) {
#line 10938 "tracker-sparql-query.c"
				gboolean _tmp17_;
				const gchar* _tmp19_;
				const gchar* _tmp20_;
				const gchar* _tmp21_;
				const gchar* _tmp22_;
#line 1065 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp17_ = is_null;
#line 1065 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				if (_tmp17_) {
#line 10948 "tracker-sparql-query.c"
					GError* _tmp18_;
#line 1066 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp18_ = tracker_sparql_query_get_error (self, "'null' not supported in this mode");
#line 1066 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_inner_error_ = _tmp18_;
#line 1066 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 10956 "tracker-sparql-query.c"
						goto __catch3_tracker_sparql_error;
					}
#line 1066 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					if (_inner_error_->domain == TRACKER_DATE_ERROR) {
#line 10961 "tracker-sparql-query.c"
						goto __catch3_tracker_date_error;
					}
#line 1066 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_g_free0 (object);
#line 1066 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1066 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_clear_error (&_inner_error_);
#line 1066 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					return;
#line 10972 "tracker-sparql-query.c"
				}
#line 1068 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp19_ = self->priv->current_graph;
#line 1068 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp20_ = self->priv->current_subject;
#line 1068 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp21_ = self->priv->current_predicate;
#line 1068 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp22_ = object;
#line 1068 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				tracker_data_delete_statement (_tmp19_, _tmp20_, _tmp21_, _tmp22_, &_inner_error_);
#line 1068 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1068 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 10988 "tracker-sparql-query.c"
						goto __catch3_tracker_sparql_error;
					}
#line 1068 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					if (_inner_error_->domain == TRACKER_DATE_ERROR) {
#line 10993 "tracker-sparql-query.c"
						goto __catch3_tracker_date_error;
					}
#line 1068 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_g_free0 (object);
#line 1068 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1068 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					g_clear_error (&_inner_error_);
#line 1068 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					return;
#line 11004 "tracker-sparql-query.c"
				}
			} else {
				TrackerSparqlUpdateType _tmp23_;
#line 1069 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				_tmp23_ = type;
#line 1069 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
				if (_tmp23_ == TRACKER_SPARQL_UPDATE_TYPE_INSERT) {
#line 11012 "tracker-sparql-query.c"
					gboolean _tmp24_;
					const gchar* _tmp26_;
					const gchar* _tmp27_;
					const gchar* _tmp28_;
					const gchar* _tmp29_;
#line 1071 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp24_ = is_null;
#line 1071 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					if (_tmp24_) {
#line 11022 "tracker-sparql-query.c"
						GError* _tmp25_;
#line 1072 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_tmp25_ = tracker_sparql_query_get_error (self, "'null' not supported in this mode");
#line 1072 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_inner_error_ = _tmp25_;
#line 1072 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 11030 "tracker-sparql-query.c"
							goto __catch3_tracker_sparql_error;
						}
#line 1072 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						if (_inner_error_->domain == TRACKER_DATE_ERROR) {
#line 11035 "tracker-sparql-query.c"
							goto __catch3_tracker_date_error;
						}
#line 1072 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_free0 (object);
#line 1072 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1072 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						g_clear_error (&_inner_error_);
#line 1072 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						return;
#line 11046 "tracker-sparql-query.c"
					}
#line 1074 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp26_ = self->priv->current_graph;
#line 1074 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp27_ = self->priv->current_subject;
#line 1074 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp28_ = self->priv->current_predicate;
#line 1074 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					_tmp29_ = object;
#line 1074 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					tracker_data_insert_statement (_tmp26_, _tmp27_, _tmp28_, _tmp29_, &_inner_error_);
#line 1074 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
					if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1074 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 11062 "tracker-sparql-query.c"
							goto __catch3_tracker_sparql_error;
						}
#line 1074 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						if (_inner_error_->domain == TRACKER_DATE_ERROR) {
#line 11067 "tracker-sparql-query.c"
							goto __catch3_tracker_date_error;
						}
#line 1074 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						_g_free0 (object);
#line 1074 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1074 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						g_clear_error (&_inner_error_);
#line 1074 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
						return;
#line 11078 "tracker-sparql-query.c"
					}
				}
			}
		}
	}
	goto __finally3;
	__catch3_tracker_sparql_error:
	{
		GError* e = NULL;
		gboolean _tmp30_;
#line 1059 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		e = _inner_error_;
#line 1059 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_inner_error_ = NULL;
#line 1077 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp30_ = self->priv->silent;
#line 1077 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (!_tmp30_) {
#line 11097 "tracker-sparql-query.c"
			GError* _tmp31_;
			GError* _tmp32_;
#line 1078 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp31_ = e;
#line 1078 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp32_ = _g_error_copy0 (_tmp31_);
#line 1078 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_inner_error_ = _tmp32_;
#line 1078 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_error_free0 (e);
#line 11108 "tracker-sparql-query.c"
			goto __finally3;
		}
#line 1059 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_g_error_free0 (e);
#line 11113 "tracker-sparql-query.c"
	}
	goto __finally3;
	__catch3_tracker_date_error:
	{
		GError* e = NULL;
		gboolean _tmp33_;
#line 1059 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		e = _inner_error_;
#line 1059 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_inner_error_ = NULL;
#line 1081 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp33_ = self->priv->silent;
#line 1081 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if (!_tmp33_) {
#line 11128 "tracker-sparql-query.c"
			GError* _tmp34_;
			const gchar* _tmp35_;
			GError* _tmp36_;
#line 1082 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp34_ = e;
#line 1082 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp35_ = _tmp34_->message;
#line 1082 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_tmp36_ = g_error_new_literal (TRACKER_SPARQL_ERROR, TRACKER_SPARQL_ERROR_TYPE, _tmp35_);
#line 1082 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_inner_error_ = _tmp36_;
#line 1082 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_error_free0 (e);
#line 11142 "tracker-sparql-query.c"
			goto __finally3;
		}
#line 1059 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_g_error_free0 (e);
#line 11147 "tracker-sparql-query.c"
	}
	__finally3:
#line 1059 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1059 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		if ((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == TRACKER_DATE_ERROR)) {
#line 1059 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_propagate_error (error, _inner_error_);
#line 1059 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_free0 (object);
#line 1059 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return;
#line 11160 "tracker-sparql-query.c"
		} else {
#line 1059 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			_g_free0 (object);
#line 1059 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1059 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			g_clear_error (&_inner_error_);
#line 1059 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
			return;
#line 11170 "tracker-sparql-query.c"
		}
	}
#line 1051 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_free0 (object);
#line 11175 "tracker-sparql-query.c"
}


gboolean tracker_sparql_query_get_no_cache (TrackerSparqlQuery* self) {
	gboolean result;
	gboolean _tmp0_;
#line 248 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 248 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tmp0_ = self->priv->_no_cache;
#line 248 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	result = _tmp0_;
#line 248 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return result;
#line 11190 "tracker-sparql-query.c"
}


void tracker_sparql_query_set_no_cache (TrackerSparqlQuery* self, gboolean value) {
#line 248 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_return_if_fail (self != NULL);
#line 248 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	if (tracker_sparql_query_get_no_cache (self) != value) {
#line 11199 "tracker-sparql-query.c"
		gboolean _tmp0_;
#line 248 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		_tmp0_ = value;
#line 248 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		self->priv->_no_cache = _tmp0_;
#line 248 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		g_object_notify ((GObject *) self, "no-cache");
#line 11207 "tracker-sparql-query.c"
	}
}


static TrackerSparqlQueryTokenInfo* tracker_sparql_query_token_info_dup (const TrackerSparqlQueryTokenInfo* self) {
	TrackerSparqlQueryTokenInfo* dup;
#line 210 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	dup = g_new0 (TrackerSparqlQueryTokenInfo, 1);
#line 210 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	memcpy (dup, self, sizeof (TrackerSparqlQueryTokenInfo));
#line 210 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	return dup;
#line 11220 "tracker-sparql-query.c"
}


static void tracker_sparql_query_token_info_free (TrackerSparqlQueryTokenInfo* self) {
#line 210 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_free (self);
#line 11227 "tracker-sparql-query.c"
}


static GType tracker_sparql_query_token_info_get_type (void) {
	static volatile gsize tracker_sparql_query_token_info_type_id__volatile = 0;
	if (g_once_init_enter (&tracker_sparql_query_token_info_type_id__volatile)) {
		GType tracker_sparql_query_token_info_type_id;
		tracker_sparql_query_token_info_type_id = g_boxed_type_register_static ("TrackerSparqlQueryTokenInfo", (GBoxedCopyFunc) tracker_sparql_query_token_info_dup, (GBoxedFreeFunc) tracker_sparql_query_token_info_free);
		g_once_init_leave (&tracker_sparql_query_token_info_type_id__volatile, tracker_sparql_query_token_info_type_id);
	}
	return tracker_sparql_query_token_info_type_id__volatile;
}


static void tracker_sparql_query_class_init (TrackerSparqlQueryClass * klass) {
#line 198 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	tracker_sparql_query_parent_class = g_type_class_peek_parent (klass);
#line 198 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_type_class_add_private (klass, sizeof (TrackerSparqlQueryPrivate));
#line 198 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_tracker_sparql_query_get_property;
#line 198 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_tracker_sparql_query_set_property;
#line 198 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	G_OBJECT_CLASS (klass)->finalize = tracker_sparql_query_finalize;
#line 198 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), TRACKER_SPARQL_QUERY_NO_CACHE, g_param_spec_boolean ("no-cache", "no-cache", "no-cache", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 11255 "tracker-sparql-query.c"
}


static void tracker_sparql_query_instance_init (TrackerSparqlQuery * self) {
#line 198 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self->priv = TRACKER_SPARQL_QUERY_GET_PRIVATE (self);
#line 240 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self->priv->bnodeid = 0;
#line 915 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self->priv->anon_blank_node_open = FALSE;
#line 11266 "tracker-sparql-query.c"
}


static void tracker_sparql_query_finalize (GObject * obj) {
	TrackerSparqlQuery * self;
#line 198 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, TRACKER_SPARQL_TYPE_QUERY, TrackerSparqlQuery);
#line 199 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_object_unref0 (self->priv->scanner);
#line 202 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self->priv->tokens = (g_free (self->priv->tokens), NULL);
#line 218 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_free0 (self->priv->query_string);
#line 221 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_object_unref0 (self->expression);
#line 222 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_object_unref0 (self->pattern);
#line 224 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_free0 (self->priv->current_graph);
#line 225 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_free0 (self->priv->current_subject);
#line 227 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_free0 (self->priv->current_predicate);
#line 233 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_hash_table_unref0 (self->priv->prefix_map);
#line 236 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	__g_list_free__g_object_unref0_0 (self->bindings);
#line 238 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_tracker_sparql_context_unref0 (self->context);
#line 242 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	self->priv->base_uuid = (g_free (self->priv->base_uuid), NULL);
#line 243 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	_g_hash_table_unref0 (self->priv->blank_nodes);
#line 198 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	G_OBJECT_CLASS (tracker_sparql_query_parent_class)->finalize (obj);
#line 11302 "tracker-sparql-query.c"
}


GType tracker_sparql_query_get_type (void) {
	static volatile gsize tracker_sparql_query_type_id__volatile = 0;
	if (g_once_init_enter (&tracker_sparql_query_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (TrackerSparqlQueryClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) tracker_sparql_query_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (TrackerSparqlQuery), 0, (GInstanceInitFunc) tracker_sparql_query_instance_init, NULL };
		GType tracker_sparql_query_type_id;
		tracker_sparql_query_type_id = g_type_register_static (G_TYPE_OBJECT, "TrackerSparqlQuery", &g_define_type_info, 0);
		g_once_init_leave (&tracker_sparql_query_type_id__volatile, tracker_sparql_query_type_id);
	}
	return tracker_sparql_query_type_id__volatile;
}


static void _vala_tracker_sparql_query_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	TrackerSparqlQuery * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, TRACKER_SPARQL_TYPE_QUERY, TrackerSparqlQuery);
#line 198 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	switch (property_id) {
#line 198 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		case TRACKER_SPARQL_QUERY_NO_CACHE:
#line 198 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		g_value_set_boolean (value, tracker_sparql_query_get_no_cache (self));
#line 198 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		break;
#line 11329 "tracker-sparql-query.c"
		default:
#line 198 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 198 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		break;
#line 11335 "tracker-sparql-query.c"
	}
}


static void _vala_tracker_sparql_query_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
	TrackerSparqlQuery * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, TRACKER_SPARQL_TYPE_QUERY, TrackerSparqlQuery);
#line 198 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
	switch (property_id) {
#line 198 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		case TRACKER_SPARQL_QUERY_NO_CACHE:
#line 198 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		tracker_sparql_query_set_no_cache (self, g_value_get_boolean (value));
#line 198 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		break;
#line 11351 "tracker-sparql-query.c"
		default:
#line 198 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 198 "/home/carlos/Source/gnome/tracker/src/libtracker-data/tracker-sparql-query.vala"
		break;
#line 11357 "tracker-sparql-query.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);
}



