navarral commented on issue #1791: URL: https://github.com/apache/jena/issues/1791#issuecomment-1461854887
Apologies but I am new to Jena and I might have missed something when following the [tdbloader](https://jena.apache.org/documentation/tdb/commands.html) documentation. I have tried the following options: 1. Set up a dataset with geosparql-fuseki and then load with tdbloader: `bin/tdbloader --loc /path/for/database/TestTDB test-geosparql.trig` 11:13:13 INFO loader :: -- Start triples data phase 11:13:13 INFO loader :: ** Load into triples table with existing data 11:13:13 INFO loader :: -- Start quads data phase 11:13:13 INFO loader :: ** Load into quads table with existing data 11:13:13 INFO loader :: Load: test-geosparql.trig -- 2023/03/09 11:13:13 GMT 11:13:13 INFO loader :: -- Finish triples data phase 11:13:13 INFO loader :: -- Finish quads data phase 11:13:13 INFO loader :: ** Data: 2 quads loaded in 0.25 seconds [Rate: 7.97 per second] 11:13:13 INFO loader :: -- Start quads index phase 11:13:13 INFO loader :: -- Finish quads index phase 11:13:13 INFO loader :: -- Finish triples load 11:13:13 INFO loader :: -- Finish quads load 11:13:13 INFO loader :: ** Completed: 2 quads loaded in 0.26 seconds [Rate: 7.78 per second] But it does not load correctly as I cannot see it there 2. Set up a TDB dataset with `bin/tdb1.xloader --loc /path/for/database/TestTDB2 test-geosparql.trig` 11:18:49 INFO -- TDB1 Bulk Loader Start 11:18:49 INFO Data Load Phase 11:18:49 INFO Got 1 data files to load 11:18:49 INFO Data file 1: /path/for/file/test-geosparql.trig 11:18:50 INFO loader :: Total: 2 tuples : 0.18 seconds : 10.87 tuples/sec [2023/03/09 11:18:50 GMT] 11:18:50 INFO Data Load Phase Completed 11:18:50 INFO Index Building Phase 11:18:50 INFO Creating Index GSPO 11:18:50 INFO Sort GSPO 11:18:50 INFO Sort GSPO Completed 11:18:50 INFO Build GSPO 11:18:51 INFO Build GSPO Completed 11:18:51 INFO Creating Index GPOS 11:18:51 INFO Sort GPOS 11:18:51 INFO Sort GPOS Completed 11:18:51 INFO Build GPOS 11:18:52 INFO Build GPOS Completed 11:18:52 INFO Creating Index GOSP 11:18:52 INFO Sort GOSP 11:18:52 INFO Sort GOSP Completed 11:18:52 INFO Build GOSP 11:18:53 INFO Build GOSP Completed 11:18:53 INFO Creating Index SPOG 11:18:53 INFO Sort SPOG 11:18:53 INFO Sort SPOG Completed 11:18:53 INFO Build SPOG 11:18:54 INFO Build SPOG Completed 11:18:54 INFO Creating Index POSG 11:18:54 INFO Sort POSG 11:18:54 INFO Sort POSG Completed 11:18:54 INFO Build POSG 11:18:54 INFO Build POSG Completed 11:18:54 INFO Creating Index OSPG 11:18:54 INFO Sort OSPG 11:18:54 INFO Sort OSPG Completed 11:18:54 INFO Build OSPG 11:18:55 INFO Build OSPG Completed 11:18:55 INFO Index Building Phase Completed 11:18:55 INFO -- TDB1 Bulk Loader Finish 11:18:55 INFO -- 6 seconds But then, when I run `java -jar jena-fuseki-geosparql-4.7.0.jar -t "TestTDB2"` I get the following error WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance. [2023-03-09 11:26:55] Main INFO Arguments Received: [-t, TestTDB2] [2023-03-09 11:26:55] DatasetOperations INFO Server Configuration: port=3030, datsetName=ds, loopbackOnly=true, updateAllowed=false, inference=false, applyDefaultGeometry=false, validateGeometryLiteral=false, convertGeoPredicates=false, removeGeoPredicates=false, queryRewrite=true, tdbFile=TestTDB2, fileGraphFormats=[], fileGraphDelimiters=[], indexEnabled=true, indexSizes=[-1, -1, -1], indexExpiries=[5000, 5000, 5000], spatialIndexFile=null, tdb2=false, transformGeometry=true, help=false [2023-03-09 11:26:55] DatasetOperations INFO TDB Dataset: TestTDB2, TDB2: false [2023-03-09 11:26:56] system WARN The “SIS_DATA” environment variable is not set. [2023-03-09 11:26:56] GeoSPARQLOperations INFO Find Mode SRS - Started [2023-03-09 11:26:56] GeoSPARQLOperations INFO Find Mode SRS - Completed [2023-03-09 11:26:56] Main ERROR GeoSPARQL Server: Exiting - No SRS found. Check 'http://www.opengis.net/ont/geosparql#hasSerialization' or 'http://www.w3.org/2003/01/geo/wgs84_pos#lat'/'http://www.w3.org/2003/01/geo/wgs84_pos#lon' predicates are present in the source data. Hint: Inferencing with GeoSPARQL schema may be required.: ds 3. I have tried to import the sample RDF file that works together with the .trig file but I get the same as in 1. Am I missing something? Could you help me with the list of commands I should be using to create a TDB dataset and to be used in geosparql-fuseki? Thanks again for your time -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
