Skip to content

Commit

Permalink
MW / DCAT / Service / Use related API for servesDataset.
Browse files Browse the repository at this point in the history
  • Loading branch information
fxprunayre committed Jan 31, 2025
1 parent 12f0ee6 commit 819777e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,10 @@
-->
<xsl:template mode="iso19115-3-to-dcat"
match="srv:operatesOn">
<!--
See related API in dcat-core-resource
<dcat:servesDataset>
<dcat:Dataset rdf:about="{if (@xlink:href) then @xlink:href else @uuidref}"/>
</dcat:servesDataset>
</dcat:servesDataset>-->
</xsl:template>
</xsl:stylesheet>
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,11 @@
<xsl:when test="local-name() = 'siblings'">
<dct:references rdf:resource="{$recordUri}"/>
</xsl:when>
<xsl:when test="local-name() = 'datasets'">
<dcat:servesDataset>
<dcat:Dataset rdf:about="{$recordUri}"/>
</dcat:servesDataset>
</xsl:when>
<xsl:when test="local-name() = 'services'">
<xsl:variable name="mainLink"
select="root/link[1]"/>
Expand Down

0 comments on commit 819777e

Please sign in to comment.