Commit 00b28fe6 authored by María's avatar María
Browse files

Added overview diagram. Added missing properties hasName and hasDescription....

Added overview diagram. Added missing properties hasName and hasDescription. Remove some local restrictions as domain and range was added. Closes #7
parent c0701d8c
Loading
Loading
Loading
Loading
Loading
+429 −0

File added.

Preview size limit exceeded, changes collapsed.

+39 −45
Original line number Diff line number Diff line
@prefix : <https://saref.etsi.org/saref4city/> .
@prefix dc: <http://purl.org/dc/terms/> .
@prefix geo: <http://www.opengis.net/ont/geosparql#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@@ -11,27 +12,27 @@
@prefix vann: <http://purl.org/vocab/vann/> .
@prefix saref: <https://saref.etsi.org/core/> .
@prefix s4city: <https://saref.etsi.org/saref4city/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@base <https://saref.etsi.org/saref4city/> .

<https://saref.etsi.org/saref4city/> rdf:type owl:Ontology ;
                                      owl:versionIRI <https://saref.etsi.org/saref4city/v1.1.2/> ;
                                      owl:versionIRI <https://saref.etsi.org/saref4city/v2.1.1/> ;
                                      owl:imports <https://saref.etsi.org/core/v3.2.1/> ;
                                      dcterms:creator <http://w3id.org/people/mpoveda> ,
                                      dc:creator <http://w3id.org/people/mpoveda> ,
                                                 <http://www.garcia-castro.com/foaf.rdf#me> ,
                                                 <https://www.linkedin.com/in/paolaespinoza-arias/> ;
                                      dcterms: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 ;
                                      dcterms:issued "2020-06-05"^^xsd:date ;
                                      dcterms:license <https://forge.etsi.org/etsi-software-license> ;
                                      dcterms:modified "2024-07-25"^^xsd:date ;
                                      dcterms:publisher <https://www.etsi.org/> ;
                                      dcterms:source <https://saref.etsi.org/sources/saref4city/> ;
                                      dcterms:title "SAREF extension for Smart City"@en ;
                                      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 ;
                                      dc:issued "2020-06-05"^^xsd:date ;
                                      dc:license <https://forge.etsi.org/etsi-software-license> ;
                                      dc:modified "2024-07-25"^^xsd:date ;
                                      dc:publisher <https://www.etsi.org/> ;
                                      dc:source <https://saref.etsi.org/sources/saref4city/> ;
                                      dc:title "SAREF extension for Smart City"@en ;
                                      vann:preferredNamespacePrefix "s4city" ;
                                      vann:preferredNamespaceUri "https://saref.etsi.org/saref4city/" ;
                                      rdfs:comment """Information about changes compared to version 1.1.1: 
 - Updated namespaces for compatibility with SAREF v3."""@en ;
                                      rdfs:seeAlso <https://www.etsi.org/deliver/etsi_ts/103400_103499/10341004/01.01.02_60/ts_10341004v010102p.pdf> ;
                                      owl:priorVersion <https://saref.etsi.org/saref4city/v1.1.2/> ;
                                      owl:versionInfo "v2.1.1" .

#################################################################
@@ -39,39 +40,39 @@
#################################################################

###  http://purl.org/dc/terms/contributor
dcterms:contributor rdf:type owl:AnnotationProperty .
dc:contributor rdf:type owl:AnnotationProperty .


###  http://purl.org/dc/terms/creator
dcterms:creator rdf:type owl:AnnotationProperty .
dc:creator rdf:type owl:AnnotationProperty .


###  http://purl.org/dc/terms/description
dcterms:description rdf:type owl:AnnotationProperty .
dc:description rdf:type owl:AnnotationProperty .


###  http://purl.org/dc/terms/issued
dcterms:issued rdf:type owl:AnnotationProperty .
dc:issued rdf:type owl:AnnotationProperty .


###  http://purl.org/dc/terms/license
dcterms:license rdf:type owl:AnnotationProperty .
dc:license rdf:type owl:AnnotationProperty .


###  http://purl.org/dc/terms/modified
dcterms:modified rdf:type owl:AnnotationProperty .
dc:modified rdf:type owl:AnnotationProperty .


###  http://purl.org/dc/terms/publisher
dcterms:publisher rdf:type owl:AnnotationProperty .
dc:publisher rdf:type owl:AnnotationProperty .


###  http://purl.org/dc/terms/source
dcterms:source rdf:type owl:AnnotationProperty .
dc:source rdf:type owl:AnnotationProperty .


###  http://purl.org/dc/terms/title
dcterms:title rdf:type owl:AnnotationProperty .
dc:title rdf:type owl:AnnotationProperty .


###  http://purl.org/vocab/vann/preferredNamespacePrefix
@@ -144,6 +145,7 @@ s4city:assesses rdf:type owl:ObjectProperty ;

###  https://saref.etsi.org/saref4city/hasAccessibility
s4city:hasAccessibility rdf:type owl:ObjectProperty ;
                        rdfs:domain s4city:Event ;
                        rdfs:range s4city:AccessibilityConcept ;
                        rdfs:comment "relation between an event and the accesility modes provided"@en ;
                        rdfs:label "has accessibility"@en .
@@ -175,7 +177,7 @@ s4city:isAssessedBy rdf:type owl:ObjectProperty ;
###  https://saref.etsi.org/saref4city/isAvailableInLanguage
s4city:isAvailableInLanguage rdf:type owl:ObjectProperty ;
                             rdfs:domain s4city:PublicService ;
                             rdfs:range dcterms:LinguisticSystem ;
                             rdfs:range dc:LinguisticSystem ;
                             rdfs:comment "Relation between a public service and the languages it is available in."@en ;
                             rdfs:label "is available in language"@en .

@@ -252,7 +254,6 @@ s4city:takesPlaceAtTime rdf:type owl:ObjectProperty ;

###  https://saref.etsi.org/saref4city/hasCalculationPeriod
s4city:hasCalculationPeriod rdf:type owl:DatatypeProperty ;
                            rdfs:domain s4city:KeyPerformanceIndicator ;
                            rdfs:range xsd:duration ;
                            rdfs:comment "Relation between a KPI  and the temporal period it refers to"@en ;
                            rdfs:label "has calculation period"@en .
@@ -265,6 +266,13 @@ s4city:hasCreationDate rdf:type owl:DatatypeProperty ;
                       rdfs:label "has creation date"@en .


###  https://saref.etsi.org/saref4city/hasDescription
s4city:hasDescription rdf:type owl:DatatypeProperty ;
                      rdfs:range rdfs:Literal ;
                      rdfs:label "Description of an entity like a KPI or KPI assessment" ,
                                 "has description" .


###  https://saref.etsi.org/saref4city/hasExpirationDate
s4city:hasExpirationDate rdf:type owl:DatatypeProperty ;
                         rdfs:range xsd:dateTime ;
@@ -279,12 +287,19 @@ s4city:hasLastUpdateDate rdf:type owl:DatatypeProperty ;
                         rdfs:label "has last update date"@en .


###  https://saref.etsi.org/saref4city/hasName
s4city:hasName rdf:type owl:DatatypeProperty ;
               rdfs:range rdfs:Literal ;
               rdfs:comment "Name of an entity like a KPI or KPI assessment" ;
               rdfs:label "has name" .


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

###  http://purl.org/dc/terms/LinguisticSystem
dcterms:LinguisticSystem rdf:type owl:Class .
dc:LinguisticSystem rdf:type owl:Class .


###  http://purl.org/vocab/cpsv#PublicService
@@ -409,24 +424,8 @@ s4city:District rdf:type owl:Class ;
###  https://saref.etsi.org/saref4city/Event
s4city:Event rdf:type owl:Class ;
             rdfs:subClassOf [ rdf:type owl:Restriction ;
                               owl:onProperty s4city:hasAccessibility ;
                               owl:allValuesFrom <http://www.w3.org/2004/02/skos/core#Concept>
                             ] ,
                             [ rdf:type owl:Restriction ;
                               owl:onProperty s4city:isOrganizedBy ;
                               owl:allValuesFrom s4city:Agent
                             ] ,
                             [ rdf:type owl:Restriction ;
                               owl:onProperty s4city:isSubEventOf ;
                               owl:allValuesFrom s4city:Event
                             ] ,
                             [ rdf:type owl:Restriction ;
                               owl:onProperty s4city:takesPlaceAtFacility ;
                               owl:allValuesFrom s4city:Facility
                             ] ,
                             [ rdf:type owl:Restriction ;
                               owl:onProperty s4city:takesPlaceAtTime ;
                               owl:allValuesFrom time:TemporalEntity
                             ] ;
             rdfs:comment "Temporary and scheduled event, like a festival or competition. (Definition taken from Wikidata)"@en ;
             rdfs:label "Event"@en ;
@@ -526,13 +525,8 @@ s4city:PublicService rdf:type owl:Class ;
                                     [ rdf:type owl:Restriction ;
                                       owl:onProperty s4city:involvesFacility ;
                                       owl:allValuesFrom s4city:Facility
                                     ] ,
                                     [ rdf:type owl:Restriction ;
                                       owl:onProperty s4city:isAvailableInLanguage ;
                                       owl:allValuesFrom dcterms:LinguisticSystem
                                     ] ;
                     rdfs:comment "Public service is a service which is provided by government either directly (through the public sector) or by financing provision of services. (Definition taken from Wikipedia)"@en ;
                     rdfs:label "Public service"@en ;
                     rdfs:seeAlso <https://en.wikipedia.org/wiki/Public_service> .