Skip to content
Snippets Groups Projects
Commit 36fe93b5 authored by Maxime Lefrançois's avatar Maxime Lefrançois
Browse files

scafolding for SAREF4MARI

parents
No related branches found
No related tags found
No related merge requests found
Pipeline #3236 failed
*~
.DS_Store
catalog-v001.xml
saref-pipeline.jar
target
\ No newline at end of file
image: openjdk:8-jdk
variables:
SAREF_DEV_KEY: <my_private_key>
SAREF_PORTAL_KEY: <my_private_key>
before_script:
- eval $(ssh-agent -s)
- ssh-add <(echo "$SAREF_DEV_KEY")
- mkdir -p ~/.ssh
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
stages:
- test
- build
- deploy
test-develop:
stage: test
script:
- curl -L -o saref-pipeline.jar "https://labs.etsi.org/rep/saref/saref-pipeline/-/jobs/artifacts/master/raw/target/saref-pipeline.jar?job=build"
- java -jar saref-pipeline.jar develop -s && touch target/success
allow_failure: true
except:
- /^prerelease-v/
- /^release-v/
artifacts:
when: always
paths:
- target/site
- target/success
reports:
junit: target/report_output.xml
test-prerelease:
stage: test
script:
- curl -L -o saref-pipeline.jar "https://labs.etsi.org/rep/saref/saref-pipeline/-/jobs/artifacts/master/raw/target/saref-pipeline.jar?job=build"
- java -jar saref-pipeline.jar release -t && touch target/success
allow_failure: true
only:
- /^prerelease-v/
artifacts:
when: always
paths:
- target/site
- target/success
reports:
junit: target/report_output.xml
deploy-report:
stage: deploy
script:
- scp -pr target/site saref-dev@saref.etsi.org:~/snapshot/$CI_PIPELINE_ID
- echo "SAREF pipeline report https://saref.etsi.org/snapshot/$CI_PIPELINE_ID/report.html"
- exit $(test -f target/success) $?
except:
- /^release-v/
test-release:
stage: test
script:
- curl -L -o saref-pipeline.jar "https://labs.etsi.org/rep/saref/saref-pipeline/-/jobs/artifacts/master/raw/target/saref-pipeline.jar?job=build"
- java -jar saref-pipeline.jar release -t
only:
- /^release-v/
trigger-release:
stage: deploy
only:
- /^release-v/
variables:
SAREF_DEV_KEY: $SAREF_DEV_KEY
SAREF_PORTAL_KEY: $SAREF_PORTAL_KEY
trigger:
project: saref/saref-portal
branch: master
labs.etsi.org/rep/:
repos:
- saref/saref-core
LICENSE 0 → 100644
Copyright 2023 ETSI
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors
may be used to endorse or promote products derived from this software without
specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
OF THE POSSIBILITY OF SUCH DAMAGE.
\ No newline at end of file
Repository for the SAREF4MARI ontology.
The present document has been developed in the context of....
The prefixes and namespaces used in SAREF4AGRI and in the present document are listed in [the Namespace Declarations section](#namespacedeclarations)
\ No newline at end of file
The editors would like to thank the ETSI SmartM2M technical committee for providing guidance and expertise.
Also, special thanks goes to the ETSI SmartM2M Technical Officer Guillemin Patrick for his help.
- [Author](url) ([Affiliation](url))
- [Author](url) ([Affiliation](url))
<h3>General Overview</h3>
<p>An overview of the SAREF4MARI ontology is provided in <a href="#Figure_1">Figure 1</a>.</p>
<figure>
<a href="diagrams/Overview.png"><img src="diagrams/Overview.png" alt="SAREF4MARI Overview"/></a>
<figcaption id="Figure_1">Figure 1: SAREF4MARI overview</figcaption>
</figure>
documentation/diagrams/Overview.png

632 B

<h3>Normative references</h3>
<ul>
<li id="[1]">[1] ETSI TS 103 264 (V3.1.1) (02-2020): "SmartM2M; Smart Applications; Reference Ontology and oneM2M Mapping".</li>
</ul>
<h3>Informative references</h3>
<ul>
<li id="[i.1]">[i.1] ETSI TR 103 411 (V1.1.1) (2017-02): "SmartM2M Smart Appliances SAREF extension investigation".</li>
</ul>
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix dctype: <http://purl.org/dc/dcmitype/> .
@prefix ex: <https://saref.etsi.org/saref4mari/v1.1.1/example/example1/> .
@prefix geo: <http://www.w3.org/2003/01/geo/wgs84_pos#> .
@prefix geosp: <http://www.opengis.net/ont/geosparql#> .
@prefix om: <http://www.ontology-of-units-of-measure.org/resource/om-2/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix s4mari: <https://saref.etsi.org/saref4mari/> .
@prefix saref: <https://saref.etsi.org/core/> .
@prefix sosa: <http://www.w3.org/ns/sosa/> .
@prefix ssn: <http://www.w3.org/ns/ssn/> .
@prefix time: <http://www.w3.org/2006/time#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<https://saref.etsi.org/saref4mari/v1.1.1/example/example1#> a dctype:Dataset ;
dcterms:license <https://forge.etsi.org/etsi-software-license> ;
dcterms:conformsTo <https://saref.etsi.org/core/v3.2.1/> ;
dcterms:conformsTo <https://saref.etsi.org/saref4mari/v1.1.1/> ;
dcterms:title "SAREF4MARI example number 1."@en ;
dcterms:description "SAREF4MARI example number 1."@en .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix dcterms: <http://purl.org/dc/terms/>.
@prefix s4mari: <https://saref.etsi.org/saref4mari/> .
@prefix saref: <https://saref.etsi.org/core/> .
@prefix sosa: <http://www.w3.org/ns/sosa/> .
@prefix ssn: <http://www.w3.org/ns/ssn/> .
@prefix time: <http://www.w3.org/2006/time#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix vann: <http://purl.org/vocab/vann/>.
@prefix geo: <http://www.opengis.net/ont/geosparql#> .
@prefix wgs84: <http://www.w3.org/2003/01/geo/wgs84_pos#> .
@base <https://saref.etsi.org/saref4mari/> .
<https://saref.etsi.org/saref4mari/> rdf:type owl:Ontology ;
dcterms:description "This ontology extends the SAREF ontology for the Maritime domain."@en ;
dcterms:title "SAREF4MARI: an extension of SAREF for the martime domain"@en ;
dcterms:created "2024-xx-xx"^^xsd:date ;
dcterms:creator <uri> ;
dcterms:contributor <uri> ;
dcterms:description "SAREF4MARI is an extension of SAREF for the maritime domain."@en ;
dcterms:issued "2019-xx-xx"^^xsd:date ;
dcterms:license <https://forge.etsi.org/etsi-software-license> ;
dcterms:publisher <https://www.etsi.org/> ;
dcterms:source <https://saref.etsi.org/sources/saref4mari/> ;
vann:preferredNamespacePrefix "s4mari" ;
vann:preferredNamespaceUri "https://saref.etsi.org/saref4mari/" ;
owl:versionIRI <https://saref.etsi.org/saref4mari/v1.1.1/> ;
owl:versionInfo "v1.1.1" .
#################################################################
# Annotation properties
#################################################################
### http://purl.org/dc/elements/1.1/creator
dcterms:creator rdf:type owl:AnnotationProperty .
### http://purl.org/dc/elements/1.1/description
dcterms:description rdf:type owl:AnnotationProperty .
### http://purl.org/dc/elements/1.1/title
dcterms:title rdf:type owl:AnnotationProperty .
### http://purl.org/dc/terms/contributor
dcterms:contributor rdf:type owl:AnnotationProperty .
### http://purl.org/dc/terms/created
dcterms:created rdf:type owl:AnnotationProperty .
### http://purl.org/dc/terms/creator
dcterms:creator rdf:type owl:AnnotationProperty .
### http://purl.org/dc/terms/description
dcterms:description rdf:type owl:AnnotationProperty .
### http://purl.org/dc/terms/issued
dcterms:issued rdf:type owl:AnnotationProperty .
### http://purl.org/dc/terms/license
dcterms:license rdf:type owl:AnnotationProperty .
### http://purl.org/dc/terms/modified
dcterms:modified rdf:type owl:AnnotationProperty .
### http://purl.org/dc/terms/publisher
dcterms:publisher rdf:type owl:AnnotationProperty .
### http://purl.org/dc/terms/source
dcterms:source rdf:type owl:AnnotationProperty .
### http://purl.org/dc/terms/title
dcterms:title rdf:type owl:AnnotationProperty .
### http://purl.org/vocab/vann/preferredNamespacePrefix
vann:preferredNamespacePrefix rdf:type owl:AnnotationProperty .
### http://purl.org/vocab/vann/preferredNamespaceUri
vann:preferredNamespaceUri rdf:type owl:AnnotationProperty .
Id;Category;Requirement
\ No newline at end of file
Id;Requirement;Category;Test
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment