Update Jena to 3.1.1, JFact to 4.0.4 and httpcomponents to 4.4
This commit is contained in:
parent
20ac3a3514
commit
1c0dcd040c
5 changed files with 84 additions and 16 deletions
|
@ -7,6 +7,7 @@ import java.util.ArrayList;
|
|||
import java.util.Collections;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import java.util.function.Supplier;
|
||||
|
||||
import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
|
@ -524,6 +525,16 @@ public class RDFServiceGraph implements GraphWithPerform {
|
|||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void execute(Runnable runnable) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T> T calculate(Supplier<T> supplier) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean transactionsSupported() {
|
||||
return true;
|
||||
|
|
|
@ -10,6 +10,7 @@ import java.util.Calendar;
|
|||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.function.Supplier;
|
||||
|
||||
import org.apache.jena.datatypes.RDFDatatype;
|
||||
import org.apache.jena.graph.Graph;
|
||||
|
@ -1078,4 +1079,33 @@ public abstract class AbstractModelDecorator implements Model {
|
|||
return inner.isClosed();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Statement getRequiredProperty(Resource resource, Property property, String s) {
|
||||
return inner.getRequiredProperty(resource, property, s);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Statement getProperty(Resource resource, Property property, String s) {
|
||||
return inner.getProperty(resource, property, s);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void executeInTxn(Runnable runnable) {
|
||||
inner.executeInTxn(runnable);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T> T calculateInTxn(Supplier<T> supplier) {
|
||||
return inner.calculateInTxn(supplier);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PrefixMapping clearNsPrefixMap() {
|
||||
return inner.clearNsPrefixMap();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int numPrefixes() {
|
||||
return inner.numPrefixes();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,6 +11,7 @@ import java.util.Iterator;
|
|||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
import java.util.function.Supplier;
|
||||
|
||||
import org.apache.jena.datatypes.RDFDatatype;
|
||||
import org.apache.jena.graph.Graph;
|
||||
|
@ -1775,4 +1776,34 @@ public abstract class AbstractOntModelDecorator implements OntModel {
|
|||
public Model writeAll(OutputStream out, String lang, String base) {
|
||||
return inner.writeAll(out, lang, base);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Statement getRequiredProperty(Resource resource, Property property, String s) {
|
||||
return inner.getRequiredProperty(resource, property, s);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Statement getProperty(Resource resource, Property property, String s) {
|
||||
return inner.getProperty(resource, property, s);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void executeInTxn(Runnable runnable) {
|
||||
inner.executeInTxn(runnable);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T> T calculateInTxn(Supplier<T> supplier) {
|
||||
return inner.calculateInTxn(supplier);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PrefixMapping clearNsPrefixMap() {
|
||||
return inner.clearNsPrefixMap();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int numPrefixes() {
|
||||
return inner.numPrefixes();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -127,12 +127,7 @@ public class RDFServiceVirtuoso extends RDFServiceSparql {
|
|||
private HttpPost createHttpRequest(String updateString) {
|
||||
HttpPost meth = new HttpPost(updateEndpointURI);
|
||||
meth.addHeader("Content-Type", "application/sparql-query");
|
||||
try {
|
||||
meth.setEntity(new StringEntity(updateString, "UTF-8"));
|
||||
} catch (UnsupportedEncodingException e) {
|
||||
// UTF-8 is unsupported?
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
meth.setEntity(new StringEntity(updateString, "UTF-8"));
|
||||
return meth;
|
||||
}
|
||||
|
||||
|
|
21
dependencies/pom.xml
vendored
21
dependencies/pom.xml
vendored
|
@ -150,48 +150,49 @@
|
|||
<dependency>
|
||||
<groupId>net.sourceforge.owlapi</groupId>
|
||||
<artifactId>jfact</artifactId>
|
||||
<version>4.0.0</version>
|
||||
<version>4.0.4</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>net.sourceforge.owlapi</groupId>
|
||||
<artifactId>owlapi-distribution</artifactId>
|
||||
<version>4.0.1</version>
|
||||
<exclusions>
|
||||
<version>4.2.7</version>
|
||||
<!-- See semargl-rdfa, guidce -->
|
||||
<!-- exclusions>
|
||||
<exclusion>
|
||||
<groupId>*</groupId>
|
||||
<artifactId>*</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</exclusions -->
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.httpcomponents</groupId>
|
||||
<artifactId>httpcore</artifactId>
|
||||
<version>4.2.4</version>
|
||||
<version>4.4</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.httpcomponents</groupId>
|
||||
<artifactId>httpmime</artifactId>
|
||||
<version>4.2.5</version>
|
||||
<version>4.4</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.jena</groupId>
|
||||
<artifactId>jena-arq</artifactId>
|
||||
<version>3.1.0</version>
|
||||
<version>3.1.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.jena</groupId>
|
||||
<artifactId>jena-core</artifactId>
|
||||
<version>3.1.0</version>
|
||||
<version>3.1.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.jena</groupId>
|
||||
<artifactId>jena-sdb</artifactId>
|
||||
<version>3.1.0</version>
|
||||
<version>3.1.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.jena</groupId>
|
||||
<artifactId>jena-tdb</artifactId>
|
||||
<version>3.1.0</version>
|
||||
<version>3.1.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.solr</groupId>
|
||||
|
|
Loading…
Add table
Reference in a new issue