Skip to content

Commit

Permalink
version 2.1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
tfrancart committed Jan 31, 2022
1 parent f2d7761 commit decf6bb
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 13 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 @@

<groupId>fr.sparna.rdf.xls2rdf</groupId>
<artifactId>xls2rdf-pom</artifactId>
<version>2.1.5</version>
<version>2.1.6</version>
<packaging>pom</packaging>

<name>XLS2RDF root POM</name>
Expand Down
4 changes: 2 additions & 2 deletions xls2rdf-app/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>fr.sparna.rdf.xls2rdf</groupId>
<artifactId>xls2rdf-pom</artifactId>
<version>2.1.5</version>
<version>2.1.6</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down Expand Up @@ -121,7 +121,7 @@
<dependency>
<groupId>fr.sparna.rdf.xls2rdf</groupId>
<artifactId>xls2rdf-lib</artifactId>
<version>2.1.5</version>
<version>2.1.6</version>
</dependency>

<dependency>
Expand Down
2 changes: 1 addition & 1 deletion xls2rdf-lib/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>fr.sparna.rdf.xls2rdf</groupId>
<artifactId>xls2rdf-pom</artifactId>
<version>2.1.5</version>
<version>2.1.6</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@

import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.PrintStream;
Expand Down Expand Up @@ -662,7 +663,7 @@ public static void main(String[] args) throws Exception {
bc.configure((LoggerContext) LoggerFactory.getILoggerFactory());
((ch.qos.logback.classic.Logger) org.slf4j.LoggerFactory.getLogger("org.eclipse.rdf4j")).setLevel(ch.qos.logback.classic.Level.INFO);


runLikeInSkosPlay(new FileInputStream(args[0]), System.out, "en");
// Method 1 : save each scheme to a separate directory
// DirectoryModelWriter writer = new DirectoryModelWriter(new File("/home/thomas/sparna/00-Clients/Luxembourg/02-Migration/controlled-vocabularies-xls2skos/cv-from-xls2skos"));
// writer.setSaveGraphFile(true);
Expand All @@ -672,16 +673,16 @@ public static void main(String[] args) throws Exception {
// OutputStreamModelWriter ms = new OutputStreamModelWriter(new File("/home/thomas/controlled-vocabularies.ttl"));

// Method 3 : save each scheme to a separate entry in a ZIP file.
ZipOutputStreamModelWriter writer = new ZipOutputStreamModelWriter(new File("/home/thomas/sparna/00-Clients/Luxembourg/02-Migration/controlled-vocabularies-xls2skos/cv-from-xls2skos.zip"));
writer.setSaveGraphFile(true);
writer.setGraphSuffix("/graph");
// ZipOutputStreamModelWriter writer = new ZipOutputStreamModelWriter(new File("/home/thomas/sparna/00-Clients/Luxembourg/02-Migration/controlled-vocabularies-xls2skos/cv-from-xls2skos.zip"));
// writer.setSaveGraphFile(true);
// writer.setGraphSuffix("/graph");

Xls2RdfConverter me = new Xls2RdfConverter(writer, "fr");
me.setPostProcessors(Collections.singletonList(new SkosPostProcessor(false)));
// Xls2RdfConverter me = new Xls2RdfConverter(writer, "fr");
// me.setPostProcessors(Collections.singletonList(new SkosPostProcessor(false)));

// me.loadAllToFile(new File("/home/thomas/sparna/00-Clients/Sparna/20-Repositories/sparna/fr.sparna/rdf/skos/xls2skos/src/test/resources/test-excel-saved-from-libreoffice.xlsx"));
// me.loadAllToFile(new File("/home/thomas/sparna/00-Clients/Sparna/20-Repositories/sparna/fr.sparna/rdf/skos/xls2skos/src/test/resources/test-libreoffice.ods"));
me.processFile(new File("/home/thomas/sparna/00-Clients/Luxembourg/02-Migration/controlled-vocabularies-xls2skos/jolux-controlled-voc-travail-20161026-recup.xlsx"));
// me.processFile(new File("/home/thomas/sparna/00-Clients/Luxembourg/02-Migration/controlled-vocabularies-xls2skos/jolux-controlled-voc-travail-20161026-recup.xlsx"));
// me.processFile(new File("/home/thomas/sparna/00-Clients/Luxembourg/02-Migration/jolux-controlled-voc-travail-20161012.xlsx"));
}

Expand Down
4 changes: 2 additions & 2 deletions xls2rdf-rest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
<dependency>
<groupId>fr.sparna.rdf.xls2rdf</groupId>
<artifactId>xls2rdf-pom</artifactId>
<version>2.1.5</version>
<version>2.1.6</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand All @@ -77,7 +77,7 @@
<dependency>
<groupId>fr.sparna.rdf.xls2rdf</groupId>
<artifactId>xls2rdf-lib</artifactId>
<version>2.1.5</version>
<version>2.1.6</version>
</dependency>

<dependency>
Expand Down

0 comments on commit decf6bb

Please sign in to comment.