We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b33d914 commit 7335bd9Copy full SHA for 7335bd9
1 file changed
core/sail/nativerdf/src/test/java/org/eclipse/rdf4j/sail/nativerdf/benchmark/QueryBenchmark.java
@@ -282,6 +282,20 @@ public long simple_filter_not() {
282
}
283
284
285
+ @Benchmark
286
+ public long zeroOrMore() {
287
+ try (SailRepositoryConnection connection = repository.getConnection()) {
288
+ return connection
289
+ .prepareTupleQuery("" +
290
+ "SELECT ?x WHERE {\n" +
291
+ " ?x rdf:type/rdfs:subClassOf* ?class\n" +
292
+ "} limit 30")
293
+ .evaluate()
294
+ .stream()
295
+ .count();
296
+ }
297
298
+
299
// @Benchmark
300
// public long wild_card_chain_with_common_ends() {
301
// try (SailRepositoryConnection connection = repository.getConnection()) {
0 commit comments