From f32f09f87d20e22ac1c57a99d2e129ff47daa421 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rau=CC=81l=20Garci=CC=81a=20Castro?= Date: Tue, 21 Jan 2020 09:45:54 +0100 Subject: [PATCH] Reused the Event class from SAREF4CITY. --- ontology/saref4wear.ttl | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/ontology/saref4wear.ttl b/ontology/saref4wear.ttl index 53afce1..33f96b3 100644 --- a/ontology/saref4wear.ttl +++ b/ontology/saref4wear.ttl @@ -111,6 +111,13 @@ geo:location rdf:type owl:ObjectProperty ; rdfs:label "location" . +## https://saref.etsi.org/saref4city#takesPlaceAtFacility + +s4city:takesPlaceAtFacility rdf:type owl:ObjectProperty ; + rdfs:isDefinedBy ; + rdfs:label "takes place at facility"@en . + + ### https://saref.etsi.org/s4wear#canSendInformationTo s4wear:canSendInformationTo rdf:type owl:ObjectProperty ; rdfs:domain s4wear:Wearable ; @@ -242,7 +249,7 @@ s4wear:hasCapacity rdf:type owl:DatatypeProperty ; ### https://saref.etsi.org/s4wear#eventType s4wear:eventType rdf:type owl:DatatypeProperty ; - rdfs:domain s4wear:Event ; + rdfs:domain s4city:Event ; rdfs:range xsd:string . @@ -346,6 +353,16 @@ s4city:CityObject rdf:type owl:Class ; rdfs:label "City object"@en . +## https://saref.etsi.org/saref4city#Event +s4city:Event rdf:type owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onProperty s4city:takesPlaceAtFacility ; + owl:allValuesFrom s4city:Facility + ] ; + rdfs:isDefinedBy ; + rdfs:label "Event"@en . + + ## https://saref.etsi.org/saref4city#Facility s4city:Facility rdf:type owl:Class ; rdfs:subClassOf geosp:Feature ; @@ -391,10 +408,6 @@ s4wear:Emission rdf:type owl:Class ; s4wear:Entity rdf:type owl:Class . -### https://saref.etsi.org/s4wear#Event -s4wear:Event rdf:type owl:Class . - - ### https://saref.etsi.org/s4wear#Fabric s4wear:Fabric rdf:type owl:Class ; rdfs:subClassOf s4wear:TextileBasedWearable . -- GitLab