/* tracker-turtle-reader.c generated by valac 0.22.1, the Vala compiler
 * generated from tracker-turtle-reader.vala, do not modify */

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

#include <glib.h>
#include <glib-object.h>
#include <stdlib.h>
#include <string.h>
#include "libtracker-sparql/tracker-sparql.h"
#include "libtracker-common/tracker-date-time.h"
#include "libtracker-data/tracker-db-interface.h"
#include "libtracker-data/tracker-data-query.h"
#include "libtracker-data/tracker-data-update.h"
#include "libtracker-data/tracker-data-backup.h"


#define TRACKER_TYPE_TURTLE_READER (tracker_turtle_reader_get_type ())
#define TRACKER_TURTLE_READER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TRACKER_TYPE_TURTLE_READER, TrackerTurtleReader))
#define TRACKER_TURTLE_READER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TRACKER_TYPE_TURTLE_READER, TrackerTurtleReaderClass))
#define TRACKER_IS_TURTLE_READER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TRACKER_TYPE_TURTLE_READER))
#define TRACKER_IS_TURTLE_READER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TRACKER_TYPE_TURTLE_READER))
#define TRACKER_TURTLE_READER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TRACKER_TYPE_TURTLE_READER, TrackerTurtleReaderClass))

typedef struct _TrackerTurtleReader TrackerTurtleReader;
typedef struct _TrackerTurtleReaderClass TrackerTurtleReaderClass;
typedef struct _TrackerTurtleReaderPrivate TrackerTurtleReaderPrivate;

#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_TURTLE_READER_TYPE_TOKEN_INFO (tracker_turtle_reader_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 _TrackerTurtleReaderTokenInfo TrackerTurtleReaderTokenInfo;

#define TRACKER_TURTLE_READER_TYPE_STATE (tracker_turtle_reader_state_get_type ())
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_free0(var) (var = (g_free (var), NULL))
#define _g_hash_table_unref0(var) ((var == NULL) ? NULL : (var = (g_hash_table_unref (var), NULL)))
#define _g_mapped_file_unref0(var) ((var == NULL) ? NULL : (var = (g_mapped_file_unref (var), NULL)))
#define _g_checksum_free0(var) ((var == NULL) ? NULL : (var = (g_checksum_free (var), NULL)))
#define _g_string_free0(var) ((var == NULL) ? NULL : (var = (g_string_free (var, TRUE), NULL)))
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))

struct _TrackerTurtleReader {
	GObject parent_instance;
	TrackerTurtleReaderPrivate * priv;
};

struct _TrackerTurtleReaderClass {
	GObjectClass parent_class;
};

typedef enum  {
	TRACKER_SPARQL_TOKEN_TYPE_NONE,
	TRACKER_SPARQL_TOKEN_TYPE_A,
	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_BOUND,
	TRACKER_SPARQL_TOKEN_TYPE_BY,
	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_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_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_EOF,
	TRACKER_SPARQL_TOKEN_TYPE_EXISTS,
	TRACKER_SPARQL_TOKEN_TYPE_FALSE,
	TRACKER_SPARQL_TOKEN_TYPE_FILTER,
	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_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_LIMIT,
	TRACKER_SPARQL_TOKEN_TYPE_MAX,
	TRACKER_SPARQL_TOKEN_TYPE_MIN,
	TRACKER_SPARQL_TOKEN_TYPE_MINUS,
	TRACKER_SPARQL_TOKEN_TYPE_NAMED,
	TRACKER_SPARQL_TOKEN_TYPE_NOT,
	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_REDUCED,
	TRACKER_SPARQL_TOKEN_TYPE_REGEX,
	TRACKER_SPARQL_TOKEN_TYPE_REPLACE,
	TRACKER_SPARQL_TOKEN_TYPE_SAMETERM,
	TRACKER_SPARQL_TOKEN_TYPE_SELECT,
	TRACKER_SPARQL_TOKEN_TYPE_SEMICOLON,
	TRACKER_SPARQL_TOKEN_TYPE_SILENT,
	TRACKER_SPARQL_TOKEN_TYPE_STAR,
	TRACKER_SPARQL_TOKEN_TYPE_STR,
	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_SUM,
	TRACKER_SPARQL_TOKEN_TYPE_TRUE,
	TRACKER_SPARQL_TOKEN_TYPE_UNION,
	TRACKER_SPARQL_TOKEN_TYPE_VAR,
	TRACKER_SPARQL_TOKEN_TYPE_WHERE,
	TRACKER_SPARQL_TOKEN_TYPE_WITH
} TrackerSparqlTokenType;

struct _TrackerSourceLocation {
	gchar* pos;
	gint line;
	gint column;
};

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

typedef enum  {
	TRACKER_TURTLE_READER_STATE_INITIAL,
	TRACKER_TURTLE_READER_STATE_BOS,
	TRACKER_TURTLE_READER_STATE_SUBJECT,
	TRACKER_TURTLE_READER_STATE_PREDICATE,
	TRACKER_TURTLE_READER_STATE_OBJECT
} TrackerTurtleReaderState;

struct _TrackerTurtleReaderPrivate {
	TrackerSparqlScanner* scanner;
	TrackerTurtleReaderTokenInfo* tokens;
	gint tokens_length1;
	gint _tokens_size_;
	gint index;
	gint size;
	TrackerTurtleReaderState state;
	gchar* _graph;
	gchar* _subject;
	gchar* _predicate;
	gchar* _object;
	gboolean _object_is_uri;
	GHashTable* prefix_map;
	gchar** subject_stack;
	gint subject_stack_length1;
	gint _subject_stack_size_;
	gchar** predicate_stack;
	gint predicate_stack_length1;
	gint _predicate_stack_size_;
	gint bnodeid;
	guchar* base_uuid;
	gint base_uuid_length1;
	gint _base_uuid_size_;
	GMappedFile* mapped_file;
};


static gpointer tracker_turtle_reader_parent_class = NULL;

GType tracker_turtle_reader_get_type (void) G_GNUC_CONST;
GType tracker_sparql_scanner_get_type (void) G_GNUC_CONST;
static GType tracker_turtle_reader_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 TrackerTurtleReaderTokenInfo* tracker_turtle_reader_token_info_dup (const TrackerTurtleReaderTokenInfo* self);
static void tracker_turtle_reader_token_info_free (TrackerTurtleReaderTokenInfo* self);
static GType tracker_turtle_reader_state_get_type (void) G_GNUC_UNUSED;
#define TRACKER_TURTLE_READER_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TRACKER_TYPE_TURTLE_READER, TrackerTurtleReaderPrivate))
enum  {
	TRACKER_TURTLE_READER_DUMMY_PROPERTY,
	TRACKER_TURTLE_READER_GRAPH,
	TRACKER_TURTLE_READER_SUBJECT,
	TRACKER_TURTLE_READER_PREDICATE,
	TRACKER_TURTLE_READER_OBJECT,
	TRACKER_TURTLE_READER_OBJECT_IS_URI
};
#define TRACKER_TURTLE_READER_BUFFER_SIZE 32
TrackerTurtleReader* tracker_turtle_reader_new (const gchar* path, GError** error);
TrackerTurtleReader* tracker_turtle_reader_construct (GType object_type, const gchar* path, GError** error);
TrackerSparqlScanner* tracker_sparql_scanner_new (gchar* input, gsize len);
TrackerSparqlScanner* tracker_sparql_scanner_construct (GType object_type, gchar* input, gsize len);
void uuid_generate (guchar* uuid);
static gchar* tracker_turtle_reader_generate_bnodeid (TrackerTurtleReader* self, const gchar* user_bnodeid);
static inline gboolean tracker_turtle_reader_next_token (TrackerTurtleReader* self, GError** error);
TrackerSparqlTokenType tracker_sparql_scanner_read_token (TrackerSparqlScanner* self, TrackerSourceLocation* token_begin, TrackerSourceLocation* token_end, GError** error);
static inline TrackerSparqlTokenType tracker_turtle_reader_current (TrackerTurtleReader* self);
static inline gboolean tracker_turtle_reader_accept (TrackerTurtleReader* self, TrackerSparqlTokenType type, GError** error);
static GError* tracker_turtle_reader_get_error (TrackerTurtleReader* self, const gchar* msg);
static gboolean tracker_turtle_reader_expect (TrackerTurtleReader* self, TrackerSparqlTokenType type, GError** error);
const gchar* tracker_sparql_token_type_to_string (TrackerSparqlTokenType self);
static gchar* tracker_turtle_reader_get_last_string (TrackerTurtleReader* self, gint strip);
static gchar* tracker_turtle_reader_resolve_prefixed_name (TrackerTurtleReader* self, const gchar* prefix, const gchar* local_name, GError** error);
gboolean tracker_turtle_reader_next (TrackerTurtleReader* self, GError** error);
static void tracker_turtle_reader_set_subject (TrackerTurtleReader* self, const gchar* value);
static void tracker_turtle_reader_set_predicate (TrackerTurtleReader* self, const gchar* value);
static void tracker_turtle_reader_set_object (TrackerTurtleReader* self, const gchar* value);
static void tracker_turtle_reader_set_object_is_uri (TrackerTurtleReader* self, gboolean value);
const gchar* tracker_turtle_reader_get_subject (TrackerTurtleReader* self);
static void _vala_array_add12 (gchar*** array, int* length, int* size, gchar* value);
const gchar* tracker_turtle_reader_get_predicate (TrackerTurtleReader* self);
static void _vala_array_add13 (gchar*** array, int* length, int* size, gchar* value);
void tracker_turtle_reader_load (const gchar* path, GError** error);
gboolean tracker_turtle_reader_get_object_is_uri (TrackerTurtleReader* self);
const gchar* tracker_turtle_reader_get_graph (TrackerTurtleReader* self);
const gchar* tracker_turtle_reader_get_object (TrackerTurtleReader* self);
static void tracker_turtle_reader_set_graph (TrackerTurtleReader* self, const gchar* value);
static void tracker_turtle_reader_finalize (GObject* obj);
static void _vala_tracker_turtle_reader_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
static void _vala_tracker_turtle_reader_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);


static GType tracker_turtle_reader_state_get_type (void) {
	static volatile gsize tracker_turtle_reader_state_type_id__volatile = 0;
	if (g_once_init_enter (&tracker_turtle_reader_state_type_id__volatile)) {
		static const GEnumValue values[] = {{TRACKER_TURTLE_READER_STATE_INITIAL, "TRACKER_TURTLE_READER_STATE_INITIAL", "initial"}, {TRACKER_TURTLE_READER_STATE_BOS, "TRACKER_TURTLE_READER_STATE_BOS", "bos"}, {TRACKER_TURTLE_READER_STATE_SUBJECT, "TRACKER_TURTLE_READER_STATE_SUBJECT", "subject"}, {TRACKER_TURTLE_READER_STATE_PREDICATE, "TRACKER_TURTLE_READER_STATE_PREDICATE", "predicate"}, {TRACKER_TURTLE_READER_STATE_OBJECT, "TRACKER_TURTLE_READER_STATE_OBJECT", "object"}, {0, NULL, NULL}};
		GType tracker_turtle_reader_state_type_id;
		tracker_turtle_reader_state_type_id = g_enum_register_static ("TrackerTurtleReaderState", values);
		g_once_init_leave (&tracker_turtle_reader_state_type_id__volatile, tracker_turtle_reader_state_type_id);
	}
	return tracker_turtle_reader_state_type_id__volatile;
}


TrackerTurtleReader* tracker_turtle_reader_construct (GType object_type, const gchar* path, GError** error) {
	TrackerTurtleReader * self = NULL;
	GMappedFile* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
	GMappedFile* _tmp2_ = NULL;
	GMappedFile* _tmp3_ = NULL;
	gchar* _tmp4_ = NULL;
	GMappedFile* _tmp5_ = NULL;
	gsize _tmp6_ = 0UL;
	TrackerSparqlScanner* _tmp7_ = NULL;
	guchar* _tmp8_ = NULL;
	guchar* _tmp9_ = NULL;
	gint _tmp9__length1 = 0;
	TrackerTurtleReaderTokenInfo* _tmp10_ = NULL;
	GHashFunc _tmp11_ = NULL;
	GEqualFunc _tmp12_ = NULL;
	GDestroyNotify _tmp13_ = NULL;
	GDestroyNotify _tmp14_ = NULL;
	GHashTable* _tmp15_ = NULL;
	GError * _inner_error_ = NULL;
#line 67 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	g_return_val_if_fail (path != NULL, NULL);
#line 67 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	self = (TrackerTurtleReader*) g_object_new (object_type, NULL);
#line 68 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp1_ = path;
#line 68 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp2_ = g_mapped_file_new (_tmp1_, FALSE, &_inner_error_);
#line 68 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp0_ = _tmp2_;
#line 68 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	if (_inner_error_ != NULL) {
#line 68 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		if (_inner_error_->domain == G_FILE_ERROR) {
#line 68 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
			g_propagate_error (error, _inner_error_);
#line 68 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
			_g_object_unref0 (self);
#line 68 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
			return NULL;
#line 342 "tracker-turtle-reader.c"
		} else {
#line 68 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 68 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
			g_clear_error (&_inner_error_);
#line 68 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
			return NULL;
#line 350 "tracker-turtle-reader.c"
		}
	}
#line 68 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_g_mapped_file_unref0 (self->priv->mapped_file);
#line 68 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	self->priv->mapped_file = _tmp0_;
#line 69 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp3_ = self->priv->mapped_file;
#line 69 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp4_ = g_mapped_file_get_contents (_tmp3_);
#line 69 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp5_ = self->priv->mapped_file;
#line 69 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp6_ = g_mapped_file_get_length (_tmp5_);
#line 69 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp7_ = tracker_sparql_scanner_new (_tmp4_, _tmp6_);
#line 69 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_g_object_unref0 (self->priv->scanner);
#line 69 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	self->priv->scanner = _tmp7_;
#line 71 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp8_ = g_new0 (guchar, 16);
#line 71 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	self->priv->base_uuid = (g_free (self->priv->base_uuid), NULL);
#line 71 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	self->priv->base_uuid = _tmp8_;
#line 71 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	self->priv->base_uuid_length1 = 16;
#line 71 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	self->priv->_base_uuid_size_ = self->priv->base_uuid_length1;
#line 72 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp9_ = self->priv->base_uuid;
#line 72 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp9__length1 = self->priv->base_uuid_length1;
#line 72 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	uuid_generate (_tmp9_);
#line 74 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp10_ = g_new0 (TrackerTurtleReaderTokenInfo, TRACKER_TURTLE_READER_BUFFER_SIZE);
#line 74 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	self->priv->tokens = (g_free (self->priv->tokens), NULL);
#line 74 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	self->priv->tokens = _tmp10_;
#line 74 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	self->priv->tokens_length1 = TRACKER_TURTLE_READER_BUFFER_SIZE;
#line 74 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	self->priv->_tokens_size_ = self->priv->tokens_length1;
#line 75 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp11_ = g_str_hash;
#line 75 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp12_ = g_str_equal;
#line 75 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp13_ = g_free;
#line 75 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp14_ = g_free;
#line 75 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp15_ = g_hash_table_new_full (_tmp11_, _tmp12_, _tmp13_, _tmp14_);
#line 75 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_g_hash_table_unref0 (self->priv->prefix_map);
#line 75 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	self->priv->prefix_map = _tmp15_;
#line 67 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	return self;
#line 413 "tracker-turtle-reader.c"
}


TrackerTurtleReader* tracker_turtle_reader_new (const gchar* path, GError** error) {
#line 67 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	return tracker_turtle_reader_construct (TRACKER_TYPE_TURTLE_READER, path, error);
#line 420 "tracker-turtle-reader.c"
}


static glong string_strnlen (gchar* str, glong maxlen) {
	glong result = 0L;
	gchar* end = NULL;
	gchar* _tmp0_ = NULL;
	glong _tmp1_ = 0L;
	gchar* _tmp2_ = NULL;
	gchar* _tmp3_ = NULL;
#line 1156 "/usr/share/vala-0.22/vapi/glib-2.0.vapi"
	_tmp0_ = str;
#line 1156 "/usr/share/vala-0.22/vapi/glib-2.0.vapi"
	_tmp1_ = maxlen;
#line 1156 "/usr/share/vala-0.22/vapi/glib-2.0.vapi"
	_tmp2_ = memchr (_tmp0_, 0, (gsize) _tmp1_);
#line 1156 "/usr/share/vala-0.22/vapi/glib-2.0.vapi"
	end = _tmp2_;
#line 1157 "/usr/share/vala-0.22/vapi/glib-2.0.vapi"
	_tmp3_ = end;
#line 1157 "/usr/share/vala-0.22/vapi/glib-2.0.vapi"
	if (_tmp3_ == NULL) {
#line 443 "tracker-turtle-reader.c"
		glong _tmp4_ = 0L;
#line 1158 "/usr/share/vala-0.22/vapi/glib-2.0.vapi"
		_tmp4_ = maxlen;
#line 1158 "/usr/share/vala-0.22/vapi/glib-2.0.vapi"
		result = _tmp4_;
#line 1158 "/usr/share/vala-0.22/vapi/glib-2.0.vapi"
		return result;
#line 451 "tracker-turtle-reader.c"
	} else {
		gchar* _tmp5_ = NULL;
		gchar* _tmp6_ = NULL;
#line 1160 "/usr/share/vala-0.22/vapi/glib-2.0.vapi"
		_tmp5_ = end;
#line 1160 "/usr/share/vala-0.22/vapi/glib-2.0.vapi"
		_tmp6_ = str;
#line 1160 "/usr/share/vala-0.22/vapi/glib-2.0.vapi"
		result = (glong) (_tmp5_ - _tmp6_);
#line 1160 "/usr/share/vala-0.22/vapi/glib-2.0.vapi"
		return result;
#line 463 "tracker-turtle-reader.c"
	}
}


static gchar* string_substring (const gchar* self, glong offset, glong len) {
	gchar* result = NULL;
	glong string_length = 0L;
	gboolean _tmp0_ = FALSE;
	glong _tmp1_ = 0L;
	gboolean _tmp3_ = FALSE;
	glong _tmp9_ = 0L;
	glong _tmp15_ = 0L;
	glong _tmp18_ = 0L;
	glong _tmp19_ = 0L;
	glong _tmp20_ = 0L;
	glong _tmp21_ = 0L;
	glong _tmp22_ = 0L;
	gchar* _tmp23_ = NULL;
#line 1167 "/usr/share/vala-0.22/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, NULL);
#line 1169 "/usr/share/vala-0.22/vapi/glib-2.0.vapi"
	_tmp1_ = offset;
#line 1169 "/usr/share/vala-0.22/vapi/glib-2.0.vapi"
	if (_tmp1_ >= ((glong) 0)) {
#line 488 "tracker-turtle-reader.c"
		glong _tmp2_ = 0L;
#line 1169 "/usr/share/vala-0.22/vapi/glib-2.0.vapi"
		_tmp2_ = len;
#line 1169 "/usr/share/vala-0.22/vapi/glib-2.0.vapi"
		_tmp0_ = _tmp2_ >= ((glong) 0);
#line 494 "tracker-turtle-reader.c"
	} else {
#line 1169 "/usr/share/vala-0.22/vapi/glib-2.0.vapi"
		_tmp0_ = FALSE;
#line 498 "tracker-turtle-reader.c"
	}
#line 1169 "/usr/share/vala-0.22/vapi/glib-2.0.vapi"
	_tmp3_ = _tmp0_;
#line 1169 "/usr/share/vala-0.22/vapi/glib-2.0.vapi"
	if (_tmp3_) {
#line 504 "tracker-turtle-reader.c"
		glong _tmp4_ = 0L;
		glong _tmp5_ = 0L;
		glong _tmp6_ = 0L;
#line 1171 "/usr/share/vala-0.22/vapi/glib-2.0.vapi"
		_tmp4_ = offset;
#line 1171 "/usr/share/vala-0.22/vapi/glib-2.0.vapi"
		_tmp5_ = len;
#line 1171 "/usr/share/vala-0.22/vapi/glib-2.0.vapi"
		_tmp6_ = string_strnlen ((gchar*) self, _tmp4_ + _tmp5_);
#line 1171 "/usr/share/vala-0.22/vapi/glib-2.0.vapi"
		string_length = _tmp6_;
#line 516 "tracker-turtle-reader.c"
	} else {
		gint _tmp7_ = 0;
		gint _tmp8_ = 0;
#line 1173 "/usr/share/vala-0.22/vapi/glib-2.0.vapi"
		_tmp7_ = strlen (self);
#line 1173 "/usr/share/vala-0.22/vapi/glib-2.0.vapi"
		_tmp8_ = _tmp7_;
#line 1173 "/usr/share/vala-0.22/vapi/glib-2.0.vapi"
		string_length = (glong) _tmp8_;
#line 526 "tracker-turtle-reader.c"
	}
#line 1176 "/usr/share/vala-0.22/vapi/glib-2.0.vapi"
	_tmp9_ = offset;
#line 1176 "/usr/share/vala-0.22/vapi/glib-2.0.vapi"
	if (_tmp9_ < ((glong) 0)) {
#line 532 "tracker-turtle-reader.c"
		glong _tmp10_ = 0L;
		glong _tmp11_ = 0L;
		glong _tmp12_ = 0L;
#line 1177 "/usr/share/vala-0.22/vapi/glib-2.0.vapi"
		_tmp10_ = string_length;
#line 1177 "/usr/share/vala-0.22/vapi/glib-2.0.vapi"
		_tmp11_ = offset;
#line 1177 "/usr/share/vala-0.22/vapi/glib-2.0.vapi"
		offset = _tmp10_ + _tmp11_;
#line 1178 "/usr/share/vala-0.22/vapi/glib-2.0.vapi"
		_tmp12_ = offset;
#line 1178 "/usr/share/vala-0.22/vapi/glib-2.0.vapi"
		g_return_val_if_fail (_tmp12_ >= ((glong) 0), NULL);
#line 546 "tracker-turtle-reader.c"
	} else {
		glong _tmp13_ = 0L;
		glong _tmp14_ = 0L;
#line 1180 "/usr/share/vala-0.22/vapi/glib-2.0.vapi"
		_tmp13_ = offset;
#line 1180 "/usr/share/vala-0.22/vapi/glib-2.0.vapi"
		_tmp14_ = string_length;
#line 1180 "/usr/share/vala-0.22/vapi/glib-2.0.vapi"
		g_return_val_if_fail (_tmp13_ <= _tmp14_, NULL);
#line 556 "tracker-turtle-reader.c"
	}
#line 1182 "/usr/share/vala-0.22/vapi/glib-2.0.vapi"
	_tmp15_ = len;
#line 1182 "/usr/share/vala-0.22/vapi/glib-2.0.vapi"
	if (_tmp15_ < ((glong) 0)) {
#line 562 "tracker-turtle-reader.c"
		glong _tmp16_ = 0L;
		glong _tmp17_ = 0L;
#line 1183 "/usr/share/vala-0.22/vapi/glib-2.0.vapi"
		_tmp16_ = string_length;
#line 1183 "/usr/share/vala-0.22/vapi/glib-2.0.vapi"
		_tmp17_ = offset;
#line 1183 "/usr/share/vala-0.22/vapi/glib-2.0.vapi"
		len = _tmp16_ - _tmp17_;
#line 571 "tracker-turtle-reader.c"
	}
#line 1185 "/usr/share/vala-0.22/vapi/glib-2.0.vapi"
	_tmp18_ = offset;
#line 1185 "/usr/share/vala-0.22/vapi/glib-2.0.vapi"
	_tmp19_ = len;
#line 1185 "/usr/share/vala-0.22/vapi/glib-2.0.vapi"
	_tmp20_ = string_length;
#line 1185 "/usr/share/vala-0.22/vapi/glib-2.0.vapi"
	g_return_val_if_fail ((_tmp18_ + _tmp19_) <= _tmp20_, NULL);
#line 1186 "/usr/share/vala-0.22/vapi/glib-2.0.vapi"
	_tmp21_ = offset;
#line 1186 "/usr/share/vala-0.22/vapi/glib-2.0.vapi"
	_tmp22_ = len;
#line 1186 "/usr/share/vala-0.22/vapi/glib-2.0.vapi"
	_tmp23_ = g_strndup (((gchar*) self) + _tmp21_, (gsize) _tmp22_);
#line 1186 "/usr/share/vala-0.22/vapi/glib-2.0.vapi"
	result = _tmp23_;
#line 1186 "/usr/share/vala-0.22/vapi/glib-2.0.vapi"
	return result;
#line 591 "tracker-turtle-reader.c"
}


static gchar* tracker_turtle_reader_generate_bnodeid (TrackerTurtleReader* self, const gchar* user_bnodeid) {
	gchar* result = NULL;
	const gchar* _tmp0_ = NULL;
#line 78 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 80 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp0_ = user_bnodeid;
#line 80 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	if (_tmp0_ == NULL) {
#line 604 "tracker-turtle-reader.c"
		gint _tmp1_ = 0;
		gint _tmp2_ = 0;
		gchar* _tmp3_ = NULL;
#line 81 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_tmp1_ = self->priv->bnodeid;
#line 81 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		self->priv->bnodeid = _tmp1_ + 1;
#line 81 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_tmp2_ = self->priv->bnodeid;
#line 81 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_tmp3_ = g_strdup_printf (":%d", _tmp2_);
#line 81 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		result = _tmp3_;
#line 81 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		return result;
#line 620 "tracker-turtle-reader.c"
	} else {
		GChecksum* checksum = NULL;
		GChecksum* _tmp4_ = NULL;
		GChecksum* _tmp5_ = NULL;
		guchar* _tmp6_ = NULL;
		gint _tmp6__length1 = 0;
		GChecksum* _tmp7_ = NULL;
		const gchar* _tmp8_ = NULL;
		gchar* sha1 = NULL;
		GChecksum* _tmp9_ = NULL;
		const gchar* _tmp10_ = NULL;
		gchar* _tmp11_ = NULL;
		const gchar* _tmp12_ = NULL;
		const gchar* _tmp13_ = NULL;
		gchar* _tmp14_ = NULL;
		gchar* _tmp15_ = NULL;
		const gchar* _tmp16_ = NULL;
		gchar* _tmp17_ = NULL;
		gchar* _tmp18_ = NULL;
		const gchar* _tmp19_ = NULL;
		gchar* _tmp20_ = NULL;
		gchar* _tmp21_ = NULL;
		const gchar* _tmp22_ = NULL;
		gchar* _tmp23_ = NULL;
		gchar* _tmp24_ = NULL;
		gchar* _tmp25_ = NULL;
		gchar* _tmp26_ = NULL;
#line 83 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_tmp4_ = g_checksum_new (G_CHECKSUM_SHA1);
#line 83 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		checksum = _tmp4_;
#line 85 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_tmp5_ = checksum;
#line 85 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_tmp6_ = self->priv->base_uuid;
#line 85 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_tmp6__length1 = self->priv->base_uuid_length1;
#line 85 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		g_checksum_update (_tmp5_, _tmp6_, (gsize) 16);
#line 87 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_tmp7_ = checksum;
#line 87 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_tmp8_ = user_bnodeid;
#line 87 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		g_checksum_update (_tmp7_, (guchar*) _tmp8_, (gsize) (-1));
#line 89 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_tmp9_ = checksum;
#line 89 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_tmp10_ = g_checksum_get_string (_tmp9_);
#line 89 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_tmp11_ = g_strdup (_tmp10_);
#line 89 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		sha1 = _tmp11_;
#line 92 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_tmp12_ = sha1;
#line 92 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_tmp13_ = sha1;
#line 92 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_tmp14_ = string_substring (_tmp13_, (glong) 8, (glong) (-1));
#line 92 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_tmp15_ = _tmp14_;
#line 92 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_tmp16_ = sha1;
#line 92 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_tmp17_ = string_substring (_tmp16_, (glong) 12, (glong) (-1));
#line 92 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_tmp18_ = _tmp17_;
#line 92 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_tmp19_ = sha1;
#line 92 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_tmp20_ = string_substring (_tmp19_, (glong) 16, (glong) (-1));
#line 92 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_tmp21_ = _tmp20_;
#line 92 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_tmp22_ = sha1;
#line 92 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_tmp23_ = string_substring (_tmp22_, (glong) 20, (glong) (-1));
#line 92 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_tmp24_ = _tmp23_;
#line 92 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_tmp25_ = g_strdup_printf ("urn:uuid:%.8s-%.4s-%.4s-%.4s-%.12s", _tmp12_, _tmp15_, _tmp18_, _tmp21_, _tmp24_);
#line 92 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_tmp26_ = _tmp25_;
#line 92 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_g_free0 (_tmp24_);
#line 92 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_g_free0 (_tmp21_);
#line 92 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_g_free0 (_tmp18_);
#line 92 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_g_free0 (_tmp15_);
#line 92 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		result = _tmp26_;
#line 92 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_g_free0 (sha1);
#line 92 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_g_checksum_free0 (checksum);
#line 92 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		return result;
#line 720 "tracker-turtle-reader.c"
	}
}


static inline gboolean tracker_turtle_reader_next_token (TrackerTurtleReader* self, GError** error) {
	gboolean result = FALSE;
	gint _tmp0_ = 0;
	gint _tmp1_ = 0;
	gint _tmp2_ = 0;
	TrackerTurtleReaderTokenInfo* _tmp16_ = NULL;
	gint _tmp16__length1 = 0;
	gint _tmp17_ = 0;
	TrackerTurtleReaderTokenInfo _tmp18_ = {0};
	TrackerSparqlTokenType _tmp19_ = 0;
	GError * _inner_error_ = NULL;
#line 97 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 98 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp0_ = self->priv->index;
#line 98 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	self->priv->index = (_tmp0_ + 1) % TRACKER_TURTLE_READER_BUFFER_SIZE;
#line 99 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp1_ = self->priv->size;
#line 99 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	self->priv->size = _tmp1_ - 1;
#line 100 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp2_ = self->priv->size;
#line 100 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	if (_tmp2_ <= 0) {
#line 750 "tracker-turtle-reader.c"
		TrackerSourceLocation begin = {0};
		TrackerSourceLocation end = {0};
		TrackerSparqlTokenType type = 0;
		TrackerSparqlScanner* _tmp3_ = NULL;
		TrackerSourceLocation _tmp4_ = {0};
		TrackerSourceLocation _tmp5_ = {0};
		TrackerSparqlTokenType _tmp6_ = 0;
		TrackerTurtleReaderTokenInfo* _tmp7_ = NULL;
		gint _tmp7__length1 = 0;
		gint _tmp8_ = 0;
		TrackerSparqlTokenType _tmp9_ = 0;
		TrackerTurtleReaderTokenInfo* _tmp10_ = NULL;
		gint _tmp10__length1 = 0;
		gint _tmp11_ = 0;
		TrackerSourceLocation _tmp12_ = {0};
		TrackerTurtleReaderTokenInfo* _tmp13_ = NULL;
		gint _tmp13__length1 = 0;
		gint _tmp14_ = 0;
		TrackerSourceLocation _tmp15_ = {0};
#line 102 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_tmp3_ = self->priv->scanner;
#line 102 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_tmp6_ = tracker_sparql_scanner_read_token (_tmp3_, &_tmp4_, &_tmp5_, &_inner_error_);
#line 102 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		begin = _tmp4_;
#line 102 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		end = _tmp5_;
#line 102 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		type = _tmp6_;
#line 102 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		if (_inner_error_ != NULL) {
#line 102 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 102 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				g_propagate_error (error, _inner_error_);
#line 102 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				return FALSE;
#line 788 "tracker-turtle-reader.c"
			} else {
#line 102 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 102 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				g_clear_error (&_inner_error_);
#line 102 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				return FALSE;
#line 796 "tracker-turtle-reader.c"
			}
		}
#line 103 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_tmp7_ = self->priv->tokens;
#line 103 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_tmp7__length1 = self->priv->tokens_length1;
#line 103 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_tmp8_ = self->priv->index;
#line 103 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_tmp9_ = type;
#line 103 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_tmp7_[_tmp8_].type = _tmp9_;
#line 104 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_tmp10_ = self->priv->tokens;
#line 104 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_tmp10__length1 = self->priv->tokens_length1;
#line 104 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_tmp11_ = self->priv->index;
#line 104 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_tmp12_ = begin;
#line 104 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_tmp10_[_tmp11_].begin = _tmp12_;
#line 105 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_tmp13_ = self->priv->tokens;
#line 105 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_tmp13__length1 = self->priv->tokens_length1;
#line 105 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_tmp14_ = self->priv->index;
#line 105 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_tmp15_ = end;
#line 105 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_tmp13_[_tmp14_].end = _tmp15_;
#line 106 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		self->priv->size = 1;
#line 831 "tracker-turtle-reader.c"
	}
#line 108 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp16_ = self->priv->tokens;
#line 108 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp16__length1 = self->priv->tokens_length1;
#line 108 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp17_ = self->priv->index;
#line 108 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp18_ = _tmp16_[_tmp17_];
#line 108 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp19_ = _tmp18_.type;
#line 108 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	result = _tmp19_ != TRACKER_SPARQL_TOKEN_TYPE_EOF;
#line 108 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	return result;
#line 847 "tracker-turtle-reader.c"
}


static inline TrackerSparqlTokenType tracker_turtle_reader_current (TrackerTurtleReader* self) {
	TrackerSparqlTokenType result = 0;
	TrackerTurtleReaderTokenInfo* _tmp0_ = NULL;
	gint _tmp0__length1 = 0;
	gint _tmp1_ = 0;
	TrackerTurtleReaderTokenInfo _tmp2_ = {0};
	TrackerSparqlTokenType _tmp3_ = 0;
#line 111 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 112 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp0_ = self->priv->tokens;
#line 112 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp0__length1 = self->priv->tokens_length1;
#line 112 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp1_ = self->priv->index;
#line 112 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp2_ = _tmp0_[_tmp1_];
#line 112 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp3_ = _tmp2_.type;
#line 112 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	result = _tmp3_;
#line 112 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	return result;
#line 874 "tracker-turtle-reader.c"
}


static inline gboolean tracker_turtle_reader_accept (TrackerTurtleReader* self, TrackerSparqlTokenType type, GError** error) {
	gboolean result = FALSE;
	TrackerSparqlTokenType _tmp0_ = 0;
	TrackerSparqlTokenType _tmp1_ = 0;
	GError * _inner_error_ = NULL;
#line 115 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 116 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp0_ = tracker_turtle_reader_current (self);
#line 116 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp1_ = type;
#line 116 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	if (_tmp0_ == _tmp1_) {
#line 117 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		tracker_turtle_reader_next_token (self, &_inner_error_);
#line 117 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		if (_inner_error_ != NULL) {
#line 117 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 117 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				g_propagate_error (error, _inner_error_);
#line 117 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				return FALSE;
#line 901 "tracker-turtle-reader.c"
			} else {
#line 117 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 117 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				g_clear_error (&_inner_error_);
#line 117 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				return FALSE;
#line 909 "tracker-turtle-reader.c"
			}
		}
#line 118 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		result = TRUE;
#line 118 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		return result;
#line 916 "tracker-turtle-reader.c"
	}
#line 120 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	result = FALSE;
#line 120 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	return result;
#line 922 "tracker-turtle-reader.c"
}


static GError* tracker_turtle_reader_get_error (TrackerTurtleReader* self, const gchar* msg) {
	GError* result = NULL;
	TrackerTurtleReaderTokenInfo* _tmp0_ = NULL;
	gint _tmp0__length1 = 0;
	gint _tmp1_ = 0;
	TrackerTurtleReaderTokenInfo _tmp2_ = {0};
	TrackerSourceLocation _tmp3_ = {0};
	gint _tmp4_ = 0;
	TrackerTurtleReaderTokenInfo* _tmp5_ = NULL;
	gint _tmp5__length1 = 0;
	gint _tmp6_ = 0;
	TrackerTurtleReaderTokenInfo _tmp7_ = {0};
	TrackerSourceLocation _tmp8_ = {0};
	gint _tmp9_ = 0;
	const gchar* _tmp10_ = NULL;
	gchar* _tmp11_ = NULL;
	gchar* _tmp12_ = NULL;
	GError* _tmp13_ = NULL;
	GError* _tmp14_ = NULL;
#line 123 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 123 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	g_return_val_if_fail (msg != NULL, NULL);
#line 124 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp0_ = self->priv->tokens;
#line 124 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp0__length1 = self->priv->tokens_length1;
#line 124 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp1_ = self->priv->index;
#line 124 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp2_ = _tmp0_[_tmp1_];
#line 124 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp3_ = _tmp2_.begin;
#line 124 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp4_ = _tmp3_.line;
#line 124 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp5_ = self->priv->tokens;
#line 124 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp5__length1 = self->priv->tokens_length1;
#line 124 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp6_ = self->priv->index;
#line 124 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp7_ = _tmp5_[_tmp6_];
#line 124 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp8_ = _tmp7_.begin;
#line 124 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp9_ = _tmp8_.column;
#line 124 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp10_ = msg;
#line 124 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp11_ = g_strdup_printf ("%d.%d: syntax error, %s", _tmp4_, _tmp9_, _tmp10_);
#line 124 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp12_ = _tmp11_;
#line 124 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp13_ = g_error_new_literal (TRACKER_SPARQL_ERROR, TRACKER_SPARQL_ERROR_PARSE, _tmp12_);
#line 124 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp14_ = _tmp13_;
#line 124 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_g_free0 (_tmp12_);
#line 124 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	result = _tmp14_;
#line 124 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	return result;
#line 989 "tracker-turtle-reader.c"
}


static gboolean tracker_turtle_reader_expect (TrackerTurtleReader* self, TrackerSparqlTokenType type, GError** error) {
	gboolean result = FALSE;
	gboolean _tmp0_ = FALSE;
	TrackerSparqlTokenType _tmp1_ = 0;
	gboolean _tmp2_ = FALSE;
	TrackerSparqlTokenType _tmp3_ = 0;
	const gchar* _tmp4_ = NULL;
	gchar* _tmp5_ = NULL;
	gchar* _tmp6_ = NULL;
	GError* _tmp7_ = NULL;
	GError* _tmp8_ = NULL;
	GError * _inner_error_ = NULL;
#line 127 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 128 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp1_ = type;
#line 128 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp2_ = tracker_turtle_reader_accept (self, _tmp1_, &_inner_error_);
#line 128 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp0_ = _tmp2_;
#line 128 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	if (_inner_error_ != NULL) {
#line 128 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 128 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
			g_propagate_error (error, _inner_error_);
#line 128 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
			return FALSE;
#line 1021 "tracker-turtle-reader.c"
		} else {
#line 128 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 128 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
			g_clear_error (&_inner_error_);
#line 128 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
			return FALSE;
#line 1029 "tracker-turtle-reader.c"
		}
	}
#line 128 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	if (_tmp0_) {
#line 129 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		result = TRUE;
#line 129 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		return result;
#line 1038 "tracker-turtle-reader.c"
	}
#line 132 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp3_ = type;
#line 132 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp4_ = tracker_sparql_token_type_to_string (_tmp3_);
#line 132 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp5_ = g_strdup_printf ("expected %s", _tmp4_);
#line 132 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp6_ = _tmp5_;
#line 132 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp7_ = tracker_turtle_reader_get_error (self, _tmp6_);
#line 132 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp8_ = _tmp7_;
#line 132 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_g_free0 (_tmp6_);
#line 132 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_inner_error_ = _tmp8_;
#line 132 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 132 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		g_propagate_error (error, _inner_error_);
#line 132 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		return FALSE;
#line 1062 "tracker-turtle-reader.c"
	} else {
#line 132 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 132 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		g_clear_error (&_inner_error_);
#line 132 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		return FALSE;
#line 1070 "tracker-turtle-reader.c"
	}
}


static gchar* tracker_turtle_reader_get_last_string (TrackerTurtleReader* self, gint strip) {
	gchar* result = NULL;
	gint last_index = 0;
	gint _tmp0_ = 0;
	TrackerTurtleReaderTokenInfo* _tmp1_ = NULL;
	gint _tmp1__length1 = 0;
	TrackerTurtleReaderTokenInfo _tmp2_ = {0};
	TrackerSourceLocation _tmp3_ = {0};
	gchar* _tmp4_ = NULL;
	gint _tmp5_ = 0;
	TrackerTurtleReaderTokenInfo* _tmp6_ = NULL;
	gint _tmp6__length1 = 0;
	TrackerTurtleReaderTokenInfo _tmp7_ = {0};
	TrackerSourceLocation _tmp8_ = {0};
	gchar* _tmp9_ = NULL;
	TrackerTurtleReaderTokenInfo* _tmp10_ = NULL;
	gint _tmp10__length1 = 0;
	TrackerTurtleReaderTokenInfo _tmp11_ = {0};
	TrackerSourceLocation _tmp12_ = {0};
	gchar* _tmp13_ = NULL;
	gint _tmp14_ = 0;
	gchar* _tmp15_ = NULL;
#line 135 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 136 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp0_ = self->priv->index;
#line 136 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	last_index = ((_tmp0_ + TRACKER_TURTLE_READER_BUFFER_SIZE) - 1) % TRACKER_TURTLE_READER_BUFFER_SIZE;
#line 137 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp1_ = self->priv->tokens;
#line 137 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp1__length1 = self->priv->tokens_length1;
#line 137 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp2_ = _tmp1_[last_index];
#line 137 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp3_ = _tmp2_.begin;
#line 137 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp4_ = _tmp3_.pos;
#line 137 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp5_ = strip;
#line 137 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp6_ = self->priv->tokens;
#line 137 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp6__length1 = self->priv->tokens_length1;
#line 137 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp7_ = _tmp6_[last_index];
#line 137 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp8_ = _tmp7_.end;
#line 137 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp9_ = _tmp8_.pos;
#line 137 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp10_ = self->priv->tokens;
#line 137 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp10__length1 = self->priv->tokens_length1;
#line 137 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp11_ = _tmp10_[last_index];
#line 137 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp12_ = _tmp11_.begin;
#line 137 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp13_ = _tmp12_.pos;
#line 137 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp14_ = strip;
#line 137 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp15_ = string_substring ((const gchar*) (_tmp4_ + _tmp5_), (glong) 0, (glong) ((gint) ((_tmp9_ - _tmp13_) - (2 * _tmp14_))));
#line 137 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	result = _tmp15_;
#line 137 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	return result;
#line 1143 "tracker-turtle-reader.c"
}


static gchar* tracker_turtle_reader_resolve_prefixed_name (TrackerTurtleReader* self, const gchar* prefix, const gchar* local_name, GError** error) {
	gchar* result = NULL;
	gchar* ns = NULL;
	GHashTable* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
	gconstpointer _tmp2_ = NULL;
	gchar* _tmp3_ = NULL;
	const gchar* _tmp4_ = NULL;
	const gchar* _tmp10_ = NULL;
	const gchar* _tmp11_ = NULL;
	gchar* _tmp12_ = NULL;
	GError * _inner_error_ = NULL;
#line 140 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 140 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	g_return_val_if_fail (prefix != NULL, NULL);
#line 140 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	g_return_val_if_fail (local_name != NULL, NULL);
#line 141 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp0_ = self->priv->prefix_map;
#line 141 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp1_ = prefix;
#line 141 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp2_ = g_hash_table_lookup (_tmp0_, _tmp1_);
#line 141 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp3_ = g_strdup ((const gchar*) _tmp2_);
#line 141 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	ns = _tmp3_;
#line 142 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp4_ = ns;
#line 142 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	if (_tmp4_ == NULL) {
#line 1179 "tracker-turtle-reader.c"
		const gchar* _tmp5_ = NULL;
		gchar* _tmp6_ = NULL;
		gchar* _tmp7_ = NULL;
		GError* _tmp8_ = NULL;
		GError* _tmp9_ = NULL;
#line 143 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_tmp5_ = prefix;
#line 143 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_tmp6_ = g_strdup_printf ("use of undefined prefix `%s'", _tmp5_);
#line 143 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_tmp7_ = _tmp6_;
#line 143 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_tmp8_ = tracker_turtle_reader_get_error (self, _tmp7_);
#line 143 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_tmp9_ = _tmp8_;
#line 143 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_g_free0 (_tmp7_);
#line 143 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_inner_error_ = _tmp9_;
#line 143 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 143 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
			g_propagate_error (error, _inner_error_);
#line 143 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
			_g_free0 (ns);
#line 143 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
			return NULL;
#line 1207 "tracker-turtle-reader.c"
		} else {
#line 143 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
			_g_free0 (ns);
#line 143 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 143 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
			g_clear_error (&_inner_error_);
#line 143 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
			return NULL;
#line 1217 "tracker-turtle-reader.c"
		}
	}
#line 145 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp10_ = ns;
#line 145 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp11_ = local_name;
#line 145 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp12_ = g_strconcat (_tmp10_, _tmp11_, NULL);
#line 145 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	result = _tmp12_;
#line 145 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_g_free0 (ns);
#line 145 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	return result;
#line 1232 "tracker-turtle-reader.c"
}


static void _vala_array_add12 (gchar*** array, int* length, int* size, gchar* value) {
#line 254 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	if ((*length) == (*size)) {
#line 254 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 254 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		*array = g_renew (gchar*, *array, (*size) + 1);
#line 1243 "tracker-turtle-reader.c"
	}
#line 254 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	(*array)[(*length)++] = value;
#line 254 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	(*array)[*length] = NULL;
#line 1249 "tracker-turtle-reader.c"
}


static void _vala_array_add13 (gchar*** array, int* length, int* size, gchar* value) {
#line 255 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	if ((*length) == (*size)) {
#line 255 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 255 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		*array = g_renew (gchar*, *array, (*size) + 1);
#line 1260 "tracker-turtle-reader.c"
	}
#line 255 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	(*array)[(*length)++] = value;
#line 255 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	(*array)[*length] = NULL;
#line 1266 "tracker-turtle-reader.c"
}


gboolean tracker_turtle_reader_next (TrackerTurtleReader* self, GError** error) {
	gboolean result = FALSE;
	GError * _inner_error_ = NULL;
#line 148 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 149 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	while (TRUE) {
#line 1277 "tracker-turtle-reader.c"
		TrackerTurtleReaderState _tmp0_ = 0;
#line 150 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_tmp0_ = self->priv->state;
#line 150 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		switch (_tmp0_) {
#line 150 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
			case TRACKER_TURTLE_READER_STATE_INITIAL:
#line 1285 "tracker-turtle-reader.c"
			{
#line 152 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				tracker_turtle_reader_next_token (self, &_inner_error_);
#line 152 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				if (_inner_error_ != NULL) {
#line 152 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 152 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						g_propagate_error (error, _inner_error_);
#line 152 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						return FALSE;
#line 1297 "tracker-turtle-reader.c"
					} else {
#line 152 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 152 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						g_clear_error (&_inner_error_);
#line 152 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						return FALSE;
#line 1305 "tracker-turtle-reader.c"
					}
				}
#line 153 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				self->priv->state = TRACKER_TURTLE_READER_STATE_BOS;
#line 154 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				continue;
#line 1312 "tracker-turtle-reader.c"
			}
#line 150 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
			case TRACKER_TURTLE_READER_STATE_BOS:
#line 1316 "tracker-turtle-reader.c"
			{
				gboolean _tmp1_ = FALSE;
				gboolean _tmp2_ = FALSE;
				gboolean _tmp16_ = FALSE;
				gboolean _tmp17_ = FALSE;
#line 157 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				_tmp2_ = tracker_turtle_reader_accept (self, TRACKER_SPARQL_TOKEN_TYPE_ATPREFIX, &_inner_error_);
#line 157 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				_tmp1_ = _tmp2_;
#line 157 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				if (_inner_error_ != NULL) {
#line 157 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 157 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						g_propagate_error (error, _inner_error_);
#line 157 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						return FALSE;
#line 1334 "tracker-turtle-reader.c"
					} else {
#line 157 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 157 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						g_clear_error (&_inner_error_);
#line 157 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						return FALSE;
#line 1342 "tracker-turtle-reader.c"
					}
				}
#line 157 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				if (_tmp1_) {
#line 1347 "tracker-turtle-reader.c"
					gchar* ns = NULL;
					gchar* _tmp3_ = NULL;
					gboolean _tmp4_ = FALSE;
					gboolean _tmp5_ = FALSE;
					gchar* uri = NULL;
					gchar* _tmp7_ = NULL;
					GHashTable* _tmp8_ = NULL;
					const gchar* _tmp9_ = NULL;
					gchar* _tmp10_ = NULL;
					const gchar* _tmp11_ = NULL;
					gchar* _tmp12_ = NULL;
#line 158 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					_tmp3_ = g_strdup ("");
#line 158 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					ns = _tmp3_;
#line 159 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					_tmp5_ = tracker_turtle_reader_accept (self, TRACKER_SPARQL_TOKEN_TYPE_PN_PREFIX, &_inner_error_);
#line 159 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					_tmp4_ = _tmp5_;
#line 159 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					if (_inner_error_ != NULL) {
#line 159 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 159 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							g_propagate_error (error, _inner_error_);
#line 159 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_g_free0 (ns);
#line 159 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							return FALSE;
#line 1377 "tracker-turtle-reader.c"
						} else {
#line 159 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_g_free0 (ns);
#line 159 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 159 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							g_clear_error (&_inner_error_);
#line 159 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							return FALSE;
#line 1387 "tracker-turtle-reader.c"
						}
					}
#line 159 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					if (_tmp4_) {
#line 1392 "tracker-turtle-reader.c"
						gchar* _tmp6_ = NULL;
#line 160 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						_tmp6_ = tracker_turtle_reader_get_last_string (self, 0);
#line 160 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						_g_free0 (ns);
#line 160 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						ns = _tmp6_;
#line 1400 "tracker-turtle-reader.c"
					}
#line 162 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					tracker_turtle_reader_expect (self, TRACKER_SPARQL_TOKEN_TYPE_COLON, &_inner_error_);
#line 162 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					if (_inner_error_ != NULL) {
#line 162 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 162 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							g_propagate_error (error, _inner_error_);
#line 162 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_g_free0 (ns);
#line 162 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							return FALSE;
#line 1414 "tracker-turtle-reader.c"
						} else {
#line 162 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_g_free0 (ns);
#line 162 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 162 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							g_clear_error (&_inner_error_);
#line 162 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							return FALSE;
#line 1424 "tracker-turtle-reader.c"
						}
					}
#line 163 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					tracker_turtle_reader_expect (self, TRACKER_SPARQL_TOKEN_TYPE_IRI_REF, &_inner_error_);
#line 163 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					if (_inner_error_ != NULL) {
#line 163 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 163 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							g_propagate_error (error, _inner_error_);
#line 163 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_g_free0 (ns);
#line 163 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							return FALSE;
#line 1439 "tracker-turtle-reader.c"
						} else {
#line 163 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_g_free0 (ns);
#line 163 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 163 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							g_clear_error (&_inner_error_);
#line 163 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							return FALSE;
#line 1449 "tracker-turtle-reader.c"
						}
					}
#line 164 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					_tmp7_ = tracker_turtle_reader_get_last_string (self, 1);
#line 164 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					uri = _tmp7_;
#line 165 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					_tmp8_ = self->priv->prefix_map;
#line 165 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					_tmp9_ = ns;
#line 165 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					_tmp10_ = g_strdup (_tmp9_);
#line 165 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					_tmp11_ = uri;
#line 165 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					_tmp12_ = g_strdup (_tmp11_);
#line 165 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					g_hash_table_insert (_tmp8_, _tmp10_, _tmp12_);
#line 166 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					tracker_turtle_reader_expect (self, TRACKER_SPARQL_TOKEN_TYPE_DOT, &_inner_error_);
#line 166 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					if (_inner_error_ != NULL) {
#line 166 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 166 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							g_propagate_error (error, _inner_error_);
#line 166 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_g_free0 (uri);
#line 166 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_g_free0 (ns);
#line 166 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							return FALSE;
#line 1482 "tracker-turtle-reader.c"
						} else {
#line 166 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_g_free0 (uri);
#line 166 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_g_free0 (ns);
#line 166 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 166 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							g_clear_error (&_inner_error_);
#line 166 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							return FALSE;
#line 1494 "tracker-turtle-reader.c"
						}
					}
#line 167 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					_g_free0 (uri);
#line 167 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					_g_free0 (ns);
#line 167 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					continue;
#line 1503 "tracker-turtle-reader.c"
				} else {
					gboolean _tmp13_ = FALSE;
					gboolean _tmp14_ = FALSE;
#line 168 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					_tmp14_ = tracker_turtle_reader_accept (self, TRACKER_SPARQL_TOKEN_TYPE_ATBASE, &_inner_error_);
#line 168 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					_tmp13_ = _tmp14_;
#line 168 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					if (_inner_error_ != NULL) {
#line 168 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 168 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							g_propagate_error (error, _inner_error_);
#line 168 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							return FALSE;
#line 1519 "tracker-turtle-reader.c"
						} else {
#line 168 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 168 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							g_clear_error (&_inner_error_);
#line 168 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							return FALSE;
#line 1527 "tracker-turtle-reader.c"
						}
					}
#line 168 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					if (_tmp13_) {
#line 169 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						tracker_turtle_reader_expect (self, TRACKER_SPARQL_TOKEN_TYPE_IRI_REF, &_inner_error_);
#line 169 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						if (_inner_error_ != NULL) {
#line 169 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 169 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								g_propagate_error (error, _inner_error_);
#line 169 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								return FALSE;
#line 1542 "tracker-turtle-reader.c"
							} else {
#line 169 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 169 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								g_clear_error (&_inner_error_);
#line 169 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								return FALSE;
#line 1550 "tracker-turtle-reader.c"
							}
						}
#line 170 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						tracker_turtle_reader_expect (self, TRACKER_SPARQL_TOKEN_TYPE_DOT, &_inner_error_);
#line 170 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						if (_inner_error_ != NULL) {
#line 170 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 170 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								g_propagate_error (error, _inner_error_);
#line 170 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								return FALSE;
#line 1563 "tracker-turtle-reader.c"
							} else {
#line 170 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 170 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								g_clear_error (&_inner_error_);
#line 170 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								return FALSE;
#line 1571 "tracker-turtle-reader.c"
							}
						}
#line 171 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						continue;
#line 1576 "tracker-turtle-reader.c"
					} else {
						TrackerSparqlTokenType _tmp15_ = 0;
#line 172 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						_tmp15_ = tracker_turtle_reader_current (self);
#line 172 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						if (_tmp15_ == TRACKER_SPARQL_TOKEN_TYPE_EOF) {
#line 173 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							result = FALSE;
#line 173 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							return result;
#line 1587 "tracker-turtle-reader.c"
						}
					}
				}
#line 176 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				_tmp17_ = tracker_turtle_reader_accept (self, TRACKER_SPARQL_TOKEN_TYPE_IRI_REF, &_inner_error_);
#line 176 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				_tmp16_ = _tmp17_;
#line 176 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				if (_inner_error_ != NULL) {
#line 176 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 176 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						g_propagate_error (error, _inner_error_);
#line 176 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						return FALSE;
#line 1603 "tracker-turtle-reader.c"
					} else {
#line 176 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 176 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						g_clear_error (&_inner_error_);
#line 176 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						return FALSE;
#line 1611 "tracker-turtle-reader.c"
					}
				}
#line 176 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				if (_tmp16_) {
#line 1616 "tracker-turtle-reader.c"
					gchar* _tmp18_ = NULL;
					gchar* _tmp19_ = NULL;
#line 177 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					_tmp18_ = tracker_turtle_reader_get_last_string (self, 1);
#line 177 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					_tmp19_ = _tmp18_;
#line 177 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					tracker_turtle_reader_set_subject (self, _tmp19_);
#line 177 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					_g_free0 (_tmp19_);
#line 178 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					self->priv->state = TRACKER_TURTLE_READER_STATE_SUBJECT;
#line 179 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					continue;
#line 1631 "tracker-turtle-reader.c"
				} else {
					gboolean _tmp20_ = FALSE;
					gboolean _tmp21_ = FALSE;
#line 180 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					_tmp21_ = tracker_turtle_reader_accept (self, TRACKER_SPARQL_TOKEN_TYPE_PN_PREFIX, &_inner_error_);
#line 180 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					_tmp20_ = _tmp21_;
#line 180 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					if (_inner_error_ != NULL) {
#line 180 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 180 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							g_propagate_error (error, _inner_error_);
#line 180 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							return FALSE;
#line 1647 "tracker-turtle-reader.c"
						} else {
#line 180 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 180 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							g_clear_error (&_inner_error_);
#line 180 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							return FALSE;
#line 1655 "tracker-turtle-reader.c"
						}
					}
#line 180 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					if (_tmp20_) {
#line 1660 "tracker-turtle-reader.c"
						gchar* ns = NULL;
						gchar* _tmp22_ = NULL;
						gchar* _tmp23_ = NULL;
						const gchar* _tmp24_ = NULL;
						gchar* _tmp25_ = NULL;
						gchar* _tmp26_ = NULL;
						gchar* _tmp27_ = NULL;
						gchar* _tmp28_ = NULL;
						gchar* _tmp29_ = NULL;
						gchar* _tmp30_ = NULL;
						gchar* _tmp31_ = NULL;
#line 182 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						_tmp22_ = tracker_turtle_reader_get_last_string (self, 0);
#line 182 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						ns = _tmp22_;
#line 183 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						tracker_turtle_reader_expect (self, TRACKER_SPARQL_TOKEN_TYPE_COLON, &_inner_error_);
#line 183 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						if (_inner_error_ != NULL) {
#line 183 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 183 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								g_propagate_error (error, _inner_error_);
#line 183 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								_g_free0 (ns);
#line 183 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								return FALSE;
#line 1688 "tracker-turtle-reader.c"
							} else {
#line 183 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								_g_free0 (ns);
#line 183 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 183 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								g_clear_error (&_inner_error_);
#line 183 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								return FALSE;
#line 1698 "tracker-turtle-reader.c"
							}
						}
#line 184 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						_tmp24_ = ns;
#line 184 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						_tmp25_ = tracker_turtle_reader_get_last_string (self, 0);
#line 184 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						_tmp26_ = _tmp25_;
#line 184 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						_tmp27_ = string_substring (_tmp26_, (glong) 1, (glong) (-1));
#line 184 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						_tmp28_ = _tmp27_;
#line 184 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						_tmp29_ = tracker_turtle_reader_resolve_prefixed_name (self, _tmp24_, _tmp28_, &_inner_error_);
#line 184 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						_tmp30_ = _tmp29_;
#line 184 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						_g_free0 (_tmp28_);
#line 184 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						_g_free0 (_tmp26_);
#line 184 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						_tmp23_ = _tmp30_;
#line 184 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						if (_inner_error_ != NULL) {
#line 184 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 184 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								g_propagate_error (error, _inner_error_);
#line 184 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								_g_free0 (ns);
#line 184 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								return FALSE;
#line 1731 "tracker-turtle-reader.c"
							} else {
#line 184 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								_g_free0 (ns);
#line 184 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 184 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								g_clear_error (&_inner_error_);
#line 184 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								return FALSE;
#line 1741 "tracker-turtle-reader.c"
							}
						}
#line 184 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						_tmp31_ = _tmp23_;
#line 184 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						tracker_turtle_reader_set_subject (self, _tmp31_);
#line 184 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						_g_free0 (_tmp31_);
#line 185 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						self->priv->state = TRACKER_TURTLE_READER_STATE_SUBJECT;
#line 186 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						_g_free0 (ns);
#line 186 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						continue;
#line 1756 "tracker-turtle-reader.c"
					} else {
						gboolean _tmp32_ = FALSE;
						gboolean _tmp33_ = FALSE;
#line 187 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						_tmp33_ = tracker_turtle_reader_accept (self, TRACKER_SPARQL_TOKEN_TYPE_COLON, &_inner_error_);
#line 187 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						_tmp32_ = _tmp33_;
#line 187 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						if (_inner_error_ != NULL) {
#line 187 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 187 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								g_propagate_error (error, _inner_error_);
#line 187 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								return FALSE;
#line 1772 "tracker-turtle-reader.c"
							} else {
#line 187 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 187 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								g_clear_error (&_inner_error_);
#line 187 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								return FALSE;
#line 1780 "tracker-turtle-reader.c"
							}
						}
#line 187 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						if (_tmp32_) {
#line 1785 "tracker-turtle-reader.c"
							gchar* _tmp34_ = NULL;
							gchar* _tmp35_ = NULL;
							gchar* _tmp36_ = NULL;
							gchar* _tmp37_ = NULL;
							gchar* _tmp38_ = NULL;
							gchar* _tmp39_ = NULL;
							gchar* _tmp40_ = NULL;
							gchar* _tmp41_ = NULL;
#line 189 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_tmp35_ = tracker_turtle_reader_get_last_string (self, 0);
#line 189 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_tmp36_ = _tmp35_;
#line 189 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_tmp37_ = string_substring (_tmp36_, (glong) 1, (glong) (-1));
#line 189 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_tmp38_ = _tmp37_;
#line 189 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_tmp39_ = tracker_turtle_reader_resolve_prefixed_name (self, "", _tmp38_, &_inner_error_);
#line 189 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_tmp40_ = _tmp39_;
#line 189 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_g_free0 (_tmp38_);
#line 189 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_g_free0 (_tmp36_);
#line 189 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_tmp34_ = _tmp40_;
#line 189 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							if (_inner_error_ != NULL) {
#line 189 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 189 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									g_propagate_error (error, _inner_error_);
#line 189 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									return FALSE;
#line 1820 "tracker-turtle-reader.c"
								} else {
#line 189 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 189 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									g_clear_error (&_inner_error_);
#line 189 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									return FALSE;
#line 1828 "tracker-turtle-reader.c"
								}
							}
#line 189 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_tmp41_ = _tmp34_;
#line 189 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							tracker_turtle_reader_set_subject (self, _tmp41_);
#line 189 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_g_free0 (_tmp41_);
#line 190 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							self->priv->state = TRACKER_TURTLE_READER_STATE_SUBJECT;
#line 191 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							continue;
#line 1841 "tracker-turtle-reader.c"
						} else {
							gboolean _tmp42_ = FALSE;
							gboolean _tmp43_ = FALSE;
#line 192 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_tmp43_ = tracker_turtle_reader_accept (self, TRACKER_SPARQL_TOKEN_TYPE_BLANK_NODE, &_inner_error_);
#line 192 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_tmp42_ = _tmp43_;
#line 192 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							if (_inner_error_ != NULL) {
#line 192 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 192 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									g_propagate_error (error, _inner_error_);
#line 192 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									return FALSE;
#line 1857 "tracker-turtle-reader.c"
								} else {
#line 192 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 192 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									g_clear_error (&_inner_error_);
#line 192 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									return FALSE;
#line 1865 "tracker-turtle-reader.c"
								}
							}
#line 192 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							if (_tmp42_) {
#line 1870 "tracker-turtle-reader.c"
								gchar* _tmp44_ = NULL;
								gchar* _tmp45_ = NULL;
								gchar* _tmp46_ = NULL;
								gchar* _tmp47_ = NULL;
								gchar* _tmp48_ = NULL;
								gchar* _tmp49_ = NULL;
#line 194 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								tracker_turtle_reader_expect (self, TRACKER_SPARQL_TOKEN_TYPE_COLON, &_inner_error_);
#line 194 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								if (_inner_error_ != NULL) {
#line 194 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 194 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
										g_propagate_error (error, _inner_error_);
#line 194 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
										return FALSE;
#line 1887 "tracker-turtle-reader.c"
									} else {
#line 194 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
										g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 194 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
										g_clear_error (&_inner_error_);
#line 194 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
										return FALSE;
#line 1895 "tracker-turtle-reader.c"
									}
								}
#line 195 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								_tmp44_ = tracker_turtle_reader_get_last_string (self, 0);
#line 195 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								_tmp45_ = _tmp44_;
#line 195 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								_tmp46_ = string_substring (_tmp45_, (glong) 1, (glong) (-1));
#line 195 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								_tmp47_ = _tmp46_;
#line 195 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								_tmp48_ = tracker_turtle_reader_generate_bnodeid (self, _tmp47_);
#line 195 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								_tmp49_ = _tmp48_;
#line 195 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								tracker_turtle_reader_set_subject (self, _tmp49_);
#line 195 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								_g_free0 (_tmp49_);
#line 195 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								_g_free0 (_tmp47_);
#line 195 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								_g_free0 (_tmp45_);
#line 196 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								self->priv->state = TRACKER_TURTLE_READER_STATE_SUBJECT;
#line 197 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								continue;
#line 1922 "tracker-turtle-reader.c"
							} else {
								GError* _tmp50_ = NULL;
#line 199 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								_tmp50_ = tracker_turtle_reader_get_error (self, "expected subject");
#line 199 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								_inner_error_ = _tmp50_;
#line 199 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 199 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									g_propagate_error (error, _inner_error_);
#line 199 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									return FALSE;
#line 1935 "tracker-turtle-reader.c"
								} else {
#line 199 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 199 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									g_clear_error (&_inner_error_);
#line 199 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									return FALSE;
#line 1943 "tracker-turtle-reader.c"
								}
							}
						}
					}
				}
			}
#line 150 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
			case TRACKER_TURTLE_READER_STATE_SUBJECT:
#line 1952 "tracker-turtle-reader.c"
			{
				gboolean _tmp51_ = FALSE;
				gboolean _tmp52_ = FALSE;
#line 203 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				_tmp52_ = tracker_turtle_reader_accept (self, TRACKER_SPARQL_TOKEN_TYPE_IRI_REF, &_inner_error_);
#line 203 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				_tmp51_ = _tmp52_;
#line 203 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				if (_inner_error_ != NULL) {
#line 203 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 203 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						g_propagate_error (error, _inner_error_);
#line 203 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						return FALSE;
#line 1968 "tracker-turtle-reader.c"
					} else {
#line 203 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 203 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						g_clear_error (&_inner_error_);
#line 203 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						return FALSE;
#line 1976 "tracker-turtle-reader.c"
					}
				}
#line 203 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				if (_tmp51_) {
#line 1981 "tracker-turtle-reader.c"
					gchar* _tmp53_ = NULL;
					gchar* _tmp54_ = NULL;
#line 204 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					_tmp53_ = tracker_turtle_reader_get_last_string (self, 1);
#line 204 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					_tmp54_ = _tmp53_;
#line 204 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					tracker_turtle_reader_set_predicate (self, _tmp54_);
#line 204 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					_g_free0 (_tmp54_);
#line 205 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					self->priv->state = TRACKER_TURTLE_READER_STATE_PREDICATE;
#line 206 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					continue;
#line 1996 "tracker-turtle-reader.c"
				} else {
					gboolean _tmp55_ = FALSE;
					gboolean _tmp56_ = FALSE;
#line 207 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					_tmp56_ = tracker_turtle_reader_accept (self, TRACKER_SPARQL_TOKEN_TYPE_PN_PREFIX, &_inner_error_);
#line 207 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					_tmp55_ = _tmp56_;
#line 207 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					if (_inner_error_ != NULL) {
#line 207 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 207 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							g_propagate_error (error, _inner_error_);
#line 207 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							return FALSE;
#line 2012 "tracker-turtle-reader.c"
						} else {
#line 207 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 207 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							g_clear_error (&_inner_error_);
#line 207 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							return FALSE;
#line 2020 "tracker-turtle-reader.c"
						}
					}
#line 207 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					if (_tmp55_) {
#line 2025 "tracker-turtle-reader.c"
						gchar* ns = NULL;
						gchar* _tmp57_ = NULL;
						gchar* _tmp58_ = NULL;
						const gchar* _tmp59_ = NULL;
						gchar* _tmp60_ = NULL;
						gchar* _tmp61_ = NULL;
						gchar* _tmp62_ = NULL;
						gchar* _tmp63_ = NULL;
						gchar* _tmp64_ = NULL;
						gchar* _tmp65_ = NULL;
						gchar* _tmp66_ = NULL;
#line 208 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						_tmp57_ = tracker_turtle_reader_get_last_string (self, 0);
#line 208 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						ns = _tmp57_;
#line 209 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						tracker_turtle_reader_expect (self, TRACKER_SPARQL_TOKEN_TYPE_COLON, &_inner_error_);
#line 209 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						if (_inner_error_ != NULL) {
#line 209 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 209 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								g_propagate_error (error, _inner_error_);
#line 209 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								_g_free0 (ns);
#line 209 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								return FALSE;
#line 2053 "tracker-turtle-reader.c"
							} else {
#line 209 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								_g_free0 (ns);
#line 209 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 209 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								g_clear_error (&_inner_error_);
#line 209 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								return FALSE;
#line 2063 "tracker-turtle-reader.c"
							}
						}
#line 210 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						_tmp59_ = ns;
#line 210 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						_tmp60_ = tracker_turtle_reader_get_last_string (self, 0);
#line 210 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						_tmp61_ = _tmp60_;
#line 210 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						_tmp62_ = string_substring (_tmp61_, (glong) 1, (glong) (-1));
#line 210 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						_tmp63_ = _tmp62_;
#line 210 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						_tmp64_ = tracker_turtle_reader_resolve_prefixed_name (self, _tmp59_, _tmp63_, &_inner_error_);
#line 210 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						_tmp65_ = _tmp64_;
#line 210 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						_g_free0 (_tmp63_);
#line 210 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						_g_free0 (_tmp61_);
#line 210 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						_tmp58_ = _tmp65_;
#line 210 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						if (_inner_error_ != NULL) {
#line 210 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 210 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								g_propagate_error (error, _inner_error_);
#line 210 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								_g_free0 (ns);
#line 210 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								return FALSE;
#line 2096 "tracker-turtle-reader.c"
							} else {
#line 210 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								_g_free0 (ns);
#line 210 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 210 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								g_clear_error (&_inner_error_);
#line 210 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								return FALSE;
#line 2106 "tracker-turtle-reader.c"
							}
						}
#line 210 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						_tmp66_ = _tmp58_;
#line 210 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						tracker_turtle_reader_set_predicate (self, _tmp66_);
#line 210 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						_g_free0 (_tmp66_);
#line 211 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						self->priv->state = TRACKER_TURTLE_READER_STATE_PREDICATE;
#line 212 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						_g_free0 (ns);
#line 212 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						continue;
#line 2121 "tracker-turtle-reader.c"
					} else {
						gboolean _tmp67_ = FALSE;
						gboolean _tmp68_ = FALSE;
#line 213 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						_tmp68_ = tracker_turtle_reader_accept (self, TRACKER_SPARQL_TOKEN_TYPE_COLON, &_inner_error_);
#line 213 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						_tmp67_ = _tmp68_;
#line 213 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						if (_inner_error_ != NULL) {
#line 213 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 213 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								g_propagate_error (error, _inner_error_);
#line 213 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								return FALSE;
#line 2137 "tracker-turtle-reader.c"
							} else {
#line 213 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 213 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								g_clear_error (&_inner_error_);
#line 213 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								return FALSE;
#line 2145 "tracker-turtle-reader.c"
							}
						}
#line 213 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						if (_tmp67_) {
#line 2150 "tracker-turtle-reader.c"
							gchar* _tmp69_ = NULL;
							gchar* _tmp70_ = NULL;
							gchar* _tmp71_ = NULL;
							gchar* _tmp72_ = NULL;
							gchar* _tmp73_ = NULL;
							gchar* _tmp74_ = NULL;
							gchar* _tmp75_ = NULL;
							gchar* _tmp76_ = NULL;
#line 214 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_tmp70_ = tracker_turtle_reader_get_last_string (self, 0);
#line 214 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_tmp71_ = _tmp70_;
#line 214 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_tmp72_ = string_substring (_tmp71_, (glong) 1, (glong) (-1));
#line 214 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_tmp73_ = _tmp72_;
#line 214 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_tmp74_ = tracker_turtle_reader_resolve_prefixed_name (self, "", _tmp73_, &_inner_error_);
#line 214 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_tmp75_ = _tmp74_;
#line 214 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_g_free0 (_tmp73_);
#line 214 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_g_free0 (_tmp71_);
#line 214 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_tmp69_ = _tmp75_;
#line 214 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							if (_inner_error_ != NULL) {
#line 214 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 214 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									g_propagate_error (error, _inner_error_);
#line 214 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									return FALSE;
#line 2185 "tracker-turtle-reader.c"
								} else {
#line 214 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 214 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									g_clear_error (&_inner_error_);
#line 214 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									return FALSE;
#line 2193 "tracker-turtle-reader.c"
								}
							}
#line 214 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_tmp76_ = _tmp69_;
#line 214 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							tracker_turtle_reader_set_predicate (self, _tmp76_);
#line 214 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_g_free0 (_tmp76_);
#line 215 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							self->priv->state = TRACKER_TURTLE_READER_STATE_PREDICATE;
#line 216 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							continue;
#line 2206 "tracker-turtle-reader.c"
						} else {
							gboolean _tmp77_ = FALSE;
							gboolean _tmp78_ = FALSE;
#line 217 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_tmp78_ = tracker_turtle_reader_accept (self, TRACKER_SPARQL_TOKEN_TYPE_A, &_inner_error_);
#line 217 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_tmp77_ = _tmp78_;
#line 217 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							if (_inner_error_ != NULL) {
#line 217 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 217 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									g_propagate_error (error, _inner_error_);
#line 217 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									return FALSE;
#line 2222 "tracker-turtle-reader.c"
								} else {
#line 217 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 217 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									g_clear_error (&_inner_error_);
#line 217 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									return FALSE;
#line 2230 "tracker-turtle-reader.c"
								}
							}
#line 217 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							if (_tmp77_) {
#line 218 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								tracker_turtle_reader_set_predicate (self, "http://www.w3.org/1999/02/22-rdf-syntax-ns#type");
#line 219 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								self->priv->state = TRACKER_TURTLE_READER_STATE_PREDICATE;
#line 220 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								continue;
#line 2241 "tracker-turtle-reader.c"
							} else {
								GError* _tmp79_ = NULL;
#line 222 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								_tmp79_ = tracker_turtle_reader_get_error (self, "expected predicate");
#line 222 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								_inner_error_ = _tmp79_;
#line 222 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 222 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									g_propagate_error (error, _inner_error_);
#line 222 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									return FALSE;
#line 2254 "tracker-turtle-reader.c"
								} else {
#line 222 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 222 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									g_clear_error (&_inner_error_);
#line 222 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									return FALSE;
#line 2262 "tracker-turtle-reader.c"
								}
							}
						}
					}
				}
			}
#line 150 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
			case TRACKER_TURTLE_READER_STATE_PREDICATE:
#line 2271 "tracker-turtle-reader.c"
			{
				gboolean _tmp80_ = FALSE;
				gboolean _tmp81_ = FALSE;
#line 226 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				_tmp81_ = tracker_turtle_reader_accept (self, TRACKER_SPARQL_TOKEN_TYPE_IRI_REF, &_inner_error_);
#line 226 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				_tmp80_ = _tmp81_;
#line 226 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				if (_inner_error_ != NULL) {
#line 226 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 226 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						g_propagate_error (error, _inner_error_);
#line 226 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						return FALSE;
#line 2287 "tracker-turtle-reader.c"
					} else {
#line 226 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 226 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						g_clear_error (&_inner_error_);
#line 226 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						return FALSE;
#line 2295 "tracker-turtle-reader.c"
					}
				}
#line 226 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				if (_tmp80_) {
#line 2300 "tracker-turtle-reader.c"
					gchar* _tmp82_ = NULL;
					gchar* _tmp83_ = NULL;
#line 227 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					_tmp82_ = tracker_turtle_reader_get_last_string (self, 1);
#line 227 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					_tmp83_ = _tmp82_;
#line 227 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					tracker_turtle_reader_set_object (self, _tmp83_);
#line 227 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					_g_free0 (_tmp83_);
#line 228 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					tracker_turtle_reader_set_object_is_uri (self, TRUE);
#line 229 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					self->priv->state = TRACKER_TURTLE_READER_STATE_OBJECT;
#line 230 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					result = TRUE;
#line 230 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					return result;
#line 2319 "tracker-turtle-reader.c"
				} else {
					gboolean _tmp84_ = FALSE;
					gboolean _tmp85_ = FALSE;
#line 231 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					_tmp85_ = tracker_turtle_reader_accept (self, TRACKER_SPARQL_TOKEN_TYPE_PN_PREFIX, &_inner_error_);
#line 231 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					_tmp84_ = _tmp85_;
#line 231 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					if (_inner_error_ != NULL) {
#line 231 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 231 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							g_propagate_error (error, _inner_error_);
#line 231 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							return FALSE;
#line 2335 "tracker-turtle-reader.c"
						} else {
#line 231 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 231 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							g_clear_error (&_inner_error_);
#line 231 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							return FALSE;
#line 2343 "tracker-turtle-reader.c"
						}
					}
#line 231 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					if (_tmp84_) {
#line 2348 "tracker-turtle-reader.c"
						gchar* ns = NULL;
						gchar* _tmp86_ = NULL;
						gchar* _tmp87_ = NULL;
						const gchar* _tmp88_ = NULL;
						gchar* _tmp89_ = NULL;
						gchar* _tmp90_ = NULL;
						gchar* _tmp91_ = NULL;
						gchar* _tmp92_ = NULL;
						gchar* _tmp93_ = NULL;
						gchar* _tmp94_ = NULL;
						gchar* _tmp95_ = NULL;
#line 233 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						_tmp86_ = tracker_turtle_reader_get_last_string (self, 0);
#line 233 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						ns = _tmp86_;
#line 234 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						tracker_turtle_reader_expect (self, TRACKER_SPARQL_TOKEN_TYPE_COLON, &_inner_error_);
#line 234 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						if (_inner_error_ != NULL) {
#line 234 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 234 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								g_propagate_error (error, _inner_error_);
#line 234 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								_g_free0 (ns);
#line 234 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								return FALSE;
#line 2376 "tracker-turtle-reader.c"
							} else {
#line 234 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								_g_free0 (ns);
#line 234 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 234 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								g_clear_error (&_inner_error_);
#line 234 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								return FALSE;
#line 2386 "tracker-turtle-reader.c"
							}
						}
#line 235 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						_tmp88_ = ns;
#line 235 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						_tmp89_ = tracker_turtle_reader_get_last_string (self, 0);
#line 235 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						_tmp90_ = _tmp89_;
#line 235 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						_tmp91_ = string_substring (_tmp90_, (glong) 1, (glong) (-1));
#line 235 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						_tmp92_ = _tmp91_;
#line 235 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						_tmp93_ = tracker_turtle_reader_resolve_prefixed_name (self, _tmp88_, _tmp92_, &_inner_error_);
#line 235 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						_tmp94_ = _tmp93_;
#line 235 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						_g_free0 (_tmp92_);
#line 235 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						_g_free0 (_tmp90_);
#line 235 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						_tmp87_ = _tmp94_;
#line 235 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						if (_inner_error_ != NULL) {
#line 235 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 235 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								g_propagate_error (error, _inner_error_);
#line 235 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								_g_free0 (ns);
#line 235 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								return FALSE;
#line 2419 "tracker-turtle-reader.c"
							} else {
#line 235 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								_g_free0 (ns);
#line 235 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 235 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								g_clear_error (&_inner_error_);
#line 235 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								return FALSE;
#line 2429 "tracker-turtle-reader.c"
							}
						}
#line 235 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						_tmp95_ = _tmp87_;
#line 235 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						tracker_turtle_reader_set_object (self, _tmp95_);
#line 235 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						_g_free0 (_tmp95_);
#line 236 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						tracker_turtle_reader_set_object_is_uri (self, TRUE);
#line 237 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						self->priv->state = TRACKER_TURTLE_READER_STATE_OBJECT;
#line 238 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						result = TRUE;
#line 238 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						_g_free0 (ns);
#line 238 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						return result;
#line 2448 "tracker-turtle-reader.c"
					} else {
						gboolean _tmp96_ = FALSE;
						gboolean _tmp97_ = FALSE;
#line 239 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						_tmp97_ = tracker_turtle_reader_accept (self, TRACKER_SPARQL_TOKEN_TYPE_COLON, &_inner_error_);
#line 239 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						_tmp96_ = _tmp97_;
#line 239 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						if (_inner_error_ != NULL) {
#line 239 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 239 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								g_propagate_error (error, _inner_error_);
#line 239 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								return FALSE;
#line 2464 "tracker-turtle-reader.c"
							} else {
#line 239 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 239 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								g_clear_error (&_inner_error_);
#line 239 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								return FALSE;
#line 2472 "tracker-turtle-reader.c"
							}
						}
#line 239 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						if (_tmp96_) {
#line 2477 "tracker-turtle-reader.c"
							gchar* _tmp98_ = NULL;
							gchar* _tmp99_ = NULL;
							gchar* _tmp100_ = NULL;
							gchar* _tmp101_ = NULL;
							gchar* _tmp102_ = NULL;
							gchar* _tmp103_ = NULL;
							gchar* _tmp104_ = NULL;
							gchar* _tmp105_ = NULL;
#line 241 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_tmp99_ = tracker_turtle_reader_get_last_string (self, 0);
#line 241 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_tmp100_ = _tmp99_;
#line 241 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_tmp101_ = string_substring (_tmp100_, (glong) 1, (glong) (-1));
#line 241 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_tmp102_ = _tmp101_;
#line 241 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_tmp103_ = tracker_turtle_reader_resolve_prefixed_name (self, "", _tmp102_, &_inner_error_);
#line 241 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_tmp104_ = _tmp103_;
#line 241 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_g_free0 (_tmp102_);
#line 241 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_g_free0 (_tmp100_);
#line 241 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_tmp98_ = _tmp104_;
#line 241 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							if (_inner_error_ != NULL) {
#line 241 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 241 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									g_propagate_error (error, _inner_error_);
#line 241 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									return FALSE;
#line 2512 "tracker-turtle-reader.c"
								} else {
#line 241 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 241 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									g_clear_error (&_inner_error_);
#line 241 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									return FALSE;
#line 2520 "tracker-turtle-reader.c"
								}
							}
#line 241 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_tmp105_ = _tmp98_;
#line 241 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							tracker_turtle_reader_set_object (self, _tmp105_);
#line 241 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_g_free0 (_tmp105_);
#line 242 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							tracker_turtle_reader_set_object_is_uri (self, TRUE);
#line 243 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							self->priv->state = TRACKER_TURTLE_READER_STATE_OBJECT;
#line 244 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							result = TRUE;
#line 244 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							return result;
#line 2537 "tracker-turtle-reader.c"
						} else {
							gboolean _tmp106_ = FALSE;
							gboolean _tmp107_ = FALSE;
#line 245 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_tmp107_ = tracker_turtle_reader_accept (self, TRACKER_SPARQL_TOKEN_TYPE_BLANK_NODE, &_inner_error_);
#line 245 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_tmp106_ = _tmp107_;
#line 245 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							if (_inner_error_ != NULL) {
#line 245 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 245 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									g_propagate_error (error, _inner_error_);
#line 245 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									return FALSE;
#line 2553 "tracker-turtle-reader.c"
								} else {
#line 245 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 245 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									g_clear_error (&_inner_error_);
#line 245 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									return FALSE;
#line 2561 "tracker-turtle-reader.c"
								}
							}
#line 245 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							if (_tmp106_) {
#line 2566 "tracker-turtle-reader.c"
								gchar* _tmp108_ = NULL;
								gchar* _tmp109_ = NULL;
								gchar* _tmp110_ = NULL;
								gchar* _tmp111_ = NULL;
								gchar* _tmp112_ = NULL;
								gchar* _tmp113_ = NULL;
#line 247 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								tracker_turtle_reader_expect (self, TRACKER_SPARQL_TOKEN_TYPE_COLON, &_inner_error_);
#line 247 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								if (_inner_error_ != NULL) {
#line 247 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 247 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
										g_propagate_error (error, _inner_error_);
#line 247 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
										return FALSE;
#line 2583 "tracker-turtle-reader.c"
									} else {
#line 247 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
										g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 247 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
										g_clear_error (&_inner_error_);
#line 247 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
										return FALSE;
#line 2591 "tracker-turtle-reader.c"
									}
								}
#line 248 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								_tmp108_ = tracker_turtle_reader_get_last_string (self, 0);
#line 248 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								_tmp109_ = _tmp108_;
#line 248 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								_tmp110_ = string_substring (_tmp109_, (glong) 1, (glong) (-1));
#line 248 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								_tmp111_ = _tmp110_;
#line 248 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								_tmp112_ = tracker_turtle_reader_generate_bnodeid (self, _tmp111_);
#line 248 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								_tmp113_ = _tmp112_;
#line 248 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								tracker_turtle_reader_set_object (self, _tmp113_);
#line 248 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								_g_free0 (_tmp113_);
#line 248 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								_g_free0 (_tmp111_);
#line 248 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								_g_free0 (_tmp109_);
#line 249 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								tracker_turtle_reader_set_object_is_uri (self, TRUE);
#line 250 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								self->priv->state = TRACKER_TURTLE_READER_STATE_OBJECT;
#line 251 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								result = TRUE;
#line 251 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								return result;
#line 2622 "tracker-turtle-reader.c"
							} else {
								gboolean _tmp114_ = FALSE;
								gboolean _tmp115_ = FALSE;
#line 252 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								_tmp115_ = tracker_turtle_reader_accept (self, TRACKER_SPARQL_TOKEN_TYPE_OPEN_BRACKET, &_inner_error_);
#line 252 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								_tmp114_ = _tmp115_;
#line 252 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								if (_inner_error_ != NULL) {
#line 252 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 252 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
										g_propagate_error (error, _inner_error_);
#line 252 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
										return FALSE;
#line 2638 "tracker-turtle-reader.c"
									} else {
#line 252 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
										g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 252 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
										g_clear_error (&_inner_error_);
#line 252 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
										return FALSE;
#line 2646 "tracker-turtle-reader.c"
									}
								}
#line 252 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								if (_tmp114_) {
#line 2651 "tracker-turtle-reader.c"
									gchar** _tmp116_ = NULL;
									gint _tmp116__length1 = 0;
									const gchar* _tmp117_ = NULL;
									gchar* _tmp118_ = NULL;
									gchar** _tmp119_ = NULL;
									gint _tmp119__length1 = 0;
									const gchar* _tmp120_ = NULL;
									gchar* _tmp121_ = NULL;
									gchar* _tmp122_ = NULL;
									gchar* _tmp123_ = NULL;
#line 254 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									_tmp116_ = self->priv->subject_stack;
#line 254 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									_tmp116__length1 = self->priv->subject_stack_length1;
#line 254 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									_tmp117_ = self->priv->_subject;
#line 254 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									_tmp118_ = g_strdup (_tmp117_);
#line 254 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									_vala_array_add12 (&self->priv->subject_stack, &self->priv->subject_stack_length1, &self->priv->_subject_stack_size_, _tmp118_);
#line 255 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									_tmp119_ = self->priv->predicate_stack;
#line 255 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									_tmp119__length1 = self->priv->predicate_stack_length1;
#line 255 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									_tmp120_ = self->priv->_predicate;
#line 255 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									_tmp121_ = g_strdup (_tmp120_);
#line 255 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									_vala_array_add13 (&self->priv->predicate_stack, &self->priv->predicate_stack_length1, &self->priv->_predicate_stack_size_, _tmp121_);
#line 256 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									_tmp122_ = tracker_turtle_reader_generate_bnodeid (self, NULL);
#line 256 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									_tmp123_ = _tmp122_;
#line 256 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									tracker_turtle_reader_set_subject (self, _tmp123_);
#line 256 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									_g_free0 (_tmp123_);
#line 257 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									self->priv->state = TRACKER_TURTLE_READER_STATE_SUBJECT;
#line 258 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									continue;
#line 2694 "tracker-turtle-reader.c"
								} else {
									gboolean _tmp124_ = FALSE;
									gboolean _tmp125_ = FALSE;
									gboolean _tmp126_ = FALSE;
									gboolean _tmp129_ = FALSE;
#line 259 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									_tmp126_ = tracker_turtle_reader_accept (self, TRACKER_SPARQL_TOKEN_TYPE_STRING_LITERAL1, &_inner_error_);
#line 259 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									_tmp125_ = _tmp126_;
#line 259 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									if (_inner_error_ != NULL) {
#line 259 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
										if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 259 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
											g_propagate_error (error, _inner_error_);
#line 259 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
											return FALSE;
#line 2712 "tracker-turtle-reader.c"
										} else {
#line 259 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
											g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 259 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
											g_clear_error (&_inner_error_);
#line 259 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
											return FALSE;
#line 2720 "tracker-turtle-reader.c"
										}
									}
#line 259 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									if (_tmp125_) {
#line 259 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
										_tmp124_ = TRUE;
#line 2727 "tracker-turtle-reader.c"
									} else {
										gboolean _tmp127_ = FALSE;
										gboolean _tmp128_ = FALSE;
#line 259 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
										_tmp128_ = tracker_turtle_reader_accept (self, TRACKER_SPARQL_TOKEN_TYPE_STRING_LITERAL2, &_inner_error_);
#line 259 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
										_tmp127_ = _tmp128_;
#line 259 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
										if (_inner_error_ != NULL) {
#line 259 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
											if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 259 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												g_propagate_error (error, _inner_error_);
#line 259 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												return FALSE;
#line 2743 "tracker-turtle-reader.c"
											} else {
#line 259 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 259 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												g_clear_error (&_inner_error_);
#line 259 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												return FALSE;
#line 2751 "tracker-turtle-reader.c"
											}
										}
#line 259 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
										_tmp124_ = _tmp127_;
#line 2756 "tracker-turtle-reader.c"
									}
#line 259 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									_tmp129_ = _tmp124_;
#line 259 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									if (_tmp129_) {
#line 2762 "tracker-turtle-reader.c"
										GString* sb = NULL;
										GString* _tmp130_ = NULL;
										gchar* s = NULL;
										gchar* _tmp131_ = NULL;
										const gchar* p = NULL;
										const gchar* _tmp132_ = NULL;
										const gchar* end = NULL;
										const gchar* _tmp133_ = NULL;
										const gchar* _tmp134_ = NULL;
										gint _tmp135_ = 0;
										gint _tmp136_ = 0;
										GString* _tmp163_ = NULL;
										const gchar* _tmp164_ = NULL;
										gboolean _tmp165_ = FALSE;
										gboolean _tmp166_ = FALSE;
#line 260 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
										_tmp130_ = g_string_new ("");
#line 260 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
										sb = _tmp130_;
#line 262 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
										_tmp131_ = tracker_turtle_reader_get_last_string (self, 1);
#line 262 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
										s = _tmp131_;
#line 263 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
										_tmp132_ = s;
#line 263 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
										p = _tmp132_;
#line 264 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
										_tmp133_ = p;
#line 264 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
										_tmp134_ = s;
#line 264 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
										_tmp135_ = strlen (_tmp134_);
#line 264 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
										_tmp136_ = _tmp135_;
#line 264 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
										end = _tmp133_ + _tmp136_;
#line 265 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
										while (TRUE) {
#line 2802 "tracker-turtle-reader.c"
											const gchar* _tmp137_ = NULL;
											const gchar* _tmp138_ = NULL;
											const gchar* q = NULL;
											const gchar* _tmp139_ = NULL;
											const gchar* _tmp140_ = NULL;
											const gchar* _tmp141_ = NULL;
#line 265 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
											_tmp137_ = p;
#line 265 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
											_tmp138_ = end;
#line 265 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
											if (!(((glong) _tmp137_) < ((glong) _tmp138_))) {
#line 265 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												break;
#line 2817 "tracker-turtle-reader.c"
											}
#line 266 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
											_tmp139_ = p;
#line 266 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
											_tmp140_ = strchr (_tmp139_, (gint) '\\');
#line 266 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
											q = _tmp140_;
#line 267 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
											_tmp141_ = q;
#line 267 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
											if (_tmp141_ == NULL) {
#line 2829 "tracker-turtle-reader.c"
												GString* _tmp142_ = NULL;
												const gchar* _tmp143_ = NULL;
												const gchar* _tmp144_ = NULL;
												const gchar* _tmp145_ = NULL;
												const gchar* _tmp146_ = NULL;
#line 268 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												_tmp142_ = sb;
#line 268 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												_tmp143_ = p;
#line 268 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												_tmp144_ = end;
#line 268 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												_tmp145_ = p;
#line 268 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												g_string_append_len (_tmp142_, _tmp143_, (gssize) ((glong) (_tmp144_ - _tmp145_)));
#line 269 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												_tmp146_ = end;
#line 269 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												p = _tmp146_;
#line 2849 "tracker-turtle-reader.c"
											} else {
												GString* _tmp147_ = NULL;
												const gchar* _tmp148_ = NULL;
												const gchar* _tmp149_ = NULL;
												const gchar* _tmp150_ = NULL;
												const gchar* _tmp151_ = NULL;
												const gchar* _tmp152_ = NULL;
												gchar _tmp153_ = '\0';
												const gchar* _tmp162_ = NULL;
#line 271 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												_tmp147_ = sb;
#line 271 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												_tmp148_ = p;
#line 271 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												_tmp149_ = q;
#line 271 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												_tmp150_ = p;
#line 271 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												g_string_append_len (_tmp147_, _tmp148_, (gssize) ((glong) (_tmp149_ - _tmp150_)));
#line 272 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												_tmp151_ = q;
#line 272 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												p = _tmp151_ + 1;
#line 273 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												_tmp152_ = p;
#line 273 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												_tmp153_ = ((gchar*) _tmp152_)[0];
#line 273 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												switch (_tmp153_) {
#line 273 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
													case '\'':
#line 273 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
													case '"':
#line 273 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
													case '\\':
#line 2885 "tracker-turtle-reader.c"
													{
														GString* _tmp154_ = NULL;
														const gchar* _tmp155_ = NULL;
														gchar _tmp156_ = '\0';
#line 277 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														_tmp154_ = sb;
#line 277 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														_tmp155_ = p;
#line 277 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														_tmp156_ = ((gchar*) _tmp155_)[0];
#line 277 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														g_string_append_c (_tmp154_, _tmp156_);
#line 278 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														break;
#line 2900 "tracker-turtle-reader.c"
													}
#line 273 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
													case 'b':
#line 2904 "tracker-turtle-reader.c"
													{
														GString* _tmp157_ = NULL;
#line 280 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														_tmp157_ = sb;
#line 280 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														g_string_append_c (_tmp157_, '\b');
#line 281 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														break;
#line 2913 "tracker-turtle-reader.c"
													}
#line 273 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
													case 'f':
#line 2917 "tracker-turtle-reader.c"
													{
														GString* _tmp158_ = NULL;
#line 283 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														_tmp158_ = sb;
#line 283 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														g_string_append_c (_tmp158_, '\f');
#line 284 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														break;
#line 2926 "tracker-turtle-reader.c"
													}
#line 273 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
													case 'n':
#line 2930 "tracker-turtle-reader.c"
													{
														GString* _tmp159_ = NULL;
#line 286 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														_tmp159_ = sb;
#line 286 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														g_string_append_c (_tmp159_, '\n');
#line 287 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														break;
#line 2939 "tracker-turtle-reader.c"
													}
#line 273 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
													case 'r':
#line 2943 "tracker-turtle-reader.c"
													{
														GString* _tmp160_ = NULL;
#line 289 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														_tmp160_ = sb;
#line 289 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														g_string_append_c (_tmp160_, '\r');
#line 290 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														break;
#line 2952 "tracker-turtle-reader.c"
													}
#line 273 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
													case 't':
#line 2956 "tracker-turtle-reader.c"
													{
														GString* _tmp161_ = NULL;
#line 292 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														_tmp161_ = sb;
#line 292 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														g_string_append_c (_tmp161_, '\t');
#line 293 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														break;
#line 2965 "tracker-turtle-reader.c"
													}
													default:
#line 273 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
													break;
#line 2970 "tracker-turtle-reader.c"
												}
#line 295 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												_tmp162_ = p;
#line 295 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												p = _tmp162_ + 1;
#line 2976 "tracker-turtle-reader.c"
											}
										}
#line 298 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
										_tmp163_ = sb;
#line 298 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
										_tmp164_ = _tmp163_->str;
#line 298 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
										tracker_turtle_reader_set_object (self, _tmp164_);
#line 299 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
										tracker_turtle_reader_set_object_is_uri (self, FALSE);
#line 300 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
										self->priv->state = TRACKER_TURTLE_READER_STATE_OBJECT;
#line 302 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
										_tmp166_ = tracker_turtle_reader_accept (self, TRACKER_SPARQL_TOKEN_TYPE_DOUBLE_CIRCUMFLEX, &_inner_error_);
#line 302 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
										_tmp165_ = _tmp166_;
#line 302 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
										if (_inner_error_ != NULL) {
#line 302 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
											if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 302 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												g_propagate_error (error, _inner_error_);
#line 302 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												_g_free0 (s);
#line 302 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												_g_string_free0 (sb);
#line 302 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												return FALSE;
#line 3005 "tracker-turtle-reader.c"
											} else {
#line 302 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												_g_free0 (s);
#line 302 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												_g_string_free0 (sb);
#line 302 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 302 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												g_clear_error (&_inner_error_);
#line 302 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												return FALSE;
#line 3017 "tracker-turtle-reader.c"
											}
										}
#line 302 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
										if (_tmp165_) {
#line 3022 "tracker-turtle-reader.c"
											gboolean _tmp167_ = FALSE;
											gboolean _tmp168_ = FALSE;
#line 303 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
											_tmp168_ = tracker_turtle_reader_accept (self, TRACKER_SPARQL_TOKEN_TYPE_IRI_REF, &_inner_error_);
#line 303 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
											_tmp167_ = _tmp168_;
#line 303 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
											if (_inner_error_ != NULL) {
#line 303 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 303 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
													g_propagate_error (error, _inner_error_);
#line 303 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
													_g_free0 (s);
#line 303 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
													_g_string_free0 (sb);
#line 303 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
													return FALSE;
#line 3041 "tracker-turtle-reader.c"
												} else {
#line 303 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
													_g_free0 (s);
#line 303 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
													_g_string_free0 (sb);
#line 303 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
													g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 303 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
													g_clear_error (&_inner_error_);
#line 303 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
													return FALSE;
#line 3053 "tracker-turtle-reader.c"
												}
											}
#line 303 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
											if (!_tmp167_) {
#line 304 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												tracker_turtle_reader_accept (self, TRACKER_SPARQL_TOKEN_TYPE_PN_PREFIX, &_inner_error_);
#line 304 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												if (_inner_error_ != NULL) {
#line 304 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
													if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 304 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														g_propagate_error (error, _inner_error_);
#line 304 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														_g_free0 (s);
#line 304 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														_g_string_free0 (sb);
#line 304 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														return FALSE;
#line 3072 "tracker-turtle-reader.c"
													} else {
#line 304 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														_g_free0 (s);
#line 304 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														_g_string_free0 (sb);
#line 304 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 304 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														g_clear_error (&_inner_error_);
#line 304 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														return FALSE;
#line 3084 "tracker-turtle-reader.c"
													}
												}
#line 305 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												tracker_turtle_reader_expect (self, TRACKER_SPARQL_TOKEN_TYPE_COLON, &_inner_error_);
#line 305 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												if (_inner_error_ != NULL) {
#line 305 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
													if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 305 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														g_propagate_error (error, _inner_error_);
#line 305 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														_g_free0 (s);
#line 305 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														_g_string_free0 (sb);
#line 305 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														return FALSE;
#line 3101 "tracker-turtle-reader.c"
													} else {
#line 305 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														_g_free0 (s);
#line 305 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														_g_string_free0 (sb);
#line 305 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 305 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														g_clear_error (&_inner_error_);
#line 305 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														return FALSE;
#line 3113 "tracker-turtle-reader.c"
													}
												}
											}
										}
#line 309 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
										result = TRUE;
#line 309 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
										_g_free0 (s);
#line 309 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
										_g_string_free0 (sb);
#line 309 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
										return result;
#line 3126 "tracker-turtle-reader.c"
									} else {
										gboolean _tmp169_ = FALSE;
										gboolean _tmp170_ = FALSE;
										gboolean _tmp171_ = FALSE;
										gboolean _tmp174_ = FALSE;
#line 310 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
										_tmp171_ = tracker_turtle_reader_accept (self, TRACKER_SPARQL_TOKEN_TYPE_STRING_LITERAL_LONG1, &_inner_error_);
#line 310 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
										_tmp170_ = _tmp171_;
#line 310 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
										if (_inner_error_ != NULL) {
#line 310 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
											if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 310 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												g_propagate_error (error, _inner_error_);
#line 310 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												return FALSE;
#line 3144 "tracker-turtle-reader.c"
											} else {
#line 310 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 310 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												g_clear_error (&_inner_error_);
#line 310 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												return FALSE;
#line 3152 "tracker-turtle-reader.c"
											}
										}
#line 310 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
										if (_tmp170_) {
#line 310 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
											_tmp169_ = TRUE;
#line 3159 "tracker-turtle-reader.c"
										} else {
											gboolean _tmp172_ = FALSE;
											gboolean _tmp173_ = FALSE;
#line 310 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
											_tmp173_ = tracker_turtle_reader_accept (self, TRACKER_SPARQL_TOKEN_TYPE_STRING_LITERAL_LONG2, &_inner_error_);
#line 310 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
											_tmp172_ = _tmp173_;
#line 310 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
											if (_inner_error_ != NULL) {
#line 310 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 310 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
													g_propagate_error (error, _inner_error_);
#line 310 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
													return FALSE;
#line 3175 "tracker-turtle-reader.c"
												} else {
#line 310 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
													g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 310 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
													g_clear_error (&_inner_error_);
#line 310 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
													return FALSE;
#line 3183 "tracker-turtle-reader.c"
												}
											}
#line 310 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
											_tmp169_ = _tmp172_;
#line 3188 "tracker-turtle-reader.c"
										}
#line 310 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
										_tmp174_ = _tmp169_;
#line 310 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
										if (_tmp174_) {
#line 3194 "tracker-turtle-reader.c"
											gchar* _tmp175_ = NULL;
											gchar* _tmp176_ = NULL;
											gboolean _tmp177_ = FALSE;
											gboolean _tmp178_ = FALSE;
#line 311 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
											_tmp175_ = tracker_turtle_reader_get_last_string (self, 3);
#line 311 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
											_tmp176_ = _tmp175_;
#line 311 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
											tracker_turtle_reader_set_object (self, _tmp176_);
#line 311 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
											_g_free0 (_tmp176_);
#line 312 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
											tracker_turtle_reader_set_object_is_uri (self, FALSE);
#line 313 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
											self->priv->state = TRACKER_TURTLE_READER_STATE_OBJECT;
#line 315 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
											_tmp178_ = tracker_turtle_reader_accept (self, TRACKER_SPARQL_TOKEN_TYPE_DOUBLE_CIRCUMFLEX, &_inner_error_);
#line 315 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
											_tmp177_ = _tmp178_;
#line 315 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
											if (_inner_error_ != NULL) {
#line 315 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 315 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
													g_propagate_error (error, _inner_error_);
#line 315 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
													return FALSE;
#line 3223 "tracker-turtle-reader.c"
												} else {
#line 315 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
													g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 315 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
													g_clear_error (&_inner_error_);
#line 315 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
													return FALSE;
#line 3231 "tracker-turtle-reader.c"
												}
											}
#line 315 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
											if (_tmp177_) {
#line 3236 "tracker-turtle-reader.c"
												gboolean _tmp179_ = FALSE;
												gboolean _tmp180_ = FALSE;
#line 316 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												_tmp180_ = tracker_turtle_reader_accept (self, TRACKER_SPARQL_TOKEN_TYPE_IRI_REF, &_inner_error_);
#line 316 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												_tmp179_ = _tmp180_;
#line 316 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												if (_inner_error_ != NULL) {
#line 316 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
													if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 316 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														g_propagate_error (error, _inner_error_);
#line 316 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														return FALSE;
#line 3251 "tracker-turtle-reader.c"
													} else {
#line 316 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 316 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														g_clear_error (&_inner_error_);
#line 316 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														return FALSE;
#line 3259 "tracker-turtle-reader.c"
													}
												}
#line 316 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												if (!_tmp179_) {
#line 317 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
													tracker_turtle_reader_accept (self, TRACKER_SPARQL_TOKEN_TYPE_PN_PREFIX, &_inner_error_);
#line 317 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
													if (_inner_error_ != NULL) {
#line 317 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 317 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
															g_propagate_error (error, _inner_error_);
#line 317 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
															return FALSE;
#line 3274 "tracker-turtle-reader.c"
														} else {
#line 317 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
															g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 317 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
															g_clear_error (&_inner_error_);
#line 317 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
															return FALSE;
#line 3282 "tracker-turtle-reader.c"
														}
													}
#line 318 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
													tracker_turtle_reader_expect (self, TRACKER_SPARQL_TOKEN_TYPE_COLON, &_inner_error_);
#line 318 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
													if (_inner_error_ != NULL) {
#line 318 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 318 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
															g_propagate_error (error, _inner_error_);
#line 318 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
															return FALSE;
#line 3295 "tracker-turtle-reader.c"
														} else {
#line 318 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
															g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 318 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
															g_clear_error (&_inner_error_);
#line 318 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
															return FALSE;
#line 3303 "tracker-turtle-reader.c"
														}
													}
												}
											}
#line 322 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
											result = TRUE;
#line 322 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
											return result;
#line 3312 "tracker-turtle-reader.c"
										} else {
											gboolean _tmp181_ = FALSE;
											gboolean _tmp182_ = FALSE;
											gboolean _tmp183_ = FALSE;
											gboolean _tmp184_ = FALSE;
											gboolean _tmp185_ = FALSE;
											gboolean _tmp186_ = FALSE;
											gboolean _tmp189_ = FALSE;
											gboolean _tmp192_ = FALSE;
											gboolean _tmp195_ = FALSE;
											gboolean _tmp198_ = FALSE;
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
											_tmp186_ = tracker_turtle_reader_accept (self, TRACKER_SPARQL_TOKEN_TYPE_INTEGER, &_inner_error_);
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
											_tmp185_ = _tmp186_;
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
											if (_inner_error_ != NULL) {
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
													g_propagate_error (error, _inner_error_);
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
													return FALSE;
#line 3336 "tracker-turtle-reader.c"
												} else {
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
													g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
													g_clear_error (&_inner_error_);
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
													return FALSE;
#line 3344 "tracker-turtle-reader.c"
												}
											}
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
											if (_tmp185_) {
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												_tmp184_ = TRUE;
#line 3351 "tracker-turtle-reader.c"
											} else {
												gboolean _tmp187_ = FALSE;
												gboolean _tmp188_ = FALSE;
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												_tmp188_ = tracker_turtle_reader_accept (self, TRACKER_SPARQL_TOKEN_TYPE_DECIMAL, &_inner_error_);
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												_tmp187_ = _tmp188_;
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												if (_inner_error_ != NULL) {
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
													if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														g_propagate_error (error, _inner_error_);
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														return FALSE;
#line 3367 "tracker-turtle-reader.c"
													} else {
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														g_clear_error (&_inner_error_);
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														return FALSE;
#line 3375 "tracker-turtle-reader.c"
													}
												}
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												_tmp184_ = _tmp187_;
#line 3380 "tracker-turtle-reader.c"
											}
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
											_tmp189_ = _tmp184_;
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
											if (_tmp189_) {
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												_tmp183_ = TRUE;
#line 3388 "tracker-turtle-reader.c"
											} else {
												gboolean _tmp190_ = FALSE;
												gboolean _tmp191_ = FALSE;
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												_tmp191_ = tracker_turtle_reader_accept (self, TRACKER_SPARQL_TOKEN_TYPE_DOUBLE, &_inner_error_);
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												_tmp190_ = _tmp191_;
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												if (_inner_error_ != NULL) {
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
													if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														g_propagate_error (error, _inner_error_);
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														return FALSE;
#line 3404 "tracker-turtle-reader.c"
													} else {
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														g_clear_error (&_inner_error_);
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														return FALSE;
#line 3412 "tracker-turtle-reader.c"
													}
												}
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												_tmp183_ = _tmp190_;
#line 3417 "tracker-turtle-reader.c"
											}
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
											_tmp192_ = _tmp183_;
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
											if (_tmp192_) {
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												_tmp182_ = TRUE;
#line 3425 "tracker-turtle-reader.c"
											} else {
												gboolean _tmp193_ = FALSE;
												gboolean _tmp194_ = FALSE;
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												_tmp194_ = tracker_turtle_reader_accept (self, TRACKER_SPARQL_TOKEN_TYPE_TRUE, &_inner_error_);
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												_tmp193_ = _tmp194_;
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												if (_inner_error_ != NULL) {
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
													if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														g_propagate_error (error, _inner_error_);
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														return FALSE;
#line 3441 "tracker-turtle-reader.c"
													} else {
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														g_clear_error (&_inner_error_);
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														return FALSE;
#line 3449 "tracker-turtle-reader.c"
													}
												}
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												_tmp182_ = _tmp193_;
#line 3454 "tracker-turtle-reader.c"
											}
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
											_tmp195_ = _tmp182_;
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
											if (_tmp195_) {
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												_tmp181_ = TRUE;
#line 3462 "tracker-turtle-reader.c"
											} else {
												gboolean _tmp196_ = FALSE;
												gboolean _tmp197_ = FALSE;
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												_tmp197_ = tracker_turtle_reader_accept (self, TRACKER_SPARQL_TOKEN_TYPE_FALSE, &_inner_error_);
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												_tmp196_ = _tmp197_;
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												if (_inner_error_ != NULL) {
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
													if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														g_propagate_error (error, _inner_error_);
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														return FALSE;
#line 3478 "tracker-turtle-reader.c"
													} else {
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														g_clear_error (&_inner_error_);
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
														return FALSE;
#line 3486 "tracker-turtle-reader.c"
													}
												}
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												_tmp181_ = _tmp196_;
#line 3491 "tracker-turtle-reader.c"
											}
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
											_tmp198_ = _tmp181_;
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
											if (_tmp198_) {
#line 3497 "tracker-turtle-reader.c"
												gchar* _tmp199_ = NULL;
												gchar* _tmp200_ = NULL;
#line 324 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												_tmp199_ = tracker_turtle_reader_get_last_string (self, 0);
#line 324 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												_tmp200_ = _tmp199_;
#line 324 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												tracker_turtle_reader_set_object (self, _tmp200_);
#line 324 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												_g_free0 (_tmp200_);
#line 325 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												tracker_turtle_reader_set_object_is_uri (self, FALSE);
#line 326 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												self->priv->state = TRACKER_TURTLE_READER_STATE_OBJECT;
#line 327 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												result = TRUE;
#line 327 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												return result;
#line 3516 "tracker-turtle-reader.c"
											} else {
												GError* _tmp201_ = NULL;
#line 329 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												_tmp201_ = tracker_turtle_reader_get_error (self, "expected object");
#line 329 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												_inner_error_ = _tmp201_;
#line 329 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
												if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 329 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
													g_propagate_error (error, _inner_error_);
#line 329 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
													return FALSE;
#line 3529 "tracker-turtle-reader.c"
												} else {
#line 329 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
													g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 329 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
													g_clear_error (&_inner_error_);
#line 329 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
													return FALSE;
#line 3537 "tracker-turtle-reader.c"
												}
											}
										}
									}
								}
							}
						}
					}
				}
			}
#line 150 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
			case TRACKER_TURTLE_READER_STATE_OBJECT:
#line 3550 "tracker-turtle-reader.c"
			{
				gboolean _tmp202_ = FALSE;
				gboolean _tmp203_ = FALSE;
#line 332 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				_tmp203_ = tracker_turtle_reader_accept (self, TRACKER_SPARQL_TOKEN_TYPE_COMMA, &_inner_error_);
#line 332 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				_tmp202_ = _tmp203_;
#line 332 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				if (_inner_error_ != NULL) {
#line 332 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 332 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						g_propagate_error (error, _inner_error_);
#line 332 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						return FALSE;
#line 3566 "tracker-turtle-reader.c"
					} else {
#line 332 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 332 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						g_clear_error (&_inner_error_);
#line 332 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						return FALSE;
#line 3574 "tracker-turtle-reader.c"
					}
				}
#line 332 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				if (_tmp202_) {
#line 333 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					self->priv->state = TRACKER_TURTLE_READER_STATE_PREDICATE;
#line 334 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					continue;
#line 3583 "tracker-turtle-reader.c"
				} else {
					gboolean _tmp204_ = FALSE;
					gboolean _tmp205_ = FALSE;
#line 335 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					_tmp205_ = tracker_turtle_reader_accept (self, TRACKER_SPARQL_TOKEN_TYPE_SEMICOLON, &_inner_error_);
#line 335 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					_tmp204_ = _tmp205_;
#line 335 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					if (_inner_error_ != NULL) {
#line 335 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 335 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							g_propagate_error (error, _inner_error_);
#line 335 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							return FALSE;
#line 3599 "tracker-turtle-reader.c"
						} else {
#line 335 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 335 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							g_clear_error (&_inner_error_);
#line 335 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							return FALSE;
#line 3607 "tracker-turtle-reader.c"
						}
					}
#line 335 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					if (_tmp204_) {
#line 3612 "tracker-turtle-reader.c"
						gboolean _tmp206_ = FALSE;
						gboolean _tmp207_ = FALSE;
#line 336 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						_tmp207_ = tracker_turtle_reader_accept (self, TRACKER_SPARQL_TOKEN_TYPE_DOT, &_inner_error_);
#line 336 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						_tmp206_ = _tmp207_;
#line 336 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						if (_inner_error_ != NULL) {
#line 336 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 336 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								g_propagate_error (error, _inner_error_);
#line 336 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								return FALSE;
#line 3627 "tracker-turtle-reader.c"
							} else {
#line 336 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 336 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								g_clear_error (&_inner_error_);
#line 336 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								return FALSE;
#line 3635 "tracker-turtle-reader.c"
							}
						}
#line 336 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						if (_tmp206_) {
#line 338 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							self->priv->state = TRACKER_TURTLE_READER_STATE_BOS;
#line 339 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							continue;
#line 3644 "tracker-turtle-reader.c"
						}
#line 341 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						self->priv->state = TRACKER_TURTLE_READER_STATE_SUBJECT;
#line 342 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						continue;
#line 3650 "tracker-turtle-reader.c"
					} else {
						gchar** _tmp208_ = NULL;
						gint _tmp208__length1 = 0;
#line 343 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						_tmp208_ = self->priv->subject_stack;
#line 343 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						_tmp208__length1 = self->priv->subject_stack_length1;
#line 343 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
						if (_tmp208__length1 > 0) {
#line 3660 "tracker-turtle-reader.c"
							const gchar* _tmp209_ = NULL;
							gchar** _tmp210_ = NULL;
							gint _tmp210__length1 = 0;
							gchar** _tmp211_ = NULL;
							gint _tmp211__length1 = 0;
							const gchar* _tmp212_ = NULL;
							gint _tmp213_ = 0;
							gchar** _tmp214_ = NULL;
							gint _tmp214__length1 = 0;
							gchar** _tmp215_ = NULL;
							gint _tmp215__length1 = 0;
							const gchar* _tmp216_ = NULL;
							gint _tmp217_ = 0;
#line 345 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							tracker_turtle_reader_expect (self, TRACKER_SPARQL_TOKEN_TYPE_CLOSE_BRACKET, &_inner_error_);
#line 345 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							if (_inner_error_ != NULL) {
#line 345 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 345 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									g_propagate_error (error, _inner_error_);
#line 345 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									return FALSE;
#line 3684 "tracker-turtle-reader.c"
								} else {
#line 345 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 345 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									g_clear_error (&_inner_error_);
#line 345 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									return FALSE;
#line 3692 "tracker-turtle-reader.c"
								}
							}
#line 347 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_tmp209_ = self->priv->_subject;
#line 347 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							tracker_turtle_reader_set_object (self, _tmp209_);
#line 348 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							tracker_turtle_reader_set_object_is_uri (self, TRUE);
#line 350 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_tmp210_ = self->priv->subject_stack;
#line 350 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_tmp210__length1 = self->priv->subject_stack_length1;
#line 350 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_tmp211_ = self->priv->subject_stack;
#line 350 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_tmp211__length1 = self->priv->subject_stack_length1;
#line 350 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_tmp212_ = _tmp210_[_tmp211__length1 - 1];
#line 350 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							tracker_turtle_reader_set_subject (self, _tmp212_);
#line 351 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_tmp213_ = self->priv->subject_stack_length1;
#line 351 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							self->priv->subject_stack_length1 = _tmp213_ - 1;
#line 353 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_tmp214_ = self->priv->predicate_stack;
#line 353 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_tmp214__length1 = self->priv->predicate_stack_length1;
#line 353 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_tmp215_ = self->priv->predicate_stack;
#line 353 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_tmp215__length1 = self->priv->predicate_stack_length1;
#line 353 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_tmp216_ = _tmp214_[_tmp215__length1 - 1];
#line 353 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							tracker_turtle_reader_set_predicate (self, _tmp216_);
#line 354 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_tmp217_ = self->priv->predicate_stack_length1;
#line 354 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							self->priv->predicate_stack_length1 = _tmp217_ - 1;
#line 356 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							self->priv->state = TRACKER_TURTLE_READER_STATE_OBJECT;
#line 357 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							result = TRUE;
#line 357 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							return result;
#line 3739 "tracker-turtle-reader.c"
						} else {
							gboolean _tmp218_ = FALSE;
							gboolean _tmp219_ = FALSE;
#line 358 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_tmp219_ = tracker_turtle_reader_accept (self, TRACKER_SPARQL_TOKEN_TYPE_DOT, &_inner_error_);
#line 358 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							_tmp218_ = _tmp219_;
#line 358 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							if (_inner_error_ != NULL) {
#line 358 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 358 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									g_propagate_error (error, _inner_error_);
#line 358 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									return FALSE;
#line 3755 "tracker-turtle-reader.c"
								} else {
#line 358 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 358 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									g_clear_error (&_inner_error_);
#line 358 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									return FALSE;
#line 3763 "tracker-turtle-reader.c"
								}
							}
#line 358 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
							if (_tmp218_) {
#line 359 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								self->priv->state = TRACKER_TURTLE_READER_STATE_BOS;
#line 360 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								continue;
#line 3772 "tracker-turtle-reader.c"
							} else {
								GError* _tmp220_ = NULL;
#line 362 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								_tmp220_ = tracker_turtle_reader_get_error (self, "expected comma, semicolon, or dot");
#line 362 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								_inner_error_ = _tmp220_;
#line 362 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
								if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 362 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									g_propagate_error (error, _inner_error_);
#line 362 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									return FALSE;
#line 3785 "tracker-turtle-reader.c"
								} else {
#line 362 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 362 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									g_clear_error (&_inner_error_);
#line 362 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
									return FALSE;
#line 3793 "tracker-turtle-reader.c"
								}
							}
						}
					}
				}
			}
			default:
#line 150 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
			break;
#line 3803 "tracker-turtle-reader.c"
		}
	}
}


static gpointer _g_error_copy0 (gpointer self) {
#line 385 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	return self ? g_error_copy (self) : NULL;
#line 3812 "tracker-turtle-reader.c"
}


void tracker_turtle_reader_load (const gchar* path, GError** error) {
	GError * _inner_error_ = NULL;
#line 368 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	g_return_if_fail (path != NULL);
#line 3820 "tracker-turtle-reader.c"
	{
		TrackerTurtleReader* reader = NULL;
		const gchar* _tmp0_ = NULL;
		TrackerTurtleReader* _tmp1_ = NULL;
#line 370 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		tracker_data_begin_transaction (&_inner_error_);
#line 370 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		if (_inner_error_ != NULL) {
#line 370 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 3831 "tracker-turtle-reader.c"
				goto __catch4_tracker_sparql_error;
			}
#line 370 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
			if (_inner_error_->domain == TRACKER_DB_INTERFACE_ERROR) {
#line 3836 "tracker-turtle-reader.c"
				goto __catch4_tracker_db_interface_error;
			}
#line 370 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.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 370 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
			g_clear_error (&_inner_error_);
#line 370 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
			return;
#line 3845 "tracker-turtle-reader.c"
		}
#line 372 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_tmp0_ = path;
#line 372 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_tmp1_ = tracker_turtle_reader_new (_tmp0_, &_inner_error_);
#line 372 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		reader = _tmp1_;
#line 372 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		if (_inner_error_ != NULL) {
#line 372 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 3857 "tracker-turtle-reader.c"
				goto __catch4_tracker_sparql_error;
			}
#line 372 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
			if (_inner_error_->domain == TRACKER_DB_INTERFACE_ERROR) {
#line 3862 "tracker-turtle-reader.c"
				goto __catch4_tracker_db_interface_error;
			}
			goto __finally4;
		}
#line 373 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		while (TRUE) {
#line 3869 "tracker-turtle-reader.c"
			gboolean _tmp2_ = FALSE;
			TrackerTurtleReader* _tmp3_ = NULL;
			gboolean _tmp4_ = FALSE;
			TrackerTurtleReader* _tmp5_ = NULL;
			gboolean _tmp6_ = FALSE;
#line 373 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
			_tmp3_ = reader;
#line 373 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
			_tmp4_ = tracker_turtle_reader_next (_tmp3_, &_inner_error_);
#line 373 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
			_tmp2_ = _tmp4_;
#line 373 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
			if (_inner_error_ != NULL) {
#line 373 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				_g_object_unref0 (reader);
#line 373 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 3887 "tracker-turtle-reader.c"
					goto __catch4_tracker_sparql_error;
				}
#line 373 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				if (_inner_error_->domain == TRACKER_DB_INTERFACE_ERROR) {
#line 3892 "tracker-turtle-reader.c"
					goto __catch4_tracker_db_interface_error;
				}
#line 373 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				_g_object_unref0 (reader);
#line 373 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.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 373 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				g_clear_error (&_inner_error_);
#line 373 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				return;
#line 3903 "tracker-turtle-reader.c"
			}
#line 373 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
			if (!_tmp2_) {
#line 373 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				break;
#line 3909 "tracker-turtle-reader.c"
			}
#line 374 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
			_tmp5_ = reader;
#line 374 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
			_tmp6_ = _tmp5_->priv->_object_is_uri;
