Skip to content

Validating files against the wrong SHACL file #16

Description

@melanieWacker

I used the validation tool to validate a bf:Work description. By accident, I loaded the wrong Shacl file -- the one for bf:Instance and it validated just fine. I had noticed that once before when I accidentally used the Shacl for the wrong format type. In both cases I noticed simply because I knew that my RDF files SHOULD cause some errors so I looked for the problem. But if I hadn't I would have just assumed that my data is good.

So my question is: When I use the Shacl file for the Instance for a Work, shouldn't it tell me that all kinds of things are missing, such as bf:Instance or bf:Print and the required instance fields? Could we adjust the validation so that it catches such errors?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions