view tests/misc-queries/test-query-plugin-for-transform @ 24:18c42fbc1335

* Various fixes: ensure CSV feature writer closes files when finished with (rather than at end of run) to avoid running out of fds; bail properly with an exception with CSV writer can't write to output file; and other minor things
author Chris Cannam
date Tue, 08 Sep 2009 16:51:24 +0000
parents 92911f967a16
children
line wrap: on
line source

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

SELECT ?transform ?plugin ?step_size ?block_size ?window_type ?program ?sample_rate ?start ?duration ?param_id ?param_value
FROM <file:///work/runner/transforms/percussiononsets.n3>

WHERE {
      ?transform a vamp:Transform .
      ?transform vamp:plugin ?plugin .
      OPTIONAL { ?transform vamp:step_size ?step_size } .
      OPTIONAL { ?transform vamp:block_size ?block_size } .
      OPTIONAL { ?transform vamp:window_type ?window_type } .
      OPTIONAL { ?transform vamp:program ?program } .
      OPTIONAL { ?transform vamp:sample_rate ?sample_rate } .
      OPTIONAL { ?transform vamp:start ?start } .
      OPTIONAL { ?transform vamp:duration ?duration } .
      OPTIONAL {
          ?transform vamp:parameter ?param .
	  ?param vamp:identifier ?param_id .
	  ?param vamp:value ?param_value
      }
}