Skip to content
This repository was archived by the owner on Jan 28, 2025. It is now read-only.

Commit eebe4e0

Browse files
authored
Merge pull request #120 from Wimmics/release-4.4.0
Release 4.4.0
2 parents 5d0344e + 6d1f768 commit eebe4e0

File tree

3,755 files changed

+246971
-3589
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,755 files changed

+246971
-3589
lines changed

.gitignore

+7-1
Original file line numberDiff line numberDiff line change
@@ -88,4 +88,10 @@ nb-configuration.xml
8888
## logs
8989
##############################
9090
log/
91-
log.txt
91+
log.txt
92+
corese-server/SSL_SERVER_PID
93+
94+
##############################
95+
## test
96+
##############################
97+
earl-report-test.ttl

.gitlab-ci.yml

-14
This file was deleted.

.gitmodules

-3
This file was deleted.

CHANGELOG.md

+38-6
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,48 @@
1-
<!-- markdownlint-disable MD024 -->
21
# Corese Changelog
32

4-
## Unreleased
3+
## 4.4.0 – 2021/03/30 – Storage update
54

65
### Added
76

8-
- Support for [RDF*](https://w3c.github.io/rdf-star/cg-spec/2021-07-01.html) (beta)
9-
- Support for [SPARQL*](https://w3c.github.io/rdf-star/cg-spec/2021-07-01.html) (beta)
7+
- Storage Systems in Corese:
8+
- Integration of Jena TDB1.
9+
- Integration of Corese Graph.
10+
- Integration of RDF4J Model.
11+
- [More information can be found here](https://github.com/Wimmics/corese/blob/master/docs/storage/Configuring%20and%20Connecting%20to%20Different%20Storage%20Systems%20in%20Corese.md).
12+
- Beta support for RDF\* and SPARQL\* ([Community Group Report 17 December 2021](https://w3c.github.io/rdf-star/cg-spec/2021-12-17.html)).
13+
- Corese Command-Line Interface (Beta):
14+
- `convert`: Convert RDF files between different serialization formats.
15+
- `sparql`: Execute SPARQL queries on files.
16+
- `owlProfile`: Check OWL profiles on files.
17+
- `ldscript`: Run LDSCRIPT files.
18+
- Corese-Python interface (Beta):
19+
- [Use the Corese-library with Python](https://github.com/Wimmics/corese/blob/master/docs/corese-python/Corese-library%20with%20Python.md).
20+
- [Use the Corese-server with Python](https://github.com/Wimmics/corese/blob/master/docs/corese-python/Corese-server%20with%20Python.md).
21+
- Undo/Redo support added to Corese GUI ([Pull Request #97](https://github.com/Wimmics/corese/pull/97) thanks to [@alaabenfatma](https://github.com/alaabenfatma)).
22+
23+
### Changes
24+
25+
- Updated Jetty server library to version 11.0.8.
26+
- Code clean-up, correction, and commenting for improved readability and maintenance.
1027

1128
### Fixed
1229

13-
- Encoding error with Windows when exporting graphs from Corese-Gui.
30+
- Fixed an encoding error when loading a file whose path contains a space in Corese-GUI
31+
- Fixed encoding error with Windows when exporting graphs from Corese-GUI.
32+
- Fixed SPARQL engine bug where it was impossible to load a named graph that contains a non-empty RDF list.
33+
- Fixed issue with "rdf:" not found when sending a federated query to Fuseki. See [issue #114](https://github.com/Wimmics/corese/issues/114).
34+
- Fixed non-standard JSON format on query timeout. See [issue #113](https://github.com/Wimmics/corese/issues/113).
35+
- Fixed inconsistent status of the OWL and Rules checkboxes in Corese-GUI that was not updated during reload. See [issue #110](https://github.com/Wimmics/corese/issues/110).
36+
- Fixed the rule engine that was implementing optimizations incompatible with the `owl:propertyChainAxiom` rule. See [issue #110](https://github.com/Wimmics/corese/issues/110).
37+
38+
### Security
39+
40+
- Bumped testng from 7.3.0 to 7.7.1. See [pull request #118](https://github.com/Wimmics/corese/pull/118).
41+
- Bumped jsoup from 1.14.2 to 1.15.3 in /corese-server. See [pull request #101](https://github.com/Wimmics/corese/pull/101).
42+
- Bumped junit from 4.11 to 4.13.1 in /corese-storage. See [pull request #98](https://github.com/Wimmics/corese/pull/98).
43+
- Bumped xercesImpl from 2.12.0 to 2.12.2. See [pull request #92](https://github.com/Wimmics/corese/pull/92).
44+
- Bumped gremlin-core from 3.2.3 to 3.6.2.
45+
- Bumped Jetty server to 11.0.14.
1446

1547
## 4.3.0 – 2021/01/18 – RDF4J Update
1648

@@ -19,7 +51,7 @@
1951
- Graphical editor for SHACL file in Corese-GUI.
2052
- Graphical editor for TURTLE file in Corese-GUI.
2153
- Save graph option un Corese-GUI.
22-
- New type of graph [´CoreseModel´](https://notes.inria.fr/s/OB038LBLV#) implementing the [RDF4J](https://rdf4j.org/) [model API](https://rdf4j.org/javadoc/latest/).
54+
- New type of graph [´CoreseModel´](https://github.com/Wimmics/corese/blob/master/docs/rdf4j/RDF4J%20API%20in%20Corese.md) implementing the [RDF4J](https://rdf4j.org/) [model API](https://rdf4j.org/javadoc/latest/).
2355
- `DataManager` API to allows to connect the Corese SPARQL engine with other triple storage stucture.
2456
- Implement a `DataManager` for RDF4J.
2557

Jenkinsfile

-68
This file was deleted.

README.md

+45-11
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<!-- markdownlint-configure-file { "MD004": { "style": "consistent" } } -->
2+
23
<!-- markdownlint-disable MD033 -->
34

45
#
@@ -17,29 +18,31 @@ Corese is a software platform implementing and extending the standards of the Se
1718
Corese implement W3C standards [RDF](https://www.w3.org/RDF/), [RDFS](https://www.w3.org/2001/sw/wiki/RDFS), [SPARQL1.1 Query & Update](https://www.w3.org/2001/sw/wiki/SPARQL), [OWL RL](https://www.w3.org/2005/rules/wiki/OWLRL), [SHACL](https://www.w3.org/TR/shacl/)
1819
It also implements extensions like [STTL SPARQL](https://files.inria.fr/corese/doc/sttl.html), [SPARQL Rule](https://files.inria.fr/corese/doc/rule.html) and [LDScript](https://files.inria.fr/corese/doc/ldscript.html).
1920

20-
There are three versions of Corese:
21+
There are several interfaces for Corese:"
2122

2223
- **Corese-library:** Java library to process RDF data and use Corese features via an API.
2324
- **Corese-server:** Tool to easily create, configure and manage SPARQL endpoints.
2425
- **Corese-gui:** Graphical interface that allows an easy and visual use of Corese features.
26+
- **Corese-Python (beta):** Python wrapper for accessing and manipulating RDF data with Corese features using py4j.
27+
- **Corese-Command (beta):** Command Line Interface for Corese that allows users to interact with Corese features from the terminal.
2528

2629
## Download and install
2730

2831
### Corese-library
2932

30-
- Download from [maven-central](https://search.maven.org/search?q=g:fr.inria.corese)
33+
- Download from [maven-central](https://central.sonatype.com/namespace/fr.inria.corese)
3134

3235
```xml
3336
<dependency>
3437
<groupId>fr.inria.corese</groupId>
3538
<artifactId>corese-core</artifactId>
36-
<version>4.3.0</version>
39+
<version>4.4.0</version>
3740
</dependency>
3841

3942
<dependency>
4043
<groupId>fr.inria.corese</groupId>
4144
<artifactId>corese-rdf4j</artifactId>
42-
<version>4.3.0</version>
45+
<version>4.4.0</version>
4346
</dependency>
4447
```
4548

@@ -58,9 +61,8 @@ docker run --name my-corese \
5861
- Download [Corese-server jar file](https://project.inria.fr/corese/download/).
5962

6063
```sh
61-
# Replace ${VERSION} with the desired version number (e.g: 4.3.0)
62-
wget "files.inria.fr/corese/distrib/corese-server-${VERSION}.jar"
63-
java -jar "corese-server-${VERSION}.jar"
64+
wget "files.inria.fr/corese/distrib/corese-server-4.4.0.jar"
65+
java -jar "-Dfile.encoding=UTF8" "corese-server-4.4.0.jar"
6466
```
6567

6668
Documentation: [Getting Started With Corese-server](https://notes.inria.fr/s/SoyFglO_1#)
@@ -70,9 +72,26 @@ Documentation: [Getting Started With Corese-server](https://notes.inria.fr/s/Soy
7072
- Download [Corese-gui jar file](https://project.inria.fr/corese/download/).
7173

7274
```sh
73-
# Replace ${VERSION} with the desired version number (e.g: 4.3.0)
74-
wget "files.inria.fr/corese/distrib/corese-gui-${VERSION}.jar"
75-
java -jar "corese-gui-${VERSION}.jar"
75+
wget "files.inria.fr/corese/distrib/corese-gui-4.4.0.jar"
76+
java -jar "-Dfile.encoding=UTF8" "corese-gui-4.4.0.jar"
77+
```
78+
79+
### Corese-Python (beta)
80+
81+
- Download [Corese-python jar file](https://project.inria.fr/corese/download/).
82+
83+
```sh
84+
wget "files.inria.fr/corese/distrib/corese-library-python-4.4.0.jar"
85+
java -jar "-Dfile.encoding=UTF8" "corese-library-python-4.4.0.jar"
86+
```
87+
88+
### Corese-Command (beta)
89+
90+
- Download [Corese-command jar file](https://project.inria.fr/corese/download/).
91+
92+
```sh
93+
wget "files.inria.fr/corese/distrib/corese-command-4.4.0.jar"
94+
java -jar "-Dfile.encoding=UTF8" "corese-command-4.4.0.jar"
7695
```
7796

7897
## Compilation from source
@@ -82,7 +101,21 @@ Download source code and compile.
82101
```shell
83102
git clone "https://github.com/Wimmics/corese.git"
84103
cd corese
85-
mvn -Dmaven.test.skip=true package
104+
mvn clean -Dmaven.test.skip=true package
105+
```
106+
107+
## How to cite Corese
108+
109+
```bibtex
110+
@misc{corese,
111+
author = {Corby, Olivier and Ceres, Rémi and Demairy, Erwan and Song, Fuqi and Bottollier, Virginie and Savoie, Olivier},
112+
title = {{Corese: Semantic Web Factory}},
113+
howpublished = {\url{https://project.inria.fr/corese/}},
114+
version = {4.4.0},
115+
institution = {Inria},
116+
abstract = {{Software platform implementing and extending the standards of the Semantic Web.}},
117+
url = {https://github.com/Wimmics/corese}
118+
}
86119
```
87120

88121
## Contributions and discussions
@@ -93,6 +126,7 @@ We welcome everyone to contribute to [issue reports](https://github.com/Wimmics/
93126
## General informations
94127

95128
- [Corese website](https://project.inria.fr/corese)
129+
- [Documentation](https://project.inria.fr/corese/documentation/)
96130
- [Source code](https://github.com/Wimmics/corese)
97131
- [Corese server demo](http://corese.inria.fr/)
98132
- [Changelog](https://github.com/Wimmics/corese/blob/master/CHANGELOG.md)

corese-cli/src/main/java/fr/inria/corese/cli/App.java

-28
This file was deleted.

corese-cli/pom.xml corese-command/pom.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
</parent>
1010

1111
<groupId>fr.inria.corese</groupId>
12-
<artifactId>corese-cli</artifactId>
13-
<name>corese-cli</name>
12+
<artifactId>corese-command</artifactId>
13+
<name>corese-command</name>
1414

1515
<dependencies>
1616

@@ -60,7 +60,7 @@
6060
<shadedClassifierName>jar-with-dependencies</shadedClassifierName>
6161
<transformers>
6262
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
63-
<mainClass>fr.inria.corese.cli.App</mainClass>
63+
<mainClass>fr.inria.corese.command.App</mainClass>
6464
</transformer>
6565
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
6666
</transformers>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
package fr.inria.corese.command;
2+
3+
import fr.inria.corese.command.programs.Convert;
4+
import fr.inria.corese.command.programs.LDScript;
5+
import fr.inria.corese.command.programs.Profile;
6+
import fr.inria.corese.command.programs.Sparql;
7+
import picocli.CommandLine;
8+
import picocli.CommandLine.Command;
9+
10+
/**
11+
* Hello world!
12+
*/
13+
@Command(name = "Corese-command", version = "4.4.0", mixinStandardHelpOptions = true, subcommands = {
14+
Convert.class, Sparql.class, Profile.class, LDScript.class,
15+
})
16+
public final class App implements Runnable {
17+
18+
public static void main(String[] args) {
19+
int exitCode = new CommandLine(new App()).execute(args);
20+
System.exit(exitCode);
21+
}
22+
23+
@Override
24+
public void run() {
25+
// Print usage
26+
CommandLine.usage(new App(), System.out);
27+
}
28+
}

corese-cli/src/main/java/fr/inria/corese/cli/programs/Convert.java corese-command/src/main/java/fr/inria/corese/command/programs/Convert.java

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
package fr.inria.corese.cli.programs;
1+
package fr.inria.corese.command.programs;
22

33
import java.nio.file.Path;
44

5-
import fr.inria.corese.cli.utils.GraphUtils;
6-
import fr.inria.corese.cli.utils.format.InputFormat;
7-
import fr.inria.corese.cli.utils.format.OutputFormat;
5+
import fr.inria.corese.command.utils.GraphUtils;
6+
import fr.inria.corese.command.utils.format.InputFormat;
7+
import fr.inria.corese.command.utils.format.OutputFormat;
88
import fr.inria.corese.core.Graph;
99
import picocli.CommandLine.Command;
1010
import picocli.CommandLine.Parameters;
1111

12-
@Command(name = "convert", version = "4.3.0", description = "Convert an RDF file between different serialization formats.", mixinStandardHelpOptions = true)
12+
@Command(name = "convert", version = "4.4.0", description = "Convert an RDF file between different serialization formats.", mixinStandardHelpOptions = true)
1313
public class Convert implements Runnable {
1414

1515
@Parameters(paramLabel = "INPUT_FORMAT", description = "Input file format."

corese-cli/src/main/java/fr/inria/corese/cli/programs/LDScript.java corese-command/src/main/java/fr/inria/corese/command/programs/LDScript.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package fr.inria.corese.cli.programs;
1+
package fr.inria.corese.command.programs;
22

33
import java.io.IOException;
44
import java.nio.charset.StandardCharsets;
@@ -10,7 +10,7 @@
1010
import picocli.CommandLine.Command;
1111
import picocli.CommandLine.Parameters;
1212

13-
@Command(name = "ldscript", version = "4.3.0", description = "Run an LDSCRIPT file.", mixinStandardHelpOptions = true)
13+
@Command(name = "ldscript", version = "4.4.0", description = "Run an LDSCRIPT file.", mixinStandardHelpOptions = true)
1414
public class LDScript implements Runnable {
1515

1616
@Parameters(paramLabel = "INPUT", description = "LDScript file to run.")

0 commit comments

Comments
 (0)