Thaks Scott, I have gone back to version 3.6.1.v20120622-1546R which has cured the error. Unfortunately at present I am stuck with both .rdf extension files and a sesame repository so cannot try the other suggestions you make. With this in mind I am stil having trouble with named graphs (contexts in sesame terms), and I am not sure whether it is me or another issue. Let me explain
I have a sesame repository called word on localhost:9090 , this repository has a named graph <http://notExample.com/otherCompany/#Data> I create an S2R connection with the following relevant parameters base URI: http://example.com/library/word service URL http://localhost:9090/openrdf-sesame/ Sesame Repository ID word this connects fine and retrieves all triples that are not in a context (correct me if I am wrong but I thought that unless you specifically create a query that includes FROM or FROM NAMED , all triples should be returned ie if I use the following query within openrdf-workbench all works fine , but in TBC the named graph triples are not returned SELECT * WHERE {?a a <http://example.com/library/word#word>} If I use from TBC or the workbench all is good INSERT {<http://example.com/library/word#word_8> rdf:type <http://example.com/library/word#word>} WHERE {} However the following only works from the workbench and NOT from TBC INSERT DATA{ GRAPH <http://notExample.com/otherCompany/#Data> { <http://example.com/library/word#word_9> rdf:type <http://example.com/library/word#word>.} } If I try to create a s2r connection specifying the named graph I get nothing back at all I can only reach the conclusion that something is amiss, with either my logic or with TBC. Following on from this and trying to work round the problem because I dont really have a need to update the named graphs but just query them I thought I would take advantage of sesames built in sparql enpoint, but I have run into problems there which I will enlighten you in a post to follow Thanks again John On Sunday, 30 September 2012 13:51:56 UTC+1, John Perdoni wrote: > > Hi I wonder if you could help > > I have just come back to do some work on with my s2r files but something > has changed and I am now getting the following error when I try saving any > changes to s2r files (although the triple is created in the sesame > repository) > > Save All Failed > org.topbraid.core.graph.concurrent.ThreadSafeGraph cannot be cast to > org.topbraid.sesame2.graph.RepositoryGraph > > This even happens if i start with a new repository > > ie create a sesame owlim-lite repository using sesame open-rdf > workbench,and export a file from tbc to this repository, if i add a new > triple via tbc and save i still get the error > > > Hope you can shed some lite on this > > 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
