-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
387,572 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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,10 @@ | ||
#!/bin/bash | ||
|
||
# Iterate over all .ttl files in the current directory | ||
find static/schema -type f -name '*.ttl' | while read -r file; do | ||
# Get the base name without the .ttl extension | ||
base="${file%.ttl}" | ||
|
||
# Copy the file to a new file without the .ttl suffix | ||
cp "$file" "$base" | ||
done |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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,299 @@ | ||
@prefix : <https://brickschema.org/schema/1.0.2/BrickFrame#> . | ||
@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
@prefix xml: <http://www.w3.org/XML/1998/namespace> . | ||
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
|
||
<https://brickschema.org/schema/1.0.2/BrickFrame> a owl:Ontology . | ||
# | ||
# | ||
# ################################################################# | ||
# # | ||
# # Annotation properties | ||
# # | ||
# ################################################################# | ||
# | ||
# | ||
# https://brickschema.org/schema/1.0.2/BrickFrame#equivalentTagSet | ||
|
||
:equivalentTagSet a owl:AnnotationProperty . | ||
# | ||
# https://brickschema.org/schema/1.0.2/BrickFrame#isHierarchical | ||
|
||
:isHierarchical a owl:AnnotationProperty . | ||
# | ||
# https://brickschema.org/schema/1.0.2/BrickFrame#similarTagSet | ||
|
||
:similarTagSet a owl:AnnotationProperty ; | ||
rdfs:range :TagSet ; | ||
rdfs:domain :TagSet . | ||
|
||
# | ||
# https://brickschema.org/schema/1.0.2/BrickFrame#usedBy | ||
|
||
:usedBy a owl:AnnotationProperty . | ||
|
||
# | ||
# https://brickschema.org/schema/1.0.2/BrickFrame#usedByDimension | ||
|
||
:usedByDimension a owl:AnnotationProperty ; | ||
rdfs:subPropertyOf :usedBy . | ||
|
||
# | ||
# https://brickschema.org/schema/1.0.2/BrickFrame#usedByPoint | ||
|
||
:usedByPoint a owl:AnnotationProperty ; | ||
rdfs:subPropertyOf :usedByDimension . | ||
# | ||
# https://brickschema.org/schema/1.0.2/BrickFrame#usesDimension | ||
|
||
:usesDimension a owl:AnnotationProperty ; | ||
owl:inverseOf :usedByDimension . | ||
# | ||
# https://brickschema.org/schema/1.0.2/BrickFrame#usesEquipment | ||
|
||
:usesEquipment a owl:AnnotationProperty ; | ||
rdfs:subPropertyOf :usesDimension . | ||
# | ||
# https://brickschema.org/schema/1.0.2/BrickFrame#usesLocation | ||
|
||
:usesLocation a owl:AnnotationProperty ; | ||
rdfs:subPropertyOf :usesDimension . | ||
# | ||
# https://brickschema.org/schema/1.0.2/BrickFrame#usesMeasurement | ||
|
||
:usesMeasurement a owl:AnnotationProperty ; | ||
rdfs:subPropertyOf :usesDimension . | ||
# | ||
# https://brickschema.org/schema/1.0.2/BrickFrame#usesPoint | ||
|
||
:usesPoint a owl:AnnotationProperty ; | ||
rdfs:subPropertyOf :usesDimension . | ||
# | ||
# https://brickschema.org/schema/1.0.2/BrickFrame#usesTag | ||
|
||
:usesTag a owl:AnnotationProperty . | ||
# | ||
# | ||
# | ||
# ################################################################# | ||
# # | ||
# # Object Properties | ||
# # | ||
# ################################################################# | ||
# | ||
# | ||
# https://brickschema.org/schema/1.0.2/BrickFrame#contains | ||
|
||
:contains a owl:ObjectProperty ; | ||
owl:inverseOf :isLocatedIn . | ||
# | ||
# https://brickschema.org/schema/1.0.2/BrickFrame#controls | ||
|
||
:controls a owl:ObjectProperty ; | ||
owl:inverseOf :isControlledBy ; | ||
a owl:AsymmetricProperty , owl:IrreflexiveProperty . | ||
# | ||
# https://brickschema.org/schema/1.0.2/BrickFrame#feeds | ||
|
||
:feeds a owl:ObjectProperty ; | ||
owl:inverseOf :isFedBy ; | ||
a owl:AsymmetricProperty , owl:IrreflexiveProperty . | ||
# | ||
# https://brickschema.org/schema/1.0.2/BrickFrame#hasInput | ||
|
||
:hasInput a owl:ObjectProperty ; | ||
owl:inverseOf :isInputOf ; | ||
a owl:AsymmetricProperty , owl:IrreflexiveProperty ; | ||
rdfs:domain :FunctionBlock ; | ||
rdfs:range :Signal . | ||
# | ||
# https://brickschema.org/schema/1.0.2/BrickFrame#hasMeasurement | ||
|
||
:hasMeasurement a owl:ObjectProperty ; | ||
owl:inverseOf :isMeasuredBy . | ||
# | ||
# https://brickschema.org/schema/1.0.2/BrickFrame#hasOutput | ||
|
||
:hasOutput a owl:ObjectProperty ; | ||
owl:inverseOf :isOutputOf ; | ||
a owl:AsymmetricProperty , owl:IrreflexiveProperty ; | ||
rdfs:domain :FunctionBlock ; | ||
rdfs:range :Signal . | ||
# | ||
# https://brickschema.org/schema/1.0.2/BrickFrame#hasPart | ||
|
||
:hasPart a owl:ObjectProperty ; | ||
owl:inverseOf :isPartOf ; | ||
a owl:AsymmetricProperty , owl:TransitiveProperty , owl:IrreflexiveProperty . | ||
# | ||
# https://brickschema.org/schema/1.0.2/BrickFrame#hasPoint | ||
|
||
:hasPoint a owl:ObjectProperty ; | ||
owl:inverseOf :isPointOf ; | ||
a owl:AsymmetricProperty , owl:IrreflexiveProperty ; | ||
rdfs:range :Point . | ||
# | ||
# https://brickschema.org/schema/1.0.2/BrickFrame#hasSubAsset | ||
|
||
:hasSubAsset a owl:ObjectProperty , owl:AsymmetricProperty , owl:TransitiveProperty , owl:IrreflexiveProperty . | ||
# | ||
# https://brickschema.org/schema/1.0.2/BrickFrame#hasTag | ||
|
||
:hasTag a owl:ObjectProperty ; | ||
owl:inverseOf :isTagOf ; | ||
a owl:AsymmetricProperty , owl:IrreflexiveProperty ; | ||
rdfs:domain :Taggable ; | ||
rdfs:range :Tag . | ||
# | ||
# https://brickschema.org/schema/1.0.2/BrickFrame#hasTagSet | ||
|
||
:hasTagSet a owl:ObjectProperty ; | ||
owl:inverseOf :isTagSetOf ; | ||
a owl:AsymmetricProperty , owl:IrreflexiveProperty ; | ||
rdfs:domain :Taggable ; | ||
rdfs:range :TagSet . | ||
# | ||
# https://brickschema.org/schema/1.0.2/BrickFrame#hasToken | ||
|
||
:hasToken a owl:ObjectProperty ; | ||
owl:inverseOf :isTokenOf ; | ||
a owl:AsymmetricProperty , owl:IrreflexiveProperty ; | ||
rdfs:domain :Label ; | ||
rdfs:range :Token . | ||
# | ||
# https://brickschema.org/schema/1.0.2/BrickFrame#isControlledBy | ||
|
||
:isControlledBy a owl:ObjectProperty . | ||
# | ||
# https://brickschema.org/schema/1.0.2/BrickFrame#isFedBy | ||
|
||
:isFedBy a owl:ObjectProperty . | ||
# | ||
# https://brickschema.org/schema/1.0.2/BrickFrame#isInputOf | ||
|
||
:isInputOf a owl:ObjectProperty ; | ||
rdfs:domain :Signal ; | ||
rdfs:range :FunctionBlock . | ||
# | ||
# https://brickschema.org/schema/1.0.2/BrickFrame#isLocatedIn | ||
|
||
:isLocatedIn a owl:ObjectProperty , owl:AsymmetricProperty , owl:TransitiveProperty , owl:IrreflexiveProperty . | ||
# | ||
# https://brickschema.org/schema/1.0.2/BrickFrame#isMeasuredBy | ||
|
||
:isMeasuredBy a owl:ObjectProperty , owl:AsymmetricProperty , owl:TransitiveProperty , owl:IrreflexiveProperty . | ||
# | ||
# https://brickschema.org/schema/1.0.2/BrickFrame#isOutputOf | ||
|
||
:isOutputOf a owl:ObjectProperty , owl:AsymmetricProperty , owl:IrreflexiveProperty ; | ||
rdfs:domain :Signal ; | ||
rdfs:range :FunctionBlock . | ||
# | ||
# https://brickschema.org/schema/1.0.2/BrickFrame#isPartOf | ||
|
||
:isPartOf a owl:ObjectProperty , owl:AsymmetricProperty , owl:TransitiveProperty , owl:IrreflexiveProperty . | ||
# | ||
# https://brickschema.org/schema/1.0.2/BrickFrame#isPointOf | ||
|
||
:isPointOf a owl:ObjectProperty , owl:AsymmetricProperty , owl:IrreflexiveProperty ; | ||
rdfs:range :Point . | ||
# | ||
# https://brickschema.org/schema/1.0.2/BrickFrame#isTagOf | ||
|
||
:isTagOf a owl:ObjectProperty , owl:AsymmetricProperty , owl:IrreflexiveProperty ; | ||
rdfs:domain :Tag ; | ||
rdfs:range :Taggable . | ||
# | ||
# https://brickschema.org/schema/1.0.2/BrickFrame#isTagSetOf | ||
|
||
:isTagSetOf a owl:ObjectProperty , owl:AsymmetricProperty , owl:IrreflexiveProperty ; | ||
rdfs:domain :TagSet ; | ||
rdfs:range :Taggable . | ||
# | ||
# https://brickschema.org/schema/1.0.2/BrickFrame#isTokenOf | ||
|
||
:isTokenOf a owl:ObjectProperty , owl:AsymmetricProperty , owl:IrreflexiveProperty ; | ||
rdfs:domain :Token ; | ||
rdfs:range :Label . | ||
# | ||
# | ||
# | ||
# ################################################################# | ||
# # | ||
# # Classes | ||
# # | ||
# ################################################################# | ||
# | ||
# | ||
# https://brickschema.org/schema/1.0.2/BrickFrame#Equipment | ||
|
||
:Equipment a owl:Class ; | ||
rdfs:subClassOf :Taggable . | ||
# | ||
# https://brickschema.org/schema/1.0.2/BrickFrame#FunctionBlock | ||
|
||
:FunctionBlock a owl:Class . | ||
# | ||
# https://brickschema.org/schema/1.0.2/BrickFrame#Label | ||
|
||
:Label a owl:Class ; | ||
rdfs:subClassOf :Taggable , _:genid1 . | ||
|
||
_:genid1 a owl:Restriction ; | ||
owl:onProperty :hasToken ; | ||
owl:someValuesFrom :Token . | ||
# | ||
# https://brickschema.org/schema/1.0.2/BrickFrame#Location | ||
|
||
:Location a owl:Class ; | ||
rdfs:subClassOf :Taggable . | ||
# | ||
# https://brickschema.org/schema/1.0.2/BrickFrame#ObservedSignal | ||
|
||
:ObservedSignal a owl:Class ; | ||
rdfs:subClassOf :Signal . | ||
# | ||
# https://brickschema.org/schema/1.0.2/BrickFrame#Point | ||
|
||
:Point a owl:Class ; | ||
rdfs:subClassOf :Taggable . | ||
# | ||
# https://brickschema.org/schema/1.0.2/BrickFrame#Signal | ||
|
||
:Signal a owl:Class . | ||
# | ||
# https://brickschema.org/schema/1.0.2/BrickFrame#Tag | ||
|
||
:Tag a owl:Class . | ||
# | ||
# https://brickschema.org/schema/1.0.2/BrickFrame#TagSet | ||
|
||
:TagSet a owl:Class . | ||
# | ||
# https://brickschema.org/schema/1.0.2/BrickFrame#Taggable | ||
|
||
:Taggable a owl:Class . | ||
# | ||
# https://brickschema.org/schema/1.0.2/BrickFrame#Token | ||
|
||
:Token a owl:Class ; | ||
rdfs:subClassOf :Taggable , _:genid2 . | ||
|
||
_:genid2 a owl:Restriction ; | ||
owl:onProperty :hasTag ; | ||
owl:someValuesFrom :Token . | ||
|
||
:Token rdfs:subClassOf _:genid3 . | ||
|
||
_:genid3 a owl:Restriction ; | ||
owl:onProperty :hasTagSet ; | ||
owl:someValuesFrom :TagSet . | ||
# | ||
# https://brickschema.org/schema/1.0.2/BrickFrame#UnobservedSignal | ||
|
||
:UnobservedSignal a owl:Class ; | ||
rdfs:subClassOf :Signal . | ||
# | ||
# Generated by the OWL API (version 1.0.2.20151118-2017) https://github.com/owlcs/owlapi |
Oops, something went wrong.