#line 374 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
			if (_tmp6_) {
#line 3917 "tracker-turtle-reader.c"
				TrackerTurtleReader* _tmp7_ = NULL;
				const gchar* _tmp8_ = NULL;
				TrackerTurtleReader* _tmp9_ = NULL;
				const gchar* _tmp10_ = NULL;
				TrackerTurtleReader* _tmp11_ = NULL;
				const gchar* _tmp12_ = NULL;
				TrackerTurtleReader* _tmp13_ = NULL;
				const gchar* _tmp14_ = NULL;
#line 375 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				_tmp7_ = reader;
#line 375 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				_tmp8_ = _tmp7_->priv->_graph;
#line 375 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				_tmp9_ = reader;
#line 375 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				_tmp10_ = _tmp9_->priv->_subject;
#line 375 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				_tmp11_ = reader;
#line 375 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				_tmp12_ = _tmp11_->priv->_predicate;
#line 375 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				_tmp13_ = reader;
#line 375 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				_tmp14_ = _tmp13_->priv->_object;
#line 375 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				tracker_data_insert_statement_with_uri (_tmp8_, _tmp10_, _tmp12_, _tmp14_, &_inner_error_);
#line 375 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				if (_inner_error_ != NULL) {
#line 375 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					_g_object_unref0 (reader);
#line 375 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 3950 "tracker-turtle-reader.c"
						goto __catch4_tracker_sparql_error;
					}
#line 375 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					if (_inner_error_->domain == TRACKER_DB_INTERFACE_ERROR) {
#line 3955 "tracker-turtle-reader.c"
						goto __catch4_tracker_db_interface_error;
					}
#line 375 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					_g_object_unref0 (reader);
#line 375 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.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 375 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					g_clear_error (&_inner_error_);
#line 375 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					return;
#line 3966 "tracker-turtle-reader.c"
				}
			} else {
				TrackerTurtleReader* _tmp15_ = NULL;
				const gchar* _tmp16_ = NULL;
				TrackerTurtleReader* _tmp17_ = NULL;
				const gchar* _tmp18_ = NULL;
				TrackerTurtleReader* _tmp19_ = NULL;
				const gchar* _tmp20_ = NULL;
				TrackerTurtleReader* _tmp21_ = NULL;
				const gchar* _tmp22_ = NULL;
#line 377 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				_tmp15_ = reader;
#line 377 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				_tmp16_ = _tmp15_->priv->_graph;
#line 377 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				_tmp17_ = reader;
#line 377 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				_tmp18_ = _tmp17_->priv->_subject;
#line 377 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				_tmp19_ = reader;
#line 377 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				_tmp20_ = _tmp19_->priv->_predicate;
#line 377 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				_tmp21_ = reader;
#line 377 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				_tmp22_ = _tmp21_->priv->_object;
#line 377 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				tracker_data_insert_statement_with_string (_tmp16_, _tmp18_, _tmp20_, _tmp22_, &_inner_error_);
#line 377 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				if (_inner_error_ != NULL) {
#line 377 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					_g_object_unref0 (reader);
#line 377 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 4001 "tracker-turtle-reader.c"
						goto __catch4_tracker_sparql_error;
					}
#line 377 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
					if (_inner_error_->domain == TRACKER_DB_INTERFACE_ERROR) {
#line 4006 "tracker-turtle-reader.c"
						goto __catch4_tracker_db_interface_error;
					}
					goto __finally4;
				}
			}
#line 379 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
			tracker_data_update_buffer_might_flush (&_inner_error_);
#line 379 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
			if (_inner_error_ != NULL) {
#line 379 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				_g_object_unref0 (reader);
#line 379 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 4020 "tracker-turtle-reader.c"
					goto __catch4_tracker_sparql_error;
				}
#line 379 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				if (_inner_error_->domain == TRACKER_DB_INTERFACE_ERROR) {
#line 4025 "tracker-turtle-reader.c"
					goto __catch4_tracker_db_interface_error;
				}
#line 379 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				_g_object_unref0 (reader);
#line 379 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.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 379 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				g_clear_error (&_inner_error_);
#line 379 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
				return;
#line 4036 "tracker-turtle-reader.c"
			}
		}
#line 382 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		tracker_data_commit_transaction (&_inner_error_);
#line 382 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		if (_inner_error_ != NULL) {
#line 382 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
			_g_object_unref0 (reader);
#line 382 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 4047 "tracker-turtle-reader.c"
				goto __catch4_tracker_sparql_error;
			}
#line 382 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
			if (_inner_error_->domain == TRACKER_DB_INTERFACE_ERROR) {
#line 4052 "tracker-turtle-reader.c"
				goto __catch4_tracker_db_interface_error;
			}
#line 382 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
			_g_object_unref0 (reader);
#line 382 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.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 382 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
			g_clear_error (&_inner_error_);
#line 382 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
			return;
#line 4063 "tracker-turtle-reader.c"
		}
#line 369 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_g_object_unref0 (reader);
#line 4067 "tracker-turtle-reader.c"
	}
	goto __finally4;
	__catch4_tracker_sparql_error:
	{
		GError* e = NULL;
		GError* _tmp23_ = NULL;
		GError* _tmp24_ = NULL;
#line 369 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		e = _inner_error_;
#line 369 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_inner_error_ = NULL;
#line 384 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		tracker_data_rollback_transaction ();
#line 385 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_tmp23_ = e;
#line 385 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_tmp24_ = _g_error_copy0 (_tmp23_);
#line 385 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_inner_error_ = _tmp24_;
#line 385 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_g_error_free0 (e);
#line 4089 "tracker-turtle-reader.c"
		goto __finally4;
	}
	goto __finally4;
	__catch4_tracker_db_interface_error:
	{
		GError* e = NULL;
		GError* _tmp25_ = NULL;
		GError* _tmp26_ = NULL;
#line 369 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		e = _inner_error_;
#line 369 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_inner_error_ = NULL;
#line 387 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		tracker_data_rollback_transaction ();
#line 388 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_tmp25_ = e;
#line 388 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_tmp26_ = _g_error_copy0 (_tmp25_);
#line 388 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_inner_error_ = _tmp26_;
#line 388 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		_g_error_free0 (e);
#line 4112 "tracker-turtle-reader.c"
		goto __finally4;
	}
	__finally4:
#line 369 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	if (_inner_error_ != NULL) {
#line 369 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		if ((((_inner_error_->domain == G_FILE_ERROR) || (_inner_error_->domain == TRACKER_SPARQL_ERROR)) || (_inner_error_->domain == TRACKER_DATE_ERROR)) || (_inner_error_->domain == TRACKER_DB_INTERFACE_ERROR)) {
#line 369 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
			g_propagate_error (error, _inner_error_);
#line 369 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
			return;
#line 4124 "tracker-turtle-reader.c"
		} else {
#line 369 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 369 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
			g_clear_error (&_inner_error_);
#line 369 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
			return;
#line 4132 "tracker-turtle-reader.c"
		}
	}
}


const gchar* tracker_turtle_reader_get_graph (TrackerTurtleReader* self) {
	const gchar* result;
	const gchar* _tmp0_ = NULL;
#line 49 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 49 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp0_ = self->priv->_graph;
#line 49 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	result = _tmp0_;
#line 49 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	return result;
#line 4149 "tracker-turtle-reader.c"
}


static void tracker_turtle_reader_set_graph (TrackerTurtleReader* self, const gchar* value) {
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
#line 49 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	g_return_if_fail (self != NULL);
#line 49 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp0_ = value;
#line 49 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 49 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_g_free0 (self->priv->_graph);
#line 49 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	self->priv->_graph = _tmp1_;
#line 49 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	g_object_notify ((GObject *) self, "graph");
#line 4168 "tracker-turtle-reader.c"
}


const gchar* tracker_turtle_reader_get_subject (TrackerTurtleReader* self) {
	const gchar* result;
	const gchar* _tmp0_ = NULL;
#line 51 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 51 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp0_ = self->priv->_subject;
#line 51 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	result = _tmp0_;
#line 51 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	return result;
#line 4183 "tracker-turtle-reader.c"
}


static void tracker_turtle_reader_set_subject (TrackerTurtleReader* self, const gchar* value) {
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
#line 51 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	g_return_if_fail (self != NULL);
#line 51 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp0_ = value;
#line 51 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 51 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_g_free0 (self->priv->_subject);
#line 51 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	self->priv->_subject = _tmp1_;
#line 51 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	g_object_notify ((GObject *) self, "subject");
#line 4202 "tracker-turtle-reader.c"
}


const gchar* tracker_turtle_reader_get_predicate (TrackerTurtleReader* self) {
	const gchar* result;
	const gchar* _tmp0_ = NULL;
#line 52 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 52 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp0_ = self->priv->_predicate;
#line 52 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	result = _tmp0_;
#line 52 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	return result;
#line 4217 "tracker-turtle-reader.c"
}


static void tracker_turtle_reader_set_predicate (TrackerTurtleReader* self, const gchar* value) {
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
#line 52 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	g_return_if_fail (self != NULL);
#line 52 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp0_ = value;
#line 52 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 52 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_g_free0 (self->priv->_predicate);
#line 52 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	self->priv->_predicate = _tmp1_;
#line 52 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	g_object_notify ((GObject *) self, "predicate");
#line 4236 "tracker-turtle-reader.c"
}


const gchar* tracker_turtle_reader_get_object (TrackerTurtleReader* self) {
	const gchar* result;
	const gchar* _tmp0_ = NULL;
#line 53 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 53 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp0_ = self->priv->_object;
#line 53 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	result = _tmp0_;
#line 53 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	return result;
#line 4251 "tracker-turtle-reader.c"
}


static void tracker_turtle_reader_set_object (TrackerTurtleReader* self, const gchar* value) {
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
#line 53 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	g_return_if_fail (self != NULL);
#line 53 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp0_ = value;
#line 53 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 53 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_g_free0 (self->priv->_object);
#line 53 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	self->priv->_object = _tmp1_;
#line 53 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	g_object_notify ((GObject *) self, "object");
#line 4270 "tracker-turtle-reader.c"
}


gboolean tracker_turtle_reader_get_object_is_uri (TrackerTurtleReader* self) {
	gboolean result;
	gboolean _tmp0_ = FALSE;
#line 54 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 54 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp0_ = self->priv->_object_is_uri;
#line 54 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	result = _tmp0_;
#line 54 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	return result;
#line 4285 "tracker-turtle-reader.c"
}


static void tracker_turtle_reader_set_object_is_uri (TrackerTurtleReader* self, gboolean value) {
	gboolean _tmp0_ = FALSE;
#line 54 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	g_return_if_fail (self != NULL);
#line 54 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_tmp0_ = value;
#line 54 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	self->priv->_object_is_uri = _tmp0_;
#line 54 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	g_object_notify ((GObject *) self, "object-is-uri");
#line 4299 "tracker-turtle-reader.c"
}


static TrackerTurtleReaderTokenInfo* tracker_turtle_reader_token_info_dup (const TrackerTurtleReaderTokenInfo* self) {
	TrackerTurtleReaderTokenInfo* dup;
#line 32 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	dup = g_new0 (TrackerTurtleReaderTokenInfo, 1);
#line 32 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	memcpy (dup, self, sizeof (TrackerTurtleReaderTokenInfo));
#line 32 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	return dup;
#line 4311 "tracker-turtle-reader.c"
}


static void tracker_turtle_reader_token_info_free (TrackerTurtleReaderTokenInfo* self) {
#line 32 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	g_free (self);
#line 4318 "tracker-turtle-reader.c"
}


static GType tracker_turtle_reader_token_info_get_type (void) {
	static volatile gsize tracker_turtle_reader_token_info_type_id__volatile = 0;
	if (g_once_init_enter (&tracker_turtle_reader_token_info_type_id__volatile)) {
		GType tracker_turtle_reader_token_info_type_id;
		tracker_turtle_reader_token_info_type_id = g_boxed_type_register_static ("TrackerTurtleReaderTokenInfo", (GBoxedCopyFunc) tracker_turtle_reader_token_info_dup, (GBoxedFreeFunc) tracker_turtle_reader_token_info_free);
		g_once_init_leave (&tracker_turtle_reader_token_info_type_id__volatile, tracker_turtle_reader_token_info_type_id);
	}
	return tracker_turtle_reader_token_info_type_id__volatile;
}


static void tracker_turtle_reader_class_init (TrackerTurtleReaderClass * klass) {
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	tracker_turtle_reader_parent_class = g_type_class_peek_parent (klass);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	g_type_class_add_private (klass, sizeof (TrackerTurtleReaderPrivate));
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_tracker_turtle_reader_get_property;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_tracker_turtle_reader_set_property;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	G_OBJECT_CLASS (klass)->finalize = tracker_turtle_reader_finalize;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), TRACKER_TURTLE_READER_GRAPH, g_param_spec_string ("graph", "graph", "graph", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), TRACKER_TURTLE_READER_SUBJECT, g_param_spec_string ("subject", "subject", "subject", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), TRACKER_TURTLE_READER_PREDICATE, g_param_spec_string ("predicate", "predicate", "predicate", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), TRACKER_TURTLE_READER_OBJECT, g_param_spec_string ("object", "object", "object", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), TRACKER_TURTLE_READER_OBJECT_IS_URI, g_param_spec_boolean ("object-is-uri", "object-is-uri", "object-is-uri", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 4354 "tracker-turtle-reader.c"
}


static void tracker_turtle_reader_instance_init (TrackerTurtleReader * self) {
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	self->priv = TRACKER_TURTLE_READER_GET_PRIVATE (self);
#line 61 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	self->priv->bnodeid = 0;
#line 4363 "tracker-turtle-reader.c"
}


static void tracker_turtle_reader_finalize (GObject* obj) {
	TrackerTurtleReader * self;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, TRACKER_TYPE_TURTLE_READER, TrackerTurtleReader);
#line 21 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_g_object_unref0 (self->priv->scanner);
#line 24 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	self->priv->tokens = (g_free (self->priv->tokens), NULL);
#line 49 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_g_free0 (self->priv->_graph);
#line 51 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_g_free0 (self->priv->_subject);
#line 52 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_g_free0 (self->priv->_predicate);
#line 53 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_g_free0 (self->priv->_object);
#line 56 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_g_hash_table_unref0 (self->priv->prefix_map);
#line 58 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	self->priv->subject_stack = (_vala_array_free (self->priv->subject_stack, self->priv->subject_stack_length1, (GDestroyNotify) g_free), NULL);
#line 59 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	self->priv->predicate_stack = (_vala_array_free (self->priv->predicate_stack, self->priv->predicate_stack_length1, (GDestroyNotify) g_free), NULL);
#line 63 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	self->priv->base_uuid = (g_free (self->priv->base_uuid), NULL);
#line 65 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	_g_mapped_file_unref0 (self->priv->mapped_file);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	G_OBJECT_CLASS (tracker_turtle_reader_parent_class)->finalize (obj);
#line 4395 "tracker-turtle-reader.c"
}


GType tracker_turtle_reader_get_type (void) {
	static volatile gsize tracker_turtle_reader_type_id__volatile = 0;
	if (g_once_init_enter (&tracker_turtle_reader_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (TrackerTurtleReaderClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) tracker_turtle_reader_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (TrackerTurtleReader), 0, (GInstanceInitFunc) tracker_turtle_reader_instance_init, NULL };
		GType tracker_turtle_reader_type_id;
		tracker_turtle_reader_type_id = g_type_register_static (G_TYPE_OBJECT, "TrackerTurtleReader", &g_define_type_info, 0);
		g_once_init_leave (&tracker_turtle_reader_type_id__volatile, tracker_turtle_reader_type_id);
	}
	return tracker_turtle_reader_type_id__volatile;
}


static void _vala_tracker_turtle_reader_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	TrackerTurtleReader * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, TRACKER_TYPE_TURTLE_READER, TrackerTurtleReader);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	switch (property_id) {
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		case TRACKER_TURTLE_READER_GRAPH:
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		g_value_set_string (value, tracker_turtle_reader_get_graph (self));
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		break;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		case TRACKER_TURTLE_READER_SUBJECT:
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		g_value_set_string (value, tracker_turtle_reader_get_subject (self));
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		break;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		case TRACKER_TURTLE_READER_PREDICATE:
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		g_value_set_string (value, tracker_turtle_reader_get_predicate (self));
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		break;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		case TRACKER_TURTLE_READER_OBJECT:
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		g_value_set_string (value, tracker_turtle_reader_get_object (self));
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		break;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		case TRACKER_TURTLE_READER_OBJECT_IS_URI:
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		g_value_set_boolean (value, tracker_turtle_reader_get_object_is_uri (self));
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		break;
#line 4446 "tracker-turtle-reader.c"
		default:
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		break;
#line 4452 "tracker-turtle-reader.c"
	}
}


static void _vala_tracker_turtle_reader_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
	TrackerTurtleReader * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, TRACKER_TYPE_TURTLE_READER, TrackerTurtleReader);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
	switch (property_id) {
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		case TRACKER_TURTLE_READER_GRAPH:
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		tracker_turtle_reader_set_graph (self, g_value_get_string (value));
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		break;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		case TRACKER_TURTLE_READER_SUBJECT:
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		tracker_turtle_reader_set_subject (self, g_value_get_string (value));
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		break;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		case TRACKER_TURTLE_READER_PREDICATE:
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		tracker_turtle_reader_set_predicate (self, g_value_get_string (value));
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		break;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		case TRACKER_TURTLE_READER_OBJECT:
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		tracker_turtle_reader_set_object (self, g_value_get_string (value));
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		break;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		case TRACKER_TURTLE_READER_OBJECT_IS_URI:
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		tracker_turtle_reader_set_object_is_uri (self, g_value_get_boolean (value));
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		break;
#line 4492 "tracker-turtle-reader.c"
		default:
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-data/tracker-turtle-reader.vala"
		break;
#line 4498 "tracker-turtle-reader.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);
}



