Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Brick instance validation has an error when validating with Brick v1.3 #313

Open
yunjoonjung-PNNL opened this issue Apr 24, 2024 · 3 comments

Comments

@yunjoonjung-PNNL
Copy link

Hi BuildingMOTIF,

Could you investigate the following issue?

When I validated my brick instance against the Brick-subset.ttl that I downloaded from this repository, the validation was proceeded as expected. However, upon validating the same brick instance against the brick instance (v 1.3) I downloaded from the official brick website, I encountered this error (pyshacl.errors.ConstraintLoadError: NotConstraintComponent must have at most one sh:not predicate.).

FYI, my laptop has

  • Windows 10
  • Python 3.10
  • BuildingMOTIF version 0.2.0b0

I attached my testing files. Please let me know if any clarification is needed.
BMOTIF_validation_test.zip

@gtfierro
Copy link
Collaborator

gtfierro commented Jun 1, 2024

Hey there! No idea why I didn't catch this issue being filed back in April -- sorry about that!

Don't do validation against Brick-subset. It is there to test different things. Do you still see the error when you use Brick 1.4?

@yunjoonjung-PNNL
Copy link
Author

Hi Thanks for the reply.

Can you point me to where I can download the office Brick v 1.4? It seems like the official brick website doesn't have it.

@gtfierro
Copy link
Collaborator

gtfierro commented Jun 8, 2024

Yes! You can find Brick 1.4 under the Brick releases on GitHub. I might also recommend checking out the nighly build: https://github.com/BrickSchema/Brick/releases/tag/nightly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants