This repository was archived by the owner on Jan 13, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
This repository was archived by the owner on Jan 13, 2025. It is now read-only.
Not work connect to OpenRDF endpoint #5
Copy link
Copy link
Open
Description
What steps will reproduce the problem?
1. svn checkout http://gfacet.googlecode.com/svn/trunk/ gfacet-read-only
compile not.
2. svn checkout -r r26 http://gfacet.googlecode.com/svn/trunk/
gfacet-read-only-r26
compiled well
3. "no dbpedia" SARQL endpoint does not work
4. openrdf endpoint log:
127.0.0.1 - - [23/Sep/2014:11:34:30 +0300] "GET
/openrdf-sesame/repositories/111111/sparql?&query=SELECT%20DISTINCT%20%3Ftype%20
WHERE%20%7B%20%3Fsubj%20a%20%3Ftype%20%7D&format=XML HTTP/1.1" 404 1008
[WARN ] 2014-09-23 11:34:30,761 [http-nio-8081-exec-3] No mapping found for
HTTP request with URI [/openrdf-sesame/repositories/111111/sparql] in
DispatcherServlet with name 'openrdf-http-server'
5.
after patch SPARQLConnection.as
---
>
86,88c86,88
<
< var url:String = config.endpointURI + "/sparql?query=";
<
---
>
> var url:String = config.endpointURI;
>
92c92
<
---
>
94c94
< sparqlService.url = ConnectionModel.getInstance().proxy + "?" +
config.endpointURI + "/sparql?";
---
> sparqlService.url = ConnectionModel.getInstance().proxy + "?" +
config.endpointURI + "?";
96c96
< sparqlService.url = config.endpointURI + "/sparql?";
---
> sparqlService.url = config.endpointURI + "?";
103c103
<
---
connect work
127.0.0.1 - - [24/Sep/2014:17:50:08 +0300] "GET
/openrdf-sesame/repositories/111111?&query=SELECT%20DISTINCT%20%3Ftype%20WHERE%2
0%7B%20%3Fsubj%20a%20%3Ftype%20%7D&format=XML HTTP/1.1" 200 8229
127.0.0.1 - - [24/Sep/2014:17:50:09 +0300] "GET
/openrdf-sesame/repositories/111111?&query=SELECT%20DISTINCT%20%3Ftype%20WHERE%2
0%7B%20%3Fsubj%20a%20%3Ftype%20%7D&format=XML HTTP/1.1" 200 8229
127.0.0.1 - - [24/Sep/2014:17:50:38 +0300] "GET
/openrdf-sesame/repositories/111111?&query=SELECT%20DISTINCT%20%3Ftype%20WHERE%2
0%7B%20%3Fsubj%20a%20%3Ftype%20%7D%2E&format=XML HTTP/1.1" 400 218
formed invalid query
[INFO ] 2014-09-24 17:50:09,877 [repositories/111111] Request for query
-1598642565 is finished
[INFO ] 2014-09-24 17:50:38,410 [repositories/111111] GET query 1981688083
[INFO ] 2014-09-24 17:50:38,411 [repositories/111111] Client sent bad request
(400): MALFORMED QUERY: Encountered " "." ". "" at line 1, column 46.
Was expecting one of:
<EOF>
"order" ...
"group" ...
"limit" ...
"offset" ...
"having" ...
"bindings" ...
"values" ...
Original issue reported on code.google.com by [email protected]
on 26 Sep 2014 at 5:21