# Copyright 2016 ITEA 12004 SEAS Project.
# 
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# 
#      http://www.apache.org/licenses/LICENSE-2.0
# 
# Unless required by applicable law or agreed to in writing,
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix vann: <http://purl.org/vocab/vann/> .
@prefix voaf: <http://purl.org/vocommons/voaf#> .
@prefix vs: <http://www.w3.org/2003/06/sw-vocab-status/ns#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/>.
@prefix ssn: <https://www.w3.org/ns/ssn/>.
@prefix sosa: <https://www.w3.org/ns/sosa/>.

@prefix pep: <https://w3id.org/pep/>.
@base <https://w3id.org/pep/>.

pep:SSNAlignment a owl:Ontology , voaf:Vocabulary , foaf:Document ;
  dcterms:title "PEP-SSN Alignments"@en ;
  dcterms:description "The SSN alignment proposes alignments between the PEP ontology and the SOSA/SSN ontology."@en ;
  dcterms:issued "2016-08-26"^^xsd:date ;
  dcterms:modified "2016-09-22"^^xsd:date ;
  dcterms:creator <http://www.maxime-lefrancois.info/me#> ;
  dcterms:license <https://www.apache.org/licenses/LICENSE-2.0> ;
  vann:preferredNamespacePrefix "pep" ;
  vann:preferredNamespaceUri <https://w3id.org/pep/> ;  
  owl:imports pep:, ssn: ;
  owl:versionIRI <SSNAlignment-1.1> ;
  owl:versionInfo "v1.1" ;
  owl:priorVersion <SSNAlignment-0.9> .

pep:Procedure rdfs:subClassOf sosa:Procedure .

sosa:Sensor rdfs:subClassOf pep:ProcedureExecutor .
sosa:Actuator rdfs:subClassOf pep:ProcedureExecutor .
sosa:Sampler rdfs:subClassOf pep:ProcedureExecutor .

sosa:Observation rdfs:subClassOf pep:ProcedureExecution .
sosa:Actuation rdfs:subClassOf pep:ProcedureExecution .
sosa:Sampling rdfs:subClassOf pep:ProcedureExecution .

pep:hasResult rdfs:subPropertyOf sosa:hasResult .
pep:hasSimpleResult rdfs:subPropertyOf sosa:hasSimpleResult .

pep:hasInput rdfs:subPropertyOf ssn:hasInput .
pep:hasOutput rdfs:subPropertyOf ssn:hasOutput .

ssn:Input owl:equivalentClass [ owl:onProperty [ owl:inverseOf ssn:hasInput ] ; owl:someValuesFrom owl:Thing ] .
ssn:Output owl:equivalentClass [ owl:onProperty [ owl:inverseOf ssn:hasOutput ] ; owl:someValuesFrom owl:Thing ] .

sosa:implements rdfs:subPropertyOf pep:implements .

sosa:madeBySensor rdfs:subPropertyOf pep:madeBy .
sosa:madeByActuator rdfs:subPropertyOf pep:madeBy .
sosa:madeBySampler rdfs:subPropertyOf pep:madeBy .

sosa:madeObservation rdfs:subPropertyOf pep:made .
sosa:madeActuation rdfs:subPropertyOf pep:made .
sosa:madeSampling rdfs:subPropertyOf pep:made .

sosa:usedProcedure rdfs:subPropertyOf pep:usedProcedure .
