Skip to content

Commit

Permalink
updated eap file; created folders for module eAccess and eSubmission;…
Browse files Browse the repository at this point in the history
… updated xml files for all modules.
  • Loading branch information
andreea-pasare committed Mar 21, 2024
1 parent ff44096 commit 88a147e
Show file tree
Hide file tree
Showing 17 changed files with 17,435 additions and 4,856 deletions.
Binary file modified analysis_and_design/conceptual_model/ePO_CM.eap
Binary file not shown.
140 changes: 140 additions & 0 deletions implementation/eAccess/model2owl-config/config-parameters.xsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,140 @@
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xd="http://www.oxygenxml.com/ns/doc/xsl" exclude-result-prefixes="xd xsl dc fn"
xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:dct="http://purl.org/dc/terms/" xmlns:fn="http://www.w3.org/2005/xpath-functions"
xmlns:functx="http://www.functx.com" xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:vann="http://purl.org/vocab/vann/"
version="3.0">

<xd:doc scope="stylesheet">
<xd:desc>
<xd:p><xd:b>Created on:</xd:b> Mar 22, 2020</xd:p>
<xd:p><xd:b>Author:</xd:b> lps</xd:p>
<xd:p>This module defines project level variables and parameters</xd:p>
</xd:desc>
</xd:doc>



<!-- a set of prefix-baseURI definitions -->
<xsl:variable name="namespacePrefixes" select="fn:doc('namespaces.xml')"/>

<!-- a mapping between UML atomic types to XSD datatypes -->
<xsl:variable name="umlDataTypesMapping" select="fn:doc('umlToXsdDataTypes.xml')"/>

<!-- XSD datatypes that conform to OWL2 requirements -->
<xsl:variable name="xsdAndRdfDataTypes" select="fn:doc('xsdAndRdfDataTypes.xml')"/>
<!-- set default namespace interpretation for lexical Qnames that are not prefix:localSegment or :localSegment. If this
is set to true localSegment will transform to :localSegment-->
<xsl:variable name="defaultNamespaceInterpretation" select="fn:true()"/>

<!-- Ontology base URI, configure as necessary. Do not use a trailing local delimiter
like in the namespace definition-->
<!--<xsl:variable name="base-uri" select="'http://publications.europa.eu/ontology/ePO'"/>-->
<xsl:variable name="base-ontology-uri" select="'http://data.europa.eu/a4g/ontology'"/>
<xsl:variable name="base-shape-uri" select="'http://data.europa.eu/a4g/data-shape'"/>
<xsl:variable name="base-restriction-uri" select="$base-ontology-uri"/>
<!-- Shapes Module URI-->
<xsl:variable name="shapeArtefactURI"
select="fn:concat($base-shape-uri, $defaultDelimiter, $moduleReference, '-shape')"/>
<!-- Restrictions Module URI-->
<xsl:variable name="restrictionsArtefactURI"
select="fn:concat($base-restriction-uri, $defaultDelimiter, $moduleReference, '-restriction')"/>
<!-- Core Module URI-->
<xsl:variable name="coreArtefactURI"
select="fn:concat($base-ontology-uri, $defaultDelimiter, $moduleReference)"/>

<!-- when a delimiter is missing in the base URI of a namespace, use this default value-->
<xsl:variable name="defaultDelimiter" select="'#'"/>

<!-- types of elements and names for attribute types that are acceptable to produce object properties -->
<xsl:variable name="acceptableTypesForObjectProperties"
select="('epo:Identifier', 'rdfs:Literal')"/>
<!-- the type of attributes which takes values from a controlled list-->
<xsl:variable name="controlledListType" select="'epo:Code'"/>
<!-- Acceptable stereotypes -->
<xsl:variable name="stereotypeValidOnAttributes" select="()"/>
<xsl:variable name="stereotypeValidOnObjects" select="()"/>
<xsl:variable name="stereotypeValidOnGeneralisations"
select="('Disjoint', 'Equivalent', 'Complete')"/>
<xsl:variable name="stereotypeValidOnAssociations" select="()"/>
<xsl:variable name="stereotypeValidOnDependencies" select="('Disjoint', 'disjoint', 'join')"/>
<xsl:variable name="stereotypeValidOnClasses" select="('Abstract')"/>
<xsl:variable name="stereotypeValidOnDatatypes" select="()"/>
<xsl:variable name="stereotypeValidOnEnumerations" select="()"/>
<xsl:variable name="stereotypeValidOnPackages" select="()"/>

<xsl:variable name="abstractClassesStereotypes" select="('Abstract', 'abstract class', 'abstract')"/>

<!-- This variable controls whether the enumeration items are transformed into skos concepts or ignored-->
<xsl:variable name="enableGenerationOfSkosConcept" select="fn:false()"/>

<!-- This variable controls whether the enumerations are transformed into skos schemes or ignored-->
<xsl:variable name="enableGenerationOfConceptSchemes" select="fn:false()"/>

<!--Allowed characters for a normalized string-->
<xsl:variable name="allowedStrings" select="'^[\w\d-_:]+$'"/>

<!-- Generate reused classes, attributes and connectors-->
<xsl:variable name="generateReusedConcepts" select="fn:true()"/>


<xsl:variable name="reference-to-external-classes-in-glossary" select="fn:true()"/>

<xsl:variable name="generateObjectsAndRealisations" select="fn:false()"/>

<xsl:variable name="conventionReportCopyrightText" select="'Publications Office of the European Union, 2023'"/>
<xsl:variable name="conventionReportAuthor" select="'Publications Office of the European Union'"/>
<xsl:variable name="conventionReportAuthorLocation" select="'Luxembourg'"/>
<xsl:variable name="conventionReportAuthorWebsite" select="'https://op.europa.eu'"/>
<xsl:variable name="conventionReportUMLModelName" select="'eProcurement'"/>

<!-- _______________________________________________________________________ -->
<!-- METADATA SECTION -->
<!-- _______________________________________________________________________ -->
<!-- This section contains the variables used to build the ontology metadata-->
<xsl:variable name="moduleReference" select="'acc'"/>
<!-- rdfs:label -->
<xsl:variable name="ontologyLabelCore" select="'eProcurement Ontology Access - core'"/>
<xsl:variable name="ontologyLabelRestrictions" select="'eProcurement Ontology Access - core restrictions'"/>
<xsl:variable name="ontologyLabelShapes" select="'eProcurement Ontology Access - core shapes'"/>
<!-- dct:title -->
<xsl:variable name="ontologyTitleCore" select="'eProcurement Ontology Access - core'"/>
<xsl:variable name="ontologyTitleRestrictions" select="'eProcurement Ontology Access - core restrictions'"/>
<xsl:variable name="ontologyTitleShapes" select="'eProcurement Ontology Access - core shapes'"/>
<!-- dct:description-->
<xsl:variable name="ontologyDescriptionCore"
select="'The eProcurement Ontology Access core describes the concepts and properties representing the European Public Procurement Access domain. The provision of these semantics offers the basis for a common understanding of the domain for all stakeholders ensuring the quality of data exchange and transparency. The ontology restrictions are published in a separate artefact.'"/>
<xsl:variable name="ontologyDescriptionRestrictions"
select="'The eProcurement Ontology Access core restrictions provides the restrictions and the inference-related specifications on the concepts and properties in the eProcurement Ontology Access core.'"/>
<xsl:variable name="ontologyDescriptionShapes"
select="'The eProcurement Ontology Access core shapes provides the generic datashape specifications for the eProcurement Ontology Access core.'"/>
<!-- rdfs:seeAlso -->
<xsl:variable name="seeAlsoResources"
select="
('https://github.com/OP-TED/ePO/releases',
'https://joinup.ec.europa.eu/collection/eprocurement/solution/eprocurement-ontology/about',
'https://op.europa.eu/en/web/eu-vocabularies/e-procurement',
'https://docs.ted.europa.eu/home/index.html')"/>
<!-- dct:issued-->
<xsl:variable name="issuedDate" select="format-date(current-date(), '[Y0001]-[M01]-[D01]')"/>
<!-- owl:incompatibleWith -->
<xsl:variable name="incompatibleWith" select="'3.1.0'"/>
<!-- owl:versionInfo -->
<xsl:variable name="versionInfo" select="'4.2.0'"/>
<!-- bibo:status-->
<xsl:variable name="ontologyStatus" select="'Semantic Specification Release'"/>
<!-- owl:priorVersion -->
<xsl:variable name="priorVersion" select="'4.0.2'"/>
<!-- vann:preferredNamespaceUri -->
<xsl:variable name="preferredNamespaceUri" select="'http://data.europa.eu/a4g/ontology#'"/>
<!-- vann:preferredNamespacePrefix -->
<xsl:variable name="preferredNamespacePrefix" select="'epo'"/>
<!-- dct:license-->
<xsl:variable name="licenseLiteral" select="'© European Union, 2014. Unless otherwise noted, the reuse of the Ontology is authorised under the European Union Public Licence v1.2 (https://eupl.eu/).'"/>
<!-- dct:created-->
<xsl:variable name="createdDate" select="'2021-06-01'"/>
<!-- dct:publisher-->
<xsl:variable name="publisher" select="'http://publications.europa.eu/resource/authority/corporate-body/PUBL'"/>
</xsl:stylesheet>
46 changes: 46 additions & 0 deletions implementation/eAccess/model2owl-config/namespaces.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<?xml version="1.0" encoding="UTF-8"?>
<prefixes xmlns="http://publications.europa.eu/ns/">
<prefix name="" value="http://data.europa.eu/a4g/ontology#"/>

