-
Notifications
You must be signed in to change notification settings - Fork 90
Adding automation groups #747
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
Open
gtfierro
wants to merge
9
commits into
master
Choose a base branch
from
fix-issue-722
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
978b8d0
adding automation groups
gtfierro 444a0fd
remove old rec def
gtfierro a9ba9d9
fix message
gtfierro f2e34fb
add automation group
gtfierro cb8db13
Merge remote-tracking branch 'origin/master' into fix-issue-722
gtfierro b20cf17
define rdfs
gtfierro f7f0db9
Update examples/collection/collection.ttl
gtfierro c8f6b3d
fix other hasPart constraint
gtfierro 1ec1944
Merge branch 'fix-issue-722' of github.com:BrickSchema/Brick into fix…
gtfierro File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| @prefix brick: <https://brickschema.org/schema/Brick#> . | ||
| @prefix bldg: <urn:example/collection#> . | ||
| @prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
| @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
| @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
| @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
| @prefix mpo: <http://my-private-ontology.com/> . | ||
|
|
||
| <http://example.com/collection> a owl:Ontology ; | ||
| owl:imports <https://brickschema.org/schema/1.4/Brick> . | ||
|
|
||
| # my custom class for frost detection group in my private ontology | ||
| mpo:FrostDetectionGroup a owl:Class ; | ||
| # Here, we did *not* define this as a subclass of brick:Automation_Group. | ||
| # For this reason, bldg:FrostDetection is explicitly typed as both. | ||
| # We can always subclass brick:Automation_Group if needed, and in that | ||
| # case we don't need the explicit rdf:type brick:Automation_Group below. | ||
| rdfs:label "Frost Detection Group" ; | ||
| rdfs:comment "An automation group that includes components for frost detection in an AHU." . | ||
|
|
||
| bldg:Ahu a brick:AHU ; | ||
| brick:hasPart bldg:Hcl ; | ||
| brick:hasPart bldg:Fan ; | ||
| brick:hasPart bldg:FrostDetection . | ||
|
|
||
| bldg:Hcl a brick:Heating_Coil . | ||
|
|
||
| bldg:Fan a brick:Discharge_Fan . | ||
|
|
||
| bldg:FrostDetection a brick:Automation_Group, mpo:FrostDetectionGroup ; | ||
| brick:hasPart bldg:FrostDetectionSensor ; | ||
| brick:hasPart bldg:FrostDetectionMonitoring . | ||
|
|
||
| bldg:FrostDetectionSensor a brick:Sensor_Equipment ; | ||
| brick:hasPoint bldg:FrostDetected . | ||
|
|
||
| bldg:FrostDetectionMonitoring a brick:Enable_Command . | ||
|
|
||
| bldg:FrostDetected a brick:Frost_Sensor . | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.