Attachments are filtered from the list, please either copy paste the configuration into the email body, or if it is very large put it on a paste sharing service list GitHub gist/Pastebin and provide a link
* I've found that if a named graph isn't explicitly mentioned in the config file, it will not be persistent That sounds very strange, there should be no need to explicitly mention your named graphs in the configuration file. * Is there something I have to tell fuseki, that it should persist triples, which it had recorded in the previous database but is not indicated in the recreated database? No, unless you’ve explicitly configured a non-persistent database then the default configurations should create persistent databases. So it probably depends how far your configuration has diverged from the common defaults people tend to start from. Rob From: [email protected] <[email protected]> Date: Tuesday, 21 January 2025 at 12:25 To: [email protected] <[email protected]> Subject: SPAM-LOW: RE: [EXTERNAL] Re: Fuseki Data Not Persistent 4. I start Fuseki under Windows from the command line with this command: %FUSEKI_HOME%\fuseki-server.bat --conf %MSRO_HOME%\fuseki_config.ttl I've attached the fuseki_config.ttl file. It's rather long because I've found that if a named graph isn't explicitly mentioned in the config file, it will not be persistent, and I have to repeat these definitions for 9 databases. I'm focused on the "prod" database only at the moment, so you can ignore the rest. Also, I've tried deleting the config file definitions for the graph I dropped (companies), but it made no difference. 5. I load the n-quads with this curl command: curl -H 'Content-Type: application/n-quads' -w 'code=%{http_code} connect=%{http_connect} bytes=%{size_upload} ##' -T /tmp/loadFuseki.2224.ttl http://localhost:3030/prod/data The tmp file has a .ttl extension, but in fact it contains n-quads. The filename is generated by a script of mine. I grep the output for "code" "connect" and "bytes". Code is 200 (success), bytes=128456749, and connect is blank (no proxy). I am able to query the triples just fine, but when I stop and restart Fuseki, they are gone. What is greatly mystifying is that this problem seems to have started when I deleted and recreated the database, but I had not changed the config file. Is there something I have to tell fuseki, that it should persist triples, which it had recorded in the previous database but is not indicated in the recreated database? Your help is greatly appreciated! Theodore Hills Consultant | Research Phone: +1 212 296-1833 [email protected] -----Original Message----- From: Lorenz Buehmann <[email protected]> Sent: Tuesday, January 21, 2025 2:29 AM To: [email protected] Subject: [EXTERNAL] Re: Fuseki Data Not Persistent Hi, can you add details on steps 4 and 5 please? You're starting Fuseki with a configuration targeting a TDB1 database? Or did you accidentally start it in in-memory mode? How do you load the quads? Via SPARQL? Via CLI? Cheers, Lorenz On 20.01.25 23:27, [email protected] wrote: > Hi, > > I'm having a problem which happened once before under circumstances I could > correct. This time, I am mystified. > > I am running a TDB(1) database under apache-jena-fuseki-4.6.1. > > > 1. I backup my database using curl -XPOST > http://localhost:3030/\$/backup/prod<http://localhost:3030/$/backup/prod><http://localhost:3030/$/backup/prod%3chttp:/localhost:3030/$/backup/prod%3e> > 2. I stop Fuseki with ^C. > 3. I delete the Data-0001 directory. > 4. I start Fuseki. It recreates an empty triple store. > 5. I load quads from the backup. > 6. I query my named graphs, counting triples, and they're all there. > 7. I stop Fuseki with ^C. > 8. I restart Fuseki. > 9. My triples are gone. > > Any ideas what could cause this? > > One note: The main reason I wanted to recreate the database was to reduce its > size, which had grown enormous. When I tried to reload, Fuseki ran out of > heap space. No problem: I filtered the n-quads, removing all the quads > destined for one of the named graphs I didn't really need anymore, and it > loaded just fine. Could something have gone wrong because I removed all of > the quads belonging to one graph? > > Thanks, > Ted > > Theodore Hills > Consultant | Research > Phone: +1 212 296-1833 > [email protected]<mailto:[email protected]> > ________________________________ > > > For important information including analyst certification and disclosures > regarding specific companies, derivatives, or other instruments discussed in > this email, please refer to the latest report, if attached and/or hyperlinked > to this email, or by logging on to the Morgan Stanley Matrix Platform at > http://matrix.ms.com/eqr/research . You may also refer to the Morgan Stanley > Research Disclosure Website at > http://www.morganstanley.com/eqr/disclosures/webapp/coverage. Morgan Stanley > will make certain research products and announcements available only on the > Morgan Stanley Matrix Platform. The content provided in this email, including > data or any attachments, is subject to the terms and conditions of use > (available at > https://ny.matrix.ms.com/matrix/portal/docs/terms/index.html#/terms/general ) > applicable to research materials accessed through Matrix, including the terms > regarding confidentiality and intellectual property rights. For access to the > Morgan Stanley Matrix Platform please contact your sales representative or go > to http://matrix.ms.com/eqr/research. > > NOTICE: Morgan Stanley is not acting as a municipal advisor and the opinions > or views contained herein are not intended to be, and do not constitute, > advice within the meaning of Section 975 of the Dodd-Frank Wall Street Reform > and Consumer Protection Act. If you have received this communication in > error, please destroy all electronic and paper copies and notify the sender > immediately. Mistransmission is not intended to waive confidentiality or > privilege. Morgan Stanley reserves the right, to the extent permitted under > applicable law, to monitor electronic communications. This message is subject > to terms available at the following link: > http://www.morganstanley.com/disclaimers If you cannot access these links, > please notify us by reply message and we will send the contents to you. By > messaging with Morgan Stanley you consent to the foregoing. > > You may have certain rights regarding the information that Morgan Stanley > collects about you. Please see our Privacy Pledge > https://www.morganstanley.com/privacy-pledge for more information about your > rights. > -- Lorenz Bühmann Research Associate/Scientific Developer Email [email protected] Institute for Applied Informatics e.V. (InfAI) | Goerdelerring 9 | 04109 Leipzig | Germany ________________________________ For important information including analyst certification and disclosures regarding specific companies, derivatives, or other instruments discussed in this email, please refer to the latest report, if attached and/or hyperlinked to this email, or by logging on to the Morgan Stanley Matrix Platform at http://matrix.ms.com/eqr/research . You may also refer to the Morgan Stanley Research Disclosure Website at http://www.morganstanley.com/eqr/disclosures/webapp/coverage. Morgan Stanley will make certain research products and announcements available only on the Morgan Stanley Matrix Platform. The content provided in this email, including data or any attachments, is subject to the terms and conditions of use (available at https://ny.matrix.ms.com/matrix/portal/docs/terms/index.html#/terms/general ) applicable to research materials accessed through Matrix, including the terms regarding confidentiality and intellectual property rights. For access to the Morgan Stanley Matrix Platform please contact your sales representative or go to http://matrix.ms.com/eqr/research. NOTICE: Morgan Stanley is not acting as a municipal advisor and the opinions or views contained herein are not intended to be, and do not constitute, advice within the meaning of Section 975 of the Dodd-Frank Wall Street Reform and Consumer Protection Act. If you have received this communication in error, please destroy all electronic and paper copies and notify the sender immediately. Mistransmission is not intended to waive confidentiality or privilege. Morgan Stanley reserves the right, to the extent permitted under applicable law, to monitor electronic communications. This message is subject to terms available at the following link: http://www.morganstanley.com/disclaimers If you cannot access these links, please notify us by reply message and we will send the contents to you. By messaging with Morgan Stanley you consent to the foregoing. You may have certain rights regarding the information that Morgan Stanley collects about you. Please see our Privacy Pledge https://www.morganstanley.com/privacy-pledge for more information about your rights.
