[
https://issues.apache.org/jira/browse/JENA-592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13825413#comment-13825413
]
Rob Vesse edited comment on JENA-592 at 11/18/13 3:58 PM:
----------------------------------------------------------
The {{default-graph-uri}} parameter is honoured at the protocol level assuming
you have an appropriate backend configured i.e. TDB
Note that {{default-graph-rui}} won't work with the ARQ in-memory backend
provided by the {{--mem}} argument currently.
Regardless graphs specified via the {{default-graph-uri}} parameters are never
added to the query directly.
If what you are actually trying to report is that the parameter does not get
honoured then we'll need to have additional details to look into this further:
* Fuseki command line used to start
* Fuseki configuration file (if any)
* Dataset to reproduce, preferably a minimal snippet of your actual dataset
that reproduces the issue
was (Author: rvesse):
The {{default-graph-uri}} parameter is honoured at the protocol level assuming
you have an appropriate backend configured i.e. TDB ({{FROM}} and {{FROM
NAMED}} don't work with the {{--mem}} argument)
It is never added to the query directly.
If what you are actually trying to report is that the parameter does not get
honoured then we'll need to have additional details to look into this further:
* Fuseki command line used to start
* Fuseki configuration file (if any)
* Dataset to reproduce, preferably a minimal snippet of your actual dataset
that reproduces the issue
> 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)