HI, Thank you for the valuable suggestions.My real concern is updating the tuples in the file rather than updating the database. As you mentioned earlier it is only updating the databases. So is their any way to update the file either by script control or by programming in eclipse .
So far I configured the fuseki server, preload the data using tdbloader and can update it using http://localhost:3030/sparql.**tpl<http://localhost:3030/sparql.tpl> . Another doubt is what is the difference between loading RDF data into default graph of the server using S-Put "ruby s-put http://localhost:3030/ds/data default search.owl " and preloading the file to /ds using tdbloader. "java -Xmx1200M -classpath "../lib/*;" tdb.tdbloader --loc=./TD ./ds2/search.owl" As I assumed only the second one is applicable in terms of updating the tuples. What will happen if we run both the commands. Really appreciating to answer my queries. Regards On Tue, Jun 19, 2012 at 12:17 AM, Andy Seaborne <a...@apache.org> wrote: > On 19/06/12 05:09, Don S wrote: > >> HI, >> >> I was experiencing with >> http://localhost:3030/sparql.**tpl<http://localhost:3030/sparql.tpl>for >> updating the >> tuples and search queries. >> The Update command is >> >> PREFIX >> owl:<http://localhost:3030/**ds2/search.owl#<http://localhost:3030/ds2/search.owl#> >> > >> > > This should be the URI for OWL > > PREFIX owl: > <http://www.w3.org/2002/07/**owl#<http://www.w3.org/2002/07/owl#> > > > > Setting it to the service has no special effect. > > > PREFIX > xsd:<http://www.w3.org/2001/**XMLSchema#<http://www.w3.org/2001/XMLSchema#> >> > >> INSERT DATA >> { >> <http://localhost:3030/ds2/**search.owl#name1<http://localhost:3030/ds2/search.owl#name1> >> > >> owl:hasFirstname "Rex" ^^ xsd:string; >> } >> >> >> It is updating the tuples but when I look at the server log I saw lot of >> warning messages. >> > > This is now fixed with a temporary workaround in the development snapshot > build of 0.2.3 last night. It is recorded as JENA-260. > > The transaction did successfully commit. The warning is spurious (and > long). > > > > 12:32:05 INFO Server :: Fuseki 0.2.3-SNAPSHOT > 20120614-0506 > > My doubt is after updating the tuples, why I was not able to see the >> updated owl file rather I can see the updated results only through >> http://localhost:3030/sparql.**tpl <http://localhost:3030/sparql.tpl>with >> SPARQL query. >> > > Because Fuseki updates tehd ataabse, not any file you loaded into the > database. Data is copied on loading into the database. The database is in > /TD. > > > >> Even after restarting the window and again giving the search query >> >> >> PREFIX >> owl:<http://localhost:3030/**ds2/search.owl#<http://localhost:3030/ds2/search.owl#> >> > >> >> SELECT * >> >> WHERE >> >> { >> >> ?Person owl:hasFirstname ?hasFirstname. >> >> } >> >> >> I am getting the results with the updated tuples.I am confusing where it >> is actually storing. Still cannot able to figure out.Or we cannot see >> these >> updated tuples physically? >> > > Through query of /TD > > >> Here is my server configuration java -Xmx1200M -jar fuseki-server.jar >> --update --loc=/TD /ds2, but if I change to (*--loc=./TD*) and give the >> >> search query command it will display the tuples present >> >> inside search.owl file excluded the tuples added using the browser. >> > > > /TD and ./TD are different directories. > > You have two databases. > > > >> >> Any solution for this. >> >> >> Thanks >> >> >