<prefix name="owl" value="http://www.w3.org/2002/07/owl#"/>
<prefix name="rdf" value="http://www.w3.org/1999/02/22-rdf-syntax-ns#"/>
<prefix name="xml" value="http://www.w3.org/XML/1998/namespace"/>
<prefix name="xsd" value="http://www.w3.org/2001/XMLSchema#"/>
<prefix name="rdfs" value="http://www.w3.org/2000/01/rdf-schema#"/>

<prefix name="foaf" value="http://xmlns.com/foaf/0.1/" importURI="http://xmlns.com/foaf/0.1/"/>
<prefix name="dct" value="http://purl.org/dc/terms/" importURI="http://purl.org/dc/terms/"/>
<prefix name="org" value="http://www.w3.org/ns/org#" importURI="http://www.w3.org/ns/org#"/>
<prefix name="skos" value="http://www.w3.org/2004/02/skos/core#" importURI="http://www.w3.org/2004/02/skos/core"/>

<prefix name="epo" value="http://data.europa.eu/a4g/ontology#"/>
<prefix name="epo-cat" value="http://data.europa.eu/a4g/ontology#"/>
<prefix name="epo-con" value="http://data.europa.eu/a4g/ontology#"/>
<prefix name="epo-ord" value="http://data.europa.eu/a4g/ontology#"/>
<prefix name="epo-not" value="http://data.europa.eu/a4g/ontology#"/>
<prefix name="epo-ful" value="http://data.europa.eu/a4g/ontology#"/>
<prefix name="epo-acc" value="http://data.europa.eu/a4g/ontology#"/>
<!-- <prefix name="epo-sub" value="http://data.europa.eu/a4g/ontology#"/>-->

<prefix name="nuts" value="http://data.europa.eu/nuts/"/>
<prefix name="espd" value="https://github.com/ESPD/ESPD-EDM/"/>
<prefix name="at-voc" value="http://publications.europa.eu/resource/authority/"/>
<prefix name="time" value="http://www.w3.org/2006/time#" importURI="http://www.w3.org/2006/time"/>
<prefix name="locn" value="http://www.w3.org/ns/locn#" importURI="http://www.w3.org/ns/locn"/>
<prefix name="cv" value="http://data.europa.eu/m8g/" importURI="http://data.europa.eu/m8g/"/>
<prefix name="core" value="http://data.europa.eu/m8g/" importURI="http://data.europa.eu/m8g/"/>
<prefix name="cpv" value="http://data.europa.eu/m8g/" importURI="http://data.europa.eu/m8g/"/>
<prefix name="cpsv" value="http://data.europa.eu/m8g/" importURI="http://data.europa.eu/m8g/"/>
<prefix name="cpov" value="http://data.europa.eu/m8g/" importURI="http://data.europa.eu/m8g/"/>
<prefix name="cccev" value="http://data.europa.eu/m8g/" importURI="http://data.europa.eu/m8g/"/>
<prefix name="geosparql" value="http://www.opengis.net/ont/geosparql#"/>
<prefix name="dul" value="http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#"/>
<prefix name="person" value="http://www.w3.org/ns/person#" importURI="http://www.w3.org/ns/person"/>
<prefix name="at-voc-new" value="http://publications.europa.eu/resource/authority/new/" />
<prefix name="adms" value="http://www.w3.org/ns/adms#" importURI="http://www.w3.org/ns/adms"/>
<prefix name="vann" value="http://purl.org/vocab/vann/" importURI="http://purl.org/vocab/vann/"/>
<prefix name="eli" value="http://data.europa.eu/eli/ontology#" importURI="http://data.europa.eu/eli/ontology#"/>
<prefix name="frbroo" value="http://iflastandards.info/ns/fr/frbr/frbroo/" importURI="http://iflastandards.info/ns/fr/frbr/frbroo/"/>

