Conversation
|
The latest build of the Brick ontology on this PR is available here. |
|
The latest build of the Brick ontology on this PR is available here. |
Co-authored-by: Dogan Fennibay <Dogan.Fennibay.Tr+github@ieee.org>
|
The latest build of the Brick ontology on this PR is available here. |
|
This is the current validation error: My interpretation is that we're now running against the following constraint Brick/bricksrc/root_class_shapes.ttl Lines 49 to 54 in f7f0db9 But urn:example/collection#FrostDetection is of type brick:AutomationGroup. So I don't understand what is going wrong here. Could it be that the SHACL engine is using a cached version or a different format of this ttl file? |
|
The latest build of the Brick ontology on this PR is available here. |
It was actually a different constraint that was getting triggered! I had to add a feature to my SHACL engine to follow blank nodes in the report which let me see what the rest of the shape was. |
|
The latest build of the Brick ontology on this PR is available here. |
|
The latest build of the Brick ontology on this PR is available here. |
|
The latest build of the Brick ontology on this PR is available here. |
|
The latest build of the Brick ontology on this PR is available here. |
|
The latest build of the Brick ontology on this PR is available here. |
|
@gtfierro thank you for preparing this. I think this is now good for the equipment part. The second aspect in #722 was collections within Zones, and I'd like address that part, as well. A typical example is how we structure our room application. The points are organized in folders because they have some shared context, e.g.: Z: Zone:
(Z: Zone, C: Collection, P: Point, E: Equipment) Ref: https://sid.siemens.com/r/A6V11176325/6498277643__6.0_en-US_6419929099 So, can we apply the same principle to rec:Zone or rec:Space where an Automation_Collection can be included within them? /cc @ektrah |
|
I just implemented it, and added a quick example of your Room application: Let me know what you think! |
|
The latest build of the Brick ontology on this PR is available here. |
Co-authored-by: Dogan Fennibay <Dogan.Fennibay.Tr+github@ieee.org>
|
The latest build of the Brick ontology on this PR is available here. |
|
The latest build of the Brick ontology on this PR is available here. |
fennibay
left a comment
There was a problem hiding this comment.
Thanks for updating this.
I put some analysis on the last validation errors.
| brick:Automation_Collection a sh:NodeShape ; | ||
| sh:property [ | ||
| sh:path brick:hasPart ; | ||
| sh:maxCount 0 ; | ||
| sh:message "Automation Collections must use rec:includes instead of brick:hasPart." | ||
| ] ; |
There was a problem hiding this comment.
I think this is colliding with the following rule:
Lines 576 to 598 in b61d72a
That rule inserts a brick:hasPart relationship when there is a rec:includes relationship of a Point_Collection, and here we say that Automation_Collections may not have brick:hasPart relationships.
I would revisit rules.ttl. I think we should keep includes and hasPart separate.
| BRICK.Valve, | ||
| ], | ||
| REC.includes: [ | ||
| BRICK.Automation_Collection, |
There was a problem hiding this comment.
And this is colliding with
Lines 500 to 526 in b61d72a
because that inserts rec:includes where there is a brick:hasPart and here we constrain rec:includes to brick:Automation_Collection only.
I would revisit rules.ttl
Addressing #722