Skip to content

Commit

Permalink
patch2
Browse files Browse the repository at this point in the history
  • Loading branch information
Nataliya Keberle committed Oct 3, 2024
1 parent f581164 commit 5db4adf
Show file tree
Hide file tree
Showing 2 changed files with 79 additions and 86 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
see https://shapechange.net/targets/ontology/uml-rdfowl-based-isois-19150-2/#rule-owl-prop-localScopeAll -->

<rule name="rule-owl-prop-globalScopeAttributes"/>
<!-- <rule name="rule-owl-prop-globalScopeByUniquePropertyName"/> -->
<rule name="rule-owl-prop-globalScopeByUniquePropertyName"/>
<!-- <rule name="rule-owl-prop-globalScopeByConversionParameter"/> -->
<rule name="rule-owl-prop-multiplicityAsQualifiedCardinalityRestriction"/>
<!-- <rule name="rule-owl-prop-multiplicityAsUnqualifiedCardinalityRestriction"/> -->
Expand Down
163 changes: 78 additions & 85 deletions citygml-owl/converted/ACMAPPER/building/building.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,6 @@ bldg:class rdf:type owl:ObjectProperty;
rdfs:label "class"@en;
skos:definition "Indicates the specific type of the BuildingInstallation."@en .

bldg:BuildingUnit.storey
rdf:type owl:ObjectProperty;
rdfs:domain bldg:BuildingUnit;
rdfs:label "storey"@en;
skos:definition "Relates to the storeys on which the BuildingUnit is located."@en .

bldg:BuildingFurniture
rdf:type owl:Class;
rdfs:label "BuildingFurniture"@en;
Expand Down Expand Up @@ -72,7 +66,7 @@ bldg:Storey rdf:type owl:Class;
rdfs:subClassOf bldg:AbstractBuildingSubdivision;
rdfs:subClassOf [ rdf:type owl:Restriction;
owl:allValuesFrom bldg:BuildingUnit;
owl:onProperty bldg:Storey.buildingUnit
owl:onProperty bldg:buildingUnit
];
skos:definition "A Storey is typically a horizontal section of a Building. Storeys are not always defined according to the building structure, but can also be defined according to logical considerations."@en .

