Commit ef81d3a0 authored by Raul Garcia-Castro's avatar Raul Garcia-Castro
Browse files

Updated namespaces for compatibility with SAREF v3. Closes #3.

parent c34dd16d
Copyright 2019 ETSI
Copyright 2020 ETSI
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
......
Repository for the SAREF for City ontology.
Repository for the SAREF4CITY ontology, an extension of SAREF for the Smart Cities domain.
@prefix : <https://w3id.org/def/saref4city#> .
@prefix : <https://saref.etsi.org/saref4city/> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix geo: <http://www.w3.org/2003/01/geo/wgs84_pos#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
......@@ -11,22 +11,24 @@
@prefix time: <http://www.w3.org/2006/time#> .
@prefix vann: <http://purl.org/vocab/vann/> .
@prefix geosp: <http://www.opengis.net/ont/geosparql#> .
@prefix saref: <https://w3id.org/saref#> .
@prefix s4city: <https://w3id.org/def/saref4city#> .
@prefix saref: <https://saref.etsi.org/core/> .
@prefix s4city: <https://saref.etsi.org/saref4city/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
<https://w3id.org/def/saref4city> a owl:Ontology ;
owl:versionIRI <https://w3id.org/def/v1/saref4city> ;
<https://saref.etsi.org/saref4city/> a owl:Ontology ;
owl:versionIRI <https://saref.etsi.org/saref4city/v1.1.2/> ;
dc:title "SAREF extension for Smart City"@en ;
owl:versionInfo "0.8"^^xsd:decimal ;
owl:versionInfo "1.1.2"^^xsd:decimal ;
dcterms:creator <http://www.garcia-castro.com/foaf.rdf#me> ;
dcterms:license <http://purl.org/NET/rdflicense/cc-by4.0> ;
dcterms:creator <http://w3id.org/people/mpoveda> ;
dcterms:creator <https://www.linkedin.com/in/paolaespinoza-arias/> ;
dc:publisher <http://www.oeg-upm.net/> ;
vann:preferredNamespacePrefix "s4city" ;
vann:preferredNamespaceUri "https://w3id.org/def/saref4city#" ;
dc:description "This ontology extends the SAREF ontology for the Smart City domain. This work has been developed in the context of the STF 534 (https://portal.etsi.org/STF/STFs/STFHomePages/STF534.aspx), which was established with the goal to create three SAREF extensions, one of them for the Smart City domain."@en .
vann:preferredNamespaceUri "https://saref.etsi.org/saref4city/" ;
dc:description "This ontology extends the SAREF ontology for the Smart City domain. This work has been developed in the context of the STF 534 (https://portal.etsi.org/STF/STFs/STFHomePages/STF534.aspx), which was established with the goal to create three SAREF extensions, one of them for the Smart City domain."@en ;
rdfs:comment """Information about changes compared to version 1.1.1:
- Updated namespaces for compatibility with SAREF v3."""@en .
#
#
# #################################################################
......@@ -142,160 +144,160 @@ geosp:sfWithin a owl:ObjectProperty ;
geo:location a owl:ObjectProperty .
#
# https://w3id.org/def/saref4city#assesses
# https://saref.etsi.org/saref4city/assesses
s4city:assesses a owl:ObjectProperty ;
rdfs:label "assesses"@en .
#
# https://w3id.org/def/saref4city#hasAccesibility
# https://saref.etsi.org/saref4city/hasAccesibility
s4city:hasAccesibility a owl:ObjectProperty ;
rdfs:label "has accesibility"@en .
#
# https://w3id.org/def/saref4city#hasCalculationPeriod
# https://saref.etsi.org/saref4city/hasCalculationPeriod
s4city:hasCalculationPeriod a owl:ObjectProperty ;
rdfs:label "has calculation period"@en .
#
# https://w3id.org/def/saref4city#hasKPI
# https://saref.etsi.org/saref4city/hasKPI
s4city:hasKPI a owl:ObjectProperty ;
owl:inverseOf s4city:isKPIOf ;
rdfs:label "has key performance indicator"@en .
#
# https://w3id.org/def/saref4city#involvesFacility
# https://saref.etsi.org/saref4city/involvesFacility
s4city:involvesFacility a owl:ObjectProperty ;
rdfs:label "involves facility"@en .
#
# https://w3id.org/def/saref4city#isAssessedBy
# https://saref.etsi.org/saref4city/isAssessedBy
s4city:isAssessedBy a owl:ObjectProperty ;
rdfs:label "is assessed by"@en .
#
# https://w3id.org/def/saref4city#isAvailableInLanguage
# https://saref.etsi.org/saref4city/isAvailableInLanguage
s4city:isAvailableInLanguage a owl:ObjectProperty ;
rdfs:label "is available in language"@en .
#
# https://w3id.org/def/saref4city#isDerivedFrom
# https://saref.etsi.org/saref4city/isDerivedFrom
s4city:isDerivedFrom a owl:ObjectProperty ;
rdfs:label "is derived from"@en .
#
# https://w3id.org/def/saref4city#isKPIOf
# https://saref.etsi.org/saref4city/isKPIOf
s4city:isKPIOf a owl:ObjectProperty ;
rdfs:label "is key performance indicator of"@en .
#
# https://w3id.org/def/saref4city#isOrganizedBy
# https://saref.etsi.org/saref4city/isOrganizedBy
s4city:isOrganizedBy a owl:ObjectProperty ;
rdfs:label "is organized by"@en .
#
# https://w3id.org/def/saref4city#isSubEventOf
# https://saref.etsi.org/saref4city/isSubEventOf
s4city:isSubEventOf a owl:ObjectProperty ;
rdfs:label "is subevent of"@en .
#
# https://w3id.org/def/saref4city#quantifiesKPI
# https://saref.etsi.org/saref4city/quantifiesKPI
s4city:quantifiesKPI a owl:ObjectProperty ;
rdfs:label "quantifies KPI"@en .
#
# https://w3id.org/def/saref4city#refersToFeature
# https://saref.etsi.org/saref4city/refersToFeature
s4city:refersToFeature a owl:ObjectProperty ;
rdfs:comment "Relation between a KPI assessment and the geographical feature it refers to"@en ;
rdfs:label "refers to feature"@en .
#
# https://w3id.org/def/saref4city#refersToTime
# https://saref.etsi.org/saref4city/refersToTime
s4city:refersToTime a owl:ObjectProperty ;
rdfs:label "refers to time"@en .
#
# https://w3id.org/def/saref4city#takesPlaceAtFacility
# https://saref.etsi.org/saref4city/takesPlaceAtFacility
s4city:takesPlaceAtFacility a owl:ObjectProperty ;
rdfs:label "takes place at facility"@en .
#
# https://w3id.org/def/saref4city#takesPlaceAtTime
# https://saref.etsi.org/saref4city/takesPlaceAtTime
s4city:takesPlaceAtTime a owl:ObjectProperty ;
rdfs:label "takes place at time"@en .
#
# https://w3id.org/saref#controlsProperty
# https://saref.etsi.org/core/controlsProperty
saref:controlsProperty a owl:ObjectProperty ;
rdfs:label "controls property"@en .
#
# https://w3id.org/saref#hasFeatureOfInterest
# https://saref.etsi.org/core/hasFeatureOfInterest
saref:hasFeatureOfInterest a owl:ObjectProperty ;
owl:inverseOf saref:isFeatureOfInterestOf ;
rdfs:label "has feature of interest"@en .
#
# https://w3id.org/saref#hasProperty
# https://saref.etsi.org/core/hasProperty
saref:hasProperty a owl:ObjectProperty ;
owl:inverseOf saref:isPropertyOf ;
rdfs:label "has property"@en .
#
# https://w3id.org/saref#isControlledByDevice
# https://saref.etsi.org/core/isControlledByDevice
saref:isControlledByDevice a owl:ObjectProperty ;
rdfs:isDefinedBy <https://w3id.org/saref#> ;
rdfs:isDefinedBy <https://saref.etsi.org/core/> ;
rdfs:label "is controlled by device"@en .
#
# https://w3id.org/saref#isFeatureOfInterestOf
# https://saref.etsi.org/core/isFeatureOfInterestOf
saref:isFeatureOfInterestOf a owl:ObjectProperty ;
rdfs:label "is feature of interest of"@en .
#
# https://w3id.org/saref#isMeasuredByDevice
# https://saref.etsi.org/core/isMeasuredByDevice
saref:isMeasuredByDevice a owl:ObjectProperty ;
rdfs:isDefinedBy <https://w3id.org/saref#> ;
rdfs:isDefinedBy <https://saref.etsi.org/core/> ;
rdfs:label "is measured by device"@en .
#
# https://w3id.org/saref#isMeasuredIn
# https://saref.etsi.org/core/isMeasuredIn
saref:isMeasuredIn a owl:ObjectProperty ;
rdfs:isDefinedBy <https://w3id.org/saref#> ;
rdfs:isDefinedBy <https://saref.etsi.org/core/> ;
rdfs:label "is measured in"@en .
#
# https://w3id.org/saref#isPropertyOf
# https://saref.etsi.org/core/isPropertyOf
saref:isPropertyOf a owl:ObjectProperty ;
rdfs:label "is property of"@en .
#
# https://w3id.org/saref#makesMeasurement
# https://saref.etsi.org/core/makesMeasurement
saref:makesMeasurement a owl:ObjectProperty ;
owl:inverseOf saref:measurementMadeBy ;
rdfs:isDefinedBy <https://w3id.org/saref#> ;
rdfs:isDefinedBy <https://saref.etsi.org/core/> ;
rdfs:label "makes measurement"@en .
#
# https://w3id.org/saref#measurementMadeBy
# https://saref.etsi.org/core/measurementMadeBy
saref:measurementMadeBy a owl:ObjectProperty .
#
# https://w3id.org/saref#measuresProperty
# https://saref.etsi.org/core/measuresProperty
saref:measuresProperty a owl:ObjectProperty ;
rdfs:isDefinedBy <https://w3id.org/saref#> ;
rdfs:isDefinedBy <https://saref.etsi.org/core/> ;
rdfs:label "measures property"@en .
#
# https://w3id.org/saref#relatesToMeasurement
# https://saref.etsi.org/core/relatesToMeasurement
saref:relatesToMeasurement a owl:ObjectProperty ;
rdfs:isDefinedBy <https://w3id.org/saref#> ;
rdfs:isDefinedBy <https://saref.etsi.org/core/> ;
rdfs:label "relates to measurement"@en .
#
# https://w3id.org/saref#relatesToProperty
# https://saref.etsi.org/core/relatesToProperty
saref:relatesToProperty a owl:ObjectProperty ;
rdfs:isDefinedBy <https://w3id.org/saref#> ;
rdfs:isDefinedBy <https://saref.etsi.org/core/> ;
rdfs:label "relates to property"@en .
#
#
......@@ -307,46 +309,46 @@ saref:relatesToProperty a owl:ObjectProperty ;
# #################################################################
#
#
# https://w3id.org/def/saref4city#hasCreationDate
# https://saref.etsi.org/saref4city/hasCreationDate
s4city:hasCreationDate a owl:DatatypeProperty ;
rdfs:range xsd:dateTime ;
rdfs:label "has creation date"@en .
#
# https://w3id.org/def/saref4city#hasExpirationDate
# https://saref.etsi.org/saref4city/hasExpirationDate
s4city:hasExpirationDate a owl:DatatypeProperty ;
rdfs:range xsd:dateTime ;
rdfs:label "has expiration date"@en .
#
# https://w3id.org/def/saref4city#hasLastUpdateDate
# https://saref.etsi.org/saref4city/hasLastUpdateDate
s4city:hasLastUpdateDate a owl:DatatypeProperty ;
rdfs:range xsd:dateTime ;
rdfs:label "has last update date"@en .
#
# https://w3id.org/saref#hasDescription
# https://saref.etsi.org/core/hasDescription
saref:hasDescription a owl:DatatypeProperty ;
rdfs:isDefinedBy <https://w3id.org/saref#> ;
rdfs:isDefinedBy <https://saref.etsi.org/core/> ;
rdfs:label "has description"@en .
#
# https://w3id.org/saref#hasName
# https://saref.etsi.org/core/hasName
saref:hasName a owl:DatatypeProperty ;
rdfs:isDefinedBy <https://w3id.org/saref#> ;
rdfs:isDefinedBy <https://saref.etsi.org/core/> ;
rdfs:label "has name"@en .
#
# https://w3id.org/saref#hasTimestamp
# https://saref.etsi.org/core/hasTimestamp
saref:hasTimestamp a owl:DatatypeProperty ;
rdfs:isDefinedBy <https://w3id.org/saref#> ;
rdfs:isDefinedBy <https://saref.etsi.org/core/> ;
rdfs:label "has timestamp"@en .
#
# https://w3id.org/saref#hasValue
# https://saref.etsi.org/core/hasValue
saref:hasValue a owl:DatatypeProperty ;
rdfs:isDefinedBy <https://w3id.org/saref#> ;
rdfs:isDefinedBy <https://saref.etsi.org/core/> ;
rdfs:label "has value"@en .
#
#
......@@ -455,14 +457,14 @@ time:TemporalEntity a owl:Class ;
rdfs:isDefinedBy <http://xmlns.com/foaf/0.1/> ;
rdfs:label "Person"@en .
#
# https://w3id.org/def/saref4city#AdministrativeArea
# https://saref.etsi.org/saref4city/AdministrativeArea
s4city:AdministrativeArea a owl:Class ;
rdfs:subClassOf geosp:Feature ;
rdfs:comment "An administrative division, unit, entity, area or region, also referred to as a subnational entity, constituent unit, or country subdivision, is a portion of a country or other region delineated for the purpose of administration. (https://en.wikipedia.org/wiki/Administrative_division)"@en ;
rdfs:label "Administrative area"@en .
#
# https://w3id.org/def/saref4city#Agent
# https://saref.etsi.org/saref4city/Agent
s4city:Agent a owl:Class ;
rdfs:subClassOf <http://xmlns.com/foaf/0.1/Agent> ,
......@@ -478,35 +480,35 @@ s4city:Agent a owl:Class ;
s4city:Agent rdfs:comment "An agent making an action in the context of a city. An agent could be a person, software, etc."@en ;
rdfs:label "Agent"@en .
#
# https://w3id.org/def/saref4city#City
# https://saref.etsi.org/saref4city/City
s4city:City a owl:Class ;
rdfs:subClassOf s4city:AdministrativeArea ;
rdfs:comment "A city is a large human settlement. A city is distinguished from other human settlements by its relatively great size, but also by its functions and its special symbolic status, which may be conferred by a central authority. (https://en.wikipedia.org/wiki/City)"@en ;
rdfs:label "City"@en .
#
# https://w3id.org/def/saref4city#CityObject
# https://saref.etsi.org/saref4city/CityObject
s4city:CityObject a owl:Class ;
rdfs:subClassOf geosp:Feature ;
rdfs:comment "Generic class for describing city objects."@en ;
rdfs:label "City object"@en .
#
# https://w3id.org/def/saref4city#Country
# https://saref.etsi.org/saref4city/Country
s4city:Country a owl:Class ;
rdfs:subClassOf s4city:AdministrativeArea ;
rdfs:comment "A country is a region that is identified as a distinct national entity in political geography. (https://en.wikipedia.org/wiki/Country)"@en ;
rdfs:label "Country"@en .
#
# https://w3id.org/def/saref4city#District
# https://saref.etsi.org/saref4city/District
s4city:District a owl:Class ;
rdfs:subClassOf s4city:AdministrativeArea ;
rdfs:comment "A district is a type of administrative division that, in some countries, is managed by local government. Across the world, areas known as \"districts\" vary greatly in size, spanning regions or counties, several municipalities, subdivisions of municipalities, school district, or political district. (https://en.wikipedia.org/wiki/District)"@en ;
rdfs:label "District"@en .
#
# https://w3id.org/def/saref4city#Event
# https://saref.etsi.org/saref4city/Event
s4city:Event a owl:Class ;
rdfs:subClassOf [ a owl:Restriction ;
......@@ -537,14 +539,14 @@ s4city:Event rdfs:comment "Temporary and scheduled event, like a festival or com
rdfs:label "Event"@en ;
rdfs:seeAlso <https://www.wikidata.org/wiki/Q1656682> .
#
# https://w3id.org/def/saref4city#Facility
# https://saref.etsi.org/saref4city/Facility
s4city:Facility a owl:Class ;
rdfs:subClassOf geosp:Feature ;
rdfs:comment "A place, amenity, or piece of equipment provided for a particular purpose. (Definition taken from https://en.oxforddictionaries.com/definition/facility)"@en ;
rdfs:label "Facility"@en .
#
# https://w3id.org/def/saref4city#KeyPerformanceIndicator
# https://saref.etsi.org/saref4city/KeyPerformanceIndicator
s4city:KeyPerformanceIndicator a owl:Class ;
rdfs:subClassOf [ a owl:Restriction ;
......@@ -567,7 +569,7 @@ s4city:KeyPerformanceIndicator rdfs:comment "A Key Performance Indicator (KPI) i
rdfs:label "Key Performance Indicator"@en ;
rdfs:seeAlso <http://fiware-datamodels.readthedocs.io/en/latest/KeyPerformanceIndicator/doc/spec/index.html> .
#
# https://w3id.org/def/saref4city#KeyPerformanceIndicatorAssessment
# https://saref.etsi.org/saref4city/KeyPerformanceIndicatorAssessment
s4city:KeyPerformanceIndicatorAssessment a owl:Class ;
rdfs:subClassOf [ a owl:Restriction ;
......@@ -621,14 +623,14 @@ s4city:KeyPerformanceIndicatorAssessment a owl:Class ;
s4city:KeyPerformanceIndicatorAssessment rdfs:comment "A Key Performance Indicator assessment represents the assessment of a KPI calculated by a given agent in a given time."@en ;
rdfs:label "Key performance indicator assessment"@en .
#
# https://w3id.org/def/saref4city#Neighbourhood
# https://saref.etsi.org/saref4city/Neighbourhood
s4city:Neighbourhood a owl:Class ;
rdfs:subClassOf s4city:AdministrativeArea ;
rdfs:comment "A neighbourhood (British English), or neighborhood (American English; see spelling differences), is a geographically localised community within a larger city, town, suburb or rural area. (https://en.wikipedia.org/wiki/Neighbourhood)"@en ;
rdfs:label "Neighbourhood"@en .
#
# https://w3id.org/def/saref4city#PublicAdministration
# https://saref.etsi.org/saref4city/PublicAdministration
s4city:PublicAdministration a owl:Class ;
rdfs:subClassOf <http://www.w3.org/ns/org#Organization> ;
......@@ -636,7 +638,7 @@ s4city:PublicAdministration a owl:Class ;
rdfs:label "Public administration"@en ;
rdfs:seeAlso <https://www.wikidata.org/wiki/Q31728> .
#
# https://w3id.org/def/saref4city#PublicService
# https://saref.etsi.org/saref4city/PublicService
s4city:PublicService a owl:Class ;
rdfs:subClassOf cpsv:PublicService ,
......@@ -664,15 +666,15 @@ s4city:PublicService rdfs:comment "Public service is a service which is provided
rdfs:label "Public service"@en ;
rdfs:seeAlso <https://en.wikipedia.org/wiki/Public_service> .
#
# https://w3id.org/saref#Actuator
# https://saref.etsi.org/core/Actuator
saref:Actuator a owl:Class ;
rdfs:subClassOf saref:Device ;
rdfs:comment "A device responsible for moving or controlling a mechanism or system"@en ;
rdfs:isDefinedBy <https://w3id.org/saref#> ;
rdfs:isDefinedBy <https://saref.etsi.org/core/> ;
rdfs:label "Actuator"@en .
#
# https://w3id.org/saref#Device
# https://saref.etsi.org/core/Device
saref:Device a owl:Class ;
rdfs:subClassOf geosp:Feature ,
......@@ -695,7 +697,7 @@ saref:Device a owl:Class ;
saref:Device rdfs:comment "A tangible object designed to accomplish a particular task in households, common public buildings or offices. In order to accomplish this task, the device performs one or more functions. For example, a washing machine is designed to wash (task) and to accomplish this task it performs a start and stop function. Devices can be structured in categories (subclasses) that reflect the different domain in which a device is used, e.g., smart appliances domain (subclass FunctionRelated) vs. building domain (subclass BuildingRelated) vs. smart grid domain (subclass EnergyRelated). New categories can be defined,if needed, to reflect other differences, for example different points of view, such as the point of view of the device's user vs. the point of view of the device's manufacturer. We propose a list of devices that are relevant for the purpose of SAREF, but this list can be extended."^^xsd:string ;
rdfs:label "Device"^^xsd:string .
#
# https://w3id.org/saref#FeatureOfInterest
# https://saref.etsi.org/core/FeatureOfInterest
saref:FeatureOfInterest a owl:Class ;
rdfs:subClassOf [ a owl:Restriction ;
......@@ -710,7 +712,7 @@ saref:FeatureOfInterest a owl:Class ;
owl:onProperty saref:isFeatureOfInterestOf ;
owl:allValuesFrom saref:Measurement ] .
#
# https://w3id.org/saref#Measurement
# https://saref.etsi.org/core/Measurement
saref:Measurement a owl:Class ;
rdfs:subClassOf [ a owl:Restriction ;
......@@ -749,10 +751,10 @@ saref:Measurement a owl:Class ;
#
saref:Measurement owl:disjointWith saref:Property , saref:UnitOfMeasure ;
rdfs:comment "Represents the measured value made over a property. It is also linked to the unit of measure in which the value is expressed and the timestamp of the measurement."@en ;
rdfs:isDefinedBy <https://w3id.org/saref#> ;
rdfs:isDefinedBy <https://saref.etsi.org/core/> ;
rdfs:label "Measurement"@en .
#
# https://w3id.org/saref#Property
# https://saref.etsi.org/core/Property
saref:Property a owl:Class ;
rdfs:subClassOf [ a owl:Restriction ;
......@@ -773,23 +775,23 @@ saref:Property a owl:Class ;
saref:Property owl:disjointWith saref:UnitOfMeasure ;
rdfs:comment "An aspect of an entity that can be observable by a sensor."@en , "Anything that can be sensed, measured or controlled in households, common public buildings or offices. We propose here a list of properties that are relevant for the purpose of SAREF, but this list can be extended."^^xsd:string ;
rdfs:isDefinedBy <https://w3id.org/saref#> ;
rdfs:isDefinedBy <https://saref.etsi.org/core/> ;
rdfs:label "Property"@en .
#
# https://w3id.org/saref#Sensor
# https://saref.etsi.org/core/Sensor
saref:Sensor a owl:Class ;
rdfs:subClassOf saref:Device ;
rdfs:comment """A device that detects and responds to events or changes in the physical environment such as light, motion, or temperature changes.
A device that has category saref:Sensor and performs a saref:SensingFunction."""@en ;
rdfs:isDefinedBy <https://w3id.org/saref#> ;
rdfs:isDefinedBy <https://saref.etsi.org/core/> ;
rdfs:label "Sensor"@en .
#
# https://w3id.org/saref#UnitOfMeasure
# https://saref.etsi.org/core/UnitOfMeasure
saref:UnitOfMeasure a owl:Class ;
rdfs:comment "The unit of measure is a standard for measurement of a quantity, such as a Property. For example, Power is a property and Watt is a unit of power that represents a definite predetermined power: when we say 10 Watt, we actually mean 10 times the definite predetermined power called \"watt\". Our definition is based on the definition of unit of measure in the Ontology of units of Measure (OM). We propose here a list of some units of measure that are relevant for the purpose of the Smart Appliances ontology, but this list can be extended."@en ;
rdfs:isDefinedBy <https://w3id.org/saref#> ;
rdfs:isDefinedBy <https://saref.etsi.org/core/> ;
rdfs:label "Unit of measure"@en .
#
#
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment