Uploaded image for project: 'Blazegraph (by SYSTAP)'
  1. Blazegraph (by SYSTAP)
  2. BLZG-1200

REGEX not working for string literals with language tags

    Details

    • Type: Bug
    • Status: Done
    • Priority: Highest
    • Resolution: Done
    • Affects Version/s: BLAZEGRAPH_RELEASE_1_5_1
    • Fix Version/s: BLAZEGRAPH_2_1_0
    • Component/s: Query Engine
    • Labels:
      None

      Description

      REGEX should take any any string literal as argument, including plain literals with language tags, see http://www.w3.org/TR/sparql11-query/#func-strings

      Currently REGEX only matches correctly for simple literals, not for literals with language tags.
      I.e., the following will not match for literals with language tags:

      FILTER regex(?z, ".*")

      It does match with an explicit string conversion:

      FILTER regex(str(?z), ".*")

        Activity

        Hide
        beebs Brad Bebee added a comment -
        Show
        beebs Brad Bebee added a comment - CI is clean in https://github.com/SYSTAP/bigdata/pull/320 .

          People

          • Assignee:
            beebs Brad Bebee
            Reporter:
            peterhaase peterhaase
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: