You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by "Stephen Bayliss (Updated) (JIRA)" <ji...@apache.org> on 2011/12/14 09:36:30 UTC

[jira] [Updated] (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 ]

Stephen Bayliss updated STANBOL-424:
------------------------------------

    Description: 
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 .
}

  was:
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 .
}

    
> 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
>            Reporter: Stephen Bayliss
>            Priority: Minor
>
> 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira