Skip to content

sh:pattern does not allow testing IRIs #230

Open
@afs

Description

@afs

sh:pattern is defined by:

The values of sh:pattern in a shape are valid pattern arguments for the SPARQL REGEX function.

Right. And the first argument is a defined as literal.

# this is valid
BIND(regex(str(<>), 'foo') as ?foo)

# but this is not
BIND(regex(<>, 'foo') as ?foo)

Originally posted by @tpluscode in #228

Isn't this highlighted line a test of sh:pattern against an IRI ...

and this line the corresponding XFAIL result?

Originally posted by @ajnelson-nist in #228

Metadata

Metadata

Assignees

No one assigned

    Labels

    CoreFor SHACL 1.2 Core specErrataFixes for acknowledged errors in the specifications after publication

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions