view tests/misc-queries/test-query-pluginid-for-rdf @ 31:8b20521fc40f

* Commit old fix (which I hope was correct!) to avoid leaking fds on exceptions * Remove dependency on audioio library
author Chris Cannam
date Fri, 12 Mar 2010 12:08:21 +0000
parents 92911f967a16
children
line wrap: on
line source

PREFIX vamp: <http://purl.org/ontology/vamp/>
PREFIX examples: <http://vamp-plugins.org/rdf/plugins/vamp-example-plugins#>

SELECT ?plugin ?library_id ?plugin_id
FROM <http://vamp-plugins.org/rdf/plugins/vamp-example-plugins>

WHERE {
      ?plugin a vamp:Plugin .
      ?plugin vamp:identifier ?plugin_id .
      OPTIONAL { ?library a vamp:PluginLibrary .
            ?library vamp:identifier ?library_id .
	          ?library vamp:available_plugin ?plugin . }
}