Re: Deleting the default graph from the TDB
Thank you very much, that was the problem. I did not change so far this default setting in the config file: <#dataset> rdf:type tdb:DatasetTDB ; tdb:location "/var/www/fuseki/tdb" ; tdb:unionDefaultGraph true ; I set it now to false (or better commented out), and now the DROP DEFAULT SPARQL update works as expected. Thanks again. Best regards, Sandor Am 28.02.2017 um 19:10 schrieb A. Soroka: Do you have the default graph set up as the union graph? --- A. Soroka The University of Virginia Library On Feb 28, 2017, at 12:21 PM, Sandor Kopacsi <sandor.kopa...@univie.ac.at> wrote: Dear List-members! I would like to delete the default graph from TDB using the web interface of Fuseki, but for some reason it doesn't work. In the config file of Fuseki the serviceUpdate is allowed, and I can perform the CLEAR DEFAULT and DROP DEFAULT SPARQL updates successfully, but the default graph is still there, and contains triples. When I run Fuseki in the memory with the same setting and update above, I can simply delete the default graph. What is wrong? Thanks and best regards, Sandor -- Dr. Sandor Kopacsi IT Software Designer Vienna University Computer Center -- Dr. Sandor Kopacsi IT Software Designer Vienna University Computer Center Universitätsstraße 7 (NIG) A-1010 Vienna Phone: +43-1-4277-14176 Mobile: +43-664-60277-14176
Re: SPARQL Query from one Fuseki server to another Fuseki server
Thank you Osma, It works fine, I only had to replace /sparql with /ds/query. Best Regards, Sandor Am 16.02.2017 um 13:12 schrieb Osma Suominen: Hi Sandor, You need to do a federated query. See the SPARQL 1.1 Query spec. Something like this: SELECT * WHERE { SERVICE <http://other-endpoint/sparql> { GRAPH <http://uri-of-graph> { ?s ?p ?o } } } -Osma 16.02.2017, 14:08, Sandor Kopacsi kirjoitti: Dear list-member, I have two Fuseki servers running on two different machines. In one of them there are several named graphs containing a lot of concepts. I would like to run a query from another Fuseki server to select all (or later just some) triplets from this dataset using a query like this: SELECT * FROM WHERE {GRAPH {?s ?p ?o . } } but it provides empty set: - | s | p | o | = - What is wrong? Thanks in advance, Sandor -- Dr. Sandor Kopacsi IT Software Designer Vienna University Computer Center Universitätsstraße 7 (NIG) A-1010 Vienna Phone: +43-1-4277-14176 Mobile: +43-664-60277-14176
SPARQL Query from one Fuseki server to another Fuseki server
Dear list-member, I have two Fuseki servers running on two different machines. In one of them there are several named graphs containing a lot of concepts. I would like to run a query from another Fuseki server to select all (or later just some) triplets from this dataset using a query like this: SELECT * FROM WHERE {GRAPH {?s ?p ?o . } } but it provides empty set: - | s | p | o | = - What is wrong? Thanks in advance, Sandor -- Dr. Sandor Kopacsi IT Software Designer Vienna University Computer Center
Re: Unsupported major
Dear Andy, I asked it because I tried it in a script that starts Fuseki like that, but it did not work: export JAVA_HOME= /usr/lib/jvm/jre-1.8.0-openjdk.x86_64/bin/java cd /var/www/skosmos/jena-fuseki1-1.3.0 ./fuseki-server --update --mem /ds (I have also tried it with export JAVA_HOME= /usr/lib/jvm/jre-1.8.0-openjdk.x86_64 but it did not work either) How should I use it? export JAVA_HOME= /usr/lib/jvm/jre-1.8.0-openjdk.x86_64/bin/java I have read an issue (JENA-1035), that fuseki-server script ignores JAVA_HOME variable while it executes the "java" command. Has it been fixed? At the top of the issue: Resolution: Fixed Fix Version/s: Fuseki 2.3.1 Thanks, Sandor Am 19.10.2016 um 17:08 schrieb Dick Murray: On 19 October 2016 at 15:10, Sandor Kopacsi <sandor.kopa...@univie.ac.at> wrote: Dear Dick, You are right. I have Java version 1.6.0_37 and the exception says: "minor version 52.0" Am I right, that Fuseki 1.3 requires Java 8 (that I used previously)? You'll probably want to upgrade to the latest version... I am afraid that the administrators / or the system itself downgraded the Java version to Java 6, which is the pre set or automatic version. Now I switched to Java 8, and now it works. How can avoid this problem next time? Fuseki takes into consideration the JAVA_HOME system variable? If yes, how and where should I set it? In a starting script of Fuseki You can install multiple JRE's and "point" your application at the required one. On windows via the command set JAVA_HOME=c:\jre8 Thanks and best regards, Sandor Am 19.10.2016 um 15:36 schrieb Dick Murray: Hi. Check what version of JRE you have with java -version dick@Dick-M3800:~$ java -version java version "1.8.0_101" Java(TM) SE Runtime Environment (build 1.8.0_101-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode) Your exception should say what version it is having trouble with... Java SE 9 = 53, Java SE 8 = 52, Java SE 7 = 51, Java SE 6.0 = 50, Java SE 5.0 = 49, JDK 1.4 = 48, JDK 1.3 = 47, JDK 1.2 = 46, JDK 1.1 = 45 On 19 October 2016 at 14:32, Sandor Kopacsi <sandor.kopa...@univie.ac.at> wrote: Dear List Members, I wanted to start Fuseki 1.3.0 for test purposes, but I got an exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/jena/fuseki/FusekiCmd : Unsupported major. I do not want to update Fuseki by all means, I just wanted to try something in this test environment. It worked so far well, and I did not changed (deliberately) anything. What can be the reason for that, and what should I do? Thank you in advance and best regards, Sandor -- Dr. Sandor Kopacsi IT Software Designer Vienna University Computer Center
Re: Unsupported major
Thanks, ok, but do they require Java 8? Am 19.10.2016 um 16:19 schrieb Andy Seaborne: On 19/10/16 15:10, Sandor Kopacsi wrote: Dear Dick, You are right. I have Java version 1.6.0_37 and the exception says: "minor version 52.0" Am I right, that Fuseki 1.3 requires Java 8 (that I used previously)? The latest version is 1.4 ... and there is Fuseki 2 ... 2.4.0 the Java version to Java 6, which is the pre set or automatic version. Now I switched to Java 8, and now it works. How can avoid this problem next time? Fuseki takes into consideration the JAVA_HOME system variable? If yes, how and where should I set it? In a starting script of Fuseki? Thanks and best regards, Sandor Am 19.10.2016 um 15:36 schrieb Dick Murray: Hi. Check what version of JRE you have with java -version dick@Dick-M3800:~$ java -version java version "1.8.0_101" Java(TM) SE Runtime Environment (build 1.8.0_101-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode) Your exception should say what version it is having trouble with... Java SE 9 = 53, Java SE 8 = 52, Java SE 7 = 51, Java SE 6.0 = 50, Java SE 5.0 = 49, JDK 1.4 = 48, JDK 1.3 = 47, JDK 1.2 = 46, JDK 1.1 = 45 On 19 October 2016 at 14:32, Sandor Kopacsi <sandor.kopa...@univie.ac.at> wrote: Dear List Members, I wanted to start Fuseki 1.3.0 for test purposes, but I got an exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/jena/fuseki/FusekiCmd : Unsupported major. I do not want to update Fuseki by all means, I just wanted to try something in this test environment. It worked so far well, and I did not changed (deliberately) anything. What can be the reason for that, and what should I do? Thank you in advance and best regards, Sandor -- Dr. Sandor Kopacsi IT Software Designer Vienna University Computer Center -- Dr. Sandor Kopacsi IT Software Designer Vienna University Computer Center Universitätsstraße 7 (NIG) A-1010 Vienna Phone: +43-1-4277-14176 Mobile: +43-664-60277-14176
Re: Unsupported major
Dear Dick, You are right. I have Java version 1.6.0_37 and the exception says: "minor version 52.0" Am I right, that Fuseki 1.3 requires Java 8 (that I used previously)? I am afraid that the administrators / or the system itself downgraded the Java version to Java 6, which is the pre set or automatic version. Now I switched to Java 8, and now it works. How can avoid this problem next time? Fuseki takes into consideration the JAVA_HOME system variable? If yes, how and where should I set it? In a starting script of Fuseki? Thanks and best regards, Sandor Am 19.10.2016 um 15:36 schrieb Dick Murray: Hi. Check what version of JRE you have with java -version dick@Dick-M3800:~$ java -version java version "1.8.0_101" Java(TM) SE Runtime Environment (build 1.8.0_101-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode) Your exception should say what version it is having trouble with... Java SE 9 = 53, Java SE 8 = 52, Java SE 7 = 51, Java SE 6.0 = 50, Java SE 5.0 = 49, JDK 1.4 = 48, JDK 1.3 = 47, JDK 1.2 = 46, JDK 1.1 = 45 On 19 October 2016 at 14:32, Sandor Kopacsi <sandor.kopa...@univie.ac.at> wrote: Dear List Members, I wanted to start Fuseki 1.3.0 for test purposes, but I got an exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/jena/fuseki/FusekiCmd : Unsupported major. I do not want to update Fuseki by all means, I just wanted to try something in this test environment. It worked so far well, and I did not changed (deliberately) anything. What can be the reason for that, and what should I do? Thank you in advance and best regards, Sandor -- Dr. Sandor Kopacsi IT Software Designer Vienna University Computer Center
Unsupported major
Dear List Members, I wanted to start Fuseki 1.3.0 for test purposes, but I got an exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/jena/fuseki/FusekiCmd : Unsupported major. I do not want to update Fuseki by all means, I just wanted to try something in this test environment. It worked so far well, and I did not changed (deliberately) anything. What can be the reason for that, and what should I do? Thank you in advance and best regards, Sandor -- Dr. Sandor Kopacsi IT Software Designer Vienna University Computer Center
Re: s-put, s-post, s-delete
Thanks, it is clear, I just wanted to know additionally, that by the upload from the HTML form of Fuseki's Control Panel does it simply replace the specified graph (or the default graph) with the content of the provided file, like by s-put. Am 27.09.2016 um 15:41 schrieb Andy Seaborne: It uses a plain HTML form upload IIRC. fuseki:serviceUpload in the service configuration. On 27/09/16 14:24, Sandor Kopacsi wrote: Thank you, now it is clear. My last question regarding this, if the Control Panel of Fuseki uses s-put style upload? Thanks, Sandor Am 16.09.2016 um 11:30 schrieb Andy Seaborne: Sandor, What makes you think it replaces the entire dataset? Have you seen this happen? HTTP PUT on the dataset URI wil do that - s-put does not because it replaces the graph, default or named, not the whole dataset. See the "SPARQL Graph Store Protocol". If your file is not in its own graph, you'll need to use a SPARQL Update operation DELETE/INSERT/WHERE. s-post is "add RDF to a graph". in HTTP, POST should always be "append-like" when on some container-like resource. Andy On 16/09/16 10:02, Sandor Kopacsi wrote: Dear List Members, In a previous thread (extending an existing dataset) Andy suggested to use s-put to replace a deficient data file (delete the old one and upload a new one) in an existing dataset. I am not sure, but I am afraid that the suggested s-put scrip is not appropriate to upload new data file in my case, since I have already several other data files in the dataset in the TDB that I want to keep intact. I only would like to replace a certain data file with a new one (extended with some additional triplets) under the same graph name. As far as I know s-put will clean the entire dataset first before it uploads the new datafile. But I might use s-post, that - according to may knowledge - can add new datafile without cleaning the existing data files from the TDB. Am I right? Another the question is, how can I delete a dedicated graph from the dataset. The utility s-delete might help? Thank you very much and best regards, Sandor -- Dr. Sandor Kopacsi IT Software Designer Vienna University Computer Center Universitätsstraße 7 (NIG) A-1010 Vienna Phone: +43-1-4277-14176 Mobile: +43-664-60277-14176
Re: s-put, s-post, s-delete
Thank you, now it is clear. My last question regarding this, if the Control Panel of Fuseki uses s-put style upload? Thanks, Sandor Am 16.09.2016 um 11:30 schrieb Andy Seaborne: Sandor, What makes you think it replaces the entire dataset? Have you seen this happen? HTTP PUT on the dataset URI wil do that - s-put does not because it replaces the graph, default or named, not the whole dataset. See the "SPARQL Graph Store Protocol". If your file is not in its own graph, you'll need to use a SPARQL Update operation DELETE/INSERT/WHERE. s-post is "add RDF to a graph". in HTTP, POST should always be "append-like" when on some container-like resource. Andy On 16/09/16 10:02, Sandor Kopacsi wrote: Dear List Members, In a previous thread (extending an existing dataset) Andy suggested to use s-put to replace a deficient data file (delete the old one and upload a new one) in an existing dataset. I am not sure, but I am afraid that the suggested s-put scrip is not appropriate to upload new data file in my case, since I have already several other data files in the dataset in the TDB that I want to keep intact. I only would like to replace a certain data file with a new one (extended with some additional triplets) under the same graph name. As far as I know s-put will clean the entire dataset first before it uploads the new datafile. But I might use s-post, that - according to may knowledge - can add new datafile without cleaning the existing data files from the TDB. Am I right? Another the question is, how can I delete a dedicated graph from the dataset. The utility s-delete might help? Thank you very much and best regards, Sandor -- Dr. Sandor Kopacsi IT Software Designer Vienna University Computer Center Universitätsstraße 7 (NIG) A-1010 Vienna Phone: +43-1-4277-14176 Mobile: +43-664-60277-14176
s-put, s-post, s-delete
Dear List Members, In a previous thread (extending an existing dataset) Andy suggested to use s-put to replace a deficient data file (delete the old one and upload a new one) in an existing dataset. I am not sure, but I am afraid that the suggested s-put scrip is not appropriate to upload new data file in my case, since I have already several other data files in the dataset in the TDB that I want to keep intact. I only would like to replace a certain data file with a new one (extended with some additional triplets) under the same graph name. As far as I know s-put will clean the entire dataset first before it uploads the new datafile. But I might use s-post, that - according to may knowledge - can add new datafile without cleaning the existing data files from the TDB. Am I right? Another the question is, how can I delete a dedicated graph from the dataset. The utility s-delete might help? Thank you very much and best regards, Sandor -- Dr. Sandor Kopacsi IT Software Designer Vienna University Computer Center
Re: extending an existing dataset
Dear Andy, Thank you for your answer. Not quite sure of the setup you have - the "ttl file of the dataset" suggest default graph? I mean the SKOS content in a data file in Turtle format by that. I do not use the default graph, I use individual URIs as graph names for the individual data files that I am going to store in the TDB. I am not sure, but I am afraid that the suggested s-put scrip is not appropriate to upload new data files in my case, since I have already several other data files in the dataset that I want to keep intact. I only would like to replace a certain datafile with a new one under the same graph name or extend it with some additional triplets. As far as I know s-put will clean the entire dataset first before it uploads the new datafile. But I might use s-post, that - according to may knowledge - can add new datafile without cleaning the existing data files from the TDB. Am I right? Another the question is, how can I delete first a dedicated graph from the dataset. The utility s-delete might help, or do I completely misunderstand the work of s-post and s-put? I don't have too much experience in UNIX or Linux, but what should I do directly with wget or curl, that you suggested to see? SPARQL update can be also useful. Could you send me more information or a link about the usage in my case? Thank you very much and best regards, Sandor Am 05.09.2016 um 22:47 schrieb Andy Seaborne: On 05/09/16 11:40, Sandor Kopacsi wrote: Dear Andy, (I try to start a new thread by writing a new mail, is it the right way?) You are right, update was not enabled in the config.ttl, that I used for that session by excluding the lines # fuseki:serviceUpdate"update" ; # fuseki:serviceUpload"upload" ; (Sorry for the silly mistake.) I used the port 3030:/sparql.tpl when I tried to upload the dataset. But anyway, I used an URI for the graph name, that has been already used (http://www.statistik.at/2012). I wanted to replace a previously uploaded dataset, where some information was missing. I added the missing information to the the ttl file of the dataset, and wanted *upload again the corrected dataset under the same graph name. Is it a right way to extend an existing dataset*? Not quite sure of the setup you have - the "ttl file of the dataset" suggest default graph? You can remove and reload the data or modify it in place. 1/ Remove-replace: An HTTP request of "PUT http://localhost:3030/dataset; with Content-type text/turtle and the file will do. See "wget" or "curl". There is an "s-put" script in the Fuseki distribution for a single graph. s-put http://localhost:3030/dataset default NewFile.ttl 2/ Use SPARQL Update to find and change the data. For Quads you can PUT TriG,N-Quads to the http://localhost:3030/dataset Andy Thanks, Sandor Am 02.09.2016 um 20:38 schrieb Andy Seaborne: Please start a new thread for a new question. -- There is not enough information here to answer the question. What URL are you uploading to? Is update enabled? Andy On 02/09/16 16:09, Sandor Kopacsi wrote: Dear List Members, I have the following problem: I have started Fuseki from its base folder (/var/www/fuseki/) without any problem, but when I want to upload a previously successfully uploaded file to a named graph or to the default graph I got the error message: "Error 404: Not Found Fuseki - version 1.4.0 (Build date: 2016-05-10T11:59:39+)" Strange is, that Fuseki doesn't send any reaction to the Upload request. Last message appeared when I started Fuseki: "17:00:15 INFO Started 2016/09/02 17:00:15 CEST on port 3030" I have set the FUSEKI_BASE variable, but it did not help either. What can be wrong? Thanks in advance, Sandor -- Dr. Sandor Kopacsi IT Software Designer Vienna University Computer Center Universitätsstraße 7 (NIG) A-1010 Vienna Phone: +43-1-4277-14176 Mobile: +43-664-60277-14176
extending an existing dataset
Dear Andy, (I try to start a new thread by writing a new mail, is it the right way?) You are right, update was not enabled in the config.ttl, that I used for that session by excluding the lines # fuseki:serviceUpdate"update" ; # fuseki:serviceUpload"upload" ; (Sorry for the silly mistake.) I used the port 3030:/sparql.tpl when I tried to upload the dataset. But anyway, I used an URI for the graph name, that has been already used (http://www.statistik.at/2012). I wanted to replace a previously uploaded dataset, where some information was missing. I added the missing information to the the ttl file of the dataset, and wanted *upload again the corrected dataset under the same graph name. Is it a right way to extend an existing dataset*? Thanks, Sandor Am 02.09.2016 um 20:38 schrieb Andy Seaborne: > Please start a new thread for a new question. > > -- > > There is not enough information here to answer the question. > > What URL are you uploading to? > Is update enabled? > > Andy > > > > On 02/09/16 16:09, Sandor Kopacsi wrote: >> Dear List Members, >> >> I have the following problem: >> >> I have started Fuseki from its base folder (/var/www/fuseki/) without >> any problem, but when I want to upload a previously successfully >> uploaded file to a named graph or to the default graph I got the error >> message: >> >> "Error 404: Not Found >> >> Fuseki - version 1.4.0 (Build date: 2016-05-10T11:59:39+)" >> >> Strange is, that Fuseki doesn't send any reaction to the Upload request. >> Last message appeared when I started Fuseki: >> "17:00:15 INFO Started 2016/09/02 17:00:15 CEST on port 3030" >> >> I have set the FUSEKI_BASE variable, but it did not help either. >> >> What can be wrong? >> >> Thanks in advance, >> Sandor -- Dr. Sandor Kopacsi IT Software Designer Vienna University Computer Center
Fuseki doesn't allow to upload new datasets
Dear List Members, I have the following problem: I have started Fuseki from its base folder (/var/www/fuseki/) without any problem, but when I want to upload a previously successfully uploaded file to a named graph or to the default graph I got the error message: "Error 404: Not Found Fuseki - version 1.4.0 (Build date: 2016-05-10T11:59:39+)" Strange is, that Fuseki doesn't send any reaction to the Upload request. Last message appeared when I started Fuseki: "17:00:15 INFO Started 2016/09/02 17:00:15 CEST on port 3030" I have set the FUSEKI_BASE variable, but it did not help either. What can be wrong? Thanks in advance, Sandor Am 26.07.2016 um 09:32 schrieb Sandor Kopacsi: Dear Stian, thank you, it helped. Best Regards, Sandor Am 25.07.2016 um 10:47 schrieb Stian Soiland-Reyes: I could replicate this. stain@biggiebuntu:~/Downloads$ java -jar /var/www/fuseki/fuseki-server.jar --update --mem /ds 09:45:20 INFO Dataset: in-memory 09:45:20 WARN No such directory for static content: /home/stain/Downloads/. 09:45:20 WARN You may need to set the --pages or --home option to configure static content correctly 09:45:20 WARN No pages directory - ./pages Basically Fuseki can't find its "pages" folder. You will need to start fuseki from the folder /var/www/fuseki/, or set the variable FUSEKI_BASE See http://jena.apache.org/documentation/fuseki2/fuseki-run.html On 25 July 2016 at 08:42, Andy Seaborne <a...@apache.org> wrote: It's the wrong URL in some way. Andy On 25/07/16 08:39, Sandor Kopacsi wrote: Does anybody have any idea, what can be the problem, and how can I solve it? I started Fuseki successfully, and wanted to open its web UI, as usual on port 3030, but I have received the error message: "Error 404: Not Found Fuseki - version 1.4.0 (Build date: 2016-05-10T11:59:39+)" Thanks, Sandor Am 22.07.2016 um 22:09 schrieb Sandor Kopacsi: Dear Stian, Thank you for your reaction. I have started Fuseki from the command line with: java -jar /var/www/fuseki/fuseki-server.jar --update --mem /ds as usual. Any other time it worked. I haven't tried Fuseki 2.4.0 so far. Best Regards, Sandor Am 21.07.2016 um 14:27 schrieb Stian Soiland-Reyes: How did you start Fuseki, from the command line? Have you considered trying Fuseki 2.4.0 to see if that makes any difference? On 21 July 2016 at 12:37, Sandor Kopacsi <sandor.kopa...@univie.ac.at> wrote: Dear Jena-Fuseki Users, I started Fuseki successfully, and wanted to open its web UI, as usual on port 3030, but I have received the error message: "Error 404: Not Found Fuseki - version 1.4.0 (Build date: 2016-05-10T11:59:39+)" What can be the problem, and what should I do? Thanks in advance. Best Regards, Sandor -- Sandor Kopacsi Vienna University Computer Center -- Dr. Sandor Kopacsi IT Software Designer Vienna University Computer Center Universitätsstraße 7 (NIG) A-1010 Vienna Phone: +43-1-4277-14176 Mobile: +43-664-60277-14176
Re: Web UI of Fuseki doesn't start
Dear Stian, thank you, it helped. Best Regards, Sandor Am 25.07.2016 um 10:47 schrieb Stian Soiland-Reyes: I could replicate this. stain@biggiebuntu:~/Downloads$ java -jar /var/www/fuseki/fuseki-server.jar --update --mem /ds 09:45:20 INFO Dataset: in-memory 09:45:20 WARN No such directory for static content: /home/stain/Downloads/. 09:45:20 WARN You may need to set the --pages or --home option to configure static content correctly 09:45:20 WARN No pages directory - ./pages Basically Fuseki can't find its "pages" folder. You will need to start fuseki from the folder /var/www/fuseki/, or set the variable FUSEKI_BASE See http://jena.apache.org/documentation/fuseki2/fuseki-run.html On 25 July 2016 at 08:42, Andy Seaborne <a...@apache.org> wrote: It's the wrong URL in some way. Andy On 25/07/16 08:39, Sandor Kopacsi wrote: Does anybody have any idea, what can be the problem, and how can I solve it? I started Fuseki successfully, and wanted to open its web UI, as usual on port 3030, but I have received the error message: "Error 404: Not Found Fuseki - version 1.4.0 (Build date: 2016-05-10T11:59:39+)" Thanks, Sandor Am 22.07.2016 um 22:09 schrieb Sandor Kopacsi: Dear Stian, Thank you for your reaction. I have started Fuseki from the command line with: java -jar /var/www/fuseki/fuseki-server.jar --update --mem /ds as usual. Any other time it worked. I haven't tried Fuseki 2.4.0 so far. Best Regards, Sandor Am 21.07.2016 um 14:27 schrieb Stian Soiland-Reyes: How did you start Fuseki, from the command line? Have you considered trying Fuseki 2.4.0 to see if that makes any difference? On 21 July 2016 at 12:37, Sandor Kopacsi <sandor.kopa...@univie.ac.at> wrote: Dear Jena-Fuseki Users, I started Fuseki successfully, and wanted to open its web UI, as usual on port 3030, but I have received the error message: "Error 404: Not Found Fuseki - version 1.4.0 (Build date: 2016-05-10T11:59:39+)" What can be the problem, and what should I do? Thanks in advance. Best Regards, Sandor -- Sandor Kopacsi Vienna University Computer Center -- Dr. Sandor Kopacsi IT Software Designer Vienna University Computer Center Universitätsstraße 7 (NIG) A-1010 Vienna Phone: +43-1-4277-14176 Mobile: +43-664-60277-14176
Re: Web UI of Fuseki doesn't start
Does anybody have any idea, what can be the problem, and how can I solve it? I started Fuseki successfully, and wanted to open its web UI, as usual on port 3030, but I have received the error message: "Error 404: Not Found Fuseki - version 1.4.0 (Build date: 2016-05-10T11:59:39+)" Thanks, Sandor Am 22.07.2016 um 22:09 schrieb Sandor Kopacsi: Dear Stian, Thank you for your reaction. I have started Fuseki from the command line with: java -jar /var/www/fuseki/fuseki-server.jar --update --mem /ds as usual. Any other time it worked. I haven't tried Fuseki 2.4.0 so far. Best Regards, Sandor Am 21.07.2016 um 14:27 schrieb Stian Soiland-Reyes: How did you start Fuseki, from the command line? Have you considered trying Fuseki 2.4.0 to see if that makes any difference? On 21 July 2016 at 12:37, Sandor Kopacsi <sandor.kopa...@univie.ac.at> wrote: Dear Jena-Fuseki Users, I started Fuseki successfully, and wanted to open its web UI, as usual on port 3030, but I have received the error message: "Error 404: Not Found Fuseki - version 1.4.0 (Build date: 2016-05-10T11:59:39+)" What can be the problem, and what should I do? Thanks in advance. Best Regards, Sandor -- Sandor Kopacsi Vienna University Computer Center -- Dr. Sandor Kopacsi IT Software Designer Vienna University Computer Center Universitätsstraße 7 (NIG) A-1010 Vienna Phone: +43-1-4277-14176 Mobile: +43-664-60277-14176
Re: Web UI of Fuseki doesn't start
Dear Stian, Thank you for your reaction. I have started Fuseki from the command line with: java -jar /var/www/fuseki/fuseki-server.jar --update --mem /ds as usual. Any other time it worked. I haven't tried Fuseki 2.4.0 so far. Best Regards, Sandor Am 21.07.2016 um 14:27 schrieb Stian Soiland-Reyes: How did you start Fuseki, from the command line? Have you considered trying Fuseki 2.4.0 to see if that makes any difference? On 21 July 2016 at 12:37, Sandor Kopacsi <sandor.kopa...@univie.ac.at> wrote: Dear Jena-Fuseki Users, I started Fuseki successfully, and wanted to open its web UI, as usual on port 3030, but I have received the error message: "Error 404: Not Found Fuseki - version 1.4.0 (Build date: 2016-05-10T11:59:39+)" What can be the problem, and what should I do? Thanks in advance. Best Regards, Sandor -- Sandor Kopacsi Vienna University Computer Center -- Dr. Sandor Kopacsi IT Software Designer Vienna University Computer Center Universitätsstraße 7 (NIG) A-1010 Vienna Phone: +43-1-4277-14176 Mobile: +43-664-60277-14176
Web UI of Fuseki doesn't start
Dear Jena-Fuseki Users, I started Fuseki successfully, and wanted to open its web UI, as usual on port 3030, but I have received the error message: "Error 404: Not Found Fuseki - version 1.4.0 (Build date: 2016-05-10T11:59:39+)" What can be the problem, and what should I do? Thanks in advance. Best Regards, Sandor -- Sandor Kopacsi Vienna University Computer Center
Re: Fuseki without update
Thank you for the suggestion, but I don't have shiro.ini configuration file. Where can I find it? Best Regards, Sandor Am 29.04.2016 um 15:13 schrieb A. Soroka: You can lock off the administrative APIs (and web forms) which provide that function by using the shiro.ini configuration that controls security. In fact, a lot of people do that without meaning to do it. --- A. Soroka The University of Virginia Library On Apr 29, 2016, at 9:04 AM, Sandor Kopacsi <sandor.kopa...@univie.ac.at> wrote: Thanks a lot for the quick answer. And will it also prohibit to add new datasets to tdb? Andy Seaborne írta On 29/04/16 12:57, Sandor Kopacsi wrote: Dear Colleagues, I am starting Jena Fuseki with the command: ./fuseki-server --config jena-text-config.ttl where the configuration file contains these main parameters: <#service_text_tdb> rdf:type fuseki:Service ; rdfs:label "TDB/text service" ; fuseki:name "ds" ; fuseki:serviceQuery "query" ; fuseki:serviceQuery "sparql" ; fuseki:serviceUpdate"update" ; fuseki:serviceUpload"upload" ; fuseki:serviceReadGraphStore"get" ; fuseki:serviceReadWriteGraphStore"data" ; fuseki:dataset <#text_dataset> ; . Remove the update services : no declaration, no service. <#service_text_tdb> rdf:type fuseki:Service ; rdfs:label "TDB/text service" ; fuseki:name "ds" ; fuseki:serviceQuery "query" ; fuseki:serviceQuery "sparql" ; fuseki:serviceReadGraphStore"get" ; fuseki:dataset <#text_dataset> ; . <#text_dataset> rdf:type text:TextDataset ; text:dataset <#dataset> ; ##text:index <#indexSolr> ; text:index <#indexLucene> ; . <#dataset> rdf:type tdb:DatasetTDB ; tdb:location "/var/www/skosmos/jena-fuseki1-1.3.0/tdb" ; tdb:unionDefaultGraph true ; # Query timeout on this dataset (10 minutes = 60 milliseconds) ja:context [ ja:cxtName "arq:queryTimeout" ; ja:cxtValue "60" ] ; . <#indexSolr> a text:TextIndexSolr ; #text:server <http://localhost:8983/solr/COLLECTION> ; text:server ; text:entityMap <#entMap> ; . <#indexLucene> a text:TextIndexLucene ; text:directory ; ##text:directory "mem" ; text:entityMap <#entMap> ; . I am interested in if I can start Fuseki in TDB without allowing making any changes (e.g. uploading unwanted files) or updates in TDB from the frontend of Fuseki. Something like this: fuseki:serviceUpdate "none" ; Thanks in advance, Sandor -- Dr. Sandor Kopacsi IT Software Designer Vienna University Computer Center Universitätsstraße 7 (NIG) A-1010 Vienna Phone: +43-1-4277-14176 Mobile: +43-664-60277-14176
Re: Fuseki without update
Thanks a lot for the quick answer. And will it also prohibit to add new datasets to tdb? Andy Seaborne írta >On 29/04/16 12:57, Sandor Kopacsi wrote: >> Dear Colleagues, >> >> I am starting Jena Fuseki with the command: >> >> ./fuseki-server --config jena-text-config.ttl >> >> where the configuration file contains these main parameters: >> >> <#service_text_tdb> rdf:type fuseki:Service ; >> rdfs:label "TDB/text service" ; >> fuseki:name "ds" ; >> fuseki:serviceQuery "query" ; >> fuseki:serviceQuery "sparql" ; >> fuseki:serviceUpdate"update" ; >> fuseki:serviceUpload"upload" ; >> fuseki:serviceReadGraphStore"get" ; >> fuseki:serviceReadWriteGraphStore"data" ; >> fuseki:dataset <#text_dataset> ; >> . > >Remove the update services : no declaration, no service. > ><#service_text_tdb> rdf:type fuseki:Service ; > rdfs:label "TDB/text service" ; > fuseki:name "ds" ; > fuseki:serviceQuery "query" ; > fuseki:serviceQuery "sparql" ; > fuseki:serviceReadGraphStore"get" ; > fuseki:dataset <#text_dataset> ; > . > >> >> <#text_dataset> rdf:type text:TextDataset ; >> text:dataset <#dataset> ; >> ##text:index <#indexSolr> ; >> text:index <#indexLucene> ; >> . >> >> <#dataset> rdf:type tdb:DatasetTDB ; >> tdb:location "/var/www/skosmos/jena-fuseki1-1.3.0/tdb" ; >> tdb:unionDefaultGraph true ; >> # Query timeout on this dataset (10 minutes = 60 milliseconds) >> ja:context [ ja:cxtName "arq:queryTimeout" ; ja:cxtValue "60" ] ; >> . >> >> <#indexSolr> a text:TextIndexSolr ; >> #text:server <http://localhost:8983/solr/COLLECTION> ; >> text:server ; >> text:entityMap <#entMap> ; >> . >> >> <#indexLucene> a text:TextIndexLucene ; >> text:directory ; >> ##text:directory "mem" ; >> text:entityMap <#entMap> ; >> . >> >> I am interested in if I can start Fuseki in TDB without allowing making >> any changes (e.g. uploading unwanted files) or updates in TDB from the >> frontend of Fuseki. >> >> Something like this: >> >> fuseki:serviceUpdate "none" ; >> >> Thanks in advance, >> Sandor >> >
Fuseki without update
Dear Colleagues, I am starting Jena Fuseki with the command: ./fuseki-server --config jena-text-config.ttl where the configuration file contains these main parameters: <#service_text_tdb> rdf:type fuseki:Service ; rdfs:label "TDB/text service" ; fuseki:name "ds" ; fuseki:serviceQuery "query" ; fuseki:serviceQuery "sparql" ; fuseki:serviceUpdate"update" ; fuseki:serviceUpload"upload" ; fuseki:serviceReadGraphStore"get" ; fuseki:serviceReadWriteGraphStore"data" ; fuseki:dataset <#text_dataset> ; . <#text_dataset> rdf:type text:TextDataset ; text:dataset <#dataset> ; ##text:index <#indexSolr> ; text:index <#indexLucene> ; . <#dataset> rdf:type tdb:DatasetTDB ; tdb:location "/var/www/skosmos/jena-fuseki1-1.3.0/tdb" ; tdb:unionDefaultGraph true ; # Query timeout on this dataset (10 minutes = 60 milliseconds) ja:context [ ja:cxtName "arq:queryTimeout" ; ja:cxtValue "60" ] ; . <#indexSolr> a text:TextIndexSolr ; #text:server <http://localhost:8983/solr/COLLECTION> ; text:server ; text:entityMap <#entMap> ; . <#indexLucene> a text:TextIndexLucene ; text:directory ; ##text:directory "mem" ; text:entityMap <#entMap> ; . I am interested in if I can start Fuseki in TDB without allowing making any changes (e.g. uploading unwanted files) or updates in TDB from the frontend of Fuseki. Something like this: fuseki:serviceUpdate "none" ; Thanks in advance, Sandor -- Dr. Sandor Kopacsi IT Software Designer Vienna University Computer Center Universitätsstraße 7 (NIG) A-1010 Vienna
Re: question about TDB loader of Jena-Fuseki
Dear Osma, :-) you did not tell me, that you are also here :-) But thank you very much for your help again, that was very useful. I executed, that you suggested, i.e. I have downloaded the full dataset of the getty aat, and applied the tdbloader of fuseki using the jena-text-config.ttl file as an assembler file: /java -cp /fuseki-server.jar tdb.tdbloader --tdb=jena-text-config.ttl ./vocabularies/getty_aat/full/ontology.rdf// //java -cp /fuseki-server.jar tdb.tdbloader --tdb=jena-text-config.ttl ./vocabularies/getty_aat/full/skos.rdf// //java -cp /fuseki-server.jar tdb.tdbloader --tdb=jena-text-config.ttl ./vocabularies/getty_aat/full/AATOut_Full.nt// //java -cp /fuseki-server.jar tdb.tdbloader --tdb=jena-text-config.ttl ./vocabularies/getty_aat/full/AATOut_Contribs.nt// //java -cp /fuseki-server.jar tdb.tdbloader --tdb=jena-text-config.ttl ./vocabularies/getty_aat/full/AATOut_Sources.nt// /The files were nicely uploaded to the tdb folder of fuseki. After starting fuseki with the same ttl file (fuseki-server --config jena-text-config.ttl), see attached, and run SPARQL queries: /SELECT (COUNT(*) AS ?count) { // // GRAPH <http://vocab.getty.edu/aat/> { ?s ?p ?o } // //} / to check the number of triples, the result is zero. I am afraid the problem can be with the graph name (either <http://vocab.getty.edu/aat/> or default), that I don't know where should I define. Best Regards, Sandor / / Am 08.01.2016 um 15:25 schrieb Osma Suominen: Dear Sandor, You can use the same .ttl file that you used for the Fuseki database and text index configuration, i.e. the one documented here: https://github.com/NatLibFi/Skosmos/wiki/InstallFusekiJenaText#configuration -Osma On 08/01/16 16:12, Sandor Kopacsi wrote: Dear Support List, We are at the University of Vienna developing an archiving system where we are going to use Jena-Fuseki (and a tool, called Skosmos based on that) for storing and displaying data sets for classifications. We had problems with uploading the RDF file to Fuseki through the memory, and therefore we were suggested by the developers of Skosmes to use the tdb loader to upload the datasete directly to the tdb folder. We found in the documentation (https://jena.apache.org/documentation/query/text-query.html#building-a-text-index), that we can use the java -cp $FUSEKI_HOME/fuseki-server.jar tdb.tdbloader --tdb=assembler_file data_file command, as the TDB loader included with Fuseki, but it is not clear, *what is going to be the assembler file*. I guess the data_file is the RDF or NT files, that I am going to upload. Could anyone explain, or suggest some documentation about this command, and the details of the assembler_file. Thank you very much for your help in advance. Best regards and happy new year, Sandor -- Dr. Sandor Kopacsi IT Software Designer Vienna University Computer Center Universitätsstraße 7 (NIG) A-1010 Vienna Phone: +43-1-4277-14176 Mobile: +43-664-60277-14176 @prefix :<#> . @prefix fuseki: <http://jena.apache.org/fuseki#> . @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix rdfs:<http://www.w3.org/2000/01/rdf-schema#> . @prefix tdb: <http://jena.hpl.hp.com/2008/tdb#> . @prefix ja: <http://jena.hpl.hp.com/2005/11/Assembler#> . @prefix text:<http://jena.apache.org/text#> . @prefix skos:<http://www.w3.org/2004/02/skos/core#> . [] rdf:type fuseki:Server ; fuseki:services ( <#service_text_tdb> ) . # TDB [] ja:loadClass "com.hp.hpl.jena.tdb.TDB" . tdb:DatasetTDB rdfs:subClassOf ja:RDFDataset . tdb:GraphTDBrdfs:subClassOf ja:Model . # Text [] ja:loadClass "org.apache.jena.query.text.TextQuery" . text:TextDataset rdfs:subClassOf ja:RDFDataset . #text:TextIndexSolrrdfs:subClassOf text:TextIndex . text:TextIndexLucene rdfs:subClassOf text:TextIndex . ## --- <#service_text_tdb> rdf:type fuseki:Service ; rdfs:label "TDB/text service" ; fuseki:name "ds" ; fuseki:serviceQuery "query" ; fuseki:serviceQuery "sparql" ; fuseki:serviceUpdate"update" ; fuseki:serviceUpload"upload" ; fuseki:serviceReadGraphStore"get" ; fuseki:serviceReadWriteGraphStore"data" ; fuseki:dataset <#text_dataset> ; . <#text_dataset> rdf:type text:TextDataset ; text:dataset <#dataset> ; ##text:index <#indexSolr> ; text:index <#indexLucene> ; . <#dataset> rdf:type tdb:DatasetTDB ; tdb:location "/var/www/skosmos/jena-fuseki1-1.3.0/tdb" ; tdb:unionDefaultGraph true ; . <#indexSolr> a text:TextIndexSolr ; #text:
question about TDB loader of Jena-Fuseki
Dear Support List, We are at the University of Vienna developing an archiving system where we are going to use Jena-Fuseki (and a tool, called Skosmos based on that) for storing and displaying data sets for classifications. We had problems with uploading the RDF file to Fuseki through the memory, and therefore we were suggested by the developers of Skosmes to use the tdb loader to upload the datasete directly to the tdb folder. We found in the documentation (https://jena.apache.org/documentation/query/text-query.html#building-a-text-index), that we can use the java -cp $FUSEKI_HOME/fuseki-server.jar tdb.tdbloader --tdb=assembler_file data_file command, as the TDB loader included with Fuseki, but it is not clear, *what is going to be the assembler file*. I guess the data_file is the RDF or NT files, that I am going to upload. Could anyone explain, or suggest some documentation about this command, and the details of the assembler_file. Thank you very much for your help in advance. Best regards and happy new year, Sandor -- Dr. Sandor Kopacsi IT Software Designer Vienna University Computer Center Universitätsstraße 7 (NIG) A-1010 Vienna Phone: +43-1-4277-14176 Mobile: +43-664-60277-14176