Skip to content

Commit 458f2c4

Browse files
authored
Merge main (#4932)
2 parents c39f32a + 5c0a1b3 commit 458f2c4

12 files changed

Lines changed: 47 additions & 21 deletions

File tree

core/sparqlbuilder/src/main/java/org/eclipse/rdf4j/sparqlbuilder/constraint/propertypath/InversePath.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ public InversePath(PropertyPath path) {
2222
this.path = path;
2323
}
2424

25+
@Override
2526
public String getQueryString() {
26-
return "^ " + path.getQueryString();
27+
return "^" + path.getQueryString();
2728
}
2829
}

core/sparqlbuilder/src/main/java/org/eclipse/rdf4j/sparqlbuilder/constraint/propertypath/InversePredicatePath.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ public InversePredicatePath(IRI predicate) {
3333

3434
@Override
3535
public String getQueryString() {
36-
return "^ " + predicate.getQueryString();
36+
return "^" + predicate.getQueryString();
3737
}
3838
}

core/sparqlbuilder/src/main/java/org/eclipse/rdf4j/sparqlbuilder/constraint/propertypath/NegatedPropertySet.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ public NegatedPropertySet(PredicatePathOrInversePredicatePath... properties) {
3030
@Override
3131
public String getQueryString() {
3232
if (properties.length == 1) {
33-
return "! " + properties[0].getQueryString();
33+
return "!" + properties[0].getQueryString();
3434
} else {
3535
return Arrays
3636
.stream(properties)
3737
.map(QueryElement::getQueryString)
38-
.collect(Collectors.joining(" | ", "! ( ", " )"));
38+
.collect(Collectors.joining(" | ", "!( ", " )"));
3939
}
4040
}
4141
}

core/sparqlbuilder/src/main/java/org/eclipse/rdf4j/sparqlbuilder/constraint/propertypath/OneOrMorePath.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ public OneOrMorePath(PropertyPath path) {
2424

2525
@Override
2626
public String getQueryString() {
27-
return path.getQueryString() + " +";
27+
return path.getQueryString() + "+";
2828
}
2929
}

core/sparqlbuilder/src/main/java/org/eclipse/rdf4j/sparqlbuilder/constraint/propertypath/ZeroOrMorePath.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ public ZeroOrMorePath(PropertyPath path) {
2424

2525
@Override
2626
public String getQueryString() {
27-
return path.getQueryString() + " *";
27+
return path.getQueryString() + "*";
2828
}
2929
}

core/sparqlbuilder/src/main/java/org/eclipse/rdf4j/sparqlbuilder/constraint/propertypath/ZeroOrOnePath.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ public ZeroOrOnePath(PropertyPath path) {
2424

2525
@Override
2626
public String getQueryString() {
27-
return path.getQueryString() + " ?";
27+
return path.getQueryString() + "?";
2828
}
2929
}

core/sparqlbuilder/src/test/java/org/eclipse/rdf4j/sparqlbuilder/constraint/propertypath/builder/PropertyPathTest.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public void testInversePath() {
122122
.path(iri(RDFS.COMMENT))
123123
.inv()
124124
.build();
125-
assertEquals("^ ( <" + RDFS.COMMENT + "> )", p.getQueryString());
125+
assertEquals("^( <" + RDFS.COMMENT + "> )", p.getQueryString());
126126
}
127127

128128
@Test
@@ -131,7 +131,7 @@ public void testOneOrMorePath() {
131131
.path(iri(RDFS.COMMENT))
132132
.oneOrMore()
133133
.build();
134-
assertEquals("<" + RDFS.COMMENT + "> +", p.getQueryString());
134+
assertEquals("<" + RDFS.COMMENT + ">+", p.getQueryString());
135135
}
136136

137137
@Test
@@ -140,7 +140,7 @@ public void testZeroOrMorePath() {
140140
.path(iri(RDFS.COMMENT))
141141
.zeroOrMore()
142142
.build();
143-
assertEquals("<" + RDFS.COMMENT + "> *", p.getQueryString());
143+
assertEquals("<" + RDFS.COMMENT + ">*", p.getQueryString());
144144
}
145145

146146
@Test
@@ -149,7 +149,7 @@ public void testZeroOrOnePath() {
149149
.path(iri(RDFS.COMMENT))
150150
.zeroOrOne()
151151
.build();
152-
assertEquals("<" + RDFS.COMMENT + "> ?", p.getQueryString());
152+
assertEquals("<" + RDFS.COMMENT + ">?", p.getQueryString());
153153
}
154154

155155
@Test
@@ -159,7 +159,7 @@ public void testNegatedPropertySetSingle() {
159159
.negProp()
160160
.pred(iri(RDFS.COMMENT))
161161
.build();
162-
assertEquals("! <" + RDFS.COMMENT + ">", p.getQueryString());
162+
assertEquals("!<" + RDFS.COMMENT + ">", p.getQueryString());
163163
}
164164