Expand All @@ -88,18 +82,35 @@ bldg:AbstractBuilding
owl:onClass bldg:RoofTypeValue;
owl:onProperty bldg:roofType
];
rdfs:subClassOf [ rdf:type owl:Restriction;
owl:allValuesFrom bldg:BuildingInstallation;
owl:onProperty bldg:AbstractBuilding.buildingInstallation
];
rdfs:subClassOf [ rdf:type owl:Restriction;
owl:allValuesFrom bldg:BuildingInstallationUsageValue;
owl:onProperty bldg:usage
];
rdfs:subClassOf [ rdf:type owl:Restriction;
owl:allValuesFrom iso19136-bt:MeasureOrNilReasonList;
owl:onProperty bldg:storeyHeightsBelowGround
];
rdfs:subClassOf [ rdf:type owl:Restriction;
owl:allValuesFrom bldg:BuildingInstallation;
owl:onProperty bldg:AbstractBuilding.buildingInstallation
owl:allValuesFrom bldg:RoofTypeValue;
owl:onProperty bldg:roofType
];
rdfs:subClassOf [ rdf:type owl:Restriction;
owl:allValuesFrom xsd:integer;
owl:onProperty bldg:storeysAboveGround
];
rdfs:subClassOf [ rdf:type owl:Restriction;
owl:allValuesFrom bldg:BuildingInstallationFunctionValue;
owl:onProperty bldg:function
];
rdfs:subClassOf [ rdf:type owl:Restriction;
owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger;
owl:onClass bldg:BuildingInstallationClassValue;
owl:onProperty bldg:class
];
rdfs:subClassOf [ rdf:type owl:Restriction;
owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger;
owl:onClass xsd:integer;
Expand All @@ -108,72 +119,47 @@ bldg:AbstractBuilding
rdfs:subClassOf [ rdf:type owl:Restriction;
owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger;
owl:onClass iso19136-bt:MeasureOrNilReasonList;
owl:onProperty bldg:storeyHeightsAboveGround
owl:onProperty bldg:storeyHeightsBelowGround
];
rdfs:subClassOf [ rdf:type owl:Restriction;
owl:allValuesFrom xsd:integer;
owl:onProperty bldg:storeysBelowGround
];
rdfs:subClassOf [ rdf:type owl:Restriction;
owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger;
owl:onClass bldg:BuildingInstallationClassValue;
owl:onProperty bldg:class
];
rdfs:subClassOf [ rdf:type owl:Restriction;
owl:allValuesFrom bldg:RoofTypeValue;
owl:onProperty bldg:roofType
];
rdfs:subClassOf [ rdf:type owl:Restriction;
owl:allValuesFrom iso19136-bt:MeasureOrNilReasonList;
owl:onProperty bldg:storeyHeightsAboveGround
];
rdfs:subClassOf [ rdf:type owl:Restriction;
owl:allValuesFrom bldg:BuildingInstallationClassValue;
owl:onProperty bldg:class
];
rdfs:subClassOf [ rdf:type owl:Restriction;
owl:allValuesFrom bldg:BuildingInstallationUsageValue;
owl:onProperty bldg:usage
];
rdfs:subClassOf [ rdf:type owl:Restriction;
owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger;
owl:onClass xsd:integer;
owl:onProperty bldg:storeysAboveGround
];
rdfs:subClassOf [ rdf:type owl:Restriction;
owl:allValuesFrom xsd:integer;
owl:onProperty bldg:storeysAboveGround
];
rdfs:subClassOf [ rdf:type owl:Restriction;
owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger;
owl:onClass iso19136-bt:MeasureOrNilReasonList;
owl:onProperty bldg:storeyHeightsBelowGround
owl:onProperty bldg:storeyHeightsAboveGround
];
rdfs:subClassOf [ rdf:type owl:Restriction;
owl:allValuesFrom iso19136-bt:MeasureOrNilReasonList;
owl:onProperty bldg:storeyHeightsAboveGround
];
iso19150-2:isAbstract true;
skos:definition "AbstractBuilding is an abstract superclass representing the common attributes and associations of the classes Building and BuildingPart."@en .

bldg:RoomHeight rdf:type owl:Class;
rdfs:label "RoomHeight"@en;
rdfs:subClassOf [ rdf:type owl:Restriction;
owl:allValuesFrom bldg:RoomElevationReferenceValue;
owl:onProperty bldg:highReference
rdfs:subClassOf [ rdf:type owl:Restriction;
owl:onClass sc:Measure;
owl:onProperty bldg:value;
owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger
];
rdfs:subClassOf [ rdf:type owl:Restriction;
owl:allValuesFrom bldg:RoomElevationReferenceValue;
owl:onProperty bldg:lowReference
];
rdfs:subClassOf [ rdf:type owl:Restriction;
owl:allValuesFrom con:HeightStatusValue;
owl:onProperty bldg:status
];
rdfs:subClassOf [ rdf:type owl:Restriction;
owl:onClass con:HeightStatusValue;
owl:onProperty bldg:status;
owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger
owl:onProperty bldg:highReference
];
rdfs:subClassOf [ rdf:type owl:Restriction;
owl:onClass sc:Measure;
owl:onProperty bldg:value;
owl:onClass bldg:RoomElevationReferenceValue;
owl:onProperty bldg:lowReference;
owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger
];
rdfs:subClassOf [ rdf:type owl:Restriction;
Expand All @@ -182,19 +168,25 @@ bldg:RoomHeight rdf:type owl:Class;
];
rdfs:subClassOf [ rdf:type owl:Restriction;
owl:onClass bldg:RoomElevationReferenceValue;
owl:onProperty bldg:lowReference;
owl:onProperty bldg:highReference;
owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger
];
rdfs:subClassOf [ rdf:type owl:Restriction;
owl:onClass bldg:RoomElevationReferenceValue;
owl:onProperty bldg:highReference;
owl:onClass con:HeightStatusValue;
owl:onProperty bldg:status;
owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger
];
rdfs:subClassOf [ rdf:type owl:Restriction;
owl:allValuesFrom bldg:RoomElevationReferenceValue;
owl:onProperty bldg:lowReference
];
rdfs:subClassOf [ rdf:type owl:Restriction;
owl:allValuesFrom con:HeightStatusValue;
owl:onProperty bldg:status
];
skos:definition "The RoomHeight represents a vertical distance (measured or estimated) between a low reference and a high reference. [cf. INSPIRE]"@en .

bldg:Storey.buildingUnit
rdf:type owl:ObjectProperty;
rdfs:domain bldg:Storey;
bldg:buildingUnit rdf:type owl:ObjectProperty;
rdfs:label "buildingUnit"@en;
skos:definition "Relates to the building units that belong to the Storey."@en .

Expand All @@ -208,6 +200,15 @@ bldg:roomHeight rdf:type owl:ObjectProperty;
owl:imports <http://shapechange.net/resources/ont/base> , <http://def.isotc211.org/iso19150/-2/2012/base>;
skos:definition "The Building module supports representation of thematic and spatial aspects of buildings, building parts, building installations, building subdivisions, and interior building structures."@en .

bldg:buildingFurniture
rdf:type owl:ObjectProperty;
rdfs:label "buildingFurniture"@en;
skos:definition "Relates the furniture objects to the building subdivision."@en .

bldg:buildingPart rdf:type owl:ObjectProperty;
rdfs:label "buildingPart"@en;
skos:definition "Relates the building parts to the Building."@en .

bldg:AbstractBuilding.buildingInstallation
rdf:type owl:ObjectProperty;
rdfs:domain bldg:AbstractBuilding;
Expand All @@ -233,26 +234,14 @@ bldg:Building rdf:type owl:Class;
rdfs:subClassOf bldg:AbstractBuilding;
rdfs:subClassOf [ rdf:type owl:Restriction;
owl:allValuesFrom bldg:BuildingPart;
owl:onProperty bldg:Building.buildingPart
owl:onProperty bldg:buildingPart
];
skos:definition "A Building is a free-standing, self-supporting construction that is roofed, usually walled, and can be entered by humans and is normally designed to stand permanently in one place. It is intended for human occupancy (e.g. a place of work or recreation), habitation and/or shelter of humans, animals or things."@en .

bldg:function rdf:type owl:ObjectProperty;
rdfs:label "function"@en;
skos:definition "Specifies the intended purposes of the BuildingInstallation."@en .

bldg:Building.buildingPart
rdf:type owl:ObjectProperty;
rdfs:domain bldg:Building;
rdfs:label "buildingPart"@en;
skos:definition "Relates the building parts to the Building."@en .

bldg:AbstractBuildingSubdivision.buildingFurniture
rdf:type owl:ObjectProperty;
rdfs:domain bldg:AbstractBuildingSubdivision;
rdfs:label "buildingFurniture"@en;
skos:definition "Relates the furniture objects to the building subdivision."@en .

bldg:value rdf:type owl:DatatypeProperty;
rdfs:label "value"@en;
skos:definition "Specifies the value of the room height."@en .
Expand All @@ -263,33 +252,41 @@ bldg:BuildingRoom.buildingInstallation
rdfs:label "buildingInstallation"@en;
skos:definition "Relates the installation objects to the BuildingRoom."@en .

bldg:highReference rdf:type owl:ObjectProperty;
rdfs:label "highReference"@en;
skos:definition "Indicates the high point used to calculate the value of the room height."@en .

bldg:BuildingUnit rdf:type owl:Class;
rdfs:label "BuildingUnit"@en;
rdfs:subClassOf bldg:AbstractBuildingSubdivision;
rdfs:subClassOf [ rdf:type owl:Restriction;
owl:allValuesFrom bldg:Storey;
owl:onProperty bldg:BuildingUnit.storey
owl:onProperty bldg:storey
];
skos:definition "A BuildingUnit is a logical subdivision of a Building. BuildingUnits are formed according to some homogeneous property like function, ownership, management, or accessibility. They may be separately sold, rented out, inherited, managed, etc."@en .

bldg:highReference rdf:type owl:ObjectProperty;
rdfs:label "highReference"@en;
skos:definition "Indicates the high point used to calculate the value of the room height."@en .

bldg:AbstractBuildingSubdivision
rdf:type owl:Class;
rdfs:label "AbstractBuildingSubdivision"@en;
rdfs:subClassOf [ rdf:type owl:Restriction;
owl:allValuesFrom bldg:BuildingFurniture;
owl:onProperty bldg:AbstractBuildingSubdivision.buildingFurniture
owl:allValuesFrom bldg:BuildingInstallationClassValue;
owl:onProperty bldg:class
];
rdfs:subClassOf [ rdf:type owl:Restriction;
owl:allValuesFrom xsd:double;
owl:onProperty bldg:sortKey
];
rdfs:subClassOf [ rdf:type owl:Restriction;
owl:allValuesFrom bldg:BuildingInstallationUsageValue;
owl:onProperty bldg:usage
owl:allValuesFrom bldg:BuildingInstallationFunctionValue;
owl:onProperty bldg:function
];
rdfs:subClassOf [ rdf:type owl:Restriction;
owl:allValuesFrom bldg:BuildingFurniture;
owl:onProperty bldg:buildingFurniture
];
rdfs:subClassOf [ rdf:type owl:Restriction;
owl:allValuesFrom owl:Thing;
owl:onProperty bldg:elevation
];
rdfs:subClassOf [ rdf:type owl:Restriction;
owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger;
Expand All @@ -302,16 +299,8 @@ bldg:AbstractBuildingSubdivision
owl:onProperty bldg:class
];
rdfs:subClassOf [ rdf:type owl:Restriction;
owl:allValuesFrom bldg:BuildingInstallationClassValue;
owl:onProperty bldg:class
];
rdfs:subClassOf [ rdf:type owl:Restriction;
owl:allValuesFrom owl:Thing;
owl:onProperty bldg:elevation
];
rdfs:subClassOf [ rdf:type owl:Restriction;
owl:allValuesFrom bldg:BuildingInstallationFunctionValue;
owl:onProperty bldg:function
owl:allValuesFrom bldg:BuildingInstallationUsageValue;
owl:onProperty bldg:usage
];
iso19150-2:isAbstract true;
skos:definition "AbstractBuildingSubdivision is the abstract superclass for different kinds of logical building subdivisions."@en .
Expand Down Expand Up @@ -355,6 +344,10 @@ bldg:sortKey rdf:type owl:DatatypeProperty;
rdfs:label "sortKey"@en;
skos:definition "Defines an order among the objects that belong to the building subdivision. An example is the sorting of storeys."@en .

bldg:storey rdf:type owl:ObjectProperty;
rdfs:label "storey"@en;
skos:definition "Relates to the storeys on which the BuildingUnit is located."@en .

bldg:storeysAboveGround
rdf:type owl:DatatypeProperty;
rdfs:label "storeysAboveGround"@en;
Expand Down

0 comments on commit 5db4adf

Please sign in to comment.