[
https://issues.apache.org/jira/browse/RYA-92?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15349668#comment-15349668
]
Kiet Ly commented on RYA-92:
----------------------------
CREATE GRAPH d:g3 will create an empty graph. This select will list all graph
including the empty graph.
SELECT ?g
WHERE
{ GRAPH ?g {} }
It is part of SPARQL 1.1 Update specs, see here
http://www.w3.org/TR/sparql11-update/#create. I was just checking for SPARQL
1.1 compliant.
> CREATE GRAPH throw null pointer exception
> -----------------------------------------
>
> Key: RYA-92
> URL: https://issues.apache.org/jira/browse/RYA-92
> Project: Rya
> Issue Type: Bug
> Environment: rya develop + accumulo 1.6.5
> Reporter: Kiet Ly
>
> Is name graph supported?
> PREFIX d: <http://learningsparql.com/ns/data#>
> CREATE GRAPH d:g3
> java.lang.NullPointerException
> at
> info.aduna.iteration.IterationWrapper.hasNext(IterationWrapper.java:68)
> at
> org.openrdf.sail.helpers.SailBaseIteration.hasNext(SailBaseIteration.java:61)
> at
> org.openrdf.repository.sail.helpers.SailUpdateExecutor.executeCreate(SailUpdateExecutor.java:194)
> at
> org.openrdf.repository.sail.helpers.SailUpdateExecutor.executeUpdate(SailUpdateExecutor.java:141)
> at org.openrdf.repository.sail.SailUpdate.execute(SailUpdate.java:91)
> at
> mvm.cloud.rdf.web.sail.RdfController.performUpdate(RdfController.java:266)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)