Author: andy
Date: Mon Jun 3 12:51:38 2013
New Revision: 1488979
URL: http://svn.apache.org/r1488979
Log:
JENA-464 : Use strict SPARQL 1.1 syntax for LOAD ... INTO GRAPH ...
Modified:
jena/trunk/jena-arq/src-examples/arq/examples/update/UpdateExecuteOperations.java
Modified:
jena/trunk/jena-arq/src-examples/arq/examples/update/UpdateExecuteOperations.java
URL:
http://svn.apache.org/viewvc/jena/trunk/jena-arq/src-examples/arq/examples/update/UpdateExecuteOperations.java?rev=1488979&r1=1488978&r2=1488979&view=diff
==============================================================================
---
jena/trunk/jena-arq/src-examples/arq/examples/update/UpdateExecuteOperations.java
(original)
+++
jena/trunk/jena-arq/src-examples/arq/examples/update/UpdateExecuteOperations.java
Mon Jun 3 12:51:38 2013
@@ -56,7 +56,7 @@ public class UpdateExecuteOperations
String cmd = StrUtils.strjoin(" ;\n",
"DROP ALL",
"CREATE GRAPH <http://example/g2>",
- "LOAD <file:etc/update-data.ttl> INTO
<http://example/g2>") ;
+ "LOAD <file:etc/update-data.ttl> INTO
GRAPH <http://example/g2>") ;
// check string created
System.out.println(cmd) ;
UpdateAction.parseExecute(cmd, graphStore) ;
@@ -71,7 +71,7 @@ public class UpdateExecuteOperations
.add("CREATE GRAPH <http://example/g2>") ;
// Different style.
// Equivalent to request.add("...")
- UpdateFactory.parse(request, "LOAD <file:etc/update-data.ttl> INTO
<http://example/g2>") ;
+ UpdateFactory.parse(request, "LOAD <file:etc/update-data.ttl> INTO
GRAPH <http://example/g2>") ;
// And perform the operations.
UpdateAction.execute(request, graphStore) ;