Paul; Try specifying the graph you are trying to query in Sesame in
the Default graph area for the connector.  I.e. sml:defaultGraphURI.
If you want to get to the default graph for your repository, then it
will be whatever URI Sesame knows the default graph as.

-- Scott

On Jun 28, 6:52 am, PaulZH <[email protected]> wrote:
> Scott,
>
> It is an announced new feature of TBCME 3.6.1, see release notes:
>
> TopBraid Composer - Maestro Edition
> - Feature: SPARQL end point connector was brought back with authentication 
> support.
>
> It's about importing (cf. import menuitem), not about using this from 
> SPARQLMotion.
> From the Help file.
>
> Import SPARQL Endpoints
>
> This feature is available in TopBraid Composer - Maestro 
> Edition<http://topquadrant.com/products/TB_Composer.html#maestro>only.
> You can import SPARQL endpoints in TopBraid Composer - Maestro Edition.
>
> Paul
>
>
>
>
>
>
>
> On Wednesday, June 27, 2012 9:55:30 PM UTC+2, Scott Henninger wrote:
>
> > Paul; What version of TBC or TBL are you using?  Currently,
> > sml:ImportSPARQLEndpoint is not a supported module (see Help >
> > Reference > SPARQLMotion Module Library Reference).  We are looking to
> > create new features for using SPARQL endpoints in a future release of
> > TBC. but for now, it is sufficient to use the SERVICE keyword in an
> > ApplyConstruct, PerformUpdate, or SELECT query modules.
>
> > -- Scott
>
> > On Jun 27, 10:23 am, PaulZH <[email protected]> wrote:
> > > Hi,
>
> > > I connected succesfully to a Fuseki SPARQL endpoint using following
> > > settings:
> > > []    rdf:type sml:ImportSPARQLEndpoint ;
> > >       sml:baseURI "http://import.org/fuseki"; ;
> > >       sml:defaultGraphURI "" ;
> > >       sml:imports () ;
> > >       sml:namedGraphURI "" ;
> > >       sml:url "http://localhost:3030/ds/query"; ;
> > >       sml:userName "" .
>
> > > Now I want to do the same for a Sesame endpoint:
> > > []    rdf:type sml:ImportSPARQLEndpoint ;
> > >       sml:baseURI "http://import.org/sesame"; ;
> > >       sml:defaultGraphURI "" ;
> > >       sml:imports () ;
> > >       sml:namedGraphURI "" ;
> > >       sml:url "http://localhost:8888/openrdf-sesame/repositories/OWMS";
> > ;
> > >       sml:userName "" .
>
> > > but I get following error:
> > > Reason:
> > > java.io.IOException: java.lang.Exception: No graph defined at the
> > endpoint
> > > defined by the file L/Test/tosesame.sparqlep
>
> > > I am able to query this SPARQL endpoint from outside TBC and from within
> > > TBC using the SERVICE keyword
> > > SELECT *
> > > WHERE {
> > >    SERVICE <http://localhost:8888/openrdf-sesame/repositories/OWMS>
> > >    { ?subject rdfs:subClassOf ?object .}
>
> > > }

-- 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