Skip to content

Issue with "strange path" tests #124

@martinmaillard

Description

@martinmaillard

Hi,

I'm working on implementing the SHACL Test Suite for rdf-validate-shacl and am having issues with the two "strange path" tests.

The tests define the following expected resultPath: sh:resultPath ( ex:p ex:q ) ;

As far as I know, the spec doesn't specify how to handle these weird paths, so I don't understand why the extraneous inversePath is stripped out.

My ValidationReport graph contains sh:resultPath [ rdf:first ex:p ; rdf:rest [ rdf:first ex:q ; rdf:rest rdf:nil ] ; sh:inversePath ex:p ] ; (copied directly from the shape's sh:path). Shouldn't this be valid?

Metadata

Metadata

Assignees

No one assigned

    Labels

    CoreFor SHACL 1.2 Core spec

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions