# HG changeset patch # User Chris Cannam # Date 1497021943 -3600 # Node ID 16655424db89ec42cb674ce0d8833818017cac69 # Parent a29ce4af17bcdbf18726a35c61568365cc7a0e6e More notes on rdf layout diff -r a29ce4af17bc -r 16655424db89 vamp-support/RdfTypes.h --- 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;