<!-- <prefix name="bibo" value="http://purl.org/ontology/bibo/"/>-->
</prefixes>
48 changes: 48 additions & 0 deletions implementation/eAccess/model2owl-config/umlToXsdDataTypes.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<?xml version="1.0" encoding="UTF-8"?>
<mappings xmlns="http://publications.europa.eu/ns/">

<!-- epo prefixed datatypes -->
<mapping>
<from qname="epo:Indicator"/>
<to qname="xsd:boolean"/>
</mapping>
<mapping>
<from qname="epo:Date"/>
<to qname="xsd:date"/>
</mapping>
<mapping>
<from qname="epo:DateTime"/>
<to qname="xsd:dateTime"/>
</mapping>
<mapping>
<from qname="epo:Numeric"/>
<to qname="xsd:decimal"/>
</mapping>
<mapping>
<from qname="epo:Text"/>
<to qname="rdfs:Literal"/>
</mapping>
<mapping>
<from qname="epo:Time"/>
<to qname="xsd:time"/>
</mapping>
<mapping>
<from qname="epo:URI"/>
<to qname="xsd:anyURI"/>
</mapping>
<mapping>
<from qname="epo:Integer"/>
<to qname="xsd:integer"/>
</mapping>
<mapping>
<from qname="epo:Code"/>
<to qname="skos:Concept"/>
</mapping>
<!-- end of section -->


<!-- XSD datatypes -->
<!-- no mapping necessary as they are already defined in xsdAndRdfDataTypes.xml as the valid set of OWL2 datatypes in -->
<!-- end of section -->

</mappings>
42 changes: 42 additions & 0 deletions implementation/eAccess/model2owl-config/xsdAndRdfDataTypes.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="UTF-8"?>
<datatypes xmlns="http://publications.europa.eu/ns/">
<datatype namespace="xsd" qname="xsd:anyURI"/>
<datatype namespace="xsd" qname="xsd:base64Binary"/>
<datatype namespace="xsd" qname="xsd:boolean"/>
<datatype namespace="xsd" qname="xsd:byte"/>
<datatype namespace="xsd" qname="xsd:date"/>
<datatype namespace="xsd" qname="xsd:dateTime"/>
<datatype namespace="xsd" qname="xsd:dateTimeStamp"/>
<datatype namespace="xsd" qname="xsd:time"/>
<datatype namespace="xsd" qname="xsd:decimal"/>
<datatype namespace="xsd" qname="xsd:double"/>
<datatype namespace="xsd" qname="xsd:float"/>
<datatype namespace="xsd" qname="xsd:hexBinary"/>
<datatype namespace="xsd" qname="xsd:int"/>
<datatype namespace="xsd" qname="xsd:integer"/>
<datatype namespace="xsd" qname="xsd:language"/>
<datatype namespace="xsd" qname="xsd:long"/>
<datatype namespace="xsd" qname="xsd:Name"/>
<datatype namespace="xsd" qname="xsd:NCName"/>
<datatype namespace="xsd" qname="xsd:NMTOKEN"/>
<datatype namespace="xsd" qname="xsd:negativeInteger"/>
<datatype namespace="xsd" qname="xsd:nonNegativeInteger"/>
<datatype namespace="xsd" qname="xsd:nonPositiveInteger"/>
<datatype namespace="xsd" qname="xsd:normalizedString"/>
<datatype namespace="xsd" qname="xsd:positiveInteger"/>
<datatype namespace="xsd" qname="xsd:short"/>
<datatype namespace="xsd" qname="xsd:string"/>
<datatype namespace="xsd" qname="xsd:token"/>
<datatype namespace="xsd" qname="xsd:unsignedByte"/>
<datatype namespace="xsd" qname="xsd:unsignedInt"/>
<datatype namespace="xsd" qname="xsd:unsignedLong"/>
<datatype namespace="xsd" qname="xsd:unsignedShort"/>

<datatype namespace="rdf" qname="rdf:HTML"/>
<datatype namespace="rdf" qname="rdf:XMLLiteral"/>
<datatype namespace="rdf" qname="rdf:langString"/>

<datatype namespace="rdf" qname="rdf:PlainLiteral"/>


</datatypes>
Loading

0 comments on commit 88a147e

Please sign in to comment.