Mercurial > hg > piper-cpp
changeset 224:16655424db89
More notes on rdf layout
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Fri, 09 Jun 2017 16:25:43 +0100 |
parents | a29ce4af17bc |
children | 025b3e2f7c17 |
files | vamp-support/RdfTypes.h |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/vamp-support/RdfTypes.h Fri Jun 09 15:18:32 2017 +0100 +++ b/vamp-support/RdfTypes.h Fri Jun 09 16:25:43 2017 +0100 @@ -65,12 +65,17 @@ SordModel *model = sord_new(m_world, SORD_SPO|SORD_OPS|SORD_POS, false); if (loadRdf(model, candidateRdfFilesFor(pluginKey))) { // we want to find a graph like + // :plugin a vamp:Plugin + // :plugin vamp:identifier "pluginId" + // :library vamp:available_plugin :plugin + // :library vamp:identifier "libraryId" // :plugin vamp:output :output1 // :plugin vamp:output :output2 // :plugin vamp:output :output3 // :output1 vamp:computes_event_type :event // :output2 vamp:computes_feature :feature // :output3 vamp:computes_signal_type :signal + // and where pluginKey == libraryId + ":" + pluginId } sord_free(model); return info;