Mercurial > hg > svcore
diff rdf/PluginRDFDescription.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 | 81963c51b488 |
children | 1b8c748fd7ea |
line wrap: on
line diff
--- a/rdf/PluginRDFDescription.cpp Fri Dec 05 11:31:51 2008 +0000 +++ b/rdf/PluginRDFDescription.cpp Fri Dec 05 14:19:04 2008 +0000 @@ -372,11 +372,14 @@ } v = SimpleSPARQLQuery::singleResultQuery - (m, queryTemplate.arg("feature_attribute"), "feature_attribute"); + (m, queryTemplate.arg("feature"), "feature"); if (v.type == SimpleSPARQLQuery::URIValue && v.value != "") { + cerr << "Feature attribute URI: \"" << v.value.toStdString() << "\"" << endl; m_outputFeatureAttributeURIMap[outputId] = v.value; - } + } else { + cerr << "No feature attribute URI: \"" << v.value.toStdString() << "\"" << endl; + } v = SimpleSPARQLQuery::singleResultQuery (m, queryTemplate.arg("signal_type"), "signal_type");