165165
@Test
@@ -169,7 +169,7 @@ public void testNegatedPropertySetSingleInverted() {
169169
.negProp()
170170
.invPred(iri(RDFS.COMMENT))
171171
.build();
172-
assertEquals("! ^ <" + RDFS.COMMENT + ">", p.getQueryString());
172+
assertEquals("!^<" + RDFS.COMMENT + ">", p.getQueryString());
173173
}
174174

175175
@Test
@@ -180,7 +180,7 @@ public void testNegatedPropertySetMultipleInverted() {
180180
.invPred(iri(RDFS.COMMENT))
181181
.invPred(iri(RDFS.LABEL))
182182
.build();
183-
assertEquals("! ( ^ <" + RDFS.COMMENT + "> | ^ <" + RDFS.LABEL + "> )", p.getQueryString());
183+
assertEquals("!( ^<" + RDFS.COMMENT + "> | ^<" + RDFS.LABEL + "> )", p.getQueryString());
184184
}
185185

186186
@Test
@@ -193,7 +193,7 @@ public void testNegatedPropertySetMultipleMixed() {
193193
.invPred(iri(RDFS.SUBPROPERTYOF))
194194
.pred(iri(RDFS.COMMENT))
195195
.build();
196-
assertEquals("! ( ^ <" + RDFS.SUBCLASSOF + "> | <" + RDFS.LABEL + "> | ^ <" + RDFS.SUBPROPERTYOF
196+
assertEquals("!( ^<" + RDFS.SUBCLASSOF + "> | <" + RDFS.LABEL + "> | ^<" + RDFS.SUBPROPERTYOF
197197
+ "> | <" + RDFS.COMMENT + "> )", p.getQueryString());
198198
}
199199

site/content/download.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ toc: true
55

66
You can either retrieve RDF4J via Apache Maven, or download the SDK or onejar directly.
77

8-
## RDF4J 4.3.9 (latest)
8+
## RDF4J 4.3.10 (latest)
99

10-
RDF4J 4.3.9 is our latest stable release. It requires Java 11 minimally.
11-
For details on what’s new and how to upgrade, see the [release and upgrade notes](/release-notes/4.3.9).
10+
RDF4J 4.3.10 is our latest stable release. It requires Java 11 minimally.
11+
For details on what’s new and how to upgrade, see the [release and upgrade notes](/release-notes/4.3.10).
1212

13-
- [RDF4J 4.3.9 SDK (zip)](http://www.eclipse.org/downloads/download.php?file=/rdf4j/eclipse-rdf4j-4.3.9-sdk.zip)<br/>
13+
- [RDF4J 4.3.10 SDK (zip)](http://www.eclipse.org/downloads/download.php?file=/rdf4j/eclipse-rdf4j-4.3.10-sdk.zip)<br/>
1414
Full Eclipse RDF4J SDK, containing all libraries, RDF4J Server, Workbench, and Console applications, and Javadoc API.
1515

16-
- [RDF4J 4.3.9 onejar](http://www.eclipse.org/downloads/download.php?file=/rdf4j/eclipse-rdf4j-4.3.9-onejar.jar)<br/>
16+
- [RDF4J 4.3.10 onejar](http://www.eclipse.org/downloads/download.php?file=/rdf4j/eclipse-rdf4j-4.3.10-onejar.jar)<br/>
1717
Single jar file for easy inclusion of the full RDF4J toolkit in your Java project.
1818

1919
- [RDF4J artifacts](https://search.maven.org/search?q=org.eclipse.rdf4j) on the [Maven Central Repository](http://search.maven.org/)
@@ -28,7 +28,7 @@ You can include RDF4J as a Maven dependency in your Java project by including th
2828
<dependency>
2929
<groupId>org.eclipse.rdf4j</groupId>
3030
<artifactId>rdf4j-bom</artifactId>
31-
<version>4.3.9</version>
31+
<version>4.3.10</version>
3232
<type>pom</type>
3333
<scope>import</scope>
3434
</dependency>

site/content/news/rdf4j-4310.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
title: "RDF4J 4.3.10 released"
3+
date: 2024-03-06T12:04:16+0100
4+
layout: "single"
5+
categories: ["news"]
6+
---
7+
RDF4J 4.3.10 is now available. This is a patch release fixing 2 bugs.
8+
9+
For more details, have a look at the [release notes](/release-notes/4.3.10).
10+
<!--more-->
11+
### Links
12+
13+
- [Download RDF4J](/download/)
14+
- [release notes](/release-notes/4.3.10).
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
title: "4.3.10"
3+
toc: true
4+
---
5+
RDF4J 4.3.10 is a patch release that fixes 2 issues.
6+
7+
For a complete overview, see [all issues fixed in 4.3.10](https://github.com/eclipse/rdf4j/milestone/103?closed=1).
8+
9+
### Acknowledgements
10+
11+
This release was made possible by contributions from Frens Jan Rumph, Håvard M. Ottestad and Michael Vorburger.

0 commit comments

Comments
 (0)