Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not work connect to OpenRDF endpoint #5

Open
GoogleCodeExporter opened this issue Dec 5, 2015 · 0 comments
Open

Not work connect to OpenRDF endpoint #5

GoogleCodeExporter opened this issue Dec 5, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link



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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant