Mercurial > hg > sonic-annotator
diff test-queries/test-query-pluginid-for-rdf @ 0:581b1b150a4d
* copy to sonic-annotator
author | Chris Cannam |
---|---|
date | Thu, 11 Dec 2008 10:22:33 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-queries/test-query-pluginid-for-rdf Thu Dec 11 10:22:33 2008 +0000 @@ -0,0 +1,15 @@ + +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 . } +} +