--- a/server/src/app/Libraries/Sparql/SparqlClient.php Tue Nov 08 15:48:01 2016 +0100
+++ b/server/src/app/Libraries/Sparql/SparqlClient.php Tue Nov 08 18:23:01 2016 +0100
@@ -38,8 +38,8 @@
return false;
}
//Log::debug('http_client base uri: ' . $this->getHttpClient()->getConfig('base_uri'));
- $sesameRepository = config('corpusparole.sesame_repository');
- $resp = $this->getHttpClient()->post("$sesameRepository/transactions", ['query' => ['isolation-level' => 'http://www.openrdf.org/schema/sesame#SNAPSHOT_READ']]);
+ $rdf4jRepository = config('corpusparole.rdf4j_repository');
+ $resp = $this->getHttpClient()->post("$rdf4jRepository/transactions", ['query' => ['isolation-level' => 'http://www.openrdf.org/schema/sesame#SNAPSHOT_READ']]);
//$resp = $this->getHttpClient()->post('transactions');
//TODO check errors
if($resp->getStatusCode() != 201) {
@@ -108,8 +108,8 @@
// doc : http://rdf4j.org/doc/4/articles/REST-API/transaction-operations.docbook?view
// cf. bug : https://openrdf.atlassian.net/browse/SES-2295
- // and PR https://bitbucket.org/openrdf/sesame/commits/62b680d8650caca7bc1673f6aaac48a5b6e85d23?at=2.8.x
- // The put form has been chosen over the post, because it seems that this is the form choosed in the sesame http client
+ // and PR https://bitbucket.org/openrdf/rdf4j/commits/62b680d8650caca7bc1673f6aaac48a5b6e85d23?at=2.8.x
+ // The put form has been chosen over the post, because it seems that this is the form choosed in the rdf4j http client
$resp = $this->getHttpClient()->put(
$this->currentTransactionUrl, [
'headers' => ["Content-Type" => "application/sparql-update; charset=utf-8"],
@@ -146,8 +146,8 @@
// doc : http://rdf4j.org/doc/4/articles/REST-API/transaction-operations.docbook?view
// cf. bug : https://openrdf.atlassian.net/browse/SES-2295
- // and PR https://bitbucket.org/openrdf/sesame/commits/62b680d8650caca7bc1673f6aaac48a5b6e85d23?at=2.8.x
- // The put form has been chosen over the post, because it seems that this is the form choosed in the sesame http client
+ // and PR https://bitbucket.org/openrdf/rdf4j/commits/62b680d8650caca7bc1673f6aaac48a5b6e85d23?at=2.8.x
+ // The put form has been chosen over the post, because it seems that this is the form choosed in the rdf4j http client
$resp = $this->getHttpClient()->put(
$this->currentTransactionUrl, [
'headers' => ["Content-Type" => "application/sparql-update; charset=utf-8"],