LOC-6: Drop the "ref" db, integrate into "node"
[mp-sparql-moved-to-github.git] / bibframe / triplestore.xml
index 415e66a..1d02d80 100644 (file)
 
             <!-- Find the work that has a given Instance -->
             <index type="bf.instance">
-                %v_inst bf:instanceOf ?thing FILTER ( %v_inst = %u) 
+                %v_inst bf:instanceOf ?thing FILTER ( %v_inst = %u)
             </index>
-            
+
             <!-- Find all works that refer to the given uri -->
             <!-- useful after finding uris in the "small" bases -->
             <!-- direct references only -->
             <index type="any">
                 ?thing ?rel ?obj FILTER( str(?thing) = %s )
             </index>
-        </db>
-        <!-- A way to see which triplets refers to a given uri. -->
-        <db path="ref" schema="sparql-results" include="smallbody">
-            <index type="any">
+            <index type="ref"> <!-- return any object that refers to %u-->
                 ?thing ?rel ?obj FILTER( str(?obj) = %s )
             </index>
         </db>
 
     <filter type="log">
         <message>http</message>
+<!--
         <category apdu="true"/>
+-->
     </filter>
-
     <filter type="http_client">
         <x-forwarded-for>true</x-forwarded-for>
     </filter>