Skip to content

Commit 7400eb8

Browse files
authored
Merge pull request #793 from dgarijo/develop
Develop
2 parents 4ce2310 + ce79e52 commit 7400eb8

15 files changed

Lines changed: 198 additions & 104 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
# https://github.com/docker/metadata-action (lower cases image name, etc.)
5555
- name: Extract Docker metadata
5656
id: meta
57-
uses: docker/metadata-action@v5.9.0
57+
uses: docker/metadata-action@v5.10.0
5858
with:
5959
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
6060
- name: Build and push

doc/bestPractices/sections/checklist-en.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ <h5>Example:</h5>
2323
@prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt; .
2424
@prefix vann: &lt;http://purl.org/vocab/vann/&gt; .
2525
&lt;https://w3id.org/example&gt; rdf:type owl:Ontology ;
26-
vann:preferredNamespaceUri &lt;https://w3id.org/example#&gt; .
26+
vann:preferredNamespaceUri "https://w3id.org/example#" .
2727
</pre>
2828

2929
<h4 class="list" id="prefix">Prefix [<em class="rfc2119" title="RECOMMENDED">RECOMMENDED</em>]</h4>

doc/metadataGuide/guide.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,10 @@ We prioritize reusing metadata properties defined already. However, a small subs
8383
|Metadata category|Ontology annotation property*|`config.properties` field(s)**|Good practices document|Accepted property value|Example|
8484
|-----------------|-----------------------------|------------------------------|-----------------------|-----------------------|-------|
8585
|Introduction |[widoco:introduction] |introduction |N/A **[OPTIONAL]** |[Text] |[ontology](#onto), [config]|
86-
|N-Triples serialization |[widoco:ntSerialization] |NTSerialization |N/A **[OPTIONAL]** |[URL] |[ontology](#onto), [config]|
87-
|JSON-LD serialization |[widoco:jsonldSerialization] |JSONLDSerialization |N/A **[OPTIONAL]** |[URL] |[ontology](#onto), [config]|
88-
|RDF-XML serialization |[widoco:rdfxmlSerialization] |RDFXMLSerialization |N/A **[OPTIONAL]** |[URL] |[ontology](#onto), [config]|
89-
|Turtle serialization |[widoco:turtleSerialization] |TurtleSerialization |N/A **[OPTIONAL]** |[URL] |[ontology](#onto), [config]|
86+
|N-Triples serialization |[widoco:ntSerialization] |NTSerialization |N/A **[OPTIONAL]** |[URI] |[ontology](#onto), [config]|
87+
|JSON-LD serialization |[widoco:jsonldSerialization] |JSONLDSerialization |N/A **[OPTIONAL]** |[URI] |[ontology](#onto), [config]|
88+
|RDF-XML serialization |[widoco:rdfxmlSerialization] |RDFXMLSerialization |N/A **[OPTIONAL]** |[URI] |[ontology](#onto), [config]|
89+
|Turtle serialization |[widoco:turtleSerialization] |TurtleSerialization |N/A **[OPTIONAL]** |[URI] |[ontology](#onto), [config]|
9090

9191
### Term (classes, properties and data properties) annotations
9292

src/main/resources/lode/cs.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@
8888
<rangeIncludes>range includes</rangeIncludes>
8989
<usesRule>uses rule</usesRule>
9090
<editorialNote>redakční poznámka</editorialNote>
91+
<altLabel>Alternativní označení</altLabel>
9192
<scopeNote>poznámka k rozsahu</scopeNote>
9293
<externalproperty>externí vlastnosti</externalproperty>
9394
</labels>

src/main/resources/lode/de.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@
8989
<scenarios>Szenarien</scenarios>
9090
<usesRule>verwendet die Regel</usesRule>
9191
<editorialNote>redaktionelle Anmerkung</editorialNote>
92+
<altLabel>alternatives Label</altLabel>
9293
<scopeNote>umfang Anmerkung</scopeNote>
9394
<externalproperty>externe Eigenschaft</externalproperty>
9495
</labels>

src/main/resources/lode/en.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@
8888
<domainIncludes>domain includes</domainIncludes>
8989
<rangeIncludes>range includes</rangeIncludes>
9090
<editorialNote>editorial note</editorialNote>
91+
<altLabel>Alternative label</altLabel>
9192
<scopeNote>scope note</scopeNote>
9293
<usedByRuleInAntecedent>used by rule (in antecedent)</usedByRuleInAntecedent>
9394
<usedByRuleInConsequent>used by rule (in consequent)</usedByRuleInConsequent>

src/main/resources/lode/es.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@
8888
<rangeIncludes>el rango incluye</rangeIncludes>
8989
<usesRule>utiliza regla</usesRule>
9090
<editorialNote>nota editorial</editorialNote>
91+
<altLabel>etiqueta alternativa</altLabel>
9192
<scopeNote>nota de alcance</scopeNote>
9293
<externalproperty>propiedad externa</externalproperty>
9394
</labels>

src/main/resources/lode/extraction.xsl

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1024,6 +1024,7 @@ http://www.oxygenxml.com/ns/doc/xsl ">
10241024
</xsl:template>
10251025

10261026
<xsl:template name="get.entity.metadata">
1027+
<xsl:call-template name="get.skos.alt.label"/>
10271028
<xsl:call-template name="get.skos.editorial.note"/>
10281029
<xsl:call-template name="get.skos.scope.note"/>
10291030
<xsl:call-template name="get.version"/>
@@ -1036,6 +1037,21 @@ http://www.oxygenxml.com/ns/doc/xsl ">
10361037
<xsl:call-template name="get.rule.consequent"/>
10371038
</xsl:template>
10381039

1040+
<xsl:template name="get.skos.alt.label">
1041+
<xsl:if test="exists(skos:altLabel)">
1042+
<dl>
1043+
<dt>
1044+
<xsl:value-of select="f:getDescriptionLabel('altLabel')"/>
1045+
</dt>
1046+
<xsl:for-each select="skos:altLabel">
1047+
<dd>
1048+
<xsl:value-of select="text()"/>
1049+
</dd>
1050+
</xsl:for-each>
1051+
</dl>
1052+
</xsl:if>
1053+
</xsl:template>
1054+
10391055
<xsl:template name="get.original.source">
10401056
<xsl:if test="exists(rdfs:isDefinedBy)">
10411057
<dl class="definedBy">

src/main/resources/lode/fr.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,5 +88,6 @@
8888
<rangeIncludes>cible comprend</rangeIncludes>
8989
<usesRule>utilise la règle</usesRule>
9090
<editorialNote>note éditoriale</editorialNote>
91+
<altLabel>label alternatif</altLabel>
9192
<scopeNote>note de portée</scopeNote>
9293
</labels>

src/main/resources/lode/it.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,5 +87,6 @@
8787
<rangeIncludes>codominio include</rangeIncludes>
8888
<usesRule>usa la regola</usesRule>
8989
<editorialNote>nota redazionale</editorialNote>
90+
<altLabel>etichetta alternativa</altLabel>
9091
<scopeNote>nota di scopo</scopeNote>
9192
</labels>

0 commit comments

Comments
 (0)