|
| 1 | +# Copyright (c) 2022 Robert Bosch Manufacturing Solutions GmbH |
| 2 | +# |
| 3 | +# See the AUTHORS file(s) distributed with this work for |
| 4 | +# additional information regarding authorship. |
| 5 | +# |
| 6 | +# This Source Code Form is subject to the terms of the Mozilla Public |
| 7 | +# License, v. 2.0. If a copy of the MPL was not distributed with this |
| 8 | +# file, You can obtain one at https://mozilla.org/MPL/2.0/. |
| 9 | +# |
| 10 | +# SPDX-License-Identifier: MPL-2.0 |
| 11 | + |
| 12 | +@prefix bamm: <urn:bamm:io.openmanufacturing:meta-model:1.0.0#> . |
| 13 | +@prefix bamm-c: <urn:bamm:io.openmanufacturing:characteristic:1.0.0#> . |
| 14 | +@prefix bamm-e: <urn:bamm:io.openmanufacturing:entity:1.0.0#> . |
| 15 | +@prefix unit: <urn:bamm:io.openmanufacturing:unit:1.0.0#> . |
| 16 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . |
| 17 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
| 18 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . |
| 19 | +@prefix : <urn:bamm:io.openmanufacturing.examples.movement:1.0.0#> . |
| 20 | + |
| 21 | +:Movement a bamm:Aspect ; |
| 22 | + bamm:name "Movement" ; |
| 23 | + bamm:preferredName "movement"@en ; |
| 24 | + bamm:description "Aspect for movement information"@en ; |
| 25 | + bamm:properties ( :isMoving :position :speed :speedLimitWarning ) ; |
| 26 | + bamm:operations ( ) ; |
| 27 | + bamm:events ( ) . |
| 28 | + |
| 29 | +:isMoving a bamm:Property ; |
| 30 | + bamm:name "isMoving" ; |
| 31 | + bamm:preferredName "is moving"@en ; |
| 32 | + bamm:description "Flag indicating whether the asset is currently moving"@en ; |
| 33 | + bamm:characteristic bamm-c:Boolean . |
| 34 | + |
| 35 | +:position a bamm:Property ; |
| 36 | + bamm:name "position" ; |
| 37 | + bamm:preferredName "position"@en ; |
| 38 | + bamm:description "Indicates a position"@en ; |
| 39 | + bamm:characteristic :SpatialPositionCharacteristic . |
| 40 | + |
| 41 | +:speed a bamm:Property ; |
| 42 | + bamm:name "speed" ; |
| 43 | + bamm:preferredName "speed"@en ; |
| 44 | + bamm:description "speed of vehicle"@en ; |
| 45 | + bamm:characteristic :Speed . |
| 46 | + |
| 47 | +:speedLimitWarning a bamm:Property ; |
| 48 | + bamm:name "speedLimitWarning" ; |
| 49 | + bamm:preferredName "speed limit warning"@en ; |
| 50 | + bamm:description "Indicates if the speed limit is adhered to."@en ; |
| 51 | + bamm:characteristic :TrafficLight . |
| 52 | + |
| 53 | +:SpatialPositionCharacteristic a bamm-c:SingleEntity ; |
| 54 | + bamm:name "SpatialPositionCharacteristic" ; |
| 55 | + bamm:preferredName "spatial position characteristic"@en ; |
| 56 | + bamm:description "Represents a single position in space with optional z coordinate."@en ; |
| 57 | + bamm:dataType :SpatialPosition . |
| 58 | + |
| 59 | +:Speed a bamm-c:Measurement ; |
| 60 | + bamm:name "Speed" ; |
| 61 | + bamm:preferredName "speed"@en ; |
| 62 | + bamm:description "Scalar representation of speed of an object in kilometers per hour."@en ; |
| 63 | + bamm:dataType xsd:float ; |
| 64 | + bamm-c:unit unit:kilometrePerHour . |
| 65 | + |
| 66 | +:TrafficLight a bamm-c:Enumeration ; |
| 67 | + bamm:name "TrafficLight" ; |
| 68 | + bamm:preferredName "warning level"@en ; |
| 69 | + bamm:description "Represents if speed of position change is within specification (green), within tolerance (yellow), or outside specification (red)."@en ; |
| 70 | + bamm:dataType xsd:string ; |
| 71 | + bamm-c:values ( "green" "yellow" "red" ) . |
| 72 | + |
| 73 | +:SpatialPosition a bamm:Entity ; |
| 74 | + bamm:name "SpatialPosition" ; |
| 75 | + bamm:preferredName "spatial position"@en ; |
| 76 | + bamm:description "Represents latitude, longitude and altitude information in the WGS84 geodetic reference datum"@en ; |
| 77 | + bamm:see <https://www.w3.org/2003/01/geo/> ; |
| 78 | + bamm:properties ( :latitude :longitude [ bamm:property :altitude; bamm:optional true ] ) . |
| 79 | + |
| 80 | +:latitude a bamm:Property ; |
| 81 | + bamm:name "latitude" ; |
| 82 | + bamm:preferredName "latitude"@en ; |
| 83 | + bamm:description "latitude coordinate in space (WGS84)"@en ; |
| 84 | + bamm:see <http://www.w3.org/2003/01/geo/wgs84_pos#lat> ; |
| 85 | + bamm:characteristic :Coordinate ; |
| 86 | + bamm:exampleValue "9.1781"^^xsd:decimal . |
| 87 | + |
| 88 | +:longitude a bamm:Property ; |
| 89 | + bamm:name "longitude" ; |
| 90 | + bamm:preferredName "longitude"@en ; |
| 91 | + bamm:description "longitude coordinate in space (WGS84)"@en ; |
| 92 | + bamm:see <http://www.w3.org/2003/01/geo/wgs84_pos#long> ; |
| 93 | + bamm:characteristic :Coordinate ; |
| 94 | + bamm:exampleValue "48.80835"^^xsd:decimal . |
| 95 | + |
| 96 | +:altitude a bamm:Property ; |
| 97 | + bamm:name "altitude" ; |
| 98 | + bamm:preferredName "altitude"@en ; |
| 99 | + bamm:description "Elevation above sea level zero"@en ; |
| 100 | + bamm:see <http://www.w3.org/2003/01/geo/wgs84_pos#alt> ; |
| 101 | + bamm:characteristic :MetresAboveMeanSeaLevel ; |
| 102 | + bamm:exampleValue "153"^^xsd:float . |
| 103 | + |
| 104 | +:Coordinate a bamm-c:Measurement ; |
| 105 | + bamm:name "Coordinate" ; |
| 106 | + bamm:preferredName "coordinate"@en ; |
| 107 | + bamm:description "Representing the geographical coordinate"@en ; |
| 108 | + bamm:dataType xsd:decimal ; |
| 109 | + bamm-c:unit unit:degreeUnitOfAngle . |
| 110 | + |
| 111 | +:MetresAboveMeanSeaLevel a bamm-c:Measurement ; |
| 112 | + bamm:name "MetresAboveMeanSeaLevel" ; |
| 113 | + bamm:preferredName "metres above mean sea level"@en ; |
| 114 | + bamm:description "Signifies the vertical distance in reference to a historic mean sea level as a vertical datum"@en ; |
| 115 | + bamm:see <https://en.wikipedia.org/wiki/Height_above_sea_level> ; |
| 116 | + bamm:dataType xsd:float ; |
| 117 | + bamm-c:unit unit:metre . |
0 commit comments