view tests/misc-queries/test-query-transforms @ 200:f35bbb3e4d41 sonic-annotator-1.2

Change of tack: rename the JSON writer to JAMS. It's simpler than having a JSON writer with a mandatory flag to tell it what sort of JSON to write.
author Chris Cannam
date Tue, 01 Sep 2015 17:51:03 +0100
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 }
}