Skip to content

Commit

Permalink
0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tfrancart committed Jan 25, 2025
1 parent 1c25759 commit 2d9159f
Show file tree
Hide file tree
Showing 13 changed files with 43 additions and 42 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>fr.sparna.rdf.shacl</groupId>
<artifactId>shacl-play-root-pom</artifactId>
<version>0.8.1</version>
<version>0.9.0</version>
<packaging>pom</packaging>

<!-- https://maven.apache.org/pom.html#distribution-management-->
Expand Down
2 changes: 1 addition & 1 deletion shacl-commons/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<parent>
<groupId>fr.sparna.rdf.shacl</groupId>
<artifactId>shacl-play-root-pom</artifactId>
<version>0.8.1</version>
<version>0.9.0</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
4 changes: 2 additions & 2 deletions shacl-diagram/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>fr.sparna.rdf.shacl</groupId>
<artifactId>shacl-play-root-pom</artifactId>
<version>0.8.1</version>
<version>0.9.0</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down Expand Up @@ -66,7 +66,7 @@
<dependency>
<groupId>fr.sparna.rdf.shacl</groupId>
<artifactId>shacl-commons</artifactId>
<version>0.8.1</version>
<version>0.9.0</version>
</dependency>

</dependencies>
Expand Down
6 changes: 3 additions & 3 deletions shacl-doc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<parent>
<groupId>fr.sparna.rdf.shacl</groupId>
<artifactId>shacl-play-root-pom</artifactId>
<version>0.8.1</version>
<version>0.9.0</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down Expand Up @@ -108,14 +108,14 @@
<dependency>
<groupId>fr.sparna.rdf.shacl</groupId>
<artifactId>shacl-diagram</artifactId>
<version>0.8.1</version>
<version>0.9.0</version>
</dependency>

<!-- SHACL generation -->
<dependency>
<groupId>fr.sparna.rdf.shacl</groupId>
<artifactId>shacl-generate</artifactId>
<version>0.8.1</version>
<version>0.9.0</version>
</dependency>

<!-- PDF -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,19 @@ public Link selectExpectedValueAsLink(

if (shHasValue != null) {
l = buildLink(shHasValue);
// sh:node has precedence over sh:class
} else if (shNode != null) {
for(NodeShape aBox : allNodeShapes) {
// using toString instead of getURI so that it works with anonymous nodeshapes
if(aBox.getNodeShape().toString().equals(shNode.toString())) {
l = new Link(aBox.getShortFormOrId(), aBox.getDisplayLabel(owlGraph, lang));
break;
}
}
// default link if shape not found
if(l == null) {
l = buildLink(shNode);
}
} else if (shClass != null) {
for(NodeShape aNodeShape : allNodeShapes) {
if(aNodeShape.getShTargetClass() != null && findShClassInShTargetClass(aNodeShape.getShTargetClass(),shClass.getURI())) {
Expand All @@ -159,18 +172,6 @@ public Link selectExpectedValueAsLink(
if(l == null) {
l = buildLink(shClass);
}
} else if (shNode != null) {
for(NodeShape aBox : allNodeShapes) {
// using toString instead of getURI so that it works with anonymous nodeshapes
if(aBox.getNodeShape().toString().equals(shNode.toString())) {
l = new Link(aBox.getShortFormOrId(), aBox.getDisplayLabel(owlGraph, lang));
break;
}
}
// default link if shape not found
if(l == null) {
l = buildLink(shNode);
}
} else if (shDatatype != null) {
if(
!shDatatype.asResource().getURI().startsWith(XSD.NS)
Expand Down
2 changes: 1 addition & 1 deletion shacl-doc/src/main/resources/doc2html.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -1217,7 +1217,7 @@
<xsl:choose>
<xsl:when test="expectedValue[href/text()]">
<code>
<a href="{expectedValue/href}"><xsl:value-of select="expectedValue/label" /></a>
<a href="#{expectedValue/href}"><xsl:value-of select="expectedValue/label" /></a>
</code>
</xsl:when>
<xsl:when test="./or/or">
Expand Down
4 changes: 2 additions & 2 deletions shacl-generate/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<parent>
<groupId>fr.sparna.rdf.shacl</groupId>
<artifactId>shacl-play-root-pom</artifactId>
<version>0.8.1</version>
<version>0.9.0</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down Expand Up @@ -75,7 +75,7 @@
<dependency>
<groupId>fr.sparna.rdf.shacl</groupId>
<artifactId>shacl-commons</artifactId>
<version>0.8.1</version>
<version>0.9.0</version>
</dependency>

</dependencies>
Expand Down
14 changes: 7 additions & 7 deletions shacl-play-app/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>fr.sparna.rdf.shacl</groupId>
<artifactId>shacl-play-root-pom</artifactId>
<version>0.8.1</version>
<version>0.9.0</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down Expand Up @@ -102,37 +102,37 @@
<dependency>
<groupId>fr.sparna.rdf.shacl</groupId>
<artifactId>shacl-validator</artifactId>
<version>0.8.1</version>
<version>0.9.0</version>
</dependency>

<dependency>
<groupId>fr.sparna.rdf.shacl</groupId>
<artifactId>shacl-printer</artifactId>
<version>0.8.1</version>
<version>0.9.0</version>
</dependency>

<dependency>
<groupId>fr.sparna.rdf.shacl</groupId>
<artifactId>shacl-diagram</artifactId>
<version>0.8.1</version>
<version>0.9.0</version>
</dependency>

<dependency>
<groupId>fr.sparna.rdf.shacl</groupId>
<artifactId>shacl-sparql-query-gen</artifactId>
<version>0.8.1</version>
<version>0.9.0</version>
</dependency>

<dependency>
<groupId>fr.sparna.rdf.shacl</groupId>
<artifactId>shacl-doc</artifactId>
<version>0.8.1</version>
<version>0.9.0</version>
</dependency>

<dependency>
<groupId>fr.sparna.rdf.shacl</groupId>
<artifactId>shacl-generate</artifactId>
<version>0.8.1</version>
<version>0.9.0</version>
</dependency>

</dependencies>
Expand Down
16 changes: 8 additions & 8 deletions shacl-play/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
<modelVersion>4.0.0</modelVersion>
<groupId>fr.sparna.rdf.shacl</groupId>
<artifactId>shacl-play</artifactId>
<version>0.8.1</version>
<version>0.9.0</version>
<packaging>war</packaging>
<name>SHACL Play</name>

<parent>
<groupId>fr.sparna.rdf.shacl</groupId>
<artifactId>shacl-play-root-pom</artifactId>
<version>0.8.1</version>
<version>0.9.0</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down Expand Up @@ -129,37 +129,37 @@
<dependency>
<groupId>fr.sparna.rdf.shacl</groupId>
<artifactId>shacl-validator</artifactId>
<version>0.8.1</version>
<version>0.9.0</version>
</dependency>

<dependency>
<groupId>fr.sparna.rdf.shacl</groupId>
<artifactId>shacl-printer</artifactId>
<version>0.8.1</version>
<version>0.9.0</version>
</dependency>

<dependency>
<groupId>fr.sparna.rdf.shacl</groupId>
<artifactId>shacl-diagram</artifactId>
<version>0.8.1</version>
<version>0.9.0</version>
</dependency>

<dependency>
<groupId>fr.sparna.rdf.shacl</groupId>
<artifactId>shacl-doc</artifactId>
<version>0.8.1</version>
<version>0.9.0</version>
</dependency>

<dependency>
<groupId>fr.sparna.rdf.shacl</groupId>
<artifactId>shacl-sparql-query-gen</artifactId>
<version>0.8.1</version>
<version>0.9.0</version>
</dependency>

<dependency>
<groupId>fr.sparna.rdf.shacl</groupId>
<artifactId>shacl-generate</artifactId>
<version>0.8.1</version>
<version>0.9.0</version>
</dependency>

<!-- Jackson -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public ModelAndView docUrl(
// includeDiagram option
@RequestParam(value="includeDiagram", required=false) boolean includeDiagram,
// includeDiagram option
@RequestParam(value="includeSectionDiagram", required=false) boolean includeSectionDiagram,
@RequestParam(value="includeSectionDiagram", required=false, defaultValue = "true") boolean includeSectionDiagram,
// hide Properties
@RequestParam(value="hideProperties", required=false) boolean hideProperties,
// List Option
Expand Down
4 changes: 2 additions & 2 deletions shacl-printer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>fr.sparna.rdf.shacl</groupId>
<artifactId>shacl-play-root-pom</artifactId>
<version>0.8.1</version>
<version>0.9.0</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down Expand Up @@ -67,7 +67,7 @@
<dependency>
<groupId>fr.sparna.rdf.shacl</groupId>
<artifactId>shacl-commons</artifactId>
<version>0.8.1</version>
<version>0.9.0</version>
</dependency>


Expand Down
2 changes: 1 addition & 1 deletion shacl-sparql-query-gen/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>fr.sparna.rdf.shacl</groupId>
<artifactId>shacl-play-root-pom</artifactId>
<version>0.8.1</version>
<version>0.9.0</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion shacl-validator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>fr.sparna.rdf.shacl</groupId>
<artifactId>shacl-play-root-pom</artifactId>
<version>0.8.1</version>
<version>0.9.0</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down

0 comments on commit 2d9159f

Please sign in to comment.