X-Git-Url: http://git.indexdata.com/?p=mp-sparql-moved-to-github.git;a=blobdiff_plain;f=doc%2Ffilter_sparql.rnc;h=5caa48726c4580afde15ed3f8c6603ad14878b42;hp=3b6e8172f4e9497d295a37b4d261a360e93d3310;hb=43063c1e0a4e9d1cf9347d7bdefe8ee99dbb14cb;hpb=5b4b5eec4062062050112a58a151768d7ab7e579 diff --git a/doc/filter_sparql.rnc b/doc/filter_sparql.rnc index 3b6e817..5caa487 100644 --- a/doc/filter_sparql.rnc +++ b/doc/filter_sparql.rnc @@ -3,22 +3,27 @@ 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 } + attribute uri { xsd:string }? }?, element mp:db { attribute path { xsd:string }, - attribute uri { xsd:string }, - attribute schema { xsd:string }, + attribute uri { xsd:string }?, + attribute schema { xsd:string }?, + attribute include { xsd:string }?, element mp:prefix { xsd:string }+, - element mp:field { xsd:string }*, + element mp:form { 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 }* }+