annotate tests/misc-queries/test-query-plugin-output-types @ 208:c17b184c16db
Update JAMS output to JAMS v0.2.0. We now (for the first time?!) write actual JAMS schema-compliant output when possible, though it isn't possible for many types of plugin. The output for all tested combinations of transforms is valid JSON even where it isn't schema-compliant.
author |
Chris Cannam |
date |
Wed, 04 Nov 2015 10:07:29 +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 ?output_id ?output_type ?feature_type ?event_type ?unit
|
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 "percussiononsets" .
|
Chris@0
|
11 ?plugin vamp:output_descriptor ?output .
|
Chris@0
|
12 ?output vamp:identifier ?output_id .
|
Chris@0
|
13 ?output a ?output_type .
|
Chris@0
|
14 OPTIONAL { ?output vamp:computes_feature_type ?feature_type } .
|
Chris@0
|
15 OPTIONAL { ?output vamp:computes_event_type ?event_type } .
|
Chris@0
|
16 OPTIONAL { ?output vamp:unit ?unit } .
|
Chris@0
|
17 }
|
Chris@0
|
18
|