Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-4520

RDFizer incompatible with Virtuoso triple store

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Received (View Workflow)
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: 7.0
    • Fix Version/s: None
    • Component/s: RDF
    • Labels:
    • Attachments:
      0
    • Comments:
      0
    • Documentation Status:
      Needed

      Description

      To reproduce:

      Use the instructions [here|https://github.com/DSpace/DSpace/blob/master/dspace/src/main/docker-compose/README.md] to setup a DSpace installation, while adding [this file|https://github.com/vemonet/DSpace/blob/euraknos-dev/docker-compose-rdf.yml] to the repository and adjusting the commands accordingly to run a virtuoso triplestore instead of fuseki. Make sure to also change the config as per example below.

      docker-compose -f docker-compose.yml -f docker-compose-cli.yml -f docker-compose-rdf.yml build
      

       

      docker-compose -p d7 -f docker-compose.yml -f docker-compose-rdf.yml -f dspace/src/main/docker-compose/docker-compose-angular.yml up -d

       
       

      rdf.enabled = true 
      rdf.contentNegotiation.enable = true 
      rdf.public.sparql.endpoint = http://dspacevirtuoso:8890/sparql-auth rdf.storage.graphstore.endpoint = http://dspacevirtuoso:8890/sparql-graph-crud 
      rdf.storage.graphstore.authentication = yes 
      rdf.storage.graphstore.login = dba 
      rdf.storage.graphstore.password = mypassword rdf.storage.sparql.authentication = yes 
      rdf.storage.sparql.login = dba 
      rdf.storage.sparql.password = mypassword 
      rdf.path = rdf rdf.contextPath = http://dspace/rdf

      Once all containers are initialized, run 

      docker exec -it dspace /dspace/bin/dspace rdfizer -c -o -v
      

      The issue:

      While triples are generated normally and no exceptions occur, no graphs are created in virtuoso. Virtuoso returns 201 created but there are no resulting triples. When the same action is performed through postman instead of RDFizer virtuoso creates the graph as expected. There are also 501s on what seem like empty GET requests coming from the same address.

      xxxxxxxxx - - [29/May/2020:12:23:32 +0000] "PUT /sparql-graph-crud?graph=xxxxxxxxxxxx%2Fserver%2Frdf%2Fresource%2F123456789%2F57 HTTP/1.1" 201 0 "" "Apache-Jena-ARQ/2.13.0"
      xxxxxxxxx - - [29/May/2020:12:23:32 +0000] "GET unspecifiedHTTP/1.1" 501 0 "" ""
      xxxxxxxxx - - [29/May/2020:12:23:32 +0000] "PUT /sparql-graph-crud?graph=xxxxxxxxxxxx%2Fserver%2Frdf%2Fresource%2F123456789%2F4 HTTP/1.1" 201 0 "" "Apache-Jena-ARQ/2.13.0"
      xxxxxxxxx - - [29/May/2020:12:23:32 +0000] "GET unspecifiedHTTP/1.1" 501 0 "" ""
      xxxxxxxxx - - [29/May/2020:12:23:32 +0000] "PUT /sparql-graph-crud?graph=xxxxxxxxxxxx%2Fserver%2Frdf%2Fresource%2F123456789%2F1 HTTP/1.1" 201 0 "" "Apache-Jena-ARQ/2.13.0"
      xxxxxxxxx - - [29/May/2020:12:23:32 +0000] "GET unspecifiedHTTP/1.1" 501 0 "" ""
      xxxxxxxxx - - [29/May/2020:12:23:32 +0000] "PUT /sparql-graph-crud?graph=xxxxxxxxxxxx%2Fserver%2Frdf%2Fresource%2F123456789%2F0 HTTP/1.1" 201 0 "" "Apache-Jena-ARQ/2.13.0"
      xxxxxxxxx - - [29/May/2020:12:23:32 +0000] "GET unspecifiedHTTP/1.1" 501 0 "" ""

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            tjnhendriks Tim Hendriks
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated: