Unverified Commit 34dffb8c authored by Maxime Lefrançois's avatar Maxime Lefrançois
Browse files

closes #11: delete redundancies in the description

parent 050fe518
Loading
Loading
Loading
Loading
+43 −152
Original line number Diff line number Diff line
@@ -62,36 +62,16 @@ vann:preferredNamespaceUri a owl:AnnotationProperty .
  rdfs:label "encapsulates"@en .


:hasColor a owl:ObjectProperty ;
  rdfs:comment "A relation between a light emitted and its color."@en ;
  rdfs:label "has color"@en .


:hasDigitalRepresentation a owl:ObjectProperty , owl:InverseFunctionalProperty ;
  rdfs:comment "A relation between a physical object and the digital representation in which it is encapsulated."@en ;
  rdfs:label "has digital representation"@en .


:hasFrequencyMeasurement a owl:ObjectProperty ;
  rdfs:comment "The relation between a device and the frequency in which it makes measurements."@en ;
  rdfs:label "has frequency measurement"@en .


:hasGeometry a owl:ObjectProperty ;
  rdfs:comment "A relation between a light emitted and the shape it is projected in."@en ;
  rdfs:label "has geometry"@en .


:hasLightPoint a owl:ObjectProperty ;
  rdfs:comment "A relation between a lamppost and its light points"@en ;
  rdfs:label "has light point"@en .


:hasTransmissionPeriod a owl:ObjectProperty ;
  rdfs:comment "The relation between a device and the period in which it transmit information."@en ;
  rdfs:label "has transmission period"@en .


:isAccesibleThrough a owl:ObjectProperty , owl:FunctionalProperty ;
  rdfs:comment "The relation between a digital representation and the service which it is accesible through."@en ;
  rdfs:label "is accesible through"@en .
@@ -102,16 +82,6 @@ vann:preferredNamespaceUri a owl:AnnotationProperty .
  rdfs:label "is component of"@en .


:isProjectedFromHeight a owl:ObjectProperty ;
  rdfs:comment "A relation between a light and the height measurement from which it is projected."@en ;
  rdfs:label "is projected from height"@en .


:isProjectedInDirection a owl:ObjectProperty ;
  rdfs:comment "A relation between a light and the direction in which it is projected."@en ;
  rdfs:label "is projected in direction"@en .


:projectsLight a owl:ObjectProperty ;
  rdfs:comment "A relation between a lamppost or a light point and the light (or lights) they might project."@en ;
  rdfs:label "projects light"@en .
@@ -131,25 +101,12 @@ vann:preferredNamespaceUri a owl:AnnotationProperty .
#    Data properties
#################################################################


:hasFlash a owl:DatatypeProperty , owl:FunctionalProperty ;
  rdfs:range xsd:boolean ;
  rdfs:comment "A relationship stating whether a light has flash."@en ;
  rdfs:label "has flash"@en .


:hasProjectionAngle a owl:DatatypeProperty , owl:FunctionalProperty ;
  rdfs:range xsd:float ;
  rdfs:comment "A relationship defining the projection angle of an entity (e.g., a light)."@en ;
  rdfs:label "has projection angle"@en .


:hasRevisionNumber a owl:DatatypeProperty ;
  rdfs:range xsd:string ;
  rdfs:comment "A relationship defining the revision number of a certain entity (e.g., a device)"@en ;
  rdfs:label "has revision number"@en .


:hasShield a owl:DatatypeProperty , owl:FunctionalProperty ;
  rdfs:range xsd:boolean ;
  rdfs:comment "A relationship stating whether a lamppost has a shield."@en ;
@@ -162,22 +119,11 @@ vann:preferredNamespaceUri a owl:AnnotationProperty .
  rdfs:label "has tag"@en .


:hasVersion a owl:DatatypeProperty , owl:FunctionalProperty ;
  rdfs:range xsd:string ;
  rdfs:comment "A relationship defining the version  of a certain entity (e.g., a device)"@en ;
  rdfs:label "has version"@en .


#################################################################
#    Classes
#################################################################


:Color a owl:Class ;
  rdfs:comment "Color of the emitted light. It might be indicated by named colors or using other type of color values like hexadecimal for RGB, color temperature, etc."@en ;
  rdfs:label "Color"@en .


:CommunicationInterface a owl:Class ;
  rdfs:subClassOf [ a owl:Restriction ;
    owl:onProperty :hasVersion ;
@@ -197,11 +143,6 @@ vann:preferredNamespaceUri a owl:AnnotationProperty .
  rdfs:label "Communication protocol"@en .


:CompassDirection a owl:Class ;
  rdfs:comment "The four cardinal directions or cardinal points are the directions of north, east, south, and west, commonly denoted by their initials: N, E, S, W. East and west are at right angles to north and south, with east being in the clockwise direction of rotation from north and west being directly opposite east. Intermediate points between the four cardinal directions form the points of the compass. (definition taken from https://en.wikipedia.org/wiki/Cardinal_direction)"@en ;
  rdfs:label "Compass direction"@en .


:DigitalRepresentation a owl:Class ;
  rdfs:subClassOf [ a owl:Restriction ;
    owl:onProperty :encapsulates ;
@@ -211,27 +152,10 @@ vann:preferredNamespaceUri a owl:AnnotationProperty .
    owl:onProperty :isAccesibleThrough ;
    owl:allValuesFrom saref:Service
  ] ,
  [ a owl:Restriction ;
    owl:onProperty saref:hasDescription ;
    owl:allValuesFrom xsd:string
  ] ,
  # [ a owl:Restriction ;
  #       owl:onProperty saref:hasName ;
  #     owl:allValuesFrom xsd:string
  # ] ,
  [ a owl:Restriction ;
    owl:onProperty :hasCreationDate ;
    owl:allValuesFrom xsd:dateTime
  ] ,
  [ a owl:Restriction ;
    owl:onProperty :hasTag ;
    owl:allValuesFrom xsd:string
  ] ,
  [ a owl:Restriction ;
    owl:onProperty :hasCreationDate ;
    owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
    owl:onDataRange xsd:dateTime
  ] ,
  [ a owl:Restriction ;
    owl:onProperty saref:hasIdentifier ;
    owl:maxCardinality "1"^^xsd:nonNegativeInteger
@@ -240,47 +164,6 @@ vann:preferredNamespaceUri a owl:AnnotationProperty .
  rdfs:label "Digital representation"@en .


:FrequencyMeasurement a owl:Class ;
  rdfs:subClassOf saref:Measurement ,
  [ a owl:Restriction ;
    owl:onProperty saref:relatesToProperty ;
  owl:hasValue :Frequency
  ] ,
  [ a owl:Restriction ;
    owl:onProperty saref:isMeasuredIn ;
  owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger ;
    owl:onClass :FrequencyUnit
  ] ;
  rdfs:comment "Represents the measured value made over a frequency property. It is also linked to the frequency unit of measure in which the value is expressed and the timestamp of the measurement."@en ;
  rdfs:label "Frequency measurement"@en .


:FrequencyUnit a owl:Class ;
  rdfs:subClassOf saref:UnitOfMeasure ;
  rdfs:comment "Unit of measure for the quantity frequency."@en ;
  rdfs:label "Frequency unit"@en .


:Geometry a owl:Class ;
  rdfs:comment "Represents the shape of the light emission. It might be instantiated by individuals like \"spherical\", \"cylindrical\", etc. even though it is open to more comples representation of geometries using other vocabularies."@en ;
  rdfs:label "Geometry"@en .


:HeightMeasurement a owl:Class ;
  rdfs:subClassOf saref:Measurement ,
  [ a owl:Restriction ;
    owl:onProperty saref:relatesToProperty ;
  owl:hasValue :Height
  ] ,
  [ a owl:Restriction ;
    owl:onProperty saref:isMeasuredIn ;
  owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger ;
    owl:onClass :LengthUnit
  ] ;
  rdfs:comment "Represents the measured value made over a height property. It is also linked to the height unit of measure in which the value is expressed and the timestamp of the measurement."@en ;
  rdfs:label "Height measurement"@en .


:Lamppost a owl:Class ;
  rdfs:subClassOf :Device ,
  [ a owl:Restriction ;
@@ -299,36 +182,26 @@ vann:preferredNamespaceUri a owl:AnnotationProperty .
  rdfs:label "Lamppost"@en .


:LengthUnit a owl:Class ;
  rdfs:subClassOf saref:UnitOfMeasure ;
  rdfs:comment "Unit of measure for the quantity lenght."@en ;
  rdfs:label "Length unit"@en .


:Light a owl:Class ;
  rdfs:subClassOf [ a owl:Restriction ;
    owl:onProperty :hasColor ;
    owl:allValuesFrom :Color
    owl:onProperty saref:hasProperty ;
    owl:hasValue :Color
  ] ,
  [ a owl:Restriction ;
    owl:onProperty :hasGeometry ;
    owl:allValuesFrom :Geometry
    owl:onProperty saref:hasProperty ;
    owl:hasValue saref:Geometry
  ] ,
  [ a owl:Restriction ;
    owl:onProperty :isProjectedFromHeight ;
    owl:allValuesFrom :HeightMeasurement
    owl:onProperty saref:hasProperty ;
    owl:hasValue :LightProjectionHeight
  ] ,
  [ a owl:Restriction ;
    owl:onProperty :isProjectedInDirection ;
    owl:allValuesFrom :CompassDirection
    owl:onProperty saref:hasProperty ;
    owl:hasValue :LightProjectionDirection
  ] ,
  [ a owl:Restriction ;
    owl:onProperty :hasFlash ;
    owl:allValuesFrom xsd:boolean
  ] ,
  [ a owl:Restriction ;
    owl:onProperty :hasProjectionAngle ;
    owl:allValuesFrom xsd:float
    owl:onProperty saref:hasState ;
    owl:hasValue :LightFlash
  ] ;
  rdfs:comment "A light source, which may be a lantern, a street light, a floodlight, a signal lamp or any other device whose primary purpose is the generation of light. (Definition taken from http://wiki.openstreetmap.org/wiki/Proposed_features/Key:light_source#Description)"@en ;
  rdfs:label "Light"@en .
@@ -350,21 +223,6 @@ vann:preferredNamespaceUri a owl:AnnotationProperty .
  rdfs:label "Light property"@en .


:PeriodMeasurement a owl:Class ;
  rdfs:subClassOf saref:Measurement ,
  [ a owl:Restriction ;
    owl:onProperty saref:relatesToProperty ;
  owl:hasValue :Period
  ] ,
  [ a owl:Restriction ;
    owl:onProperty saref:isMeasuredIn ;
  owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger ;
    owl:onClass time:TemporalUnit
  ] ;
  rdfs:comment "Represents the measured value over a period property. It is also linked to the period unit of measure in which the value is expressed and the timestamp of the measurement."@en ;
  rdfs:label "Period measurement"@en .


:Photometer a owl:Class ;
  rdfs:subClassOf saref:Sensor ,
  [ a owl:Restriction ;
@@ -444,3 +302,36 @@ vann:preferredNamespaceUri a owl:AnnotationProperty .
  rdfs:comment "An individual representing the light property scattering of light."@en ;
  rdfs:label "Scattering of light"@en .


:Color a :LightProperty ;
  rdfs:comment "Color of the emitted light. It might be indicated by named colors or using other type of color values like hexadecimal for RGB, color temperature, etc."@en ;
  rdfs:label "Color"@en .


:Geometry a saref:Property ;
  rdfs:comment "The shape of a light emission. It may be described by individuals like \"spherical\", \"cylindrical\", etc. even though it is open to more complex representation of geometries using other vocabularies."@en ;
  rdfs:label "Geometry"@en .


:ObservationFrequency a saref:Property ;
  skos:broader :Frequency ;
  rdfs:comment "The frequency at which a sensor makes observations."@en ;
  rdfs:label "observation frequency"@en .


:TransmissionPeriod a saref:Property ;
  skos:broader :Period ;
  rdfs:comment "The period of information transmission by a device."@en ;
  rdfs:label "transmission period"@en .


:LightProjectionHeight a saref:Property ;
  skos:broader :Height ;
  rdfs:comment "The height from which a light is projected."@en ;
  rdfs:label "light projection height"@en .


:LightProjectionDirection a saref:Property ;
  rdfs:comment "The direction in which a light is projected."@en ;
  rdfs:label "light projection direction"@en .