You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@marmotta.apache.org by ss...@apache.org on 2013/09/09 18:06:27 UTC
git commit: try reproducting MARMOTTA-283
Updated Branches:
refs/heads/develop d34df1dcc -> dec278cec
try reproducting MARMOTTA-283
Project: http://git-wip-us.apache.org/repos/asf/incubator-marmotta/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-marmotta/commit/dec278ce
Tree: http://git-wip-us.apache.org/repos/asf/incubator-marmotta/tree/dec278ce
Diff: http://git-wip-us.apache.org/repos/asf/incubator-marmotta/diff/dec278ce
Branch: refs/heads/develop
Commit: dec278ceccc1481aea048bfb497fc75c8b35e45a
Parents: d34df1d
Author: Sebastian Schaffert <ss...@apache.org>
Authored: Mon Sep 9 18:06:22 2013 +0200
Committer: Sebastian Schaffert <ss...@apache.org>
Committed: Mon Sep 9 18:06:22 2013 +0200
----------------------------------------------------------------------
.../test/java/org/apache/marmotta/kiwi/test/RepositoryTest.java | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/dec278ce/libraries/kiwi/kiwi-triplestore/src/test/java/org/apache/marmotta/kiwi/test/RepositoryTest.java
----------------------------------------------------------------------
diff --git a/libraries/kiwi/kiwi-triplestore/src/test/java/org/apache/marmotta/kiwi/test/RepositoryTest.java b/libraries/kiwi/kiwi-triplestore/src/test/java/org/apache/marmotta/kiwi/test/RepositoryTest.java
index fba985a..9d2fd3d 100644
--- a/libraries/kiwi/kiwi-triplestore/src/test/java/org/apache/marmotta/kiwi/test/RepositoryTest.java
+++ b/libraries/kiwi/kiwi-triplestore/src/test/java/org/apache/marmotta/kiwi/test/RepositoryTest.java
@@ -641,7 +641,7 @@ public class RepositoryTest {
}
- String update = "DELETE { ?s ?p ?o } INSERT { <http://localhost:8080/LMF/resource/hans_meier> <http://xmlns.com/foaf/0.1/name> \"Hans Meier\" . <http://localhost:8080/LMF/resource/hans_meier> <http://xmlns.com/foaf/0.1/based_near> <http://dbpedia.org/resource/Traunstein> } WHERE { ?s ?p ?o . FILTER ( ?s = <http://localhost:8080/LMF/resource/hans_meier> ) }";
+ String update = "DELETE { ?s ?p ?o } INSERT { <http://localhost:8080/LMF/resource/hans_meier> <http://xmlns.com/foaf/0.1/name> \"Hans Meier\" . <http://localhost:8080/LMF/resource/hans_meier> <http://xmlns.com/foaf/0.1/based_near> <http://dbpedia.org/resource/Traunstein> . <http://localhost:8080/LMF/resource/hans_meier> <http://xmlns.com/foaf/0.1/interest> <http://rdf.freebase.com/ns/en.linux> } WHERE { ?s ?p ?o . FILTER ( ?s = <http://localhost:8080/LMF/resource/hans_meier> ) }";
RepositoryConnection connectionUpdate = repository.getConnection();
try {
@@ -658,10 +658,13 @@ public class RepositoryTest {
URI hans_meier = repository.getValueFactory().createURI("http://localhost:8080/LMF/resource/hans_meier");
URI foaf_name = repository.getValueFactory().createURI("http://xmlns.com/foaf/0.1/name");
URI foaf_based_near = repository.getValueFactory().createURI("http://xmlns.com/foaf/0.1/based_near");
+ URI foaf_interest = repository.getValueFactory().createURI("http://xmlns.com/foaf/0.1/interest");
+ URI freebase_linux = repository.getValueFactory().createURI("http://rdf.freebase.com/ns/en.linux");
URI traunstein = repository.getValueFactory().createURI("http://dbpedia.org/resource/Traunstein");
Assert.assertTrue(connectionVerify.hasStatement(hans_meier,foaf_name,null, true));
Assert.assertTrue(connectionVerify.hasStatement(hans_meier,foaf_based_near,traunstein, true));
+ Assert.assertTrue(connectionVerify.hasStatement(hans_meier,foaf_interest,freebase_linux, true));
connectionVerify.commit();
} finally {