Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-1242

SPARQL update: delete a triple fails silently on named graph file:/XX

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • None
    • Jena 3.1.1
    • TDB
    • None

    Description

      Delete with SPARQL update a quad in named graph <file:/XX> does not delete anything.

      HOW TO REPRODUCE
      Tested on latest source in github:

      cd jena-cmds
      echo '<urn:s> <urn:p> "o" <file:XX> .' > triple_to_remove.nq
      echo 'WITH  <file:XX> DELETE {<urn:s> <urn:p> ?O} WHERE  {<urn:s> <urn:p> ?O} ' \
        > update.rq
      
      mvn exec:java -Dexec.mainClass="tdb.tdbloader" \
        -Dexec.args="--verbose --loc=TDB triple_to_remove.nq"
       mvn exec:java -Dexec.mainClass="tdb.tdbupdate" \
        -Dexec.args="--verbose --loc=TDB --update=update.rq"
       mvn exec:java -Dexec.mainClass="tdb.tdbdump" \
        -Dexec.args="--verbose --loc=TDB"  1> /tmp/dump.nq
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            jmvanel Jean-Marc Vanel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: