[ 
https://issues.apache.org/jira/browse/JENA-592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13825447#comment-13825447
 ] 

Maurizio Nagni commented on JENA-592:
-------------------------------------

Thanks for the quick reply. The information you asked are

 * command to start: ./fuseki-server --port=3333 --update 
--config=charme/config-charme.ttl /dataset
 * the configuration is attached
 * for the dataset is a bit more tricky as it seems to be always no less than 
192MB

However I use rdflib (python) to ingest with no problem the triples. 
The I can see them with no problem from fuseki query page using 

SELECT ?subject ?pred ?obj from 
<http://localhost:3333/privateds/data/submitted> WHERE { ?subject ?pred ?obj } 

but using a browser (and receiving no triple back) fuseki log looks like

16:27:23 INFO  [4] GET 
http://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
16:27:23 INFO  [4] Query = 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> }
16:27:23 INFO  [5] exec/select
16:27:23 INFO  [5] 200 OK (3 ms) 



> 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
>         Attachments: config-charme.ttl
>
>
> 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)

Reply via email to