You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Claude Warren (JIRA)" <ji...@apache.org> on 2012/09/09 17:18:07 UTC
[jira] [Commented] (JENA-319) If the URI for the named graph in a
Dataset does not contain a colon ":" it is accepted but can not be
retrieved.
[ https://issues.apache.org/jira/browse/JENA-319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13451612#comment-13451612 ]
Claude Warren commented on JENA-319:
------------------------------------
If dataset.addNamedModel(uri, m) resolves the URI relatvie to the base URI should not the query do the same thing?
I found it disconcerting that the dataset would accept a "uri" but when trying to retrieve the same uri in a query it failed.
Perhaps the addNamedModel() should ensure that the uri is valid?
> If the URI for the named graph in a Dataset does not contain a colon ":" it is accepted but can not be retrieved.
> -----------------------------------------------------------------------------------------------------------------
>
> Key: JENA-319
> URL: https://issues.apache.org/jira/browse/JENA-319
> Project: Apache Jena
> Issue Type: Bug
> Reporter: Claude Warren
> Assignee: Andy Seaborne
> Attachments: DatasetGraphNameTest.java
>
>
> If dataset.addNamedModel(uri, m) is called and 'uri' does not have a colon the query select * { graph <uri> { ?s ?o ?p }} does not return any results even though select ?g { graph ?g { ?s ?o ?p }} will return the uri as ?g.
> JUnit based test case attached.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira