Fix incorrect RDF namespace URI MPSPARQL-25
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 18 Aug 2015 09:43:56 +0000 (11:43 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 18 Aug 2015 09:43:56 +0000 (11:43 +0200)
The declaratinos are not necessary so they are removed instead.

bibframe/triplestore.xml
doc/sparql.xml

index 12af0dd..6a0cefb 100644 (file)
@@ -42,7 +42,6 @@ for all of them, authors, and their names, etc.
 
         <!-- "thing" database that will be included all real databases -->
         <db path="thing">  <!-- no schema, so it is not directly searchable -->
-            <prefix>rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns</prefix>
             <prefix>bf: http://bibframe.org/vocab/</prefix>
             <form>SELECT DISTINCT ?thing </form>
 
index afce82b..76fbe07 100644 (file)
     <db path="Default"
         uri="http://bibframe.indexdata.com/sparql/"
         schema="sparql-results">
-      <prefix>rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns</prefix>
       <prefix>bf: http://bibframe.org/vocab/</prefix>
       <form>SELECT ?work ?wtitle</form>
       <criteria>?work a bf:Work</criteria>
    the same filter section as the "Default" db above.
    <screen><![CDATA[
     <db path="work" schema="sparql-results">
-      <prefix>rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns</prefix>
       <prefix>bf: http://bibframe.org/vocab/</prefix>
       <form>SELECT
               ?work
     Configuration for database "works". This uses CONSTRUCT to produce rdf.
    <screen><![CDATA[
     <db path="works" schema="rdf">
-      <prefix>rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns</prefix>
       <prefix>bf: http://bibframe.org/vocab/</prefix>
       <form>CONSTRUCT {
           ?work bf:title ?wtitle .
     two formats, we get four rows. The DISTINCT in the SELECT
    <screen><![CDATA[
     <db path="instance" schema="sparql-results">
-      <prefix>rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns</prefix>
       <prefix>bf: http://bibframe.org/vocab/</prefix>
       <form>SELECT DISTINCT ?instance ?title ?format</form>
       <criteria>?instance a bf:Instance</criteria>