view tests/misc-queries/test-query-transforms @ 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
line wrap: on
line source

PREFIX vamp: <http://purl.org/ontology/vamp/>

SELECT ?transform ?plugin ?output ?program
       ?step_size ?block_size ?window_type
       ?sample_rate ?start ?duration

FROM <file:///work/runner/transforms/percussiononsets.n3>

WHERE {
  ?transform a vamp:Transform ;
             vamp:plugin ?plugin .
  OPTIONAL { ?transform vamp:output ?output } .
  OPTIONAL { ?transform vamp:program ?program } .
  OPTIONAL { ?transform vamp:step_size ?step_size } .
  OPTIONAL { ?transform vamp:block_size ?block_size } .
  OPTIONAL { ?transform vamp:window_type ?window_type } .
  OPTIONAL { ?transform vamp:sample_rate ?sample_rate } .
  OPTIONAL { ?transform vamp:start ?start } .
  OPTIONAL { ?transform vamp:duration ?duration }
}