You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Rob Vesse (JIRA)" <ji...@apache.org> on 2013/11/18 16:57:22 UTC

[jira] [Updated] (JENA-592) default-graph-uri parameter in GET request not included in SPAQRL query

     [ https://issues.apache.org/jira/browse/JENA-592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rob Vesse updated JENA-592:
---------------------------

    Description: 
Submitting through a browser a request like (sorry for the encoding)

{noformat}
localhost:3333/privateds/sparql?default-graph-uri=http%3A%2F%2Flocalhost%3A3333%2Fprivateds%2Fdata%2Fsubmitted&query=PREFIX+rdf%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%3E%0APREFIX+oa%3A+%3Chttp%3A%2F%2Fwww.w3.org%2Fns%2Foa%23%3E%0APREFIX+chnode%3A+%3Chttp%3A%2F%2Fproteus.badc.rl.ac.uk%3A8000%3E%0ASELECT+%3Fs+%3Fp+WHERE+%7B+%3Fs+%3Fp+%3Chttp%3A%2F%2Fwww.w3.org%2Fns%2Foa%23Annotation%3E+%7D
{noformat}

In fuseki log it is reported as:

{noformat}
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX oa: <http://www.w3.org/ns/oa#> PREFIX chnode: <http://proteus.badc.rl.ac.uk:8000> SELECT ?s ?p WHERE { ?s ?p <http://www.w3.org/ns/oa#Annotation> }
{noformat}

which clearly does not contain the {{default-graph-uri}} paramenter


  was:
Submitting through a browser a request like (sorry for the encoding)

localhost:3333/privateds/sparql?default-graph-uri=http%3A%2F%2Flocalhost%3A3333%2Fprivateds%2Fdata%2Fsubmitted&query=PREFIX+rdf%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%3E%0APREFIX+oa%3A+%3Chttp%3A%2F%2Fwww.w3.org%2Fns%2Foa%23%3E%0APREFIX+chnode%3A+%3Chttp%3A%2F%2Fproteus.badc.rl.ac.uk%3A8000%3E%0ASELECT+%3Fs+%3Fp+WHERE+%7B+%3Fs+%3Fp+%3Chttp%3A%2F%2Fwww.w3.org%2Fns%2Foa%23Annotation%3E+%7D

on fuseki log it is reported as
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX oa: <http://www.w3.org/ns/oa#> PREFIX chnode: <http://proteus.badc.rl.ac.uk:8000> SELECT ?s ?p WHERE { ?s ?p <http://www.w3.org/ns/oa#Annotation> }

which clearly does not contain the "default-graph-uri" paramenter



> default-graph-uri parameter in GET request not included in SPAQRL query
> -----------------------------------------------------------------------
>
>                 Key: JENA-592
>                 URL: https://issues.apache.org/jira/browse/JENA-592
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: Fuseki
>    Affects Versions: Fuseki 1.0.1
>         Environment: Suse
>            Reporter: Maurizio Nagni
>              Labels: patch
>
> Submitting through a browser a request like (sorry for the encoding)
> {noformat}
> localhost:3333/privateds/sparql?default-graph-uri=http%3A%2F%2Flocalhost%3A3333%2Fprivateds%2Fdata%2Fsubmitted&query=PREFIX+rdf%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%3E%0APREFIX+oa%3A+%3Chttp%3A%2F%2Fwww.w3.org%2Fns%2Foa%23%3E%0APREFIX+chnode%3A+%3Chttp%3A%2F%2Fproteus.badc.rl.ac.uk%3A8000%3E%0ASELECT+%3Fs+%3Fp+WHERE+%7B+%3Fs+%3Fp+%3Chttp%3A%2F%2Fwww.w3.org%2Fns%2Foa%23Annotation%3E+%7D
> {noformat}
> In fuseki log it is reported as:
> {noformat}
> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX oa: <http://www.w3.org/ns/oa#> PREFIX chnode: <http://proteus.badc.rl.ac.uk:8000> SELECT ?s ?p WHERE { ?s ?p <http://www.w3.org/ns/oa#Annotation> }
> {noformat}
> which clearly does not contain the {{default-graph-uri}} paramenter



--
This message was sent by Atlassian JIRA
(v6.1#6144)