diff rdf/PluginRDFDescription.cpp @ 481:a82645e788fc

* Auto-select RDF datastore/parsing backend; use trees datastore if available * Make CachedFile remember whether a file has already been successfully located locally (avoiding system call out to look at filesystem)
author Chris Cannam
date Fri, 14 Nov 2008 10:10:05 +0000
parents 3ffce691c9bf
children 82ab61fa9223
line wrap: on
line diff
--- a/rdf/PluginRDFDescription.cpp	Thu Nov 13 14:23:23 2008 +0000
+++ b/rdf/PluginRDFDescription.cpp	Fri Nov 14 10:10:05 2008 +0000
@@ -191,8 +191,8 @@
             " PREFIX dc: <http://purl.org/dc/elements/1.1/> "
             " SELECT ?%4 FROM <%1> "
             " WHERE { "
-            "   ?plugin a vamp:Plugin ; "
-            "           vamp:identifier \"%2\" ; "
+            "   ?plugin vamp:identifier \"%2\" ; "
+            "           a vamp:Plugin ; "
             "           %3 ?%4 . "
             " }")
         .arg(url)
@@ -221,8 +221,8 @@
             " PREFIX foaf: <http://xmlns.com/foaf/0.1/> "
             " SELECT ?name FROM <%1> "
             " WHERE { "
-            "   ?plugin a vamp:Plugin ; "
-            "           vamp:identifier \"%2\" ; "
+            "   ?plugin vamp:identifier \"%2\" ; "
+            "           a vamp:Plugin ; "
             "           foaf:maker ?maker . "
             "   ?maker foaf:name ?name . "
             " }")
@@ -246,8 +246,8 @@
             " PREFIX foaf: <http://xmlns.com/foaf/0.1/> "
             " SELECT ?page from <%1> "
             " WHERE { "
-            "   ?plugin a vamp:Plugin ; "
-            "           vamp:identifier \"%2\" ; "
+            "   ?plugin vamp:identifier \"%2\" ; "
+            "           a vamp:Plugin ; "
             "           foaf:page ?page . "
             " }")
          .arg(url)
@@ -300,8 +300,8 @@
 
              " WHERE { "
 
-             "   ?plugin a vamp:Plugin ; "
-             "           vamp:identifier \"%2\" ; "
+             "   ?plugin vamp:identifier \"%2\" ; "
+             "           a vamp:Plugin ; "
              "           vamp:output ?output . "
 
              "   ?output vamp:identifier ?output_id ; "