annotate tests/misc-queries/test-query-plugin-for-transform @ 210:8b98a8e57672

Write Track in RDF only if title/artist metadata present, not simply on the basis of a TrackMetadata object existing
author Chris Cannam
date Wed, 04 Nov 2015 12:06:12 +0000
parents 92911f967a16
children
rev   line source
Chris@0 1
Chris@0 2 PREFIX vamp: <http://purl.org/ontology/vamp/>
Chris@0 3
Chris@0 4 SELECT ?transform ?plugin ?step_size ?block_size ?window_type ?program ?sample_rate ?start ?duration ?param_id ?param_value
Chris@0 5 FROM <file:///work/runner/transforms/percussiononsets.n3>
Chris@0 6
Chris@0 7 WHERE {
Chris@0 8 ?transform a vamp:Transform .
Chris@0 9 ?transform vamp:plugin ?plugin .
Chris@0 10 OPTIONAL { ?transform vamp:step_size ?step_size } .
Chris@0 11 OPTIONAL { ?transform vamp:block_size ?block_size } .
Chris@0 12 OPTIONAL { ?transform vamp:window_type ?window_type } .
Chris@0 13 OPTIONAL { ?transform vamp:program ?program } .
Chris@0 14 OPTIONAL { ?transform vamp:sample_rate ?sample_rate } .
Chris@0 15 OPTIONAL { ?transform vamp:start ?start } .
Chris@0 16 OPTIONAL { ?transform vamp:duration ?duration } .
Chris@0 17 OPTIONAL {
Chris@0 18 ?transform vamp:parameter ?param .
Chris@0 19 ?param vamp:identifier ?param_id .
Chris@0 20 ?param vamp:value ?param_value
Chris@0 21 }
Chris@0 22 }
Chris@0 23