http_client to triplestore.xml
authorAdam Dickmeiss <adam@indexdata.dk>
Fri, 9 Jan 2015 12:16:11 +0000 (13:16 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Fri, 9 Jan 2015 12:16:11 +0000 (13:16 +0100)
bibframe/config-sparql.xml
bibframe/triplestore.xml

index d52498d..68fcf03 100644 (file)
         <message>log</message>
       </filter>
       <include src="triplestore.xml"/>
-      <filter type="log">
-       <message>http</message>
-       <category apdu="true"/>
-      </filter>
-      <filter type="http_client">
-        <x-forwarded-for>true</x-forwarded-for>
-      </filter>
       <filter type="bounce"/>
     </route>
   </routes>
index 7b10796..47e160a 100644 (file)
@@ -1,11 +1,20 @@
-<filter  xmlns="http://indexdata.com/metaproxy" type="sparql">
-  <db path="Default" uri="http://bibframe.indexdata.com/sparql/">
-   <prefix>rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns</prefix>
-   <prefix>bf: http://bibframe.org/vocab/</prefix>
-   <field>?work ?wtitle</field>
-   <criteria>?work a bf:Work</criteria>
-   <criteria>?work bf:workTitle ?wt</criteria>
-   <criteria>?wt bf:titleValue ?wtitle</criteria>
-   <index type="bf.wtitle">?wt bf:titleValue %v FILTER(contains(%v, %s))</index>
-  </db>
-</filter>
+<filters  xmlns="http://indexdata.com/metaproxy">
+  <filter type="sparql">
+    <db path="Default" uri="http://bibframe.indexdata.com/sparql/">
+      <prefix>rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns</prefix>
+      <prefix>bf: http://bibframe.org/vocab/</prefix>
+      <field>?work ?wtitle</field>
+      <criteria>?work a bf:Work</criteria>
+      <criteria>?work bf:workTitle ?wt</criteria>
+      <criteria>?wt bf:titleValue ?wtitle</criteria>
+      <index type="bf.wtitle">?wt bf:titleValue %v FILTER(contains(%v, %s))</index>
+    </db>
+  </filter>
+  <filter type="log">
+    <message>http</message>
+    <category apdu="true"/>
+  </filter>
+  <filter type="http_client">
+    <x-forwarded-for>true</x-forwarded-for>
+  </filter>
+</filters>