Document present section in configuration
[mp-sparql-moved-to-github.git] / doc / filter_sparql.rnc
index 263214d..8a644d0 100644 (file)
@@ -3,18 +3,26 @@
 namespace mp = "http://indexdata.com/metaproxy"
 
 filter_sparql =
-  attribute type { "xquery" },
+  attribute type { "sparql" },
   attribute id { xsd:NCName }?,
   attribute name { xsd:NCName }?,
+  element mp:defaults {
+    attribute uri { xsd:string }
+  }?,
   element mp:db {
     attribute path { xsd:string },
     attribute uri { xsd:string },
+    attribute schema { xsd:string },
     element mp:prefix { xsd:string }+,
     element mp:field { xsd:string }*,
     element mp:criteria { xsd:string }*,
     element mp:index {
       attribute type { xsd:string },
       xsd:string
-    }*
+    }*,
+    element mp:present {
+      attribute type { xsd:string },
+      xsd:string
+    }*,
+    element mp:modifier { xsd:string }*
   }+
-