Uploaded image for project: 'Fedora Repository Project'
  1. Fedora Repository Project
  2. FCREPO-2090

Cannot delete non-string literals via sparql-update with literal matchers

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Fedora 4.5.1
    • Fix Version/s: Fedora 4.6.0, Fedora 4.7.0
    • Component/s: f4-core
    • Labels:
    • Roadmap Theme:
      Services: CRUD
    • Sprint:
      Sprint 2015 - 15, Sprint 2016 - 16

      Description

      With Sparql-Update, it is currently possible to delete Literals with variables:

      DELETE WHERE {
        <> test:foo ?obj;
      }

      It is also possible to delete string Literals (with and without Language tags):

      DELETE WHERE {
        <> test:foo "Bar"
      }

      and

      DELETE WHERE {
        <> test:foo "Baz"@en
      }

      But, if the literal is not a string, it is no longer possible:

      INSERT { <> test:foo 42 } WHERE {}

      Now the integer "42" is part of the object

      DELETE WHERE { <> test:foo 42 }

      The integer "42" is still part of the object. This applies to all non-string literals.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                acoburn Aaron Coburn
                Reporter:
                acoburn Aaron Coburn
                Reviewer:
                A. Soroka
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: