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

PREFIX vamp: <http://purl.org/ontology/vamp/>
PREFIX examples: <http://vamp-plugins.org/rdf/plugins/vamp-example-plugins#>

SELECT ?transform ?library ?library_id ?plugin
FROM <file:///work/runner/transforms/percussiononsets.n3>
FROM <http://vamp-plugins.org/rdf/plugins/vamp-example-plugins>

WHERE {
      ?transform a vamp:Transform .
      ?transform vamp:plugin ?plugin .
      ?plugin a vamp:Plugin .
      ?library a vamp:PluginLibrary .
      ?library vamp:identifier ?library_id .
      ?library vamp:available_plugin ?plugin .
}