comparison rdf/SimpleSPARQLQuery.cpp @ 507:0944d13689b2

* Implement proper RDF feature writing for track level features, using the feature attribute URI given in the plugin description RDF (if there is one)
author Chris Cannam
date Fri, 05 Dec 2008 14:19:04 +0000
parents db398832518b
children 7207e3eba44f
comparison
equal deleted inserted replaced
506:823e8a4feff5 507:0944d13689b2
211 librdf_parser *parser = librdf_new_parser(m_world, "guess", NULL, NULL); 211 librdf_parser *parser = librdf_new_parser(m_world, "guess", NULL, NULL);
212 if (!parser) { 212 if (!parser) {
213 errorString = "Failed to initialise Redland parser"; 213 errorString = "Failed to initialise Redland parser";
214 return false; 214 return false;
215 } 215 }
216 216
217 #ifdef DEBUG_SIMPLE_SPARQL_QUERY
217 std::cerr << "About to parse \"" << uri.toStdString() << "\"" << std::endl; 218 std::cerr << "About to parse \"" << uri.toStdString() << "\"" << std::endl;
219 #endif
218 220
219 Profiler p("SimpleSPARQLQuery: Parse URI into LIBRDF model"); 221 Profiler p("SimpleSPARQLQuery: Parse URI into LIBRDF model");
220 222
221 if (librdf_parser_parse_into_model(parser, luri, NULL, model)) { 223 if (librdf_parser_parse_into_model(parser, luri, NULL, model)) {
222 224