Merge pull request #2731 from tfmorris/jena-3.7.0

Bump Jena from 3.6.0 to 3.15.0
This commit is contained in:
Tom Morris 2020-06-16 17:08:01 -04:00 committed by GitHub
commit 5d2c10b9d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 4 deletions

View File

@ -19,6 +19,7 @@
<jee.port>3333</jee.port>
<refine.data>/tmp/refine</refine.data>
<powermock.version>2.0.7</powermock.version>
<jena.version>3.15.0</jena.version>
</properties>
<scm>
@ -308,22 +309,27 @@
<dependency>
<groupId>org.apache.jena</groupId>
<artifactId>jena-arq</artifactId>
<version>3.6.0</version>
<version>${jena.version}</version>
</dependency>
<dependency>
<groupId>org.apache.jena</groupId>
<artifactId>jena-base</artifactId>
<version>3.6.0</version>
<version>${jena.version}</version>
</dependency>
<dependency>
<groupId>org.apache.jena</groupId>
<artifactId>jena-cmds</artifactId>
<version>3.6.0</version>
<version>${jena.version}</version>
</dependency>
<dependency>
<groupId>org.apache.jena</groupId>
<artifactId>jena-core</artifactId>
<version>3.6.0</version>
<version>${jena.version}</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.7</version>
</dependency>
<dependency>
<groupId>com.metaweb</groupId>

View File

@ -84,6 +84,8 @@ public class RdfTripleImporter extends ImportingParserBase {
try {
switch (mode) {
case NT:
// TODO: The standard lang name is "N-TRIPLE"
// we may need to switch if we change packagings
model.read(input, null, "NT");
break;
case N3:
@ -93,6 +95,7 @@ public class RdfTripleImporter extends ImportingParserBase {
model.read(input, null, "TTL");
break;
case JSONLD:
// TODO: The standard lang name is "JSONLD"
model.read(input, null, "JSON-LD");
break;
case RDFXML: