Hi I am having trouble creating a connection to a Sesame Sparql endpoint 
(which is on http:localhost:9090)

Using the import wizard I fill in the following parameters

Connection file name                             wordSparqlEndpoint
Base URI(for imports)                            
http://example.com/library/word
URL of the SPARQL endpoint                
http://localhost:9090/openrdf-sesame/repositories/word
(username and password I have tried with or without but does not make any 
difference)
Default graph URI                                 
http://example.com/library/word
Named graph                                      either left blank or with 
http://notExample.com/otherCompany/#Data (does not make any difference)

The wizard completes fine with no errors, but upon trying to import this 
connection into another model/graph I get the following error

HttpException: HttpException: 400 Bad Request: HttpException: 400 Bad 
Request
    at 
com.hp.hpl.jena.sparql.engine.http.HttpQuery.execCommon(HttpQuery.java:337)
    at 
com.hp.hpl.jena.sparql.engine.http.HttpQuery.execGet(HttpQuery.java:189)
    at com.hp.hpl.jena.sparql.engine.http.HttpQuery.exec(HttpQuery.java:144)
    at 
com.hp.hpl.jena.sparql.engine.http.QueryEngineHTTP.execSelect(QueryEngineHTTP.java:133)
    at 
org.topbraid.sparqlendpoint.graph.SPARQLEndpointGraph.doFind1(SPARQLEndpointGraph.java:309)
    at 
org.topbraid.sparqlendpoint.graph.SPARQLEndpointGraph.doFind1(SPARQLEndpointGraph.java:350)
    at 
org.topbraid.sparqlendpoint.graph.SPARQLEndpointGraph.doFind1(SPARQLEndpointGraph.java:350)
    at 
org.topbraid.sparqlendpoint.graph.SPARQLEndpointGraph.doFind1(SPARQLEndpointGraph.java:350)
    at 
org.topbraid.sparqlendpoint.graph.SPARQLEndpointGraph.doFind1(SPARQLEndpointGraph.java:350)
    at 
org.topbraid.sparqlendpoint.graph.SPARQLEndpointGraph.doFind(SPARQLEndpointGraph.java:288)
    at 
org.topbraid.core.graph.AltGraphBase.graphBaseFind(AltGraphBase.java:31)
    at com.hp.hpl.jena.graph.impl.GraphBase.find(GraphBase.java:240)
    at com.hp.hpl.jena.graph.GraphUtil.findAll(GraphUtil.java:29)
    at 
com.hp.hpl.jena.graph.impl.GraphBase.graphBaseSize(GraphBase.java:379)
    at com.hp.hpl.jena.graph.impl.GraphBase.size(GraphBase.java:352)
    at 
org.topbraid.sparqlendpoint.graphstore.SPARQLEndpointGraphStore.load(SPARQLEndpointGraphStore.java:93)
    at 
org.topbraid.core.registry.IFileGraphSource.graphStoreLoad(IFileGraphSource.java:66)
    at 
org.topbraid.core.registry.IFileGraphSource.loadSpecialGraph(IFileGraphSource.java:45)
    at org.topbraid.core.registry.GraphSource.loadGraph(GraphSource.java:77)
    at org.topbraid.core.io.IO.load(IO.java:267)
    at org.topbraidcomposer.core.io.TBCIO.loadModel(TBCIO.java:289)
    at org.topbraidcomposer.core.io.TBCIO.loadModel(TBCIO.java:318)
    at org.topbraidcomposer.core.models.Imports.addImport(Imports.java:69)
    at 
org.topbraidcomposer.navigation.imports.actions.ImportFileAction$1.run(ImportFileAction.java:87)
    at 
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: HttpException: 400 Bad Request
    at 
com.hp.hpl.jena.sparql.engine.http.HttpQuery.execCommon(HttpQuery.java:299)
    ... 24 more


However if I use the following Sparql from TBC all works, so I know the 
endpoint is there and functioning , what am I doing wrong with regards to 
the wizard

PREFIX word: <http://example.com/library/word#>
SELECT *
WHERE {
  SERVICE <http://localhost:9090/openrdf-sesame/repositories/word>
  {  ?subject a <http://example.com/library/word#word> .}

Regards

John
}





-- 
-- You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary 
Network (EVN), TopBraid Composer, TopBraid Live,
TopBraid Ensemble, SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en


Reply via email to