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

closes #11

parent 34dffb8c
Loading
Loading
Loading
Loading
+129 −199
Original line number Diff line number Diff line
@@ -51,67 +51,32 @@ vann:preferredNamespaceUri a owl:AnnotationProperty .


#################################################################
#    Object Properties
#    Digital Representations
#################################################################

:DigitalRepresentation a owl:Class ;
  rdfs:comment "A digital representation encapsulates a physical object accessible via Web services"@en ;
  rdfs:label "Digital representation"@en .

:encapsulates a owl:ObjectProperty ;
:encapsulates a owl:ObjectProperty , owl:FunctionalProperty;
  rdfs:domain :DigitalRepresentation ;
  rdfs:range [ a owl:Class ; owl:intersectionOf ( [ a owl:Class ; owl:unionOf ( saref:FeatureKind saref:FeatureOfInterest ) ] geo:Feature ) ] ;
  owl:inverseOf :hasDigitalRepresentation ;
  a owl:FunctionalProperty ;
  rdfs:comment "A relation between a digital representation and the physical objects it represents."@en ;
  rdfs:label "encapsulates"@en .


:hasDigitalRepresentation a owl:ObjectProperty , owl:InverseFunctionalProperty ;
  rdfs:domain [ a owl:Class ; owl:unionOf ( saref:FeatureKind saref:FeatureOfInterest ) ] ;
  rdfs:range :DigitalRepresentation ;
  owl:inverseOf :encapsulates ;
  rdfs:comment "A relation between a physical object and the digital representation in which it is encapsulated."@en ;
  rdfs:label "has digital representation"@en .


:hasLightPoint a owl:ObjectProperty ;
  rdfs:comment "A relation between a lamppost and its light points"@en ;
  rdfs:label "has light point"@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 .


:isComponentOf a owl:ObjectProperty , owl:TransitiveProperty ;
  rdfs:comment "A relation between a system and the system it belongs to as a component."@en ;
  rdfs:label "is component of"@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 .


:usesCommunicationInterface a owl:ObjectProperty ;
  rdfs:comment "A relation between a system and the communication interface it uses."@en ;
  rdfs:label "uses communication interface"@en .


:usesCommunicationProtocol a owl:ObjectProperty ;
  rdfs:comment "A relation between a system and the communication protocol it uses."@en ;
  rdfs:label "uses communication protocol"@en .


#################################################################
#    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 .


:hasShield a owl:DatatypeProperty , owl:FunctionalProperty ;
  rdfs:range xsd:boolean ;
  rdfs:comment "A relationship stating whether a lamppost has a shield."@en ;
  rdfs:label "has shield"@en .

:isAccessibleThrough a owl:ObjectProperty , owl:FunctionalProperty ;
  rdfs:domain :DigitalRepresentation ;
  rdfs:range [ a owl:Class ; owl:unionOf ( saref:Service saref:ServiceOfInterest ) ] ;
  rdfs:comment "The relation between a digital representation and the service which it is accessible through."@en ;
  rdfs:label "is accessible through"@en .

:hasTag a owl:DatatypeProperty ;
  rdfs:range xsd:string ;
@@ -120,218 +85,183 @@ vann:preferredNamespaceUri a owl:AnnotationProperty .


#################################################################
#    Classes
#    Communication interfaces and communication protocols
#################################################################


:CommunicationInterface a owl:Class ;
  rdfs:subClassOf [ a owl:Restriction ;
    owl:onProperty :hasVersion ;
    owl:allValuesFrom xsd:string
  ] ,
  [ a owl:Restriction ;
    owl:onProperty :hasVersion ;
    owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
    owl:onDataRange xsd:string
  ] ;
  rdfs:subClassOf s4syst:ConnectionPoint ;
  rdfs:comment "An interface defines which primitive operations and services the lower layer makes available to the upper one, when referring to network layers. (Definition adapted from \"Tanenbaum, A. S. (2003). Computer networks, 4-th edition. ed: Prentice Hall.\")"@en ;
  rdfs:label "Communication interface"@en .


:CommunicationProtocol a owl:Class ;
  rdfs:subClassOf s4syst:Connection ;
  rdfs:comment "A protocol is an agreement between the communicating parties on how communication is to proceed. (Definition taken from \"Tanenbaum, A. S. (2003). Computer networks, 4-th edition. ed: Prentice Hall.\")"@en ;
  rdfs:label "Communication protocol"@en .

:usesCommunicationInterface a owl:ObjectProperty ;
  rdfs:subPropertyOf s4syst:connectsAt ;
  rdfs:comment "A relation between a system and the communication interface it uses."@en ;
  rdfs:label "uses communication interface"@en .

:DigitalRepresentation a owl:Class ;
  rdfs:subClassOf [ a owl:Restriction ;
    owl:onProperty :encapsulates ;
    owl:allValuesFrom [ a owl:Class ; owl:intersectionOf ( saref:FeatureOfInterest geo:Feature ) ]
  ] ,
  [ a owl:Restriction ;
    owl:onProperty :isAccesibleThrough ;
    owl:allValuesFrom saref:Service
  ] ,
  [ a owl:Restriction ;
    owl:onProperty :hasTag ;
    owl:allValuesFrom xsd:string
  ] ,
  [ a owl:Restriction ;
    owl:onProperty saref:hasIdentifier ;
    owl:maxCardinality "1"^^xsd:nonNegativeInteger
  ] ;
  rdfs:comment "A digital representation encapsulates a physical object accessible via Web services"@en ;
  rdfs:label "Digital representation"@en .


:Lamppost a owl:Class ;
  rdfs:subClassOf :Device ,
  [ a owl:Restriction ;
    owl:onProperty :hasLightPoint ;
    owl:allValuesFrom :LightPoint
  ] ,
  [ a owl:Restriction ;
    owl:onProperty :projectsLight ;
    owl:allValuesFrom :Light
  ] ,
  [ a owl:Restriction ;
    owl:onProperty :hasShield ;
    owl:allValuesFrom xsd:boolean
  ] ;
  rdfs:comment "A tall pole with a light at the top."@en ;
  rdfs:label "Lamppost"@en .


:Light a owl:Class ;
  rdfs:subClassOf [ a owl:Restriction ;
    owl:onProperty saref:hasProperty ;
    owl:hasValue :Color
  ] ,
  [ a owl:Restriction ;
    owl:onProperty saref:hasProperty ;
    owl:hasValue saref:Geometry
  ] ,
  [ a owl:Restriction ;
    owl:onProperty saref:hasProperty ;
    owl:hasValue :LightProjectionHeight
  ] ,
  [ a owl:Restriction ;
    owl:onProperty saref:hasProperty ;
    owl:hasValue :LightProjectionDirection
  ] ,
  [ a owl:Restriction ;
    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 .


:LightPoint a owl:Class ;
  rdfs:subClassOf saref:FeatureOfInterest , geo:Feature ,
  [ a owl:Restriction ;
    owl:onProperty :projectsLight ;
    owl:allValuesFrom :Light
  ] ;
  rdfs:comment "An spatial point from where a light is projected. It might belong to a lamppost."@en ;
  rdfs:label "Light point"@en .


:LightProperty a owl:Class ;
  rdfs:subClassOf saref:Property ;
  rdfs:comment "An aspect of light that can be observable by a sensor."@en ;
  rdfs:label "Light property"@en .


:Photometer a owl:Class ;
  rdfs:subClassOf saref:Sensor ,
  [ a owl:Restriction ;
    owl:onProperty saref:measuresProperty ;
  owl:someValuesFrom :LightProperty
  ] ;
  rdfs:comment "A photometer, generally, is an instrument that measures light intensity or optical properties of solutions or surfaces."@en ;
  rdfs:label "Photometer"@en .

:usesCommunicationProtocol a owl:ObjectProperty ;
  rdfs:subPropertyOf s4syst:connectedThrough ;
  rdfs:comment "A relation between a system and the communication protocol it uses."@en ;
  rdfs:label "uses communication protocol"@en .

:TESS a owl:Class ;
  rdfs:subClassOf :Photometer ;
  rdfs:comment "The Telescope Encoder and Sky Sensor (TESS) is a Sky Brightness and Cloud detector developed as a device for a remote observatory. A TESS can observe the light magnitude and other properties as ambient temperature and sky temperature."@en ;
  rdfs:label "TESS (Telescope Encoder and Sky Sensor)"@en .


#################################################################
#    Individuals
#    Generic properties
#################################################################

:Fluorescence a :LightProperty ;
  rdfs:comment "An individual representing the light property fluorescence."@en ;
  rdfs:label "Fluorescence"@en .


:Frequency a saref:Property ;
  rdfs:comment "An individual representing the property frequency."@en ;
  rdfs:label "Frequency"@en .

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

:Height a saref:Property ;
  rdfs:comment "An individual representing the property height."@en ;
  rdfs:label "Height"@en .

:Period a saref:Property ;
  rdfs:comment "An individual representing the property period."@en ;
  rdfs:label "Period"@en .

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



#################################################################
#    Light Properties
#################################################################

:LightProperty a owl:Class ;
  rdfs:subClassOf saref:Property ;
  rdfs:comment "An aspect of light that can be observable by a sensor."@en ;
  rdfs:label "Light property"@en .

:Illuminance a :LightProperty ;
  rdfs:comment "An individual representing the light property illuminance."@en ;
  rdfs:label "Illuminance"@en .


:Irradiance a :LightProperty ;
  rdfs:comment "An individual representing the light property irradiance."@en ;
  rdfs:label "Irradiance"@en .


:LightAbsorption a :LightProperty ;
  rdfs:comment "An individual representing the light property light absorption."@en ;
  rdfs:label "Light absorption"@en .

:ScatteringOfLight a :LightProperty ;
  rdfs:comment "An individual representing the light property scattering of light."@en ;
  rdfs:label "Scattering of light"@en .

:LightMagnitude a :LightProperty ;
  rdfs:comment "An individual representing the light property light magnitude."@en ;
  rdfs:label "Light magnitude"@en .


:Luminiscence a :LightProperty ;
  rdfs:comment "An individual representing the light property luminiscence."@en ;
  rdfs:label "Luminiscence"@en .


:Period a saref:Property ;
  rdfs:comment "An individual representing the property period."@en ;
  rdfs:label "Period"@en .
:ReflectionOfLight a :LightProperty ;
  rdfs:comment "An individual representing the light property reflection of light."@en ;
  rdfs:label "Reflection of light"@en .

:Fluorescence a :LightProperty ;
  rdfs:comment "An individual representing the light property fluorescence."@en ;
  rdfs:label "Fluorescence"@en .

:Phosphorescence a :LightProperty ;
  rdfs:comment "An individual representing the light property phosphorescence."@en ;
  rdfs:label "Phosphorescence"@en .

:LightMagnitude a :LightProperty ;
  rdfs:comment "An individual representing the light property light magnitude."@en ;
  rdfs:label "Light magnitude"@en .

:ReflectionOfLight a :LightProperty ;
  rdfs:comment "An individual representing the light property reflection of light."@en ;
  rdfs:label "Reflection of light"@en .


:ScatteringOfLight a :LightProperty ;
  rdfs:comment "An individual representing the light property scattering of light."@en ;
  rdfs:label "Scattering of light"@en .

:Luminescence a :LightProperty ;
  rdfs:comment "An individual representing the light property luminescence."@en ;
  rdfs:label "Luminescence"@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 .


#################################################################
#    Light
#################################################################

:Light a saref:FeatureKind ;
  saref:hasProperty :Color , :Geometry , :LightProjectionHeight , :LightProjectionDirection ;
  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 .

: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 .

:FlashingLight a saref:FeatureKind ;
  skos:broader :Light ;
  rdfs:comment "A light source that has flash."@en ;
  rdfs:label "Flashing Light"@en .


#################################################################
#    Light Point
#################################################################

:LightPoint a saref:FeatureKind , geo:Feature ;
  :projectsLight :Light ;
  saref:hasProperty :LightProjectionDirection , :LightProjectionHeight ;
  rdfs:comment "An spatial point from where a light is projected. It might belong to a lamppost."@en ;
  rdfs:label "Light point"@en .


#################################################################
#    Lamppost
#################################################################

:Lamppost a saref:DeviceKind ;
  :hasLightPoint :LightPoint ;
  :projectsLight :Light ;
  rdfs:comment "A tall pole with a light at the top."@en ;
  rdfs:label "Lamppost"@en .

:ShieldedLamppost a saref:DeviceKind ;
  skos:broader :Lamppost ;
  rdfs:comment "A lampost with a shield."@en ;
  rdfs:label "Lamppost"@en .

:hasLightPoint a owl:ObjectProperty ;
  rdfs:subPropertyOf saref:consistsOf ;
  rdfs:comment "A relation between a lamppost and its light points"@en ;
  rdfs:label "has light point"@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 .


#################################################################
#    Photometer and TESS
#################################################################

:Photometer a saref:SensorKind ;
  saref:observes :Illuminance , :Irradiance , :LightAbsorption , :ScatteringOfLight , :ReflectionOfLight , :Fluorescence , :Phosphorescence , :LightMagnitude , :Luminescence , :Color ;
  rdfs:comment "A photometer, generally, is an instrument that measures light intensity or optical properties of solutions or surfaces."@en ;
  rdfs:label "Photometer"@en .

:TESS a saref:SensorKind ;
  skos:broader :Photometer ;
  rdfs:comment "The Telescope Encoder and Sky Sensor (TESS) is a Sky Brightness and Cloud detector developed as a device for a remote observatory. A TESS can observe the light magnitude and other properties as ambient temperature and sky temperature."@en ;
  rdfs:label "TESS (Telescope Encoder and Sky Sensor)"@en .