Mercurial > hg > sonic-annotator
annotate tests/misc-queries/test-query-pluginid-for-rdf @ 59:52b9d58edb78
Ensure expected output (as well as test output) gets canonicalised before comparison. The test in question still fails -- I think now only because of plugin output ordering changes (prior to svcore rev f3fd2988fc9b it also had picked up some incorrect output feature types)
author | Chris Cannam |
---|---|
date | Mon, 09 Jan 2012 16:30:44 +0000 |
parents | 92911f967a16 |
children |
rev | line source |
---|---|
Chris@0 | 1 |
Chris@0 | 2 PREFIX vamp: <http://purl.org/ontology/vamp/> |
Chris@0 | 3 PREFIX examples: <http://vamp-plugins.org/rdf/plugins/vamp-example-plugins#> |
Chris@0 | 4 |
Chris@0 | 5 SELECT ?plugin ?library_id ?plugin_id |
Chris@0 | 6 FROM <http://vamp-plugins.org/rdf/plugins/vamp-example-plugins> |
Chris@0 | 7 |
Chris@0 | 8 WHERE { |
Chris@0 | 9 ?plugin a vamp:Plugin . |
Chris@0 | 10 ?plugin vamp:identifier ?plugin_id . |
Chris@0 | 11 OPTIONAL { ?library a vamp:PluginLibrary . |
Chris@0 | 12 ?library vamp:identifier ?library_id . |
Chris@0 | 13 ?library vamp:available_plugin ?plugin . } |
Chris@0 | 14 } |
Chris@0 | 15 |