-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #701 from dgarijo/develop
Develop
- Loading branch information
Showing
6 changed files
with
1,068 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,12 +48,16 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | |
|
||
<!-- SWRL TOC and SWRL Rule extraction | ||
Copyright (C) 2023, Victor Chavez <[email protected]> | ||
Modified by Daniel Garijo | ||
--> | ||
<xsl:template name="get.swrl.toc"> | ||
<ul class="hlist"> | ||
<xsl:apply-templates select="/rdf:RDF/rdf:Description[rdf:type[@rdf:resource='http://www.w3.org/2003/11/swrl#Imp']]" mode="toc"> | ||
<xsl:sort select="lower-case(f:getLabel(rdfs:label))" | ||
order="ascending" data-type="text"/> | ||
|
||
<xsl:sort | ||
select="if(rdfs:label) then lower-case(rdfs:label) else ''" | ||
order="ascending" | ||
data-type="text"/> | ||
</xsl:apply-templates> | ||
</ul> | ||
</xsl:template> | ||
|
@@ -193,8 +197,10 @@ Copyright (C) 2023, Victor Chavez <[email protected]> | |
<h2>SWRL rules</h2> | ||
<xsl:call-template name="get.swrl.toc"/> | ||
<xsl:apply-templates select="//(swrl:Imp | rdf:Description[rdf:type[@rdf:resource = 'http://www.w3.org/2003/11/swrl#Imp']])" > | ||
<xsl:sort select="lower-case(f:getLabel(rdfs:label))" | ||
order="ascending" data-type="text"/> | ||
<xsl:sort | ||
select="if(rdfs:label) then lower-case(rdfs:label) else ''" | ||
order="ascending" | ||
data-type="text"/> | ||
</xsl:apply-templates> | ||
</div> | ||
</xsl:if> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.