Commit f7a0b081 authored by Petter Goksøyr Åsen's avatar Petter Goksøyr Åsen
Browse files

make it possible to merge resources without relations

parent 32e99bd8
...@@ -898,7 +898,7 @@ public final class SPARQLQueryBuilder { ...@@ -898,7 +898,7 @@ public final class SPARQLQueryBuilder {
+ " ?c ?d <%1$s> .\n" + " ?c ?d <%1$s> .\n"
+ "} WHERE {\n" + "} WHERE {\n"
+ " <%1$s> ?a ?b .\n" + " <%1$s> ?a ?b .\n"
+ " ?c ?d <%1$s> .\n" + " OPTIONAL { ?c ?d <%1$s> }\n"
+ "}\n" + "}\n"
+ "\n", replaceeURI, xuri.getUri(), DEFAULT_GRAPH); + "\n", replaceeURI, xuri.getUri(), DEFAULT_GRAPH);
return queryString; return queryString;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment