You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by "Rupert Westenthaler (JIRA)" <ji...@apache.org> on 2012/12/13 14:14:12 UTC
[jira] [Resolved] (STANBOL-424) SPARQL queries using FROM/FROM
NAMED do not work as expected
[ https://issues.apache.org/jira/browse/STANBOL-424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rupert Westenthaler resolved STANBOL-424.
-----------------------------------------
Resolution: Not A Problem
The Stanbol SPARQL Endpoint operates TripleCollections. However you can use the "graphuri" parameter to define the URI of the Graph that is used by the qeury.
So a request to
http://{stanbol-instance}/sparql?graphuri=http://www.example.org/somegraph&query=SELECT ?s ?p ?o ...
should work if "http://www.example.org/somegraph" is registered.
AFAIK there are no plans to add named graph support to the Stanbol SPARQL endpoint.
> SPARQL queries using FROM/FROM NAMED do not work as expected
> ------------------------------------------------------------
>
> Key: STANBOL-424
> URL: https://issues.apache.org/jira/browse/STANBOL-424
> Project: Stanbol
> Issue Type: Bug
> Components: Contenthub
> Reporter: Stephen Bayliss
> Priority: Minor
> Fix For: contenthub-0.10.0
>
>
> The following query returns results from a specific graph as expected:
> SELECT ?s ?p ?o
> WHERE {
> GRAPH <http://www.example.org/somegraph> ;
> { ?s ?p ?o . }
> }
> However using FROM or FROM NAMED as per the following queries does not return any results:
> SELECT ?s ?p ?o
> FROM NAMED <http://www.example.org/somegraph> ;
> WHERE {
> ?s ?p ?o .
> }
> SELECT ?s ?p ?o
> FROM <http://www.example.org/somegraph> ;
> WHERE {
> ?s ?p ?o .
> }
--
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