Mercurial > hg > svcore
comparison rdf/SimpleSPARQLQuery.cpp @ 494:81963c51b488
* Add ability to export a transform structure as RDF -- for use
when exporting data from runner, so as to refer back to the generating
transform from the audio features rdf
* some improvements to pane & layer management when importing rdf, but
it's all still a big hack here
author | Chris Cannam |
---|---|
date | Tue, 25 Nov 2008 17:46:02 +0000 |
parents | 3931711b5671 |
children | 438f4e295a9c |
comparison
equal
deleted
inserted
replaced
493:3931711b5671 | 494:81963c51b488 |
---|---|
514 | 514 |
515 } else if (librdf_node_is_blank(node)) { | 515 } else if (librdf_node_is_blank(node)) { |
516 | 516 |
517 type = BlankValue; | 517 type = BlankValue; |
518 | 518 |
519 const char *lit = (const char *)librdf_node_get_literal_value(node); | |
520 if (lit) text = lit; | |
521 | |
519 } else { | 522 } else { |
520 | 523 |
521 cerr << "SimpleSPARQLQuery: LIBRDF query returned unknown node type (not resource, literal, or blank)" << endl; | 524 cerr << "SimpleSPARQLQuery: LIBRDF query returned unknown node type (not resource, literal, or blank)" << endl; |
522 } | 525 } |
523 | 526 |