Document present section in configuration
[mp-sparql-moved-to-github.git] / doc / filter_sparql.rnc
index 4e71e8c..8a644d0 100644 (file)
@@ -3,9 +3,12 @@
 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 },
@@ -16,6 +19,10 @@ filter_sparql =
     element mp:index {
       attribute type { xsd:string },
       xsd:string
-    }*
+    }*,
+    element mp:present {
+      attribute type { xsd:string },
+      xsd:string
+    }*,
+    element mp:modifier { xsd:string }*
   }+
-